io_uring: don't attempt to copy iovec for READ/WRITE
[linux-2.6-microblaze.git] / crypto / testmgr.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Algorithm testing framework and tests.
4  *
5  * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
6  * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org>
7  * Copyright (c) 2007 Nokia Siemens Networks
8  * Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
9  * Copyright (c) 2019 Google LLC
10  *
11  * Updated RFC4106 AES-GCM testing. Some test vectors were taken from
12  * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/
13  * gcm/gcm-test-vectors.tar.gz
14  *     Authors: Aidan O'Mahony (aidan.o.mahony@intel.com)
15  *              Adrian Hoban <adrian.hoban@intel.com>
16  *              Gabriele Paoloni <gabriele.paoloni@intel.com>
17  *              Tadeusz Struk (tadeusz.struk@intel.com)
18  *     Copyright (c) 2010, Intel Corporation.
19  */
20 #ifndef _CRYPTO_TESTMGR_H
21 #define _CRYPTO_TESTMGR_H
22
23 #include <linux/oid_registry.h>
24
25 #define MAX_IVLEN               32
26
27 /*
28  * hash_testvec:        structure to describe a hash (message digest) test
29  * @key:        Pointer to key (NULL if none)
30  * @plaintext:  Pointer to source data
31  * @digest:     Pointer to expected digest
32  * @psize:      Length of source data in bytes
33  * @ksize:      Length of @key in bytes (0 if no key)
34  * @setkey_error: Expected error from setkey()
35  * @digest_error: Expected error from digest()
36  */
37 struct hash_testvec {
38         const char *key;
39         const char *plaintext;
40         const char *digest;
41         unsigned int psize;
42         unsigned short ksize;
43         int setkey_error;
44         int digest_error;
45 };
46
47 /*
48  * cipher_testvec:      structure to describe a symmetric cipher test
49  * @key:        Pointer to key
50  * @klen:       Length of @key in bytes
51  * @iv:         Pointer to IV.  If NULL, an all-zeroes IV is used.
52  * @iv_out:     Pointer to output IV, if applicable for the cipher.
53  * @ptext:      Pointer to plaintext
54  * @ctext:      Pointer to ciphertext
55  * @len:        Length of @ptext and @ctext in bytes
56  * @wk:         Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
57  *              ( e.g. test needs to fail due to a weak key )
58  * @fips_skip:  Skip the test vector in FIPS mode
59  * @generates_iv: Encryption should ignore the given IV, and output @iv_out.
60  *                Decryption takes @iv_out.  Needed for AES Keywrap ("kw(aes)").
61  * @setkey_error: Expected error from setkey()
62  * @crypt_error: Expected error from encrypt() and decrypt()
63  */
64 struct cipher_testvec {
65         const char *key;
66         const char *iv;
67         const char *iv_out;
68         const char *ptext;
69         const char *ctext;
70         unsigned char wk; /* weak key flag */
71         unsigned short klen;
72         unsigned int len;
73         bool fips_skip;
74         bool generates_iv;
75         int setkey_error;
76         int crypt_error;
77 };
78
79 /*
80  * aead_testvec:        structure to describe an AEAD test
81  * @key:        Pointer to key
82  * @iv:         Pointer to IV.  If NULL, an all-zeroes IV is used.
83  * @ptext:      Pointer to plaintext
84  * @assoc:      Pointer to associated data
85  * @ctext:      Pointer to the full authenticated ciphertext.  For AEADs that
86  *              produce a separate "ciphertext" and "authentication tag", these
87  *              two parts are concatenated: ciphertext || tag.
88  * @novrfy:     Decryption verification failure expected?
89  * @wk:         Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
90  *              (e.g. setkey() needs to fail due to a weak key)
91  * @klen:       Length of @key in bytes
92  * @plen:       Length of @ptext in bytes
93  * @alen:       Length of @assoc in bytes
94  * @clen:       Length of @ctext in bytes
95  * @setkey_error: Expected error from setkey()
96  * @setauthsize_error: Expected error from setauthsize()
97  * @crypt_error: Expected error from encrypt() and decrypt()
98  */
99 struct aead_testvec {
100         const char *key;
101         const char *iv;
102         const char *ptext;
103         const char *assoc;
104         const char *ctext;
105         unsigned char novrfy;
106         unsigned char wk;
107         unsigned char klen;
108         unsigned int plen;
109         unsigned int clen;
110         unsigned int alen;
111         int setkey_error;
112         int setauthsize_error;
113         int crypt_error;
114 };
115
116 struct cprng_testvec {
117         const char *key;
118         const char *dt;
119         const char *v;
120         const char *result;
121         unsigned char klen;
122         unsigned short dtlen;
123         unsigned short vlen;
124         unsigned short rlen;
125         unsigned short loops;
126 };
127
128 struct drbg_testvec {
129         const unsigned char *entropy;
130         size_t entropylen;
131         const unsigned char *entpra;
132         const unsigned char *entprb;
133         size_t entprlen;
134         const unsigned char *addtla;
135         const unsigned char *addtlb;
136         size_t addtllen;
137         const unsigned char *pers;
138         size_t perslen;
139         const unsigned char *expected;
140         size_t expectedlen;
141 };
142
143 struct akcipher_testvec {
144         const unsigned char *key;
145         const unsigned char *params;
146         const unsigned char *m;
147         const unsigned char *c;
148         unsigned int key_len;
149         unsigned int param_len;
150         unsigned int m_size;
151         unsigned int c_size;
152         bool public_key_vec;
153         bool siggen_sigver_test;
154         enum OID algo;
155 };
156
157 struct kpp_testvec {
158         const unsigned char *secret;
159         const unsigned char *b_secret;
160         const unsigned char *b_public;
161         const unsigned char *expected_a_public;
162         const unsigned char *expected_ss;
163         unsigned short secret_size;
164         unsigned short b_secret_size;
165         unsigned short b_public_size;
166         unsigned short expected_a_public_size;
167         unsigned short expected_ss_size;
168         bool genkey;
169 };
170
171 static const char zeroed_string[48];
172
173 /*
174  * RSA test vectors. Borrowed from openSSL.
175  */
176 static const struct akcipher_testvec rsa_tv_template[] = {
177         {
178 #ifndef CONFIG_CRYPTO_FIPS
179         .key =
180         "\x30\x81\x9A" /* sequence of 154 bytes */
181         "\x02\x01\x01" /* version - integer of 1 byte */
182         "\x02\x41" /* modulus - integer of 65 bytes */
183         "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
184         "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
185         "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
186         "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
187         "\xF5"
188         "\x02\x01\x11" /* public key - integer of 1 byte */
189         "\x02\x40" /* private key - integer of 64 bytes */
190         "\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
191         "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
192         "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
193         "\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
194         "\x02\x01\x00" /* prime1 - integer of 1 byte */
195         "\x02\x01\x00" /* prime2 - integer of 1 byte */
196         "\x02\x01\x00" /* exponent1 - integer of 1 byte */
197         "\x02\x01\x00" /* exponent2 - integer of 1 byte */
198         "\x02\x01\x00", /* coefficient - integer of 1 byte */
199         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
200         .c =
201         "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
202         "\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
203         "\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
204         "\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
205         .key_len = 157,
206         .m_size = 8,
207         .c_size = 64,
208         }, {
209         .key =
210         "\x30\x82\x01\x1D" /* sequence of 285 bytes */
211         "\x02\x01\x01" /* version - integer of 1 byte */
212         "\x02\x81\x81" /* modulus - integer of 129 bytes */
213         "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
214         "\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
215         "\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
216         "\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
217         "\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
218         "\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
219         "\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
220         "\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
221         "\xCB"
222         "\x02\x01\x11" /* public key - integer of 1 byte */
223         "\x02\x81\x81"  /* private key - integer of 129 bytes */
224         "\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
225         "\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
226         "\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
227         "\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
228         "\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
229         "\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
230         "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
231         "\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
232         "\xC1"
233         "\x02\x01\x00" /* prime1 - integer of 1 byte */
234         "\x02\x01\x00" /* prime2 - integer of 1 byte */
235         "\x02\x01\x00" /* exponent1 - integer of 1 byte */
236         "\x02\x01\x00" /* exponent2 - integer of 1 byte */
237         "\x02\x01\x00", /* coefficient - integer of 1 byte */
238         .key_len = 289,
239         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
240         .c =
241         "\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
242         "\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
243         "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
244         "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
245         "\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
246         "\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
247         "\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
248         "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
249         .m_size = 8,
250         .c_size = 128,
251         }, {
252 #endif
253         .key =
254         "\x30\x82\x02\x1F" /* sequence of 543 bytes */
255         "\x02\x01\x01" /* version - integer of 1 byte */
256         "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
257         "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
258         "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
259         "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
260         "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
261         "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
262         "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
263         "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
264         "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
265         "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
266         "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
267         "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
268         "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
269         "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
270         "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
271         "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
272         "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
273         "\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
274         "\x02\x82\x01\x00" /* private key - integer of 256 bytes */
275         "\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
276         "\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
277         "\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
278         "\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
279         "\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
280         "\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
281         "\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
282         "\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
283         "\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
284         "\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
285         "\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
286         "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
287         "\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
288         "\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
289         "\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
290         "\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
291         "\x02\x01\x00" /* prime1 - integer of 1 byte */
292         "\x02\x01\x00" /* prime2 - integer of 1 byte */
293         "\x02\x01\x00" /* exponent1 - integer of 1 byte */
294         "\x02\x01\x00" /* exponent2 - integer of 1 byte */
295         "\x02\x01\x00", /* coefficient - integer of 1 byte */
296         .key_len = 547,
297         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
298         .c =
299         "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
300         "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
301         "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
302         "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
303         "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
304         "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
305         "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
306         "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
307         "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
308         "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
309         "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
310         "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
311         "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
312         "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
313         "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
314         "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
315         .m_size = 8,
316         .c_size = 256,
317         }, {
318         .key =
319         "\x30\x82\x01\x09" /* sequence of 265 bytes */
320         "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
321         "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
322         "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
323         "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
324         "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
325         "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
326         "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
327         "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
328         "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
329         "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
330         "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
331         "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
332         "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
333         "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
334         "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
335         "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
336         "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
337         "\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
338         .key_len = 269,
339         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
340         .c =
341         "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
342         "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
343         "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
344         "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
345         "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
346         "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
347         "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
348         "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
349         "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
350         "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
351         "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
352         "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
353         "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
354         "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
355         "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
356         "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
357         .m_size = 8,
358         .c_size = 256,
359         .public_key_vec = true,
360 #ifndef CONFIG_CRYPTO_FIPS
361         }, {
362         .key =
363         "\x30\x82\x09\x29" /* sequence of 2345 bytes */
364         "\x02\x01\x00" /* version integer of 1 byte */
365         "\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
366         "\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
367         "\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
368         "\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
369         "\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
370         "\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
371         "\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
372         "\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
373         "\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
374         "\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
375         "\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
376         "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
377         "\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
378         "\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
379         "\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
380         "\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
381         "\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
382         "\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
383         "\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
384         "\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
385         "\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
386         "\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
387         "\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
388         "\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
389         "\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
390         "\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
391         "\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
392         "\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
393         "\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
394         "\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
395         "\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
396         "\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
397         "\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
398         "\x9D"
399         "\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
400         "\x02\x82\x02\x00" /* private key integer of 512 bytes */
401         "\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
402         "\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
403         "\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
404         "\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
405         "\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
406         "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
407         "\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
408         "\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
409         "\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
410         "\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
411         "\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
412         "\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
413         "\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
414         "\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
415         "\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
416         "\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
417         "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
418         "\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
419         "\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
420         "\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
421         "\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
422         "\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
423         "\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
424         "\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
425         "\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
426         "\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
427         "\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
428         "\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
429         "\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
430         "\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
431         "\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
432         "\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
433         "\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
434         "\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
435         "\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
436         "\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
437         "\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
438         "\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
439         "\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
440         "\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
441         "\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
442         "\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
443         "\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
444         "\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
445         "\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
446         "\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
447         "\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
448         "\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
449         "\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
450         "\xAB"
451         "\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
452         "\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
453         "\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
454         "\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
455         "\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
456         "\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
457         "\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
458         "\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
459         "\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
460         "\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
461         "\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
462         "\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
463         "\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
464         "\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
465         "\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
466         "\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
467         "\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
468         "\xD7"
469         "\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
470         "\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
471         "\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
472         "\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
473         "\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
474         "\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
475         "\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
476         "\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
477         "\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
478         "\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
479         "\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
480         "\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
481         "\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
482         "\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
483         "\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
484         "\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
485         "\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
486         "\x6F"
487         "\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
488         "\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
489         "\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
490         "\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
491         "\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
492         "\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
493         "\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
494         "\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
495         "\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
496         "\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
497         "\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
498         "\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
499         "\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
500         "\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
501         "\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
502         "\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
503         "\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
504         "\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
505         "\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
506         "\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
507         "\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
508         "\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
509         "\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
510         "\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
511         "\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
512         "\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
513         "\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
514         "\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
515         "\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
516         "\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
517         "\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
518         "\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
519         "\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
520         "\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
521         "\x3D",
522         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
523         .c =
524         "\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
525         "\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
526         "\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
527         "\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
528         "\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
529         "\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
530         "\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
531         "\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
532         "\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
533         "\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
534         "\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
535         "\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
536         "\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
537         "\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
538         "\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
539         "\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
540         "\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
541         "\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
542         "\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
543         "\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
544         "\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
545         "\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
546         "\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
547         "\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
548         "\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
549         "\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
550         "\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
551         "\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
552         "\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
553         "\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
554         "\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
555         "\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
556         .key_len = 2349,
557         .m_size = 8,
558         .c_size = 512,
559 #endif
560         }
561 };
562
563 /*
564  * EC-RDSA test vectors are generated by gost-engine.
565  */
566 static const struct akcipher_testvec ecrdsa_tv_template[] = {
567         {
568         .key =
569         "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
570         "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
571         "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
572         "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
573         "\x27\xfc",
574         .key_len = 66,
575         .params = /* OID_gostCPSignA */
576         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
577         "\x07\x01\x01\x02\x02",
578         .param_len = 21,
579         .c =
580         "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
581         "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
582         "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
583         "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
584         .c_size = 64,
585         .algo = OID_gost2012PKey256,
586         .m =
587         "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
588         "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
589         .m_size = 32,
590         .public_key_vec = true,
591         .siggen_sigver_test = true,
592         },
593         {
594         .key =
595         "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
596         "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
597         "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
598         "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
599         "\xa0\x73",
600         .key_len = 66,
601         .params = /* OID_gostCPSignB */
602         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
603         "\x07\x01\x01\x02\x02",
604         .param_len = 21,
605         .c =
606         "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
607         "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
608         "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
609         "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
610         .c_size = 64,
611         .algo = OID_gost2012PKey256,
612         .m =
613         "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
614         "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
615         .m_size = 32,
616         .public_key_vec = true,
617         .siggen_sigver_test = true,
618         },
619         {
620         .key =
621         "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
622         "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
623         "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
624         "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
625         "\xba\x15",
626         .key_len = 66,
627         .params = /* OID_gostCPSignC */
628         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
629         "\x07\x01\x01\x02\x02",
630         .param_len = 21,
631         .c =
632         "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
633         "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
634         "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
635         "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
636         .c_size = 64,
637         .algo = OID_gost2012PKey256,
638         .m =
639         "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
640         "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
641         .m_size = 32,
642         .public_key_vec = true,
643         .siggen_sigver_test = true,
644         },
645         {
646         .key =
647         "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
648         "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
649         "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
650         "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
651         "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
652         "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
653         "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
654         "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
655         "\x9d\x86\x1a",
656         .key_len = 131,
657         .params = /* OID_gostTC26Sign512A */
658         "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
659         .param_len = 13,
660         .c =
661         "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
662         "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
663         "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
664         "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
665         "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
666         "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
667         "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
668         "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
669         .c_size = 128,
670         .algo = OID_gost2012PKey512,
671         .m =
672         "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
673         "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
674         "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
675         "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
676         .m_size = 64,
677         .public_key_vec = true,
678         .siggen_sigver_test = true,
679         },
680         {
681         .key =
682         "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
683         "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
684         "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
685         "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
686         "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
687         "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
688         "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
689         "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
690         "\x8e\x78\x48",
691         .key_len = 131,
692         .params = /* OID_gostTC26Sign512B */
693         "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
694         .param_len = 13,
695         .c =
696         "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
697         "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
698         "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
699         "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
700         "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
701         "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
702         "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
703         "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
704         .c_size = 128,
705         .algo = OID_gost2012PKey512,
706         .m =
707         "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
708         "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
709         "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
710         "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
711         .m_size = 64,
712         .public_key_vec = true,
713         .siggen_sigver_test = true,
714         },
715 };
716
717 /*
718  * PKCS#1 RSA test vectors. Obtained from CAVS testing.
719  */
720 static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
721         {
722         .key =
723         "\x30\x82\x03\x1f\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
724         "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
725         "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
726         "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
727         "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
728         "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
729         "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
730         "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
731         "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
732         "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
733         "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
734         "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
735         "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
736         "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
737         "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
738         "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
739         "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x82\x01\x00"
740         "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
741         "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
742         "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
743         "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
744         "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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\x01\x00\x01"
756         "\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac\x47"
757         "\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4\xdc"
758         "\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b\x12"
759         "\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd\xef"
760         "\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71\x9c"
761         "\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5\x80"
762         "\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f\x8d"
763         "\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e\x28"
764         "\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5\x95"
765         "\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae\xf1"
766         "\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52\x4c"
767         "\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d\xd4"
768         "\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88\x4e"
769         "\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9\x7a"
770         "\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f\xda"
771         "\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d\x46"
772         "\xb8\x35\xdf\x41\x02\x01\x00\x02\x01\x00\x02\x01\x00\x02\x01\x00"
773         "\x02\x01\x00",
774         .key_len = 804,
775         /*
776          * m is SHA256 hash of following message:
777          * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
778          * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
779          * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
780          * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
781          * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
782          * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
783          * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
784          * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
785          */
786         .m =
787         "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
788         "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
789         .m_size = 32,
790         .c =
791         "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
792         "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
793         "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
794         "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
795         "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
796         "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
797         "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
798         "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
799         "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
800         "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
801         "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
802         "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
803         "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
804         "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
805         "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
806         "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
807         .c_size = 256,
808         .siggen_sigver_test = true,
809         }
810 };
811
812 static const struct kpp_testvec dh_tv_template[] = {
813         {
814         .secret =
815 #ifdef __LITTLE_ENDIAN
816         "\x01\x00" /* type */
817         "\x15\x02" /* len */
818         "\x00\x01\x00\x00" /* key_size */
819         "\x00\x01\x00\x00" /* p_size */
820         "\x00\x00\x00\x00" /* q_size */
821         "\x01\x00\x00\x00" /* g_size */
822 #else
823         "\x00\x01" /* type */
824         "\x02\x15" /* len */
825         "\x00\x00\x01\x00" /* key_size */
826         "\x00\x00\x01\x00" /* p_size */
827         "\x00\x00\x00\x00" /* q_size */
828         "\x00\x00\x00\x01" /* g_size */
829 #endif
830         /* xa */
831         "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
832         "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
833         "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
834         "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
835         "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
836         "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
837         "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
838         "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
839         "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
840         "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
841         "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
842         "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
843         "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
844         "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
845         "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
846         "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
847         /* p */
848         "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
849         "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
850         "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
851         "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
852         "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
853         "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
854         "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
855         "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
856         "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
857         "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
858         "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
859         "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
860         "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
861         "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
862         "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
863         "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
864         /* g */
865         "\x02",
866         .b_public =
867         "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
868         "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
869         "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
870         "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
871         "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
872         "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
873         "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
874         "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
875         "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
876         "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
877         "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
878         "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
879         "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
880         "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
881         "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
882         "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
883         .expected_a_public =
884         "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
885         "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
886         "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
887         "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
888         "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
889         "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
890         "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
891         "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
892         "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
893         "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
894         "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
895         "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
896         "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
897         "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
898         "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
899         "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
900         .expected_ss =
901         "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
902         "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
903         "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
904         "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
905         "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
906         "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
907         "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
908         "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
909         "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
910         "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
911         "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
912         "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
913         "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
914         "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
915         "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
916         "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
917         .secret_size = 533,
918         .b_public_size = 256,
919         .expected_a_public_size = 256,
920         .expected_ss_size = 256,
921         },
922         {
923         .secret =
924 #ifdef __LITTLE_ENDIAN
925         "\x01\x00" /* type */
926         "\x15\x02" /* len */
927         "\x00\x01\x00\x00" /* key_size */
928         "\x00\x01\x00\x00" /* p_size */
929         "\x00\x00\x00\x00" /* q_size */
930         "\x01\x00\x00\x00" /* g_size */
931 #else
932         "\x00\x01" /* type */
933         "\x02\x15" /* len */
934         "\x00\x00\x01\x00" /* key_size */
935         "\x00\x00\x01\x00" /* p_size */
936         "\x00\x00\x00\x00" /* q_size */
937         "\x00\x00\x00\x01" /* g_size */
938 #endif
939         /* xa */
940         "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
941         "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
942         "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
943         "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
944         "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
945         "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
946         "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
947         "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
948         "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
949         "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
950         "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
951         "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
952         "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
953         "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
954         "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
955         "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
956         /* p */
957         "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
958         "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
959         "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
960         "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
961         "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
962         "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
963         "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
964         "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
965         "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
966         "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
967         "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
968         "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
969         "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
970         "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
971         "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
972         "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
973         /* g */
974         "\x02",
975         .b_public =
976         "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
977         "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
978         "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
979         "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
980         "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
981         "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
982         "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
983         "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
984         "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
985         "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
986         "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
987         "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
988         "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
989         "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
990         "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
991         "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
992         .expected_a_public =
993         "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
994         "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
995         "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
996         "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
997         "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
998         "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
999         "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
1000         "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
1001         "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
1002         "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
1003         "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
1004         "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
1005         "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
1006         "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
1007         "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
1008         "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
1009         .expected_ss =
1010         "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
1011         "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
1012         "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
1013         "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
1014         "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
1015         "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
1016         "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
1017         "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
1018         "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
1019         "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
1020         "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
1021         "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
1022         "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
1023         "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
1024         "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
1025         "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
1026         .secret_size = 533,
1027         .b_public_size = 256,
1028         .expected_a_public_size = 256,
1029         .expected_ss_size = 256,
1030         }
1031 };
1032
1033 static const struct kpp_testvec curve25519_tv_template[] = {
1034 {
1035         .secret = (u8[32]){ 0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d,
1036                      0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66, 0x45,
1037                      0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a,
1038                      0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x2a },
1039         .b_public = (u8[32]){ 0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4,
1040                     0xd3, 0x5b, 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37,
1041                     0x3f, 0x83, 0x43, 0xc8, 0x5b, 0x78, 0x67, 0x4d,
1042                     0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b, 0x4f },
1043         .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
1044                     0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
1045                     0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
1046                     0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
1047         .secret_size = 32,
1048         .b_public_size = 32,
1049         .expected_ss_size = 32,
1050
1051 },
1052 {
1053         .secret = (u8[32]){ 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, 0x4b,
1054                      0x79, 0xe1, 0x7f, 0x8b, 0x83, 0x80, 0x0e, 0xe6,
1055                      0x6f, 0x3b, 0xb1, 0x29, 0x26, 0x18, 0xb6, 0xfd,
1056                      0x1c, 0x2f, 0x8b, 0x27, 0xff, 0x88, 0xe0, 0xeb },
1057         .b_public = (u8[32]){ 0x85, 0x20, 0xf0, 0x09, 0x89, 0x30, 0xa7, 0x54,
1058                     0x74, 0x8b, 0x7d, 0xdc, 0xb4, 0x3e, 0xf7, 0x5a,
1059                     0x0d, 0xbf, 0x3a, 0x0d, 0x26, 0x38, 0x1a, 0xf4,
1060                     0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a },
1061         .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
1062                     0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
1063                     0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
1064                     0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
1065         .secret_size = 32,
1066         .b_public_size = 32,
1067         .expected_ss_size = 32,
1068
1069 },
1070 {
1071         .secret = (u8[32]){ 1 },
1072         .b_public = (u8[32]){ 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1073                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1074                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1075                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
1076         .expected_ss = (u8[32]){ 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64,
1077                     0x41, 0x60, 0x77, 0x66, 0x5b, 0x4e, 0x22, 0x9d,
1078                     0x0b, 0x95, 0x48, 0xdc, 0x0c, 0xd8, 0x19, 0x98,
1079                     0xdd, 0xcd, 0xc5, 0xc8, 0x53, 0x3c, 0x79, 0x7f },
1080         .secret_size = 32,
1081         .b_public_size = 32,
1082         .expected_ss_size = 32,
1083
1084 },
1085 {
1086         .secret = (u8[32]){ 1 },
1087         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1088                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1089                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1090                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1091         .expected_ss = (u8[32]){ 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f,
1092                     0xe6, 0x26, 0x19, 0xcf, 0xf0, 0x4d, 0xd4, 0x3d,
1093                     0xb7, 0x3f, 0xfc, 0x1b, 0x63, 0x08, 0xed, 0xe3,
1094                     0x0b, 0x78, 0xd8, 0x73, 0x80, 0xf1, 0xe8, 0x34 },
1095         .secret_size = 32,
1096         .b_public_size = 32,
1097         .expected_ss_size = 32,
1098
1099 },
1100 {
1101         .secret = (u8[32]){ 0xa5, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
1102                      0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
1103                      0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
1104                      0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0xc4 },
1105         .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
1106                     0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
1107                     0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
1108                     0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
1109         .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
1110                     0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
1111                     0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
1112                     0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
1113         .secret_size = 32,
1114         .b_public_size = 32,
1115         .expected_ss_size = 32,
1116
1117 },
1118 {
1119         .secret = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x0a, 0xff, 0xff, 0xff,
1120                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1121                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1122                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1123         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1124                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1125                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1126                     0xff, 0xff, 0xff, 0xff, 0x0a, 0x00, 0xfb, 0x9f },
1127         .expected_ss = (u8[32]){ 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2,
1128                     0xc6, 0x93, 0x46, 0x83, 0x81, 0x7c, 0xc6, 0x57,
1129                     0xf3, 0x31, 0x03, 0x19, 0x49, 0x48, 0x20, 0x05,
1130                     0x42, 0x2b, 0x4e, 0xae, 0x8d, 0x1d, 0x43, 0x23 },
1131         .secret_size = 32,
1132         .b_public_size = 32,
1133         .expected_ss_size = 32,
1134
1135 },
1136 {
1137         .secret = (u8[32]){ 0x8e, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1138                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1139                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1140                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
1141         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1142                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1143                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1144                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x06 },
1145         .expected_ss = (u8[32]){ 0x5a, 0xdf, 0xaa, 0x25, 0x86, 0x8e, 0x32, 0x3d,
1146                     0xae, 0x49, 0x62, 0xc1, 0x01, 0x5c, 0xb3, 0x12,
1147                     0xe1, 0xc5, 0xc7, 0x9e, 0x95, 0x3f, 0x03, 0x99,
1148                     0xb0, 0xba, 0x16, 0x22, 0xf3, 0xb6, 0xf7, 0x0c },
1149         .secret_size = 32,
1150         .b_public_size = 32,
1151         .expected_ss_size = 32,
1152
1153 },
1154 /* wycheproof - normal case */
1155 {
1156         .secret = (u8[32]){ 0x48, 0x52, 0x83, 0x4d, 0x9d, 0x6b, 0x77, 0xda,
1157                      0xde, 0xab, 0xaa, 0xf2, 0xe1, 0x1d, 0xca, 0x66,
1158                      0xd1, 0x9f, 0xe7, 0x49, 0x93, 0xa7, 0xbe, 0xc3,
1159                      0x6c, 0x6e, 0x16, 0xa0, 0x98, 0x3f, 0xea, 0xba },
1160         .b_public = (u8[32]){ 0x9c, 0x64, 0x7d, 0x9a, 0xe5, 0x89, 0xb9, 0xf5,
1161                     0x8f, 0xdc, 0x3c, 0xa4, 0x94, 0x7e, 0xfb, 0xc9,
1162                     0x15, 0xc4, 0xb2, 0xe0, 0x8e, 0x74, 0x4a, 0x0e,
1163                     0xdf, 0x46, 0x9d, 0xac, 0x59, 0xc8, 0xf8, 0x5a },
1164         .expected_ss = (u8[32]){ 0x87, 0xb7, 0xf2, 0x12, 0xb6, 0x27, 0xf7, 0xa5,
1165                     0x4c, 0xa5, 0xe0, 0xbc, 0xda, 0xdd, 0xd5, 0x38,
1166                     0x9d, 0x9d, 0xe6, 0x15, 0x6c, 0xdb, 0xcf, 0x8e,
1167                     0xbe, 0x14, 0xff, 0xbc, 0xfb, 0x43, 0x65, 0x51 },
1168         .secret_size = 32,
1169         .b_public_size = 32,
1170         .expected_ss_size = 32,
1171
1172 },
1173 /* wycheproof - public key on twist */
1174 {
1175         .secret = (u8[32]){ 0x58, 0x8c, 0x06, 0x1a, 0x50, 0x80, 0x4a, 0xc4,
1176                      0x88, 0xad, 0x77, 0x4a, 0xc7, 0x16, 0xc3, 0xf5,
1177                      0xba, 0x71, 0x4b, 0x27, 0x12, 0xe0, 0x48, 0x49,
1178                      0x13, 0x79, 0xa5, 0x00, 0x21, 0x19, 0x98, 0xa8 },
1179         .b_public = (u8[32]){ 0x63, 0xaa, 0x40, 0xc6, 0xe3, 0x83, 0x46, 0xc5,
1180                     0xca, 0xf2, 0x3a, 0x6d, 0xf0, 0xa5, 0xe6, 0xc8,
1181                     0x08, 0x89, 0xa0, 0x86, 0x47, 0xe5, 0x51, 0xb3,
1182                     0x56, 0x34, 0x49, 0xbe, 0xfc, 0xfc, 0x97, 0x33 },
1183         .expected_ss = (u8[32]){ 0xb1, 0xa7, 0x07, 0x51, 0x94, 0x95, 0xff, 0xff,
1184                     0xb2, 0x98, 0xff, 0x94, 0x17, 0x16, 0xb0, 0x6d,
1185                     0xfa, 0xb8, 0x7c, 0xf8, 0xd9, 0x11, 0x23, 0xfe,
1186                     0x2b, 0xe9, 0xa2, 0x33, 0xdd, 0xa2, 0x22, 0x12 },
1187         .secret_size = 32,
1188         .b_public_size = 32,
1189         .expected_ss_size = 32,
1190
1191 },
1192 /* wycheproof - public key on twist */
1193 {
1194         .secret = (u8[32]){ 0xb0, 0x5b, 0xfd, 0x32, 0xe5, 0x53, 0x25, 0xd9,
1195                      0xfd, 0x64, 0x8c, 0xb3, 0x02, 0x84, 0x80, 0x39,
1196                      0x00, 0x0b, 0x39, 0x0e, 0x44, 0xd5, 0x21, 0xe5,
1197                      0x8a, 0xab, 0x3b, 0x29, 0xa6, 0x96, 0x0b, 0xa8 },
1198         .b_public = (u8[32]){ 0x0f, 0x83, 0xc3, 0x6f, 0xde, 0xd9, 0xd3, 0x2f,
1199                     0xad, 0xf4, 0xef, 0xa3, 0xae, 0x93, 0xa9, 0x0b,
1200                     0xb5, 0xcf, 0xa6, 0x68, 0x93, 0xbc, 0x41, 0x2c,
1201                     0x43, 0xfa, 0x72, 0x87, 0xdb, 0xb9, 0x97, 0x79 },
1202         .expected_ss = (u8[32]){ 0x67, 0xdd, 0x4a, 0x6e, 0x16, 0x55, 0x33, 0x53,
1203                     0x4c, 0x0e, 0x3f, 0x17, 0x2e, 0x4a, 0xb8, 0x57,
1204                     0x6b, 0xca, 0x92, 0x3a, 0x5f, 0x07, 0xb2, 0xc0,
1205                     0x69, 0xb4, 0xc3, 0x10, 0xff, 0x2e, 0x93, 0x5b },
1206         .secret_size = 32,
1207         .b_public_size = 32,
1208         .expected_ss_size = 32,
1209
1210 },
1211 /* wycheproof - public key on twist */
1212 {
1213         .secret = (u8[32]){ 0x70, 0xe3, 0x4b, 0xcb, 0xe1, 0xf4, 0x7f, 0xbc,
1214                      0x0f, 0xdd, 0xfd, 0x7c, 0x1e, 0x1a, 0xa5, 0x3d,
1215                      0x57, 0xbf, 0xe0, 0xf6, 0x6d, 0x24, 0x30, 0x67,
1216                      0xb4, 0x24, 0xbb, 0x62, 0x10, 0xbe, 0xd1, 0x9c },
1217         .b_public = (u8[32]){ 0x0b, 0x82, 0x11, 0xa2, 0xb6, 0x04, 0x90, 0x97,
1218                     0xf6, 0x87, 0x1c, 0x6c, 0x05, 0x2d, 0x3c, 0x5f,
1219                     0xc1, 0xba, 0x17, 0xda, 0x9e, 0x32, 0xae, 0x45,
1220                     0x84, 0x03, 0xb0, 0x5b, 0xb2, 0x83, 0x09, 0x2a },
1221         .expected_ss = (u8[32]){ 0x4a, 0x06, 0x38, 0xcf, 0xaa, 0x9e, 0xf1, 0x93,
1222                     0x3b, 0x47, 0xf8, 0x93, 0x92, 0x96, 0xa6, 0xb2,
1223                     0x5b, 0xe5, 0x41, 0xef, 0x7f, 0x70, 0xe8, 0x44,
1224                     0xc0, 0xbc, 0xc0, 0x0b, 0x13, 0x4d, 0xe6, 0x4a },
1225         .secret_size = 32,
1226         .b_public_size = 32,
1227         .expected_ss_size = 32,
1228
1229 },
1230 /* wycheproof - public key on twist */
1231 {
1232         .secret = (u8[32]){ 0x68, 0xc1, 0xf3, 0xa6, 0x53, 0xa4, 0xcd, 0xb1,
1233                      0xd3, 0x7b, 0xba, 0x94, 0x73, 0x8f, 0x8b, 0x95,
1234                      0x7a, 0x57, 0xbe, 0xb2, 0x4d, 0x64, 0x6e, 0x99,
1235                      0x4d, 0xc2, 0x9a, 0x27, 0x6a, 0xad, 0x45, 0x8d },
1236         .b_public = (u8[32]){ 0x34, 0x3a, 0xc2, 0x0a, 0x3b, 0x9c, 0x6a, 0x27,
1237                     0xb1, 0x00, 0x81, 0x76, 0x50, 0x9a, 0xd3, 0x07,
1238                     0x35, 0x85, 0x6e, 0xc1, 0xc8, 0xd8, 0xfc, 0xae,
1239                     0x13, 0x91, 0x2d, 0x08, 0xd1, 0x52, 0xf4, 0x6c },
1240         .expected_ss = (u8[32]){ 0x39, 0x94, 0x91, 0xfc, 0xe8, 0xdf, 0xab, 0x73,
1241                     0xb4, 0xf9, 0xf6, 0x11, 0xde, 0x8e, 0xa0, 0xb2,
1242                     0x7b, 0x28, 0xf8, 0x59, 0x94, 0x25, 0x0b, 0x0f,
1243                     0x47, 0x5d, 0x58, 0x5d, 0x04, 0x2a, 0xc2, 0x07 },
1244         .secret_size = 32,
1245         .b_public_size = 32,
1246         .expected_ss_size = 32,
1247
1248 },
1249 /* wycheproof - public key on twist */
1250 {
1251         .secret = (u8[32]){ 0xd8, 0x77, 0xb2, 0x6d, 0x06, 0xdf, 0xf9, 0xd9,
1252                      0xf7, 0xfd, 0x4c, 0x5b, 0x37, 0x69, 0xf8, 0xcd,
1253                      0xd5, 0xb3, 0x05, 0x16, 0xa5, 0xab, 0x80, 0x6b,
1254                      0xe3, 0x24, 0xff, 0x3e, 0xb6, 0x9e, 0xa0, 0xb2 },
1255         .b_public = (u8[32]){ 0xfa, 0x69, 0x5f, 0xc7, 0xbe, 0x8d, 0x1b, 0xe5,
1256                     0xbf, 0x70, 0x48, 0x98, 0xf3, 0x88, 0xc4, 0x52,
1257                     0xba, 0xfd, 0xd3, 0xb8, 0xea, 0xe8, 0x05, 0xf8,
1258                     0x68, 0x1a, 0x8d, 0x15, 0xc2, 0xd4, 0xe1, 0x42 },
1259         .expected_ss = (u8[32]){ 0x2c, 0x4f, 0xe1, 0x1d, 0x49, 0x0a, 0x53, 0x86,
1260                     0x17, 0x76, 0xb1, 0x3b, 0x43, 0x54, 0xab, 0xd4,
1261                     0xcf, 0x5a, 0x97, 0x69, 0x9d, 0xb6, 0xe6, 0xc6,
1262                     0x8c, 0x16, 0x26, 0xd0, 0x76, 0x62, 0xf7, 0x58 },
1263         .secret_size = 32,
1264         .b_public_size = 32,
1265         .expected_ss_size = 32,
1266
1267 },
1268 /* wycheproof - edge case on twist */
1269 {
1270         .secret = (u8[32]){ 0x38, 0xdd, 0xe9, 0xf3, 0xe7, 0xb7, 0x99, 0x04,
1271                      0x5f, 0x9a, 0xc3, 0x79, 0x3d, 0x4a, 0x92, 0x77,
1272                      0xda, 0xde, 0xad, 0xc4, 0x1b, 0xec, 0x02, 0x90,
1273                      0xf8, 0x1f, 0x74, 0x4f, 0x73, 0x77, 0x5f, 0x84 },
1274         .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1275                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1276                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1277                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
1278         .expected_ss = (u8[32]){ 0x9a, 0x2c, 0xfe, 0x84, 0xff, 0x9c, 0x4a, 0x97,
1279                     0x39, 0x62, 0x5c, 0xae, 0x4a, 0x3b, 0x82, 0xa9,
1280                     0x06, 0x87, 0x7a, 0x44, 0x19, 0x46, 0xf8, 0xd7,
1281                     0xb3, 0xd7, 0x95, 0xfe, 0x8f, 0x5d, 0x16, 0x39 },
1282         .secret_size = 32,
1283         .b_public_size = 32,
1284         .expected_ss_size = 32,
1285
1286 },
1287 /* wycheproof - edge case on twist */
1288 {
1289         .secret = (u8[32]){ 0x98, 0x57, 0xa9, 0x14, 0xe3, 0xc2, 0x90, 0x36,
1290                      0xfd, 0x9a, 0x44, 0x2b, 0xa5, 0x26, 0xb5, 0xcd,
1291                      0xcd, 0xf2, 0x82, 0x16, 0x15, 0x3e, 0x63, 0x6c,
1292                      0x10, 0x67, 0x7a, 0xca, 0xb6, 0xbd, 0x6a, 0xa5 },
1293         .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1294                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1295                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1296                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
1297         .expected_ss = (u8[32]){ 0x4d, 0xa4, 0xe0, 0xaa, 0x07, 0x2c, 0x23, 0x2e,
1298                     0xe2, 0xf0, 0xfa, 0x4e, 0x51, 0x9a, 0xe5, 0x0b,
1299                     0x52, 0xc1, 0xed, 0xd0, 0x8a, 0x53, 0x4d, 0x4e,
1300                     0xf3, 0x46, 0xc2, 0xe1, 0x06, 0xd2, 0x1d, 0x60 },
1301         .secret_size = 32,
1302         .b_public_size = 32,
1303         .expected_ss_size = 32,
1304
1305 },
1306 /* wycheproof - edge case on twist */
1307 {
1308         .secret = (u8[32]){ 0x48, 0xe2, 0x13, 0x0d, 0x72, 0x33, 0x05, 0xed,
1309                      0x05, 0xe6, 0xe5, 0x89, 0x4d, 0x39, 0x8a, 0x5e,
1310                      0x33, 0x36, 0x7a, 0x8c, 0x6a, 0xac, 0x8f, 0xcd,
1311                      0xf0, 0xa8, 0x8e, 0x4b, 0x42, 0x82, 0x0d, 0xb7 },
1312         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0x03, 0x00, 0x00, 0xf8, 0xff,
1313                     0xff, 0x1f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0xff,
1314                     0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x07, 0x00,
1315                     0x00, 0xf0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00 },
1316         .expected_ss = (u8[32]){ 0x9e, 0xd1, 0x0c, 0x53, 0x74, 0x7f, 0x64, 0x7f,
1317                     0x82, 0xf4, 0x51, 0x25, 0xd3, 0xde, 0x15, 0xa1,
1318                     0xe6, 0xb8, 0x24, 0x49, 0x6a, 0xb4, 0x04, 0x10,
1319                     0xff, 0xcc, 0x3c, 0xfe, 0x95, 0x76, 0x0f, 0x3b },
1320         .secret_size = 32,
1321         .b_public_size = 32,
1322         .expected_ss_size = 32,
1323
1324 },
1325 /* wycheproof - edge case on twist */
1326 {
1327         .secret = (u8[32]){ 0x28, 0xf4, 0x10, 0x11, 0x69, 0x18, 0x51, 0xb3,
1328                      0xa6, 0x2b, 0x64, 0x15, 0x53, 0xb3, 0x0d, 0x0d,
1329                      0xfd, 0xdc, 0xb8, 0xff, 0xfc, 0xf5, 0x37, 0x00,
1330                      0xa7, 0xbe, 0x2f, 0x6a, 0x87, 0x2e, 0x9f, 0xb0 },
1331         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x07, 0x00,
1332                     0x00, 0xe0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00,
1333                     0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0xf8, 0xff,
1334                     0xff, 0x0f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x7f },
1335         .expected_ss = (u8[32]){ 0xcf, 0x72, 0xb4, 0xaa, 0x6a, 0xa1, 0xc9, 0xf8,
1336                     0x94, 0xf4, 0x16, 0x5b, 0x86, 0x10, 0x9a, 0xa4,
1337                     0x68, 0x51, 0x76, 0x48, 0xe1, 0xf0, 0xcc, 0x70,
1338                     0xe1, 0xab, 0x08, 0x46, 0x01, 0x76, 0x50, 0x6b },
1339         .secret_size = 32,
1340         .b_public_size = 32,
1341         .expected_ss_size = 32,
1342
1343 },
1344 /* wycheproof - edge case on twist */
1345 {
1346         .secret = (u8[32]){ 0x18, 0xa9, 0x3b, 0x64, 0x99, 0xb9, 0xf6, 0xb3,
1347                      0x22, 0x5c, 0xa0, 0x2f, 0xef, 0x41, 0x0e, 0x0a,
1348                      0xde, 0xc2, 0x35, 0x32, 0x32, 0x1d, 0x2d, 0x8e,
1349                      0xf1, 0xa6, 0xd6, 0x02, 0xa8, 0xc6, 0x5b, 0x83 },
1350         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
1351                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
1352                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
1353                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x7f },
1354         .expected_ss = (u8[32]){ 0x5d, 0x50, 0xb6, 0x28, 0x36, 0xbb, 0x69, 0x57,
1355                     0x94, 0x10, 0x38, 0x6c, 0xf7, 0xbb, 0x81, 0x1c,
1356                     0x14, 0xbf, 0x85, 0xb1, 0xc7, 0xb1, 0x7e, 0x59,
1357                     0x24, 0xc7, 0xff, 0xea, 0x91, 0xef, 0x9e, 0x12 },
1358         .secret_size = 32,
1359         .b_public_size = 32,
1360         .expected_ss_size = 32,
1361
1362 },
1363 /* wycheproof - edge case on twist */
1364 {
1365         .secret = (u8[32]){ 0xc0, 0x1d, 0x13, 0x05, 0xa1, 0x33, 0x8a, 0x1f,
1366                      0xca, 0xc2, 0xba, 0x7e, 0x2e, 0x03, 0x2b, 0x42,
1367                      0x7e, 0x0b, 0x04, 0x90, 0x31, 0x65, 0xac, 0xa9,
1368                      0x57, 0xd8, 0xd0, 0x55, 0x3d, 0x87, 0x17, 0xb0 },
1369         .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1370                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1371                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1372                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
1373         .expected_ss = (u8[32]){ 0x19, 0x23, 0x0e, 0xb1, 0x48, 0xd5, 0xd6, 0x7c,
1374                     0x3c, 0x22, 0xab, 0x1d, 0xae, 0xff, 0x80, 0xa5,
1375                     0x7e, 0xae, 0x42, 0x65, 0xce, 0x28, 0x72, 0x65,
1376                     0x7b, 0x2c, 0x80, 0x99, 0xfc, 0x69, 0x8e, 0x50 },
1377         .secret_size = 32,
1378         .b_public_size = 32,
1379         .expected_ss_size = 32,
1380
1381 },
1382 /* wycheproof - edge case for public key */
1383 {
1384         .secret = (u8[32]){ 0x38, 0x6f, 0x7f, 0x16, 0xc5, 0x07, 0x31, 0xd6,
1385                      0x4f, 0x82, 0xe6, 0xa1, 0x70, 0xb1, 0x42, 0xa4,
1386                      0xe3, 0x4f, 0x31, 0xfd, 0x77, 0x68, 0xfc, 0xb8,
1387                      0x90, 0x29, 0x25, 0xe7, 0xd1, 0xe2, 0x1a, 0xbe },
1388         .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1389                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1390                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1391                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
1392         .expected_ss = (u8[32]){ 0x0f, 0xca, 0xb5, 0xd8, 0x42, 0xa0, 0x78, 0xd7,
1393                     0xa7, 0x1f, 0xc5, 0x9b, 0x57, 0xbf, 0xb4, 0xca,
1394                     0x0b, 0xe6, 0x87, 0x3b, 0x49, 0xdc, 0xdb, 0x9f,
1395                     0x44, 0xe1, 0x4a, 0xe8, 0xfb, 0xdf, 0xa5, 0x42 },
1396         .secret_size = 32,
1397         .b_public_size = 32,
1398         .expected_ss_size = 32,
1399
1400 },
1401 /* wycheproof - edge case for public key */
1402 {
1403         .secret = (u8[32]){ 0xe0, 0x23, 0xa2, 0x89, 0xbd, 0x5e, 0x90, 0xfa,
1404                      0x28, 0x04, 0xdd, 0xc0, 0x19, 0xa0, 0x5e, 0xf3,
1405                      0xe7, 0x9d, 0x43, 0x4b, 0xb6, 0xea, 0x2f, 0x52,
1406                      0x2e, 0xcb, 0x64, 0x3a, 0x75, 0x29, 0x6e, 0x95 },
1407         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
1408                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
1409                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
1410                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 },
1411         .expected_ss = (u8[32]){ 0x54, 0xce, 0x8f, 0x22, 0x75, 0xc0, 0x77, 0xe3,
1412                     0xb1, 0x30, 0x6a, 0x39, 0x39, 0xc5, 0xe0, 0x3e,
1413                     0xef, 0x6b, 0xbb, 0x88, 0x06, 0x05, 0x44, 0x75,
1414                     0x8d, 0x9f, 0xef, 0x59, 0xb0, 0xbc, 0x3e, 0x4f },
1415         .secret_size = 32,
1416         .b_public_size = 32,
1417         .expected_ss_size = 32,
1418
1419 },
1420 /* wycheproof - edge case for public key */
1421 {
1422         .secret = (u8[32]){ 0x68, 0xf0, 0x10, 0xd6, 0x2e, 0xe8, 0xd9, 0x26,
1423                      0x05, 0x3a, 0x36, 0x1c, 0x3a, 0x75, 0xc6, 0xea,
1424                      0x4e, 0xbd, 0xc8, 0x60, 0x6a, 0xb2, 0x85, 0x00,
1425                      0x3a, 0x6f, 0x8f, 0x40, 0x76, 0xb0, 0x1e, 0x83 },
1426         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1427                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1428                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1429                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
1430         .expected_ss = (u8[32]){ 0xf1, 0x36, 0x77, 0x5c, 0x5b, 0xeb, 0x0a, 0xf8,
1431                     0x11, 0x0a, 0xf1, 0x0b, 0x20, 0x37, 0x23, 0x32,
1432                     0x04, 0x3c, 0xab, 0x75, 0x24, 0x19, 0x67, 0x87,
1433                     0x75, 0xa2, 0x23, 0xdf, 0x57, 0xc9, 0xd3, 0x0d },
1434         .secret_size = 32,
1435         .b_public_size = 32,
1436         .expected_ss_size = 32,
1437
1438 },
1439 /* wycheproof - edge case for public key */
1440 {
1441         .secret = (u8[32]){ 0x58, 0xeb, 0xcb, 0x35, 0xb0, 0xf8, 0x84, 0x5c,
1442                      0xaf, 0x1e, 0xc6, 0x30, 0xf9, 0x65, 0x76, 0xb6,
1443                      0x2c, 0x4b, 0x7b, 0x6c, 0x36, 0xb2, 0x9d, 0xeb,
1444                      0x2c, 0xb0, 0x08, 0x46, 0x51, 0x75, 0x5c, 0x96 },
1445         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff,
1446                     0xff, 0xdf, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff,
1447                     0xfe, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xf7, 0xff,
1448                     0xff, 0xf7, 0xff, 0xff, 0xbf, 0xff, 0xff, 0x3f },
1449         .expected_ss = (u8[32]){ 0xbf, 0x9a, 0xff, 0xd0, 0x6b, 0x84, 0x40, 0x85,
1450                     0x58, 0x64, 0x60, 0x96, 0x2e, 0xf2, 0x14, 0x6f,
1451                     0xf3, 0xd4, 0x53, 0x3d, 0x94, 0x44, 0xaa, 0xb0,
1452                     0x06, 0xeb, 0x88, 0xcc, 0x30, 0x54, 0x40, 0x7d },
1453         .secret_size = 32,
1454         .b_public_size = 32,
1455         .expected_ss_size = 32,
1456
1457 },
1458 /* wycheproof - edge case for public key */
1459 {
1460         .secret = (u8[32]){ 0x18, 0x8c, 0x4b, 0xc5, 0xb9, 0xc4, 0x4b, 0x38,
1461                      0xbb, 0x65, 0x8b, 0x9b, 0x2a, 0xe8, 0x2d, 0x5b,
1462                      0x01, 0x01, 0x5e, 0x09, 0x31, 0x84, 0xb1, 0x7c,
1463                      0xb7, 0x86, 0x35, 0x03, 0xa7, 0x83, 0xe1, 0xbb },
1464         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1465                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1466                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1467                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
1468         .expected_ss = (u8[32]){ 0xd4, 0x80, 0xde, 0x04, 0xf6, 0x99, 0xcb, 0x3b,
1469                     0xe0, 0x68, 0x4a, 0x9c, 0xc2, 0xe3, 0x12, 0x81,
1470                     0xea, 0x0b, 0xc5, 0xa9, 0xdc, 0xc1, 0x57, 0xd3,
1471                     0xd2, 0x01, 0x58, 0xd4, 0x6c, 0xa5, 0x24, 0x6d },
1472         .secret_size = 32,
1473         .b_public_size = 32,
1474         .expected_ss_size = 32,
1475
1476 },
1477 /* wycheproof - edge case for public key */
1478 {
1479         .secret = (u8[32]){ 0xe0, 0x6c, 0x11, 0xbb, 0x2e, 0x13, 0xce, 0x3d,
1480                      0xc7, 0x67, 0x3f, 0x67, 0xf5, 0x48, 0x22, 0x42,
1481                      0x90, 0x94, 0x23, 0xa9, 0xae, 0x95, 0xee, 0x98,
1482                      0x6a, 0x98, 0x8d, 0x98, 0xfa, 0xee, 0x23, 0xa2 },
1483         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
1484                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
1485                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
1486                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f },
1487         .expected_ss = (u8[32]){ 0x4c, 0x44, 0x01, 0xcc, 0xe6, 0xb5, 0x1e, 0x4c,
1488                     0xb1, 0x8f, 0x27, 0x90, 0x24, 0x6c, 0x9b, 0xf9,
1489                     0x14, 0xdb, 0x66, 0x77, 0x50, 0xa1, 0xcb, 0x89,
1490                     0x06, 0x90, 0x92, 0xaf, 0x07, 0x29, 0x22, 0x76 },
1491         .secret_size = 32,
1492         .b_public_size = 32,
1493         .expected_ss_size = 32,
1494
1495 },
1496 /* wycheproof - edge case for public key */
1497 {
1498         .secret = (u8[32]){ 0xc0, 0x65, 0x8c, 0x46, 0xdd, 0xe1, 0x81, 0x29,
1499                      0x29, 0x38, 0x77, 0x53, 0x5b, 0x11, 0x62, 0xb6,
1500                      0xf9, 0xf5, 0x41, 0x4a, 0x23, 0xcf, 0x4d, 0x2c,
1501                      0xbc, 0x14, 0x0a, 0x4d, 0x99, 0xda, 0x2b, 0x8f },
1502         .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1503                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1504                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1505                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
1506         .expected_ss = (u8[32]){ 0x57, 0x8b, 0xa8, 0xcc, 0x2d, 0xbd, 0xc5, 0x75,
1507                     0xaf, 0xcf, 0x9d, 0xf2, 0xb3, 0xee, 0x61, 0x89,
1508                     0xf5, 0x33, 0x7d, 0x68, 0x54, 0xc7, 0x9b, 0x4c,
1509                     0xe1, 0x65, 0xea, 0x12, 0x29, 0x3b, 0x3a, 0x0f },
1510         .secret_size = 32,
1511         .b_public_size = 32,
1512         .expected_ss_size = 32,
1513
1514 },
1515 /* wycheproof - public key >= p */
1516 {
1517         .secret = (u8[32]){ 0xf0, 0x1e, 0x48, 0xda, 0xfa, 0xc9, 0xd7, 0xbc,
1518                      0xf5, 0x89, 0xcb, 0xc3, 0x82, 0xc8, 0x78, 0xd1,
1519                      0x8b, 0xda, 0x35, 0x50, 0x58, 0x9f, 0xfb, 0x5d,
1520                      0x50, 0xb5, 0x23, 0xbe, 0xbe, 0x32, 0x9d, 0xae },
1521         .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1522                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1523                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1524                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
1525         .expected_ss = (u8[32]){ 0xbd, 0x36, 0xa0, 0x79, 0x0e, 0xb8, 0x83, 0x09,
1526                     0x8c, 0x98, 0x8b, 0x21, 0x78, 0x67, 0x73, 0xde,
1527                     0x0b, 0x3a, 0x4d, 0xf1, 0x62, 0x28, 0x2c, 0xf1,
1528                     0x10, 0xde, 0x18, 0xdd, 0x48, 0x4c, 0xe7, 0x4b },
1529         .secret_size = 32,
1530         .b_public_size = 32,
1531         .expected_ss_size = 32,
1532
1533 },
1534 /* wycheproof - public key >= p */
1535 {
1536         .secret = (u8[32]){ 0x28, 0x87, 0x96, 0xbc, 0x5a, 0xff, 0x4b, 0x81,
1537                      0xa3, 0x75, 0x01, 0x75, 0x7b, 0xc0, 0x75, 0x3a,
1538                      0x3c, 0x21, 0x96, 0x47, 0x90, 0xd3, 0x86, 0x99,
1539                      0x30, 0x8d, 0xeb, 0xc1, 0x7a, 0x6e, 0xaf, 0x8d },
1540         .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1541                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1542                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1543                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
1544         .expected_ss = (u8[32]){ 0xb4, 0xe0, 0xdd, 0x76, 0xda, 0x7b, 0x07, 0x17,
1545                     0x28, 0xb6, 0x1f, 0x85, 0x67, 0x71, 0xaa, 0x35,
1546                     0x6e, 0x57, 0xed, 0xa7, 0x8a, 0x5b, 0x16, 0x55,
1547                     0xcc, 0x38, 0x20, 0xfb, 0x5f, 0x85, 0x4c, 0x5c },
1548         .secret_size = 32,
1549         .b_public_size = 32,
1550         .expected_ss_size = 32,
1551
1552 },
1553 /* wycheproof - public key >= p */
1554 {
1555         .secret = (u8[32]){ 0x98, 0xdf, 0x84, 0x5f, 0x66, 0x51, 0xbf, 0x11,
1556                      0x38, 0x22, 0x1f, 0x11, 0x90, 0x41, 0xf7, 0x2b,
1557                      0x6d, 0xbc, 0x3c, 0x4a, 0xce, 0x71, 0x43, 0xd9,
1558                      0x9f, 0xd5, 0x5a, 0xd8, 0x67, 0x48, 0x0d, 0xa8 },
1559         .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1560                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1561                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1562                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
1563         .expected_ss = (u8[32]){ 0x6f, 0xdf, 0x6c, 0x37, 0x61, 0x1d, 0xbd, 0x53,
1564                     0x04, 0xdc, 0x0f, 0x2e, 0xb7, 0xc9, 0x51, 0x7e,
1565                     0xb3, 0xc5, 0x0e, 0x12, 0xfd, 0x05, 0x0a, 0xc6,
1566                     0xde, 0xc2, 0x70, 0x71, 0xd4, 0xbf, 0xc0, 0x34 },
1567         .secret_size = 32,
1568         .b_public_size = 32,
1569         .expected_ss_size = 32,
1570
1571 },
1572 /* wycheproof - public key >= p */
1573 {
1574         .secret = (u8[32]){ 0xf0, 0x94, 0x98, 0xe4, 0x6f, 0x02, 0xf8, 0x78,
1575                      0x82, 0x9e, 0x78, 0xb8, 0x03, 0xd3, 0x16, 0xa2,
1576                      0xed, 0x69, 0x5d, 0x04, 0x98, 0xa0, 0x8a, 0xbd,
1577                      0xf8, 0x27, 0x69, 0x30, 0xe2, 0x4e, 0xdc, 0xb0 },
1578         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1579                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1580                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1581                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
1582         .expected_ss = (u8[32]){ 0x4c, 0x8f, 0xc4, 0xb1, 0xc6, 0xab, 0x88, 0xfb,
1583                     0x21, 0xf1, 0x8f, 0x6d, 0x4c, 0x81, 0x02, 0x40,
1584                     0xd4, 0xe9, 0x46, 0x51, 0xba, 0x44, 0xf7, 0xa2,
1585                     0xc8, 0x63, 0xce, 0xc7, 0xdc, 0x56, 0x60, 0x2d },
1586         .secret_size = 32,
1587         .b_public_size = 32,
1588         .expected_ss_size = 32,
1589
1590 },
1591 /* wycheproof - public key >= p */
1592 {
1593         .secret = (u8[32]){ 0x18, 0x13, 0xc1, 0x0a, 0x5c, 0x7f, 0x21, 0xf9,
1594                      0x6e, 0x17, 0xf2, 0x88, 0xc0, 0xcc, 0x37, 0x60,
1595                      0x7c, 0x04, 0xc5, 0xf5, 0xae, 0xa2, 0xdb, 0x13,
1596                      0x4f, 0x9e, 0x2f, 0xfc, 0x66, 0xbd, 0x9d, 0xb8 },
1597         .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1598                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1599                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1600                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
1601         .expected_ss = (u8[32]){ 0x1c, 0xd0, 0xb2, 0x82, 0x67, 0xdc, 0x54, 0x1c,
1602                     0x64, 0x2d, 0x6d, 0x7d, 0xca, 0x44, 0xa8, 0xb3,
1603                     0x8a, 0x63, 0x73, 0x6e, 0xef, 0x5c, 0x4e, 0x65,
1604                     0x01, 0xff, 0xbb, 0xb1, 0x78, 0x0c, 0x03, 0x3c },
1605         .secret_size = 32,
1606         .b_public_size = 32,
1607         .expected_ss_size = 32,
1608
1609 },
1610 /* wycheproof - public key >= p */
1611 {
1612         .secret = (u8[32]){ 0x78, 0x57, 0xfb, 0x80, 0x86, 0x53, 0x64, 0x5a,
1613                      0x0b, 0xeb, 0x13, 0x8a, 0x64, 0xf5, 0xf4, 0xd7,
1614                      0x33, 0xa4, 0x5e, 0xa8, 0x4c, 0x3c, 0xda, 0x11,
1615                      0xa9, 0xc0, 0x6f, 0x7e, 0x71, 0x39, 0x14, 0x9e },
1616         .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1617                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1618                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1619                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
1620         .expected_ss = (u8[32]){ 0x87, 0x55, 0xbe, 0x01, 0xc6, 0x0a, 0x7e, 0x82,
1621                     0x5c, 0xff, 0x3e, 0x0e, 0x78, 0xcb, 0x3a, 0xa4,
1622                     0x33, 0x38, 0x61, 0x51, 0x6a, 0xa5, 0x9b, 0x1c,
1623                     0x51, 0xa8, 0xb2, 0xa5, 0x43, 0xdf, 0xa8, 0x22 },
1624         .secret_size = 32,
1625         .b_public_size = 32,
1626         .expected_ss_size = 32,
1627
1628 },
1629 /* wycheproof - public key >= p */
1630 {
1631         .secret = (u8[32]){ 0xe0, 0x3a, 0xa8, 0x42, 0xe2, 0xab, 0xc5, 0x6e,
1632                      0x81, 0xe8, 0x7b, 0x8b, 0x9f, 0x41, 0x7b, 0x2a,
1633                      0x1e, 0x59, 0x13, 0xc7, 0x23, 0xee, 0xd2, 0x8d,
1634                      0x75, 0x2f, 0x8d, 0x47, 0xa5, 0x9f, 0x49, 0x8f },
1635         .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1636                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1637                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1638                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
1639         .expected_ss = (u8[32]){ 0x54, 0xc9, 0xa1, 0xed, 0x95, 0xe5, 0x46, 0xd2,
1640                     0x78, 0x22, 0xa3, 0x60, 0x93, 0x1d, 0xda, 0x60,
1641                     0xa1, 0xdf, 0x04, 0x9d, 0xa6, 0xf9, 0x04, 0x25,
1642                     0x3c, 0x06, 0x12, 0xbb, 0xdc, 0x08, 0x74, 0x76 },
1643         .secret_size = 32,
1644         .b_public_size = 32,
1645         .expected_ss_size = 32,
1646
1647 },
1648 /* wycheproof - public key >= p */
1649 {
1650         .secret = (u8[32]){ 0xf8, 0xf7, 0x07, 0xb7, 0x99, 0x9b, 0x18, 0xcb,
1651                      0x0d, 0x6b, 0x96, 0x12, 0x4f, 0x20, 0x45, 0x97,
1652                      0x2c, 0xa2, 0x74, 0xbf, 0xc1, 0x54, 0xad, 0x0c,
1653                      0x87, 0x03, 0x8c, 0x24, 0xc6, 0xd0, 0xd4, 0xb2 },
1654         .b_public = (u8[32]){ 0xda, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1655                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1656                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1657                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1658         .expected_ss = (u8[32]){ 0xcc, 0x1f, 0x40, 0xd7, 0x43, 0xcd, 0xc2, 0x23,
1659                     0x0e, 0x10, 0x43, 0xda, 0xba, 0x8b, 0x75, 0xe8,
1660                     0x10, 0xf1, 0xfb, 0xab, 0x7f, 0x25, 0x52, 0x69,
1661                     0xbd, 0x9e, 0xbb, 0x29, 0xe6, 0xbf, 0x49, 0x4f },
1662         .secret_size = 32,
1663         .b_public_size = 32,
1664         .expected_ss_size = 32,
1665
1666 },
1667 /* wycheproof - public key >= p */
1668 {
1669         .secret = (u8[32]){ 0xa0, 0x34, 0xf6, 0x84, 0xfa, 0x63, 0x1e, 0x1a,
1670                      0x34, 0x81, 0x18, 0xc1, 0xce, 0x4c, 0x98, 0x23,
1671                      0x1f, 0x2d, 0x9e, 0xec, 0x9b, 0xa5, 0x36, 0x5b,
1672                      0x4a, 0x05, 0xd6, 0x9a, 0x78, 0x5b, 0x07, 0x96 },
1673         .b_public = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1674                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1675                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1676                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1677         .expected_ss = (u8[32]){ 0x54, 0x99, 0x8e, 0xe4, 0x3a, 0x5b, 0x00, 0x7b,
1678                     0xf4, 0x99, 0xf0, 0x78, 0xe7, 0x36, 0x52, 0x44,
1679                     0x00, 0xa8, 0xb5, 0xc7, 0xe9, 0xb9, 0xb4, 0x37,
1680                     0x71, 0x74, 0x8c, 0x7c, 0xdf, 0x88, 0x04, 0x12 },
1681         .secret_size = 32,
1682         .b_public_size = 32,
1683         .expected_ss_size = 32,
1684
1685 },
1686 /* wycheproof - public key >= p */
1687 {
1688         .secret = (u8[32]){ 0x30, 0xb6, 0xc6, 0xa0, 0xf2, 0xff, 0xa6, 0x80,
1689                      0x76, 0x8f, 0x99, 0x2b, 0xa8, 0x9e, 0x15, 0x2d,
1690                      0x5b, 0xc9, 0x89, 0x3d, 0x38, 0xc9, 0x11, 0x9b,
1691                      0xe4, 0xf7, 0x67, 0xbf, 0xab, 0x6e, 0x0c, 0xa5 },
1692         .b_public = (u8[32]){ 0xdc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1693                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1694                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1695                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1696         .expected_ss = (u8[32]){ 0xea, 0xd9, 0xb3, 0x8e, 0xfd, 0xd7, 0x23, 0x63,
1697                     0x79, 0x34, 0xe5, 0x5a, 0xb7, 0x17, 0xa7, 0xae,
1698                     0x09, 0xeb, 0x86, 0xa2, 0x1d, 0xc3, 0x6a, 0x3f,
1699                     0xee, 0xb8, 0x8b, 0x75, 0x9e, 0x39, 0x1e, 0x09 },
1700         .secret_size = 32,
1701         .b_public_size = 32,
1702         .expected_ss_size = 32,
1703
1704 },
1705 /* wycheproof - public key >= p */
1706 {
1707         .secret = (u8[32]){ 0x90, 0x1b, 0x9d, 0xcf, 0x88, 0x1e, 0x01, 0xe0,
1708                      0x27, 0x57, 0x50, 0x35, 0xd4, 0x0b, 0x43, 0xbd,
1709                      0xc1, 0xc5, 0x24, 0x2e, 0x03, 0x08, 0x47, 0x49,
1710                      0x5b, 0x0c, 0x72, 0x86, 0x46, 0x9b, 0x65, 0x91 },
1711         .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1712                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1713                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1714                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1715         .expected_ss = (u8[32]){ 0x60, 0x2f, 0xf4, 0x07, 0x89, 0xb5, 0x4b, 0x41,
1716                     0x80, 0x59, 0x15, 0xfe, 0x2a, 0x62, 0x21, 0xf0,
1717                     0x7a, 0x50, 0xff, 0xc2, 0xc3, 0xfc, 0x94, 0xcf,
1718                     0x61, 0xf1, 0x3d, 0x79, 0x04, 0xe8, 0x8e, 0x0e },
1719         .secret_size = 32,
1720         .b_public_size = 32,
1721         .expected_ss_size = 32,
1722
1723 },
1724 /* wycheproof - public key >= p */
1725 {
1726         .secret = (u8[32]){ 0x80, 0x46, 0x67, 0x7c, 0x28, 0xfd, 0x82, 0xc9,
1727                      0xa1, 0xbd, 0xb7, 0x1a, 0x1a, 0x1a, 0x34, 0xfa,
1728                      0xba, 0x12, 0x25, 0xe2, 0x50, 0x7f, 0xe3, 0xf5,
1729                      0x4d, 0x10, 0xbd, 0x5b, 0x0d, 0x86, 0x5f, 0x8e },
1730         .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1731                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1732                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1733                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1734         .expected_ss = (u8[32]){ 0xe0, 0x0a, 0xe8, 0xb1, 0x43, 0x47, 0x12, 0x47,
1735                     0xba, 0x24, 0xf1, 0x2c, 0x88, 0x55, 0x36, 0xc3,
1736                     0xcb, 0x98, 0x1b, 0x58, 0xe1, 0xe5, 0x6b, 0x2b,
1737                     0xaf, 0x35, 0xc1, 0x2a, 0xe1, 0xf7, 0x9c, 0x26 },
1738         .secret_size = 32,
1739         .b_public_size = 32,
1740         .expected_ss_size = 32,
1741
1742 },
1743 /* wycheproof - public key >= p */
1744 {
1745         .secret = (u8[32]){ 0x60, 0x2f, 0x7e, 0x2f, 0x68, 0xa8, 0x46, 0xb8,
1746                      0x2c, 0xc2, 0x69, 0xb1, 0xd4, 0x8e, 0x93, 0x98,
1747                      0x86, 0xae, 0x54, 0xfd, 0x63, 0x6c, 0x1f, 0xe0,
1748                      0x74, 0xd7, 0x10, 0x12, 0x7d, 0x47, 0x24, 0x91 },
1749         .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1750                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1751                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1752                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1753         .expected_ss = (u8[32]){ 0x98, 0xcb, 0x9b, 0x50, 0xdd, 0x3f, 0xc2, 0xb0,
1754                     0xd4, 0xf2, 0xd2, 0xbf, 0x7c, 0x5c, 0xfd, 0xd1,
1755                     0x0c, 0x8f, 0xcd, 0x31, 0xfc, 0x40, 0xaf, 0x1a,
1756                     0xd4, 0x4f, 0x47, 0xc1, 0x31, 0x37, 0x63, 0x62 },
1757         .secret_size = 32,
1758         .b_public_size = 32,
1759         .expected_ss_size = 32,
1760
1761 },
1762 /* wycheproof - public key >= p */
1763 {
1764         .secret = (u8[32]){ 0x60, 0x88, 0x7b, 0x3d, 0xc7, 0x24, 0x43, 0x02,
1765                      0x6e, 0xbe, 0xdb, 0xbb, 0xb7, 0x06, 0x65, 0xf4,
1766                      0x2b, 0x87, 0xad, 0xd1, 0x44, 0x0e, 0x77, 0x68,
1767                      0xfb, 0xd7, 0xe8, 0xe2, 0xce, 0x5f, 0x63, 0x9d },
1768         .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1769                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1770                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1771                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1772         .expected_ss = (u8[32]){ 0x38, 0xd6, 0x30, 0x4c, 0x4a, 0x7e, 0x6d, 0x9f,
1773                     0x79, 0x59, 0x33, 0x4f, 0xb5, 0x24, 0x5b, 0xd2,
1774                     0xc7, 0x54, 0x52, 0x5d, 0x4c, 0x91, 0xdb, 0x95,
1775                     0x02, 0x06, 0x92, 0x62, 0x34, 0xc1, 0xf6, 0x33 },
1776         .secret_size = 32,
1777         .b_public_size = 32,
1778         .expected_ss_size = 32,
1779
1780 },
1781 /* wycheproof - public key >= p */
1782 {
1783         .secret = (u8[32]){ 0x78, 0xd3, 0x1d, 0xfa, 0x85, 0x44, 0x97, 0xd7,
1784                      0x2d, 0x8d, 0xef, 0x8a, 0x1b, 0x7f, 0xb0, 0x06,
1785                      0xce, 0xc2, 0xd8, 0xc4, 0x92, 0x46, 0x47, 0xc9,
1786                      0x38, 0x14, 0xae, 0x56, 0xfa, 0xed, 0xa4, 0x95 },
1787         .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1788                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1789                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1790                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1791         .expected_ss = (u8[32]){ 0x78, 0x6c, 0xd5, 0x49, 0x96, 0xf0, 0x14, 0xa5,
1792                     0xa0, 0x31, 0xec, 0x14, 0xdb, 0x81, 0x2e, 0xd0,
1793                     0x83, 0x55, 0x06, 0x1f, 0xdb, 0x5d, 0xe6, 0x80,
1794                     0xa8, 0x00, 0xac, 0x52, 0x1f, 0x31, 0x8e, 0x23 },
1795         .secret_size = 32,
1796         .b_public_size = 32,
1797         .expected_ss_size = 32,
1798
1799 },
1800 /* wycheproof - public key >= p */
1801 {
1802         .secret = (u8[32]){ 0xc0, 0x4c, 0x5b, 0xae, 0xfa, 0x83, 0x02, 0xdd,
1803                      0xde, 0xd6, 0xa4, 0xbb, 0x95, 0x77, 0x61, 0xb4,
1804                      0xeb, 0x97, 0xae, 0xfa, 0x4f, 0xc3, 0xb8, 0x04,
1805                      0x30, 0x85, 0xf9, 0x6a, 0x56, 0x59, 0xb3, 0xa5 },
1806         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1807                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1808                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1809                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
1810         .expected_ss = (u8[32]){ 0x29, 0xae, 0x8b, 0xc7, 0x3e, 0x9b, 0x10, 0xa0,
1811                     0x8b, 0x4f, 0x68, 0x1c, 0x43, 0xc3, 0xe0, 0xac,
1812                     0x1a, 0x17, 0x1d, 0x31, 0xb3, 0x8f, 0x1a, 0x48,
1813                     0xef, 0xba, 0x29, 0xae, 0x63, 0x9e, 0xa1, 0x34 },
1814         .secret_size = 32,
1815         .b_public_size = 32,
1816         .expected_ss_size = 32,
1817
1818 },
1819 /* wycheproof - RFC 7748 */
1820 {
1821         .secret = (u8[32]){ 0xa0, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
1822                      0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
1823                      0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
1824                      0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0x44 },
1825         .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
1826                     0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
1827                     0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
1828                     0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
1829         .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
1830                     0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
1831                     0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
1832                     0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
1833         .secret_size = 32,
1834         .b_public_size = 32,
1835         .expected_ss_size = 32,
1836
1837 },
1838 /* wycheproof - RFC 7748 */
1839 {
1840         .secret = (u8[32]){ 0x48, 0x66, 0xe9, 0xd4, 0xd1, 0xb4, 0x67, 0x3c,
1841                      0x5a, 0xd2, 0x26, 0x91, 0x95, 0x7d, 0x6a, 0xf5,
1842                      0xc1, 0x1b, 0x64, 0x21, 0xe0, 0xea, 0x01, 0xd4,
1843                      0x2c, 0xa4, 0x16, 0x9e, 0x79, 0x18, 0xba, 0x4d },
1844         .b_public = (u8[32]){ 0xe5, 0x21, 0x0f, 0x12, 0x78, 0x68, 0x11, 0xd3,
1845                     0xf4, 0xb7, 0x95, 0x9d, 0x05, 0x38, 0xae, 0x2c,
1846                     0x31, 0xdb, 0xe7, 0x10, 0x6f, 0xc0, 0x3c, 0x3e,
1847                     0xfc, 0x4c, 0xd5, 0x49, 0xc7, 0x15, 0xa4, 0x13 },
1848         .expected_ss = (u8[32]){ 0x95, 0xcb, 0xde, 0x94, 0x76, 0xe8, 0x90, 0x7d,
1849                     0x7a, 0xad, 0xe4, 0x5c, 0xb4, 0xb8, 0x73, 0xf8,
1850                     0x8b, 0x59, 0x5a, 0x68, 0x79, 0x9f, 0xa1, 0x52,
1851                     0xe6, 0xf8, 0xf7, 0x64, 0x7a, 0xac, 0x79, 0x57 },
1852         .secret_size = 32,
1853         .b_public_size = 32,
1854         .expected_ss_size = 32,
1855
1856 },
1857 /* wycheproof - edge case for shared secret */
1858 {
1859         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
1860                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
1861                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
1862                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
1863         .b_public = (u8[32]){ 0x0a, 0xb4, 0xe7, 0x63, 0x80, 0xd8, 0x4d, 0xde,
1864                     0x4f, 0x68, 0x33, 0xc5, 0x8f, 0x2a, 0x9f, 0xb8,
1865                     0xf8, 0x3b, 0xb0, 0x16, 0x9b, 0x17, 0x2b, 0xe4,
1866                     0xb6, 0xe0, 0x59, 0x28, 0x87, 0x74, 0x1a, 0x36 },
1867         .expected_ss = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1868                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1869                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1870                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
1871         .secret_size = 32,
1872         .b_public_size = 32,
1873         .expected_ss_size = 32,
1874
1875 },
1876 /* wycheproof - edge case for shared secret */
1877 {
1878         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
1879                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
1880                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
1881                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
1882         .b_public = (u8[32]){ 0x89, 0xe1, 0x0d, 0x57, 0x01, 0xb4, 0x33, 0x7d,
1883                     0x2d, 0x03, 0x21, 0x81, 0x53, 0x8b, 0x10, 0x64,
1884                     0xbd, 0x40, 0x84, 0x40, 0x1c, 0xec, 0xa1, 0xfd,
1885                     0x12, 0x66, 0x3a, 0x19, 0x59, 0x38, 0x80, 0x00 },
1886         .expected_ss = (u8[32]){ 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1887                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1888                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1889                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
1890         .secret_size = 32,
1891         .b_public_size = 32,
1892         .expected_ss_size = 32,
1893
1894 },
1895 /* wycheproof - edge case for shared secret */
1896 {
1897         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
1898                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
1899                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
1900                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
1901         .b_public = (u8[32]){ 0x2b, 0x55, 0xd3, 0xaa, 0x4a, 0x8f, 0x80, 0xc8,
1902                     0xc0, 0xb2, 0xae, 0x5f, 0x93, 0x3e, 0x85, 0xaf,
1903                     0x49, 0xbe, 0xac, 0x36, 0xc2, 0xfa, 0x73, 0x94,
1904                     0xba, 0xb7, 0x6c, 0x89, 0x33, 0xf8, 0xf8, 0x1d },
1905         .expected_ss = (u8[32]){ 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1906                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1907                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1908                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
1909         .secret_size = 32,
1910         .b_public_size = 32,
1911         .expected_ss_size = 32,
1912
1913 },
1914 /* wycheproof - edge case for shared secret */
1915 {
1916         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
1917                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
1918                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
1919                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
1920         .b_public = (u8[32]){ 0x63, 0xe5, 0xb1, 0xfe, 0x96, 0x01, 0xfe, 0x84,
1921                     0x38, 0x5d, 0x88, 0x66, 0xb0, 0x42, 0x12, 0x62,
1922                     0xf7, 0x8f, 0xbf, 0xa5, 0xaf, 0xf9, 0x58, 0x5e,
1923                     0x62, 0x66, 0x79, 0xb1, 0x85, 0x47, 0xd9, 0x59 },
1924         .expected_ss = (u8[32]){ 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1925                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1926                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1927                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
1928         .secret_size = 32,
1929         .b_public_size = 32,
1930         .expected_ss_size = 32,
1931
1932 },
1933 /* wycheproof - edge case for shared secret */
1934 {
1935         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
1936                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
1937                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
1938                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
1939         .b_public = (u8[32]){ 0xe4, 0x28, 0xf3, 0xda, 0xc1, 0x78, 0x09, 0xf8,
1940                     0x27, 0xa5, 0x22, 0xce, 0x32, 0x35, 0x50, 0x58,
1941                     0xd0, 0x73, 0x69, 0x36, 0x4a, 0xa7, 0x89, 0x02,
1942                     0xee, 0x10, 0x13, 0x9b, 0x9f, 0x9d, 0xd6, 0x53 },
1943         .expected_ss = (u8[32]){ 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1944                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1945                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1946                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
1947         .secret_size = 32,
1948         .b_public_size = 32,
1949         .expected_ss_size = 32,
1950
1951 },
1952 /* wycheproof - edge case for shared secret */
1953 {
1954         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
1955                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
1956                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
1957                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
1958         .b_public = (u8[32]){ 0xb3, 0xb5, 0x0e, 0x3e, 0xd3, 0xa4, 0x07, 0xb9,
1959                     0x5d, 0xe9, 0x42, 0xef, 0x74, 0x57, 0x5b, 0x5a,
1960                     0xb8, 0xa1, 0x0c, 0x09, 0xee, 0x10, 0x35, 0x44,
1961                     0xd6, 0x0b, 0xdf, 0xed, 0x81, 0x38, 0xab, 0x2b },
1962         .expected_ss = (u8[32]){ 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1963                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1964                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1965                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
1966         .secret_size = 32,
1967         .b_public_size = 32,
1968         .expected_ss_size = 32,
1969
1970 },
1971 /* wycheproof - edge case for shared secret */
1972 {
1973         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
1974                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
1975                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
1976                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
1977         .b_public = (u8[32]){ 0x21, 0x3f, 0xff, 0xe9, 0x3d, 0x5e, 0xa8, 0xcd,
1978                     0x24, 0x2e, 0x46, 0x28, 0x44, 0x02, 0x99, 0x22,
1979                     0xc4, 0x3c, 0x77, 0xc9, 0xe3, 0xe4, 0x2f, 0x56,
1980                     0x2f, 0x48, 0x5d, 0x24, 0xc5, 0x01, 0xa2, 0x0b },
1981         .expected_ss = (u8[32]){ 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1982                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1983                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
1984                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
1985         .secret_size = 32,
1986         .b_public_size = 32,
1987         .expected_ss_size = 32,
1988
1989 },
1990 /* wycheproof - edge case for shared secret */
1991 {
1992         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
1993                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
1994                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
1995                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
1996         .b_public = (u8[32]){ 0x91, 0xb2, 0x32, 0xa1, 0x78, 0xb3, 0xcd, 0x53,
1997                     0x09, 0x32, 0x44, 0x1e, 0x61, 0x39, 0x41, 0x8f,
1998                     0x72, 0x17, 0x22, 0x92, 0xf1, 0xda, 0x4c, 0x18,
1999                     0x34, 0xfc, 0x5e, 0xbf, 0xef, 0xb5, 0x1e, 0x3f },
2000         .expected_ss = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2001                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2002                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2003                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
2004         .secret_size = 32,
2005         .b_public_size = 32,
2006         .expected_ss_size = 32,
2007
2008 },
2009 /* wycheproof - edge case for shared secret */
2010 {
2011         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
2012                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
2013                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
2014                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
2015         .b_public = (u8[32]){ 0x04, 0x5c, 0x6e, 0x11, 0xc5, 0xd3, 0x32, 0x55,
2016                     0x6c, 0x78, 0x22, 0xfe, 0x94, 0xeb, 0xf8, 0x9b,
2017                     0x56, 0xa3, 0x87, 0x8d, 0xc2, 0x7c, 0xa0, 0x79,
2018                     0x10, 0x30, 0x58, 0x84, 0x9f, 0xab, 0xcb, 0x4f },
2019         .expected_ss = (u8[32]){ 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2020                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2021                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2022                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
2023         .secret_size = 32,
2024         .b_public_size = 32,
2025         .expected_ss_size = 32,
2026
2027 },
2028 /* wycheproof - edge case for shared secret */
2029 {
2030         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
2031                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
2032                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
2033                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
2034         .b_public = (u8[32]){ 0x1c, 0xa2, 0x19, 0x0b, 0x71, 0x16, 0x35, 0x39,
2035                     0x06, 0x3c, 0x35, 0x77, 0x3b, 0xda, 0x0c, 0x9c,
2036                     0x92, 0x8e, 0x91, 0x36, 0xf0, 0x62, 0x0a, 0xeb,
2037                     0x09, 0x3f, 0x09, 0x91, 0x97, 0xb7, 0xf7, 0x4e },
2038         .expected_ss = (u8[32]){ 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2039                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2040                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2041                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
2042         .secret_size = 32,
2043         .b_public_size = 32,
2044         .expected_ss_size = 32,
2045
2046 },
2047 /* wycheproof - edge case for shared secret */
2048 {
2049         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
2050                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
2051                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
2052                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
2053         .b_public = (u8[32]){ 0xf7, 0x6e, 0x90, 0x10, 0xac, 0x33, 0xc5, 0x04,
2054                     0x3b, 0x2d, 0x3b, 0x76, 0xa8, 0x42, 0x17, 0x10,
2055                     0x00, 0xc4, 0x91, 0x62, 0x22, 0xe9, 0xe8, 0x58,
2056                     0x97, 0xa0, 0xae, 0xc7, 0xf6, 0x35, 0x0b, 0x3c },
2057         .expected_ss = (u8[32]){ 0xdd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2058                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2059                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2060                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
2061         .secret_size = 32,
2062         .b_public_size = 32,
2063         .expected_ss_size = 32,
2064
2065 },
2066 /* wycheproof - edge case for shared secret */
2067 {
2068         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
2069                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
2070                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
2071                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
2072         .b_public = (u8[32]){ 0xbb, 0x72, 0x68, 0x8d, 0x8f, 0x8a, 0xa7, 0xa3,
2073                     0x9c, 0xd6, 0x06, 0x0c, 0xd5, 0xc8, 0x09, 0x3c,
2074                     0xde, 0xc6, 0xfe, 0x34, 0x19, 0x37, 0xc3, 0x88,
2075                     0x6a, 0x99, 0x34, 0x6c, 0xd0, 0x7f, 0xaa, 0x55 },
2076         .expected_ss = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2077                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2078                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2079                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
2080         .secret_size = 32,
2081         .b_public_size = 32,
2082         .expected_ss_size = 32,
2083
2084 },
2085 /* wycheproof - edge case for shared secret */
2086 {
2087         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
2088                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
2089                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
2090                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
2091         .b_public = (u8[32]){ 0x88, 0xfd, 0xde, 0xa1, 0x93, 0x39, 0x1c, 0x6a,
2092                     0x59, 0x33, 0xef, 0x9b, 0x71, 0x90, 0x15, 0x49,
2093                     0x44, 0x72, 0x05, 0xaa, 0xe9, 0xda, 0x92, 0x8a,
2094                     0x6b, 0x91, 0xa3, 0x52, 0xba, 0x10, 0xf4, 0x1f },
2095         .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2096                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2097                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2098                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 },
2099         .secret_size = 32,
2100         .b_public_size = 32,
2101         .expected_ss_size = 32,
2102
2103 },
2104 /* wycheproof - edge case for shared secret */
2105 {
2106         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
2107                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
2108                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
2109                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
2110         .b_public = (u8[32]){ 0x30, 0x3b, 0x39, 0x2f, 0x15, 0x31, 0x16, 0xca,
2111                     0xd9, 0xcc, 0x68, 0x2a, 0x00, 0xcc, 0xc4, 0x4c,
2112                     0x95, 0xff, 0x0d, 0x3b, 0xbe, 0x56, 0x8b, 0xeb,
2113                     0x6c, 0x4e, 0x73, 0x9b, 0xaf, 0xdc, 0x2c, 0x68 },
2114         .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2115                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2116                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2117                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 },
2118         .secret_size = 32,
2119         .b_public_size = 32,
2120         .expected_ss_size = 32,
2121
2122 },
2123 /* wycheproof - checking for overflow */
2124 {
2125         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
2126                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
2127                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
2128                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
2129         .b_public = (u8[32]){ 0xfd, 0x30, 0x0a, 0xeb, 0x40, 0xe1, 0xfa, 0x58,
2130                     0x25, 0x18, 0x41, 0x2b, 0x49, 0xb2, 0x08, 0xa7,
2131                     0x84, 0x2b, 0x1e, 0x1f, 0x05, 0x6a, 0x04, 0x01,
2132                     0x78, 0xea, 0x41, 0x41, 0x53, 0x4f, 0x65, 0x2d },
2133         .expected_ss = (u8[32]){ 0xb7, 0x34, 0x10, 0x5d, 0xc2, 0x57, 0x58, 0x5d,
2134                     0x73, 0xb5, 0x66, 0xcc, 0xb7, 0x6f, 0x06, 0x27,
2135                     0x95, 0xcc, 0xbe, 0xc8, 0x91, 0x28, 0xe5, 0x2b,
2136                     0x02, 0xf3, 0xe5, 0x96, 0x39, 0xf1, 0x3c, 0x46 },
2137         .secret_size = 32,
2138         .b_public_size = 32,
2139         .expected_ss_size = 32,
2140
2141 },
2142 /* wycheproof - checking for overflow */
2143 {
2144         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
2145                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
2146                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
2147                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
2148         .b_public = (u8[32]){ 0xc8, 0xef, 0x79, 0xb5, 0x14, 0xd7, 0x68, 0x26,
2149                     0x77, 0xbc, 0x79, 0x31, 0xe0, 0x6e, 0xe5, 0xc2,
2150                     0x7c, 0x9b, 0x39, 0x2b, 0x4a, 0xe9, 0x48, 0x44,
2151                     0x73, 0xf5, 0x54, 0xe6, 0x67, 0x8e, 0xcc, 0x2e },
2152         .expected_ss = (u8[32]){ 0x64, 0x7a, 0x46, 0xb6, 0xfc, 0x3f, 0x40, 0xd6,
2153                     0x21, 0x41, 0xee, 0x3c, 0xee, 0x70, 0x6b, 0x4d,
2154                     0x7a, 0x92, 0x71, 0x59, 0x3a, 0x7b, 0x14, 0x3e,
2155                     0x8e, 0x2e, 0x22, 0x79, 0x88, 0x3e, 0x45, 0x50 },
2156         .secret_size = 32,
2157         .b_public_size = 32,
2158         .expected_ss_size = 32,
2159
2160 },
2161 /* wycheproof - checking for overflow */
2162 {
2163         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
2164                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
2165                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
2166                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
2167         .b_public = (u8[32]){ 0x64, 0xae, 0xac, 0x25, 0x04, 0x14, 0x48, 0x61,
2168                     0x53, 0x2b, 0x7b, 0xbc, 0xb6, 0xc8, 0x7d, 0x67,
2169                     0xdd, 0x4c, 0x1f, 0x07, 0xeb, 0xc2, 0xe0, 0x6e,
2170                     0xff, 0xb9, 0x5a, 0xec, 0xc6, 0x17, 0x0b, 0x2c },
2171         .expected_ss = (u8[32]){ 0x4f, 0xf0, 0x3d, 0x5f, 0xb4, 0x3c, 0xd8, 0x65,
2172                     0x7a, 0x3c, 0xf3, 0x7c, 0x13, 0x8c, 0xad, 0xce,
2173                     0xcc, 0xe5, 0x09, 0xe4, 0xeb, 0xa0, 0x89, 0xd0,
2174                     0xef, 0x40, 0xb4, 0xe4, 0xfb, 0x94, 0x61, 0x55 },
2175         .secret_size = 32,
2176         .b_public_size = 32,
2177         .expected_ss_size = 32,
2178
2179 },
2180 /* wycheproof - checking for overflow */
2181 {
2182         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
2183                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
2184                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
2185                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
2186         .b_public = (u8[32]){ 0xbf, 0x68, 0xe3, 0x5e, 0x9b, 0xdb, 0x7e, 0xee,
2187                     0x1b, 0x50, 0x57, 0x02, 0x21, 0x86, 0x0f, 0x5d,
2188                     0xcd, 0xad, 0x8a, 0xcb, 0xab, 0x03, 0x1b, 0x14,
2189                     0x97, 0x4c, 0xc4, 0x90, 0x13, 0xc4, 0x98, 0x31 },
2190         .expected_ss = (u8[32]){ 0x21, 0xce, 0xe5, 0x2e, 0xfd, 0xbc, 0x81, 0x2e,
2191                     0x1d, 0x02, 0x1a, 0x4a, 0xf1, 0xe1, 0xd8, 0xbc,
2192                     0x4d, 0xb3, 0xc4, 0x00, 0xe4, 0xd2, 0xa2, 0xc5,
2193                     0x6a, 0x39, 0x26, 0xdb, 0x4d, 0x99, 0xc6, 0x5b },
2194         .secret_size = 32,
2195         .b_public_size = 32,
2196         .expected_ss_size = 32,
2197
2198 },
2199 /* wycheproof - checking for overflow */
2200 {
2201         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
2202                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
2203                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
2204                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
2205         .b_public = (u8[32]){ 0x53, 0x47, 0xc4, 0x91, 0x33, 0x1a, 0x64, 0xb4,
2206                     0x3d, 0xdc, 0x68, 0x30, 0x34, 0xe6, 0x77, 0xf5,
2207                     0x3d, 0xc3, 0x2b, 0x52, 0xa5, 0x2a, 0x57, 0x7c,
2208                     0x15, 0xa8, 0x3b, 0xf2, 0x98, 0xe9, 0x9f, 0x19 },
2209         .expected_ss = (u8[32]){ 0x18, 0xcb, 0x89, 0xe4, 0xe2, 0x0c, 0x0c, 0x2b,
2210                     0xd3, 0x24, 0x30, 0x52, 0x45, 0x26, 0x6c, 0x93,
2211                     0x27, 0x69, 0x0b, 0xbe, 0x79, 0xac, 0xb8, 0x8f,
2212                     0x5b, 0x8f, 0xb3, 0xf7, 0x4e, 0xca, 0x3e, 0x52 },
2213         .secret_size = 32,
2214         .b_public_size = 32,
2215         .expected_ss_size = 32,
2216
2217 },
2218 /* wycheproof - private key == -1 (mod order) */
2219 {
2220         .secret = (u8[32]){ 0xa0, 0x23, 0xcd, 0xd0, 0x83, 0xef, 0x5b, 0xb8,
2221                      0x2f, 0x10, 0xd6, 0x2e, 0x59, 0xe1, 0x5a, 0x68,
2222                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2223                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50 },
2224         .b_public = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
2225                     0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
2226                     0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
2227                     0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
2228         .expected_ss = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
2229                     0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
2230                     0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
2231                     0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
2232         .secret_size = 32,
2233         .b_public_size = 32,
2234         .expected_ss_size = 32,
2235
2236 },
2237 /* wycheproof - private key == 1 (mod order) on twist */
2238 {
2239         .secret = (u8[32]){ 0x58, 0x08, 0x3d, 0xd2, 0x61, 0xad, 0x91, 0xef,
2240                      0xf9, 0x52, 0x32, 0x2e, 0xc8, 0x24, 0xc6, 0x82,
2241                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2242                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x5f },
2243         .b_public = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
2244                     0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
2245                     0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
2246                     0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
2247         .expected_ss = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
2248                     0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
2249                     0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
2250                     0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
2251         .secret_size = 32,
2252         .b_public_size = 32,
2253         .expected_ss_size = 32,
2254
2255 }
2256 };
2257
2258 static const struct kpp_testvec ecdh_tv_template[] = {
2259         {
2260 #ifndef CONFIG_CRYPTO_FIPS
2261         .secret =
2262 #ifdef __LITTLE_ENDIAN
2263         "\x02\x00" /* type */
2264         "\x20\x00" /* len */
2265         "\x01\x00" /* curve_id */
2266         "\x18\x00" /* key_size */
2267 #else
2268         "\x00\x02" /* type */
2269         "\x00\x20" /* len */
2270         "\x00\x01" /* curve_id */
2271         "\x00\x18" /* key_size */
2272 #endif
2273         "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
2274         "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
2275         "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
2276         .b_public =
2277         "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
2278         "\x7a\x99\x75\x64\x36\x13\x9a\x94"
2279         "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
2280         "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
2281         "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
2282         "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
2283         .expected_a_public =
2284         "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
2285         "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
2286         "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
2287         "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
2288         "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
2289         "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
2290         .expected_ss =
2291         "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
2292         "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
2293         "\x99\x80\x81\x28\xaf\xc5\x51\x74",
2294         .secret_size = 32,
2295         .b_public_size = 48,
2296         .expected_a_public_size = 48,
2297         .expected_ss_size = 24
2298         }, {
2299 #endif
2300         .secret =
2301 #ifdef __LITTLE_ENDIAN
2302         "\x02\x00" /* type */
2303         "\x28\x00" /* len */
2304         "\x02\x00" /* curve_id */
2305         "\x20\x00" /* key_size */
2306 #else
2307         "\x00\x02" /* type */
2308         "\x00\x28" /* len */
2309         "\x00\x02" /* curve_id */
2310         "\x00\x20" /* key_size */
2311 #endif
2312         "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
2313         "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
2314         "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
2315         "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
2316         .expected_a_public =
2317         "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
2318         "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
2319         "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
2320         "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
2321         "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
2322         "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
2323         "\x6a\x02\x6e\x41\x87\x68\x38\x77"
2324         "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
2325         .expected_ss =
2326         "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
2327         "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
2328         "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
2329         "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
2330         .b_public =
2331         "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
2332         "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
2333         "\x29\xb2\x47\x03\x19\xab\xdd\x34"
2334         "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
2335         "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
2336         "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
2337         "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
2338         "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
2339         .secret_size = 40,
2340         .b_public_size = 64,
2341         .expected_a_public_size = 64,
2342         .expected_ss_size = 32
2343         }, {
2344         .secret =
2345 #ifdef __LITTLE_ENDIAN
2346         "\x02\x00" /* type */
2347         "\x08\x00" /* len */
2348         "\x02\x00" /* curve_id */
2349         "\x00\x00", /* key_size */
2350 #else
2351         "\x00\x02" /* type */
2352         "\x00\x08" /* len */
2353         "\x00\x02" /* curve_id */
2354         "\x00\x00", /* key_size */
2355 #endif
2356         .b_secret =
2357 #ifdef __LITTLE_ENDIAN
2358         "\x02\x00" /* type */
2359         "\x28\x00" /* len */
2360         "\x02\x00" /* curve_id */
2361         "\x20\x00" /* key_size */
2362 #else
2363         "\x00\x02" /* type */
2364         "\x00\x28" /* len */
2365         "\x00\x02" /* curve_id */
2366         "\x00\x20" /* key_size */
2367 #endif
2368         "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
2369         "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
2370         "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
2371         "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
2372         .b_public =
2373         "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
2374         "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
2375         "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
2376         "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
2377         "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
2378         "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
2379         "\x6a\x02\x6e\x41\x87\x68\x38\x77"
2380         "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
2381         .secret_size = 8,
2382         .b_secret_size = 40,
2383         .b_public_size = 64,
2384         .expected_a_public_size = 64,
2385         .expected_ss_size = 32,
2386         .genkey = true,
2387         }
2388 };
2389
2390 /*
2391  * MD4 test vectors from RFC1320
2392  */
2393 static const struct hash_testvec md4_tv_template[] = {
2394         {
2395                 .plaintext = "",
2396                 .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
2397                           "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
2398         }, {
2399                 .plaintext = "a",
2400                 .psize  = 1,
2401                 .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
2402                           "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
2403         }, {
2404                 .plaintext = "abc",
2405                 .psize  = 3,
2406                 .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
2407                           "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
2408         }, {
2409                 .plaintext = "message digest",
2410                 .psize  = 14,
2411                 .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
2412                         "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
2413         }, {
2414                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
2415                 .psize  = 26,
2416                 .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
2417                           "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
2418         }, {
2419                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
2420                 .psize  = 62,
2421                 .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
2422                           "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
2423         }, {
2424                 .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
2425                            "45678901234567890",
2426                 .psize  = 80,
2427                 .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
2428                           "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
2429         },
2430 };
2431
2432 static const struct hash_testvec sha3_224_tv_template[] = {
2433         {
2434                 .plaintext = "",
2435                 .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
2436                                 "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
2437                                 "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
2438                                 "\x5b\x5a\x6b\xc7",
2439         }, {
2440                 .plaintext = "a",
2441                 .psize  = 1,
2442                 .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
2443                                 "\x40\x5f\x08\x12\x69\x68\x5b\x38"
2444                                 "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
2445                                 "\x48\x2b\x6a\x8b",
2446         }, {
2447                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
2448                                 "jklmklmnlmnomnopnopq",
2449                 .psize  = 56,
2450                 .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
2451                                 "\xc9\xfd\x55\x74\x49\x44\x79\xba"
2452                                 "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
2453                                 "\xd0\xfc\xce\x33",
2454         }, {
2455                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2456                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2457                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2458                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2459                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2460                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2461                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2462                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2463                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2464                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2465                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2466                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2467                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2468                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2469                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2470                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2471                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2472                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2473                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2474                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2475                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2476                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2477                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2478                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2479                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2480                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2481                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2482                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2483                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2484                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2485                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2486                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2487                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2488                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2489                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2490                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2491                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2492                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2493                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2494                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2495                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2496                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2497                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2498                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2499                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2500                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2501                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2502                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2503                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2504                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2505                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2506                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2507                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2508                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2509                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2510                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2511                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2512                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2513                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2514                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2515                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2516                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2517                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2518                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2519                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2520                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2521                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2522                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2523                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2524                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2525                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2526                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2527                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2528                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2529                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2530                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2531                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2532                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2533                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2534                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2535                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2536                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2537                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2538                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2539                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2540                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2541                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2542                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2543                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2544                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2545                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2546                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2547                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2548                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2549                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2550                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2551                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2552                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2553                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2554                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2555                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2556                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2557                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2558                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2559                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2560                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2561                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2562                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2563                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2564                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2565                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2566                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2567                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2568                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2569                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2570                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2571                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2572                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2573                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2574                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2575                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2576                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2577                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2578                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2579                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2580                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2581                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2582                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2583                 .psize     = 1023,
2584                 .digest    = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
2585                              "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
2586                              "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
2587                              "\xb6\x79\x10\x72",
2588         },
2589 };
2590
2591 static const struct hash_testvec sha3_256_tv_template[] = {
2592         {
2593                 .plaintext = "",
2594                 .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
2595                                 "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
2596                                 "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
2597                                 "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
2598         }, {
2599                 .plaintext = "a",
2600                 .psize  = 1,
2601                 .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
2602                                 "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
2603                                 "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
2604                                 "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
2605         }, {
2606                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
2607                              "jklmklmnlmnomnopnopq",
2608                 .psize  = 56,
2609                 .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
2610                                 "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
2611                                 "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
2612                                 "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
2613         }, {
2614                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2615                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2616                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2617                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2618                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2619                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2620                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2621                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2622                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2623                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2624                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2625                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2626                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2627                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2628                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2629                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2630                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2631                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2632                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2633                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2634                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2635                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2636                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2637                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2638                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2639                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2640                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2641                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2642                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2643                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2644                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2645                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2646                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2647                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2648                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2649                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2650                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2651                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2652                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2653                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2654                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2655                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2656                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2657                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2658                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2659                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2660                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2661                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2662                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2663                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2664                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2665                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2666                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2667                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2668                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2669                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2670                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2671                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2672                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2673                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2674                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2675                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2676                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2677                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2678                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2679                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2680                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2681                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2682                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2683                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2684                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2685                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2686                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2687                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2688                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2689                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2690                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2691                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2692                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2693                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2694                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2695                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2696                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2697                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2698                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2699                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2700                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2701                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2702                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2703                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2704                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2705                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2706                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2707                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2708                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2709                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2710                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2711                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2712                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2713                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2714                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2715                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2716                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2717                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2718                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2719                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2720                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2721                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2722                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2723                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2724                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2725                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2726                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2727                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2728                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2729                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2730                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2731                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2732                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2733                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2734                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2735                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2736                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2737                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2738                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2739                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2740                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2741                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2742                 .psize     = 1023,
2743                 .digest    = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
2744                              "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
2745                              "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
2746                              "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
2747         },
2748 };
2749
2750
2751 static const struct hash_testvec sha3_384_tv_template[] = {
2752         {
2753                 .plaintext = "",
2754                 .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
2755                                 "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
2756                                 "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
2757                                 "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
2758                                 "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
2759                                 "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
2760         }, {
2761                 .plaintext = "a",
2762                 .psize  = 1,
2763                 .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
2764                                 "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
2765                                 "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
2766                                 "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
2767                                 "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
2768                                 "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
2769         }, {
2770                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
2771                              "jklmklmnlmnomnopnopq",
2772                 .psize  = 56,
2773                 .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
2774                                 "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
2775                                 "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
2776                                 "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
2777                                 "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
2778                                 "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
2779         }, {
2780                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2781                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2782                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2783                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2784                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2785                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2786                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2787                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2788                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2789                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2790                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2791                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2792                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2793                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2794                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2795                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2796                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2797                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2798                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2799                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2800                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2801                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2802                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2803                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2804                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2805                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2806                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2807                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2808                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2809                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2810                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2811                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2812                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2813                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2814                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2815                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2816                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2817                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2818                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2819                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2820                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2821                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2822                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2823                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2824                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2825                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2826                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2827                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2828                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2829                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2830                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2831                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2832                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2833                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2834                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2835                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2836                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2837                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2838                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2839                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2840                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2841                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2842                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2843                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2844                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2845                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2846                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2847                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2848                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2849                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2850                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2851                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2852                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2853                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2854                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2855                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2856                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2857                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2858                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2859                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2860                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2861                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2862                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2863                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2864                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2865                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2866                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2867                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2868                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2869                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2870                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2871                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2872                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2873                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2874                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2875                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2876                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2877                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2878                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2879                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2880                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2881                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2882                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2883                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2884                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2885                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2886                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2887                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2888                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2889                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2890                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2891                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2892                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2893                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2894                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2895                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2896                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2897                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2898                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2899                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2900                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2901                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2902                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2903                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2904                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2905                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2906                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2907                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2908                 .psize     = 1023,
2909                 .digest    = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
2910                              "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
2911                              "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
2912                              "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
2913                              "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
2914                              "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
2915         },
2916 };
2917
2918
2919 static const struct hash_testvec sha3_512_tv_template[] = {
2920         {
2921                 .plaintext = "",
2922                 .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
2923                                 "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
2924                                 "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
2925                                 "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
2926                                 "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
2927                                 "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
2928                                 "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
2929                                 "\x01\x75\x85\x86\x28\x1d\xcd\x26",
2930         }, {
2931                 .plaintext = "a",
2932                 .psize  = 1,
2933                 .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
2934                                 "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
2935                                 "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
2936                                 "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
2937                                 "\x3f\x4f\x93\xff\x24\x39\x35\x86"
2938                                 "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
2939                                 "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
2940                                 "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
2941         }, {
2942                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
2943                              "jklmklmnlmnomnopnopq",
2944                 .psize  = 56,
2945                 .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
2946                                 "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
2947                                 "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
2948                                 "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
2949                                 "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
2950                                 "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
2951                                 "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
2952                                 "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
2953         }, {
2954                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2955                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2956                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2957                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2958                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2959                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2960                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2961                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2962                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2963                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2964                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2965                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2966                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2967                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2968                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2969                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2970                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2971                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2972                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2973                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2974                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2975                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2976                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2977                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2978                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2979                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2980                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2981                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2982                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2983                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2984                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2985                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2986                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2987                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2988                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2989                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2990                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2991                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2992                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2993                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2994                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2995                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2996                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2997                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2998                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2999                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
3000                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
3001                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
3002                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
3003                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
3004                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
3005                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
3006                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
3007                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
3008                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
3009                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
3010                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
3011                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
3012                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
3013                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
3014                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
3015                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
3016                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
3017                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
3018                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
3019                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
3020                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
3021                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
3022                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
3023                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
3024                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
3025                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
3026                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
3027                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
3028                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
3029                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
3030                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
3031                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
3032                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
3033                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
3034                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
3035                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
3036                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
3037                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
3038                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
3039                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
3040                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
3041                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
3042                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
3043                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
3044                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
3045                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
3046                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
3047                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
3048                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
3049                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
3050                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
3051                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
3052                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
3053                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
3054                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
3055                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
3056                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
3057                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
3058                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
3059                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
3060                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
3061                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
3062                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
3063                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
3064                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
3065                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
3066                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
3067                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
3068                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
3069                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
3070                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
3071                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
3072                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
3073                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
3074                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
3075                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
3076                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
3077                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
3078                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
3079                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
3080                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
3081                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
3082                 .psize     = 1023,
3083                 .digest    = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
3084                              "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
3085                              "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
3086                              "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
3087                              "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
3088                              "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
3089                              "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
3090                              "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
3091         },
3092 };
3093
3094
3095 /*
3096  * MD5 test vectors from RFC1321
3097  */
3098 static const struct hash_testvec md5_tv_template[] = {
3099         {
3100                 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
3101                           "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
3102         }, {
3103                 .plaintext = "a",
3104                 .psize  = 1,
3105                 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
3106                           "\x31\xc3\x99\xe2\x69\x77\x26\x61",
3107         }, {
3108                 .plaintext = "abc",
3109                 .psize  = 3,
3110                 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
3111                           "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
3112         }, {
3113                 .plaintext = "message digest",
3114                 .psize  = 14,
3115                 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
3116                           "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
3117         }, {
3118                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3119                 .psize  = 26,
3120                 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
3121                           "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
3122         }, {
3123                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
3124                 .psize  = 62,
3125                 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
3126                           "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
3127         }, {
3128                 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
3129                            "345678901234567890",
3130                 .psize  = 80,
3131                 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
3132                           "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
3133         }
3134
3135 };
3136
3137 /*
3138  * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
3139  */
3140 static const struct hash_testvec rmd128_tv_template[] = {
3141         {
3142                 .digest = "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
3143                           "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
3144         }, {
3145                 .plaintext = "a",
3146                 .psize  = 1,
3147                 .digest = "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
3148                           "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
3149         }, {
3150                 .plaintext = "abc",
3151                 .psize  = 3,
3152                 .digest = "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
3153                           "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
3154         }, {
3155                 .plaintext = "message digest",
3156                 .psize  = 14,
3157                 .digest = "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
3158                           "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
3159         }, {
3160                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3161                 .psize  = 26,
3162                 .digest = "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
3163                           "\x10\x71\x49\x22\xb3\x71\x83\x4e",
3164         }, {
3165                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
3166                              "fghijklmnopqrstuvwxyz0123456789",
3167                 .psize  = 62,
3168                 .digest = "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
3169                           "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
3170         }, {
3171                 .plaintext = "1234567890123456789012345678901234567890"
3172                              "1234567890123456789012345678901234567890",
3173                 .psize  = 80,
3174                 .digest = "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
3175                           "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
3176         }, {
3177                 .plaintext = "abcdbcdecdefdefgefghfghighij"
3178                              "hijkijkljklmklmnlmnomnopnopq",
3179                 .psize  = 56,
3180                 .digest = "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
3181                           "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
3182         }, {
3183                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
3184                              "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
3185                              "lmnopqrsmnopqrstnopqrstu",
3186                 .psize  = 112,
3187                 .digest = "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
3188                           "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
3189         }, {
3190                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3191                 .psize  = 32,
3192                 .digest = "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
3193                           "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
3194         }
3195 };
3196
3197 /*
3198  * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
3199  */
3200 static const struct hash_testvec rmd160_tv_template[] = {
3201         {
3202                 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
3203                           "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
3204         }, {
3205                 .plaintext = "a",
3206                 .psize  = 1,
3207                 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
3208                           "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
3209         }, {
3210                 .plaintext = "abc",
3211                 .psize  = 3,
3212                 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
3213                           "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
3214         }, {
3215                 .plaintext = "message digest",
3216                 .psize  = 14,
3217                 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
3218                           "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
3219         }, {
3220                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3221                 .psize  = 26,
3222                 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
3223                           "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
3224         }, {
3225                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
3226                              "fghijklmnopqrstuvwxyz0123456789",
3227                 .psize  = 62,
3228                 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
3229                           "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
3230         }, {
3231                 .plaintext = "1234567890123456789012345678901234567890"
3232                              "1234567890123456789012345678901234567890",
3233                 .psize  = 80,
3234                 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
3235                           "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
3236         }, {
3237                 .plaintext = "abcdbcdecdefdefgefghfghighij"
3238                              "hijkijkljklmklmnlmnomnopnopq",
3239                 .psize  = 56,
3240                 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
3241                           "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
3242         }, {
3243                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
3244                              "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
3245                              "lmnopqrsmnopqrstnopqrstu",
3246                 .psize  = 112,
3247                 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
3248                           "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
3249         }, {
3250                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3251                 .psize  = 32,
3252                 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
3253                           "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
3254         }
3255 };
3256
3257 /*
3258  * RIPEMD-256 test vectors
3259  */
3260 static const struct hash_testvec rmd256_tv_template[] = {
3261         {
3262                 .digest = "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
3263                           "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
3264                           "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
3265                           "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
3266         }, {
3267                 .plaintext = "a",
3268                 .psize  = 1,
3269                 .digest = "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
3270                           "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
3271                           "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
3272                           "\xcd\x88\x3a\x91\x34\x69\x29\x25",
3273         }, {
3274                 .plaintext = "abc",
3275                 .psize  = 3,
3276                 .digest = "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
3277                           "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
3278                           "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
3279                           "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
3280         }, {
3281                 .plaintext = "message digest",
3282                 .psize  = 14,
3283                 .digest = "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
3284                           "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
3285                           "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
3286                           "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
3287         }, {
3288                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3289                 .psize  = 26,
3290                 .digest = "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
3291                           "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
3292                           "\x78\x96\x11\x8a\x51\x97\x96\x87"
3293                           "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
3294         }, {
3295                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
3296                              "fghijklmnopqrstuvwxyz0123456789",
3297                 .psize  = 62,
3298                 .digest = "\x57\x40\xa4\x08\xac\x16\xb7\x20"
3299                           "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
3300                           "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
3301                           "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
3302         }, {
3303                 .plaintext = "1234567890123456789012345678901234567890"
3304                              "1234567890123456789012345678901234567890",
3305                 .psize  = 80,
3306                 .digest = "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
3307                           "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
3308                           "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
3309                           "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
3310         }, {
3311                 .plaintext = "abcdbcdecdefdefgefghfghighij"
3312                              "hijkijkljklmklmnlmnomnopnopq",
3313                 .psize  = 56,
3314                 .digest = "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
3315                           "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
3316                           "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
3317                           "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
3318         }
3319 };
3320
3321 /*
3322  * RIPEMD-320 test vectors
3323  */
3324 static const struct hash_testvec rmd320_tv_template[] = {
3325         {
3326                 .digest = "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
3327                           "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
3328                           "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
3329                           "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
3330         }, {
3331                 .plaintext = "a",
3332                 .psize  = 1,
3333                 .digest = "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
3334                           "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
3335                           "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
3336                           "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
3337         }, {
3338                 .plaintext = "abc",
3339                 .psize  = 3,
3340                 .digest = "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
3341                           "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
3342                           "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
3343                           "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
3344         }, {
3345                 .plaintext = "message digest",
3346                 .psize  = 14,
3347                 .digest = "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
3348                           "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
3349                           "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
3350                           "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
3351         }, {
3352                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3353                 .psize  = 26,
3354                 .digest = "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
3355                           "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
3356                           "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
3357                           "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
3358         }, {
3359                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
3360                              "fghijklmnopqrstuvwxyz0123456789",
3361                 .psize  = 62,
3362                 .digest = "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
3363                           "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
3364                           "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
3365                           "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
3366         }, {
3367                 .plaintext = "1234567890123456789012345678901234567890"
3368                              "1234567890123456789012345678901234567890",
3369                 .psize  = 80,
3370                 .digest = "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
3371                           "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
3372                           "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
3373                           "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
3374         }, {
3375                 .plaintext = "abcdbcdecdefdefgefghfghighij"
3376                              "hijkijkljklmklmnlmnomnopnopq",
3377                 .psize  = 56,
3378                 .digest = "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
3379                           "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
3380                           "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
3381                           "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
3382         }
3383 };
3384
3385 static const struct hash_testvec crct10dif_tv_template[] = {
3386         {
3387                 .plaintext      = "abc",
3388                 .psize          = 3,
3389                 .digest         = (u8 *)(u16 []){ 0x443b },
3390         }, {
3391                 .plaintext      = "1234567890123456789012345678901234567890"
3392                                   "123456789012345678901234567890123456789",
3393                 .psize          = 79,
3394                 .digest         = (u8 *)(u16 []){ 0x4b70 },
3395         }, {
3396                 .plaintext      = "abcdddddddddddddddddddddddddddddddddddddddd"
3397                                   "ddddddddddddd",
3398                 .psize          = 56,
3399                 .digest         = (u8 *)(u16 []){ 0x9ce3 },
3400         }, {
3401                 .plaintext      = "1234567890123456789012345678901234567890"
3402                                   "1234567890123456789012345678901234567890"
3403                                   "1234567890123456789012345678901234567890"
3404                                   "1234567890123456789012345678901234567890"
3405                                   "1234567890123456789012345678901234567890"
3406                                   "1234567890123456789012345678901234567890"
3407                                   "1234567890123456789012345678901234567890"
3408                                   "123456789012345678901234567890123456789",
3409                 .psize          = 319,
3410                 .digest         = (u8 *)(u16 []){ 0x44c6 },
3411         }, {
3412                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
3413                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
3414                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
3415                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
3416                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
3417                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
3418                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
3419                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
3420                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
3421                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
3422                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
3423                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
3424                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
3425                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
3426                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
3427                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
3428                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
3429                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
3430                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
3431                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
3432                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
3433                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
3434                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
3435                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
3436                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
3437                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
3438                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
3439                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
3440                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
3441                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
3442                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
3443                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
3444                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
3445                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
3446                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
3447                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
3448                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
3449                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
3450                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
3451                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
3452                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
3453                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
3454                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
3455                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
3456                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
3457                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
3458                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
3459                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
3460                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
3461                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
3462                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
3463                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
3464                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
3465                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
3466                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
3467                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
3468                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
3469                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
3470                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
3471                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
3472                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
3473                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
3474                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
3475                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
3476                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
3477                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
3478                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
3479                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
3480                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
3481                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
3482                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
3483                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
3484                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
3485                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
3486                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
3487                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
3488                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
3489                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
3490                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
3491                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
3492                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
3493                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
3494                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
3495                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
3496                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
3497                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
3498                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
3499                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
3500                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
3501                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
3502                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
3503                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
3504                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
3505                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
3506                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
3507                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
3508                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
3509                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
3510                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
3511                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
3512                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
3513                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
3514                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
3515                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
3516                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
3517                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
3518                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
3519                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
3520                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
3521                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
3522                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
3523                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
3524                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
3525                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
3526                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
3527                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
3528                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
3529                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
3530                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
3531                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
3532                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
3533                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
3534                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
3535                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
3536                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
3537                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
3538                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
3539                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
3540                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
3541                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
3542                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
3543                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
3544                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
3545                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
3546                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
3547                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
3548                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
3549                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
3550                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
3551                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
3552                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
3553                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
3554                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
3555                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
3556                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
3557                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
3558                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
3559                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
3560                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
3561                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
3562                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
3563                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
3564                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
3565                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
3566                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
3567                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
3568                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
3569                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
3570                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
3571                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
3572                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
3573                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
3574                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
3575                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
3576                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
3577                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
3578                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
3579                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
3580                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
3581                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
3582                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
3583                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
3584                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
3585                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
3586                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
3587                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
3588                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
3589                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
3590                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
3591                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
3592                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
3593                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
3594                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
3595                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
3596                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
3597                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
3598                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
3599                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
3600                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
3601                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
3602                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
3603                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
3604                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
3605                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
3606                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
3607                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
3608                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
3609                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
3610                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
3611                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
3612                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
3613                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
3614                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
3615                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
3616                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
3617                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
3618                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
3619                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
3620                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
3621                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
3622                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
3623                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
3624                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
3625                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
3626                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
3627                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
3628                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
3629                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
3630                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
3631                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
3632                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
3633                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
3634                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
3635                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
3636                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
3637                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
3638                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
3639                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
3640                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
3641                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
3642                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
3643                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
3644                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
3645                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
3646                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
3647                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
3648                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
3649                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
3650                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
3651                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
3652                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
3653                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
3654                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
3655                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
3656                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
3657                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
3658                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
3659                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
3660                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
3661                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
3662                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
3663                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
3664                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
3665                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
3666                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
3667                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
3668                 .psize = 2048,
3669                 .digest         = (u8 *)(u16 []){ 0x23ca },
3670         }
3671 };
3672
3673 /*
3674  * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
3675  */
3676 static const struct hash_testvec streebog256_tv_template[] = {
3677         { /* M1 */
3678                 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
3679                 .psize = 63,
3680                 .digest =
3681                         "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
3682                         "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
3683                         "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
3684                         "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
3685         },
3686         { /* M2 */
3687                 .plaintext =
3688                         "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
3689                         "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
3690                         "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
3691                         "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
3692                         "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
3693                         "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
3694                         "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
3695                         "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
3696                         "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
3697                 .psize = 72,
3698                 .digest =
3699                         "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
3700                         "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
3701                         "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
3702                         "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
3703         },
3704 };
3705
3706 static const struct hash_testvec streebog512_tv_template[] = {
3707         { /* M1 */
3708                 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
3709                 .psize = 63,
3710                 .digest =
3711                         "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
3712                         "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
3713                         "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
3714                         "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
3715                         "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
3716                         "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
3717                         "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
3718                         "\x41\x79\x78\x91\xc1\x64\x6f\x48",
3719         },
3720         { /* M2 */
3721                 .plaintext =
3722                         "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
3723                         "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
3724                         "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
3725                         "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
3726                         "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
3727                         "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
3728                         "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
3729                         "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
3730                         "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
3731                 .psize = 72,
3732                 .digest =
3733                         "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
3734                         "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
3735                         "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
3736                         "\x53\x00\xee\xe4\x6d\x96\x13\x76"
3737                         "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
3738                         "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
3739                         "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
3740                         "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
3741         },
3742 };
3743
3744 /*
3745  * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
3746  */
3747 static const struct hash_testvec hmac_streebog256_tv_template[] = {
3748         {
3749                 .key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
3750                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3751                         "\x10\x11\x12\x13\x14\x15\x16\x17"
3752                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
3753                 .ksize  = 32,
3754                 .plaintext =
3755                         "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
3756                         "\x43\x41\x45\x65\x63\x78\x01\x00",
3757                 .psize  = 16,
3758                 .digest =
3759                         "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
3760                         "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
3761                         "\x01\x31\x37\x01\x0a\x83\x75\x4f"
3762                         "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
3763         },
3764 };
3765
3766 static const struct hash_testvec hmac_streebog512_tv_template[] = {
3767         {
3768                 .key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
3769                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3770                         "\x10\x11\x12\x13\x14\x15\x16\x17"
3771                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
3772                 .ksize  = 32,
3773                 .plaintext =
3774                         "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
3775                         "\x43\x41\x45\x65\x63\x78\x01\x00",
3776                 .psize  = 16,
3777                 .digest =
3778                         "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
3779                         "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
3780                         "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
3781                         "\x90\x55\x00\xe1\x71\x92\x3a\x77"
3782                         "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
3783                         "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
3784                         "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
3785                         "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
3786         },
3787 };
3788
3789 /* Example vectors below taken from
3790  * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
3791  *
3792  * The rest taken from
3793  * https://github.com/adamws/oscca-sm3
3794  */
3795 static const struct hash_testvec sm3_tv_template[] = {
3796         {
3797                 .plaintext = "",
3798                 .psize = 0,
3799                 .digest = (u8 *)(u8 []) {
3800                         0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
3801                         0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
3802                         0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
3803                         0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
3804         }, {
3805                 .plaintext = "a",
3806                 .psize = 1,
3807                 .digest = (u8 *)(u8 []) {
3808                         0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
3809                         0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
3810                         0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
3811                         0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
3812         }, {
3813                 /* A.1. Example 1 */
3814                 .plaintext = "abc",
3815                 .psize = 3,
3816                 .digest = (u8 *)(u8 []) {
3817                         0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
3818                         0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
3819                         0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
3820                         0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
3821         }, {
3822                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3823                 .psize = 26,
3824                 .digest = (u8 *)(u8 []) {
3825                         0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
3826                         0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
3827                         0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
3828                         0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
3829         }, {
3830                 /* A.1. Example 2 */
3831                 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
3832                              "cdabcdabcdabcdabcd",
3833                 .psize = 64,
3834                 .digest = (u8 *)(u8 []) {
3835                         0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
3836                         0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
3837                         0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
3838                         0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
3839         }, {
3840                 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
3841                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
3842                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
3843                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
3844                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
3845                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
3846                              "abcdabcdabcdabcdabcdabcdabcdabcd",
3847                 .psize = 256,
3848                 .digest = (u8 *)(u8 []) {
3849                         0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
3850                         0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
3851                         0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
3852                         0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
3853         }
3854 };
3855
3856 /* Example vectors below taken from
3857  * GM/T 0042-2015 Appendix D.3
3858  */
3859 static const struct hash_testvec hmac_sm3_tv_template[] = {
3860         {
3861                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
3862                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3863                           "\x11\x12\x13\x14\x15\x16\x17\x18"
3864                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3865                 .ksize  = 32,
3866                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
3867                              "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3868                 .psize  = 112,
3869                 .digest = "\xca\x05\xe1\x44\xed\x05\xd1\x85"
3870                           "\x78\x40\xd1\xf3\x18\xa4\xa8\x66"
3871                           "\x9e\x55\x9f\xc8\x39\x1f\x41\x44"
3872                           "\x85\xbf\xdf\x7b\xb4\x08\x96\x3a",
3873         }, {
3874                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
3875                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3876                           "\x11\x12\x13\x14\x15\x16\x17\x18"
3877                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
3878                           "\x21\x22\x23\x24\x25",
3879                 .ksize  = 37,
3880                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3881                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3882                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3883                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3884                 .psize  = 50,
3885                 .digest = "\x22\x0b\xf5\x79\xde\xd5\x55\x39"
3886                           "\x3f\x01\x59\xf6\x6c\x99\x87\x78"
3887                           "\x22\xa3\xec\xf6\x10\xd1\x55\x21"
3888                           "\x54\xb4\x1d\x44\xb9\x4d\xb3\xae",
3889         }, {
3890                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3891                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3892                          "\x0b\x0b\x0b\x0b\x0b\x0b",
3893                 .ksize  = 32,
3894                 .plaintext = "Hi There",
3895                 .psize  = 8,
3896                 .digest = "\xc0\xba\x18\xc6\x8b\x90\xc8\x8b"
3897                           "\xc0\x7d\xe7\x94\xbf\xc7\xd2\xc8"
3898                           "\xd1\x9e\xc3\x1e\xd8\x77\x3b\xc2"
3899                           "\xb3\x90\xc9\x60\x4e\x0b\xe1\x1e",
3900         }, {
3901                 .key    = "Jefe",
3902                 .ksize  = 4,
3903                 .plaintext = "what do ya want for nothing?",
3904                 .psize  = 28,
3905                 .digest = "\x2e\x87\xf1\xd1\x68\x62\xe6\xd9"
3906                           "\x64\xb5\x0a\x52\x00\xbf\x2b\x10"
3907                           "\xb7\x64\xfa\xa9\x68\x0a\x29\x6a"
3908                           "\x24\x05\xf2\x4b\xec\x39\xf8\x82",
3909         },
3910 };
3911
3912 /*
3913  * SHA1 test vectors  from from FIPS PUB 180-1
3914  * Long vector from CAVS 5.0
3915  */
3916 static const struct hash_testvec sha1_tv_template[] = {
3917         {
3918                 .plaintext = "",
3919                 .psize  = 0,
3920                 .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
3921                           "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
3922         }, {
3923                 .plaintext = "abc",
3924                 .psize  = 3,
3925                 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
3926                           "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
3927         }, {
3928                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3929                 .psize  = 56,
3930                 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
3931                           "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
3932         }, {
3933                 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
3934                              "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
3935                              "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
3936                              "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
3937                              "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
3938                              "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
3939                              "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
3940                              "\x72\x28\x26\xc0\x66\x86\x9e\xda"
3941                              "\xcd\x73\xb2\x54\x80\x35\x18\x58"
3942                              "\x13\xe2\x26\x34\xa9\xda\x44\x00"
3943                              "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
3944                              "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
3945                              "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
3946                              "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
3947                              "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
3948                              "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
3949                              "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
3950                              "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
3951                              "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
3952                              "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
3953                              "\x5a\x90\x11",
3954                 .psize  = 163,
3955                 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
3956                           "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
3957         }, {
3958                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3959                 .psize  = 64,
3960                 .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
3961                           "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
3962         }, {
3963                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
3964                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
3965                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
3966                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
3967                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
3968                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
3969                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
3970                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
3971                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
3972                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
3973                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
3974                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
3975                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
3976                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
3977                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
3978                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
3979                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
3980                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
3981                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
3982                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
3983                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
3984                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
3985                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
3986                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
3987                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
3988                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
3989                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
3990                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
3991                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
3992                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
3993                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
3994                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
3995                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
3996                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
3997                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
3998                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
3999                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4000                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4001                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4002                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4003                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4004                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4005                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4006                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4007                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4008                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4009                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4010                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4011                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4012                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4013                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4014                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4015                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4016                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4017                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4018                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4019                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4020                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4021                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4022                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4023                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4024                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4025                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4026                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4027                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4028                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4029                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4030                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4031                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4032                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4033                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4034                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4035                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4036                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4037                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4038                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4039                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4040                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4041                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4042                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4043                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4044                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4045                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4046                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4047                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4048                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4049                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4050                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4051                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4052                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4053                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4054                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4055                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4056                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4057                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4058                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4059                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4060                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4061                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4062                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4063                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4064                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4065                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4066                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4067                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4068                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4069                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4070                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4071                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4072                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4073                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4074                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4075                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4076                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4077                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4078                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4079                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4080                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4081                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4082                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4083                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4084                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4085                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4086                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4087                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4088                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4089                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4090                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4091                 .psize     = 1023,
4092                 .digest    = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
4093                              "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
4094                              "\x30\xd6\xc9\x85",
4095         }
4096 };
4097
4098
4099 /*
4100  * SHA224 test vectors from from FIPS PUB 180-2
4101  */
4102 static const struct hash_testvec sha224_tv_template[] = {
4103         {
4104                 .plaintext = "",
4105                 .psize  = 0,
4106                 .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
4107                           "\x47\x61\x02\xbb\x28\x82\x34\xc4"
4108                           "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
4109                           "\xc5\xb3\xe4\x2f",
4110         }, {
4111                 .plaintext = "abc",
4112                 .psize  = 3,
4113                 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
4114                           "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
4115                           "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
4116                           "\xE3\x6C\x9D\xA7",
4117         }, {
4118                 .plaintext =
4119                 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4120                 .psize  = 56,
4121                 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
4122                           "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
4123                           "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
4124                           "\x52\x52\x25\x25",
4125         }, {
4126                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
4127                 .psize  = 64,
4128                 .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
4129                           "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
4130                           "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
4131                           "\xef\x3b\xcb\x0e",
4132         }, {
4133                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4134                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4135                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4136                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4137                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4138                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4139                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4140                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4141                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4142                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4143                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4144                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4145                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4146                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4147                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4148                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4149                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4150                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4151                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4152                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4153                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4154                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4155                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4156                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4157                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4158                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4159                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4160                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4161                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4162                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4163                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4164                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4165                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4166                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4167                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4168                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4169                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4170                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4171                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4172                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4173                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4174                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4175                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4176                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4177                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4178                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4179                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4180                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4181                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4182                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4183                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4184                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4185                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4186                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4187                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4188                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4189                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4190                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4191                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4192                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4193                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4194                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4195                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4196                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4197                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4198                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4199                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4200                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4201                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4202                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4203                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4204                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4205                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4206                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4207                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4208                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4209                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4210                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4211                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4212                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4213                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4214                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4215                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4216                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4217                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4218                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4219                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4220                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4221                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4222                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4223                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4224                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4225                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4226                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4227                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4228                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4229                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4230                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4231                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4232                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4233                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4234                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4235                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4236                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4237                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4238                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4239                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4240                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4241                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4242                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4243                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4244                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4245                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4246                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4247                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4248                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4249                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4250                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4251                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4252                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4253                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4254                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4255                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4256                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4257                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4258                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4259                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4260                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4261                 .psize     = 1023,
4262                 .digest    = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
4263                              "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
4264                              "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
4265                              "\xe6\xf9\x4f\xcc",
4266         }
4267 };
4268
4269 /*
4270  * SHA256 test vectors from from NIST
4271  */
4272 static const struct hash_testvec sha256_tv_template[] = {
4273         {
4274                 .plaintext = "",
4275                 .psize  = 0,
4276                 .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
4277                           "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
4278                           "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
4279                           "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
4280         }, {
4281                 .plaintext = "abc",
4282                 .psize  = 3,
4283                 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
4284                           "\x41\x41\x40\xde\x5d\xae\x22\x23"
4285                           "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
4286                           "\xb4\x10\xff\x61\xf2\x00\x15\xad",
4287         }, {
4288                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4289                 .psize  = 56,
4290                 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
4291                           "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
4292                           "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
4293                           "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
4294         }, {
4295                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
4296                 .psize  = 64,
4297                 .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
4298                           "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
4299                           "\xd6\xff\x94\xa3\x72\x91\x85\x66"
4300                           "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
4301         }, {
4302                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4303                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4304                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4305                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4306                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4307                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4308                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4309                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4310                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4311                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4312                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4313                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4314                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4315                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4316                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4317                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4318                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4319                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4320                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4321                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4322                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4323                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4324                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4325                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4326                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4327                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4328                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4329                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4330                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4331                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4332                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4333                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4334                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4335                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4336                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4337                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4338                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4339                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4340                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4341                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4342                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4343                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4344                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4345                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4346                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4347                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4348                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4349                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4350                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4351                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4352                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4353                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4354                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4355                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4356                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4357                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4358                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4359                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4360                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4361                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4362                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4363                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4364                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4365                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4366                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4367                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4368                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4369                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4370                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4371                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4372                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4373                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4374                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4375                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4376                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4377                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4378                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4379                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4380                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4381                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4382                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4383                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4384                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4385                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4386                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4387                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4388                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4389                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4390                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4391                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4392                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4393                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4394                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4395                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4396                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4397                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4398                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4399                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4400                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4401                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4402                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4403                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4404                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4405                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4406                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4407                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4408                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4409                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4410                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4411                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4412                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4413                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4414                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4415                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4416                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4417                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4418                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4419                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4420                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4421                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4422                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4423                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4424                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4425                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4426                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4427                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4428                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4429                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4430                 .psize     = 1023,
4431                 .digest    = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
4432                              "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
4433                              "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
4434                              "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
4435         }
4436 };
4437
4438 /*
4439  * SHA384 test vectors from from NIST and kerneli
4440  */
4441 static const struct hash_testvec sha384_tv_template[] = {
4442         {
4443                 .plaintext = "",
4444                 .psize  = 0,
4445                 .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
4446                           "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
4447                           "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
4448                           "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
4449                           "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
4450                           "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
4451         }, {
4452                 .plaintext= "abc",
4453                 .psize  = 3,
4454                 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
4455                           "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
4456                           "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
4457                           "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
4458                           "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
4459                           "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
4460         }, {
4461                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4462                 .psize  = 56,
4463                 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
4464                           "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
4465                           "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
4466                           "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
4467                           "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
4468                           "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
4469         }, {
4470                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
4471                            "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
4472                 .psize  = 112,
4473                 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
4474                           "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
4475                           "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
4476                           "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
4477                           "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
4478                           "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
4479         }, {
4480                 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
4481                            "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
4482                 .psize  = 104,
4483                 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
4484                           "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
4485                           "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
4486                           "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
4487                           "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
4488                           "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
4489         }, {
4490                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4491                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4492                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4493                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4494                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4495                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4496                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4497                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4498                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4499                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4500                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4501                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4502                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4503                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4504                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4505                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4506                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4507                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4508                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4509                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4510                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4511                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4512                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4513                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4514                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4515                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4516                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4517                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4518                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4519                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4520                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4521                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4522                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4523                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4524                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4525                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4526                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4527                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4528                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4529                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4530                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4531                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4532                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4533                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4534                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4535                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4536                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4537                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4538                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4539                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4540                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4541                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4542                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4543                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4544                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4545                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4546                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4547                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4548                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4549                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4550                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4551                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4552                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4553                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4554                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4555                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4556                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4557                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4558                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4559                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4560                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4561                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4562                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4563                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4564                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4565                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4566                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4567                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4568                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4569                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4570                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4571                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4572                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4573                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4574                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4575                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4576                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4577                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4578                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4579                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4580                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4581                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4582                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4583                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4584                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4585                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4586                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4587                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4588                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4589                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4590                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4591                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4592                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4593                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4594                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4595                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4596                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4597                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4598                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4599                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4600                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4601                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4602                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4603                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4604                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4605                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4606                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4607                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4608                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4609                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4610                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4611                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4612                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4613                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4614                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4615                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4616                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4617                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4618                 .psize     = 1023,
4619                 .digest    = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
4620                              "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
4621                              "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
4622                              "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
4623                              "\x75\x29\x62\x83\xae\x3f\x17\xab"
4624                              "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
4625         }
4626 };
4627
4628 /*
4629  * SHA512 test vectors from from NIST and kerneli
4630  */
4631 static const struct hash_testvec sha512_tv_template[] = {
4632         {
4633                 .plaintext = "",
4634                 .psize  = 0,
4635                 .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
4636                           "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
4637                           "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
4638                           "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
4639                           "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
4640                           "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
4641                           "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
4642                           "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
4643         }, {
4644                 .plaintext = "abc",
4645                 .psize  = 3,
4646                 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
4647                           "\xcc\x41\x73\x49\xae\x20\x41\x31"
4648                           "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
4649                           "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
4650                           "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
4651                           "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
4652                           "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
4653                           "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
4654         }, {
4655                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4656                 .psize  = 56,
4657                 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
4658                           "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
4659                           "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
4660                           "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
4661                           "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
4662                           "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
4663                           "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
4664                           "\x54\xec\x63\x12\x38\xca\x34\x45",
4665         }, {
4666                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
4667                            "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
4668                 .psize  = 112,
4669                 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
4670                           "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
4671                           "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
4672                           "\x72\x99\xae\xad\xb6\x88\x90\x18"
4673                           "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
4674                           "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
4675                           "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
4676                           "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
4677         }, {
4678                 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
4679                            "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
4680                 .psize  = 104,
4681                 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
4682                           "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
4683                           "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
4684                           "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
4685                           "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
4686                           "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
4687                           "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
4688                           "\xed\xb4\x19\x87\x23\x28\x50\xc9",
4689         }, {
4690                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4691                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4692                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4693                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4694                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4695                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4696                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4697                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4698                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4699                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4700                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4701                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4702                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4703                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4704                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4705                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4706                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4707                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4708                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4709                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4710                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4711                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4712                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4713                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4714                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4715                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4716                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4717                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4718                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4719                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4720                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4721                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4722                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4723                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4724                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4725                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4726                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4727                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4728                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4729                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4730                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4731                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4732                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4733                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4734                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4735                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4736                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4737                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4738                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4739                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4740                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4741                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4742                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4743                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4744                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4745                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4746                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4747                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4748                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4749                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4750                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4751                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4752                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4753                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4754                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4755                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4756                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4757                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4758                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4759                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4760                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4761                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4762                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4763                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4764                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4765                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4766                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4767                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4768                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4769                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4770                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4771                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4772                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4773                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4774                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4775                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4776                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4777                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4778                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4779                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4780                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4781                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4782                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4783                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4784                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4785                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4786                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4787                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4788                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4789                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4790                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4791                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4792                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4793                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4794                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4795                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4796                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4797                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4798                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4799                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4800                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4801                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4802                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4803                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4804                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4805                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4806                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4807                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4808                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4809                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4810                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4811                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4812                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4813                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4814                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4815                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4816                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4817                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4818                 .psize     = 1023,
4819                 .digest    = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
4820                              "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
4821                              "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
4822                              "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
4823                              "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
4824                              "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
4825                              "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
4826                              "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
4827         }
4828 };
4829
4830
4831 /*
4832  * WHIRLPOOL test vectors from Whirlpool package
4833  * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
4834  * submission
4835  */
4836 static const struct hash_testvec wp512_tv_template[] = {
4837         {
4838                 .plaintext = "",
4839                 .psize  = 0,
4840                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
4841                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
4842                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
4843                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
4844                           "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
4845                           "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
4846                           "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
4847                           "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
4848
4849
4850         }, {
4851                 .plaintext = "a",
4852                 .psize  = 1,
4853                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
4854                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
4855                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
4856                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
4857                           "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
4858                           "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
4859                           "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
4860                           "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
4861         }, {
4862                 .plaintext = "abc",
4863                 .psize  = 3,
4864                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
4865                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
4866                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
4867                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
4868                           "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
4869                           "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
4870                           "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
4871                           "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
4872         }, {
4873                 .plaintext = "message digest",
4874                 .psize  = 14,
4875                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
4876                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
4877                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
4878                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
4879                           "\x84\x21\x55\x76\x59\xEF\x55\xC1"
4880                           "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
4881                           "\x92\xED\x92\x00\x52\x83\x8F\x33"
4882                           "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
4883         }, {
4884                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4885                 .psize  = 26,
4886                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
4887                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
4888                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
4889                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
4890                           "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
4891                           "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
4892                           "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
4893                           "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
4894         }, {
4895                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
4896                            "abcdefghijklmnopqrstuvwxyz0123456789",
4897                 .psize  = 62,
4898                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
4899                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
4900                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
4901                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
4902                           "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
4903                           "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
4904                           "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
4905                           "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
4906         }, {
4907                 .plaintext = "1234567890123456789012345678901234567890"
4908                            "1234567890123456789012345678901234567890",
4909                 .psize  = 80,
4910                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
4911                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
4912                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
4913                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
4914                           "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
4915                           "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
4916                           "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
4917                           "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
4918         }, {
4919                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
4920                 .psize  = 32,
4921                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
4922                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
4923                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
4924                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
4925                           "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
4926                           "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
4927                           "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
4928                           "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
4929         },
4930 };
4931
4932 static const struct hash_testvec wp384_tv_template[] = {
4933         {
4934                 .plaintext = "",
4935                 .psize  = 0,
4936                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
4937                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
4938                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
4939                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
4940                           "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
4941                           "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
4942
4943
4944         }, {
4945                 .plaintext = "a",
4946                 .psize  = 1,
4947                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
4948                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
4949                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
4950                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
4951                           "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
4952                           "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
4953         }, {
4954                 .plaintext = "abc",
4955                 .psize  = 3,
4956                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
4957                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
4958                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
4959                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
4960                           "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
4961                           "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
4962         }, {
4963                 .plaintext = "message digest",
4964                 .psize  = 14,
4965                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
4966                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
4967                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
4968                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
4969                           "\x84\x21\x55\x76\x59\xEF\x55\xC1"
4970                           "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
4971         }, {
4972                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4973                 .psize  = 26,
4974                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
4975                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
4976                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
4977                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
4978                           "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
4979                           "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
4980         }, {
4981                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
4982                            "abcdefghijklmnopqrstuvwxyz0123456789",
4983                 .psize  = 62,
4984                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
4985                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
4986                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
4987                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
4988                           "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
4989                           "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
4990         }, {
4991                 .plaintext = "1234567890123456789012345678901234567890"
4992                            "1234567890123456789012345678901234567890",
4993                 .psize  = 80,
4994                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
4995                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
4996                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
4997                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
4998                           "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
4999                           "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
5000         }, {
5001                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
5002                 .psize  = 32,
5003                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
5004                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
5005                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
5006                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
5007                           "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
5008                           "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
5009         },
5010 };
5011
5012 static const struct hash_testvec wp256_tv_template[] = {
5013         {
5014                 .plaintext = "",
5015                 .psize  = 0,
5016                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
5017                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
5018                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
5019                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
5020
5021
5022         }, {
5023                 .plaintext = "a",
5024                 .psize  = 1,
5025                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
5026                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
5027                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
5028                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
5029         }, {
5030                 .plaintext = "abc",
5031                 .psize  = 3,
5032                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
5033                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
5034                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
5035                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
5036         }, {
5037                 .plaintext = "message digest",
5038                 .psize  = 14,
5039                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
5040                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
5041                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
5042                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
5043         }, {
5044                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5045                 .psize  = 26,
5046                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
5047                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
5048                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
5049                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
5050         }, {
5051                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
5052                            "abcdefghijklmnopqrstuvwxyz0123456789",
5053                 .psize  = 62,
5054                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
5055                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
5056                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
5057                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
5058         }, {
5059                 .plaintext = "1234567890123456789012345678901234567890"
5060                            "1234567890123456789012345678901234567890",
5061                 .psize  = 80,
5062                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
5063                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
5064                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
5065                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
5066         }, {
5067                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
5068                 .psize  = 32,
5069                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
5070                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
5071                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
5072                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
5073         },
5074 };
5075
5076 /*
5077  * TIGER test vectors from Tiger website
5078  */
5079 static const struct hash_testvec tgr192_tv_template[] = {
5080         {
5081                 .plaintext = "",
5082                 .psize  = 0,
5083                 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
5084                           "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
5085                           "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
5086         }, {
5087                 .plaintext = "abc",
5088                 .psize  = 3,
5089                 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
5090                           "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
5091                           "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
5092         }, {
5093                 .plaintext = "Tiger",
5094                 .psize  = 5,
5095                 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
5096                           "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
5097                           "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
5098         }, {
5099                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5100                 .psize  = 64,
5101                 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
5102                           "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
5103                           "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
5104         }, {
5105                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
5106                 .psize  = 64,
5107                 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
5108                           "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
5109                           "\x57\x89\x65\x65\x97\x5f\x91\x97",
5110         }, {
5111                 .plaintext = "Tiger - A Fast New Hash Function, "
5112                            "by Ross Anderson and Eli Biham, "
5113                            "proceedings of Fast Software Encryption 3, "
5114                            "Cambridge, 1996.",
5115                 .psize  = 125,
5116                 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
5117                           "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
5118                           "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
5119         },
5120 };
5121
5122 static const struct hash_testvec tgr160_tv_template[] = {
5123         {
5124                 .plaintext = "",
5125                 .psize  = 0,
5126                 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
5127                           "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
5128                           "\xf3\x73\xde\x2d",
5129         }, {
5130                 .plaintext = "abc",
5131                 .psize  = 3,
5132                 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
5133                           "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
5134                           "\x93\x5f\x7b\x95",
5135         }, {
5136                 .plaintext = "Tiger",
5137                 .psize  = 5,
5138                 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
5139                           "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
5140                           "\x37\x79\x0c\x11",
5141         }, {
5142                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5143                 .psize  = 64,
5144                 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
5145                           "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
5146                           "\xb5\x86\x44\x50",
5147         }, {
5148                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
5149                 .psize  = 64,
5150                 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
5151                           "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
5152                           "\x57\x89\x65\x65",
5153         }, {
5154                 .plaintext = "Tiger - A Fast New Hash Function, "
5155                            "by Ross Anderson and Eli Biham, "
5156                            "proceedings of Fast Software Encryption 3, "
5157                            "Cambridge, 1996.",
5158                 .psize  = 125,
5159                 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
5160                           "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
5161                           "\xdd\x68\x15\x1d",
5162         },
5163 };
5164
5165 static const struct hash_testvec tgr128_tv_template[] = {
5166         {
5167                 .plaintext = "",
5168                 .psize  = 0,
5169                 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
5170                           "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
5171         }, {
5172                 .plaintext = "abc",
5173                 .psize  = 3,
5174                 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
5175                           "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
5176         }, {
5177                 .plaintext = "Tiger",
5178                 .psize  = 5,
5179                 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
5180                           "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
5181         }, {
5182                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5183                 .psize  = 64,
5184                 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
5185                           "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
5186         }, {
5187                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
5188                 .psize  = 64,
5189                 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
5190                           "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
5191         }, {
5192                 .plaintext = "Tiger - A Fast New Hash Function, "
5193                            "by Ross Anderson and Eli Biham, "
5194                            "proceedings of Fast Software Encryption 3, "
5195                            "Cambridge, 1996.",
5196                 .psize  = 125,
5197                 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
5198                           "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
5199         },
5200 };
5201
5202 static const struct hash_testvec ghash_tv_template[] =
5203 {
5204         {
5205                 .key    = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
5206                           "\xff\xca\xff\x95\xf8\x30\xf0\x61",
5207                 .ksize  = 16,
5208                 .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
5209                              "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
5210                 .psize  = 16,
5211                 .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
5212                           "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
5213         }, {
5214                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5215                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
5216                 .ksize  = 16,
5217                 .plaintext = "what do ya want for nothing?",
5218                 .psize  = 28,
5219                 .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
5220                           "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
5221         }, {
5222                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5223                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
5224                 .ksize  = 16,
5225                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5226                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5227                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5228                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
5229                 .psize  = 50,
5230                 .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
5231                           "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
5232         }, {
5233                 .key    = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
5234                           "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
5235                 .ksize  = 16,
5236                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5237                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5238                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5239                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
5240                 .psize  = 50,
5241                 .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
5242                           "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
5243         }, {
5244                 .key    = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
5245                           "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
5246                 .ksize  = 16,
5247                 .plaintext = "Test With Truncation",
5248                 .psize  = 20,
5249                 .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
5250                           "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
5251         }, {
5252                 .key    = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
5253                         "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
5254                 .ksize  = 16,
5255                 .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
5256                         "\x65\x72\x20\x4c\x61\x75\x73\x63"
5257                         "\x68\x65\x6e\x20\x75\x6e\x64\x20"
5258                         "\x53\x74\x61\x75\x6e\x65\x6e\x20"
5259                         "\x73\x65\x69\x20\x73\x74\x69\x6c"
5260                         "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
5261                         "\x69\x6e\x20\x74\x69\x65\x66\x74"
5262                         "\x69\x65\x66\x65\x73\x20\x4c\x65"
5263                         "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
5264                         "\x73\x20\x64\x75\x20\x77\x65\x69"
5265                         "\xc3\x9f\x74\x20\x77\x61\x73\x20"
5266                         "\x64\x65\x72\x20\x57\x69\x6e\x64"
5267                         "\x20\x64\x69\x72\x20\x77\x69\x6c"
5268                         "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
5269                         "\x63\x68\x20\x64\x69\x65\x20\x42"
5270                         "\x69\x72\x6b\x65\x6e\x20\x62\x65"
5271                         "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
5272                         "\x64\x20\x77\x65\x6e\x6e\x20\x64"
5273                         "\x69\x72\x20\x65\x69\x6e\x6d\x61"
5274                         "\x6c\x20\x64\x61\x73\x20\x53\x63"
5275                         "\x68\x77\x65\x69\x67\x65\x6e\x20"
5276                         "\x73\x70\x72\x61\x63\x68\x2c\x0a"
5277                         "\x6c\x61\x73\x73\x20\x64\x65\x69"
5278                         "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
5279                         "\x20\x62\x65\x73\x69\x65\x67\x65"
5280                         "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
5281                         "\x20\x48\x61\x75\x63\x68\x65\x20"
5282                         "\x67\x69\x62\x74\x20\x64\x69\x63"
5283                         "\x68\x2c\x20\x67\x69\x62\x20\x6e"
5284                         "\x61\x63\x68\x2c\x0a\x65\x72\x20"
5285                         "\x77\x69\x72\x64\x20\x64\x69\x63"
5286                         "\x68\x20\x6c\x69\x65\x62\x65\x6e"
5287                         "\x20\x75\x6e\x64\x20\x77\x69\x65"
5288                         "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
5289                         "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
5290                         "\x65\x69\x6e\x65\x20\x53\x65\x65"
5291                         "\x6c\x65\x20\x73\x65\x69\x74\x20"
5292                         "\x77\x65\x69\x74\x2c\x20\x73\x65"
5293                         "\x69\x20\x77\x65\x69\x74\x2c\x0a"
5294                         "\x64\x61\x73\x73\x20\x64\x69\x72"
5295                         "\x20\x64\x61\x73\x20\x4c\x65\x62"
5296                         "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
5297                         "\x67\x65\x2c\x0a\x62\x72\x65\x69"
5298                         "\x74\x65\x20\x64\x69\x63\x68\x20"
5299                         "\x77\x69\x65\x20\x65\x69\x6e\x20"
5300                         "\x46\x65\x69\x65\x72\x6b\x6c\x65"
5301                         "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
5302                         "\x20\x64\x69\x65\x20\x73\x69\x6e"
5303                         "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
5304                         "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
5305                 .psize  = 400,
5306                 .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
5307                         "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
5308         },
5309 };
5310
5311 /*
5312  * HMAC-MD5 test vectors from RFC2202
5313  * (These need to be fixed to not use strlen).
5314  */
5315 static const struct hash_testvec hmac_md5_tv_template[] =
5316 {
5317         {
5318                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
5319                 .ksize  = 16,
5320                 .plaintext = "Hi There",
5321                 .psize  = 8,
5322                 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
5323                           "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
5324         }, {
5325                 .key    = "Jefe",
5326                 .ksize  = 4,
5327                 .plaintext = "what do ya want for nothing?",
5328                 .psize  = 28,
5329                 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
5330                           "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
5331         }, {
5332                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
5333                 .ksize  = 16,
5334                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5335                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5336                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5337                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
5338                 .psize  = 50,
5339                 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
5340                           "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
5341         }, {
5342                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5343                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5344                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
5345                 .ksize  = 25,
5346                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5347                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5348                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5349                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
5350                 .psize  = 50,
5351                 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
5352                           "\x3a\x75\x16\x47\x46\xff\xaa\x79",
5353         }, {
5354                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
5355                 .ksize  = 16,
5356                 .plaintext = "Test With Truncation",
5357                 .psize  = 20,
5358                 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
5359                           "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
5360         }, {
5361                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5362                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5363                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5364                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5365                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5366                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5367                         "\xaa\xaa",
5368                 .ksize  = 80,
5369                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
5370                 .psize  = 54,
5371                 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
5372                           "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
5373         }, {
5374                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5375                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5376                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5377                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5378                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5379                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5380                         "\xaa\xaa",
5381                 .ksize  = 80,
5382                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
5383                            "Block-Size Data",
5384                 .psize  = 73,
5385                 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
5386                           "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
5387         },
5388 };
5389
5390 /*
5391  * HMAC-RIPEMD128 test vectors from RFC2286
5392  */
5393 static const struct hash_testvec hmac_rmd128_tv_template[] = {
5394         {
5395                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
5396                 .ksize  = 16,
5397                 .plaintext = "Hi There",
5398                 .psize  = 8,
5399                 .digest = "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
5400                           "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
5401         }, {
5402                 .key    = "Jefe",
5403                 .ksize  = 4,
5404                 .plaintext = "what do ya want for nothing?",
5405                 .psize  = 28,
5406                 .digest = "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
5407                           "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
5408         }, {
5409                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
5410                 .ksize  = 16,
5411                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5412                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5413                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5414                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
5415                 .psize  = 50,
5416                 .digest = "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
5417                           "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
5418         }, {
5419                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5420                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5421                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
5422                 .ksize  = 25,
5423                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5424                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5425                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5426                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
5427                 .psize  = 50,
5428                 .digest = "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
5429                           "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
5430         }, {
5431                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
5432                 .ksize  = 16,
5433                 .plaintext = "Test With Truncation",
5434                 .psize  = 20,
5435                 .digest = "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
5436                           "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
5437         }, {
5438                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5439                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5440                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5441                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5442                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5443                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5444                         "\xaa\xaa",
5445                 .ksize  = 80,
5446                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
5447                 .psize  = 54,
5448                 .digest = "\xdc\x73\x29\x28\xde\x98\x10\x4a"
5449                           "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
5450         }, {
5451                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5452                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5453                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5454                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5455                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5456                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5457                         "\xaa\xaa",
5458                 .ksize  = 80,
5459                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
5460                            "Block-Size Data",
5461                 .psize  = 73,
5462                 .digest = "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
5463                           "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
5464         },
5465 };
5466
5467 /*
5468  * HMAC-RIPEMD160 test vectors from RFC2286
5469  */
5470 static const struct hash_testvec hmac_rmd160_tv_template[] = {
5471         {
5472                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
5473                 .ksize  = 20,
5474                 .plaintext = "Hi There",
5475                 .psize  = 8,
5476                 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
5477                           "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
5478         }, {
5479                 .key    = "Jefe",
5480                 .ksize  = 4,
5481                 .plaintext = "what do ya want for nothing?",
5482                 .psize  = 28,
5483                 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
5484                           "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
5485         }, {
5486                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
5487                 .ksize  = 20,
5488                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5489                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5490                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5491                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
5492                 .psize  = 50,
5493                 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
5494                           "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
5495         }, {
5496                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5497                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5498                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
5499                 .ksize  = 25,
5500                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5501                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5502                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5503                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
5504                 .psize  = 50,
5505                 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
5506                           "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
5507         }, {
5508                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
5509                 .ksize  = 20,
5510                 .plaintext = "Test With Truncation",
5511                 .psize  = 20,
5512                 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
5513                           "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
5514         }, {
5515                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5516                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5517                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5518                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5519                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5520                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5521                         "\xaa\xaa",
5522                 .ksize  = 80,
5523                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
5524                 .psize  = 54,
5525                 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
5526                           "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
5527         }, {
5528                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5529                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5530                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5531                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5532                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5533                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5534                         "\xaa\xaa",
5535                 .ksize  = 80,
5536                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
5537                            "Block-Size Data",
5538                 .psize  = 73,
5539                 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
5540                           "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
5541         },
5542 };
5543
5544 /*
5545  * HMAC-SHA1 test vectors from RFC2202
5546  */
5547 static const struct hash_testvec hmac_sha1_tv_template[] = {
5548         {
5549                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
5550                 .ksize  = 20,
5551                 .plaintext = "Hi There",
5552                 .psize  = 8,
5553                 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
5554                           "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
5555                           "\x46\xbe",
5556         }, {
5557                 .key    = "Jefe",
5558                 .ksize  = 4,
5559                 .plaintext = "what do ya want for nothing?",
5560                 .psize  = 28,
5561                 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
5562                           "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
5563         }, {
5564                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
5565                 .ksize  = 20,
5566                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5567                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5568                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5569                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
5570                 .psize  = 50,
5571                 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
5572                           "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
5573         }, {
5574                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5575                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5576                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
5577                 .ksize  = 25,
5578                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5579                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5580                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5581                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
5582                 .psize  = 50,
5583                 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
5584                           "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
5585         }, {
5586                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
5587                 .ksize  = 20,
5588                 .plaintext = "Test With Truncation",
5589                 .psize  = 20,
5590                 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
5591                           "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
5592         }, {
5593                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5594                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5595                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5596                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5597                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5598                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5599                         "\xaa\xaa",
5600                 .ksize  = 80,
5601                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
5602                 .psize  = 54,
5603                 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
5604                           "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
5605         }, {
5606                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5607                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5608                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5609                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5610                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5611                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5612                         "\xaa\xaa",
5613                 .ksize  = 80,
5614                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
5615                            "Block-Size Data",
5616                 .psize  = 73,
5617                 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
5618                           "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
5619         },
5620 };
5621
5622
5623 /*
5624  * SHA224 HMAC test vectors from RFC4231
5625  */
5626 static const struct hash_testvec hmac_sha224_tv_template[] = {
5627         {
5628                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5629                         "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5630                         "\x0b\x0b\x0b\x0b",
5631                 .ksize  = 20,
5632                 /*  ("Hi There") */
5633                 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
5634                 .psize  = 8,
5635                 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
5636                         "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
5637                         "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
5638                         "\x53\x68\x4b\x22",
5639         }, {
5640                 .key    = "Jefe",
5641                 .ksize  = 4,
5642                 /* ("what do ya want for nothing?") */
5643                 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
5644                         "\x79\x61\x20\x77\x61\x6e\x74\x20"
5645                         "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
5646                         "\x69\x6e\x67\x3f",
5647                 .psize  = 28,
5648                 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
5649                         "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
5650                         "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
5651                         "\x8f\xd0\x5e\x44",
5652         }, {
5653                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5654                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5655                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5656                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5657                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5658                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5659                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5660                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5661                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5662                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5663                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5664                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5665                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5666                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5667                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5668                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5669                         "\xaa\xaa\xaa",
5670                 .ksize  = 131,
5671                 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
5672                 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
5673                         "\x6e\x67\x20\x4c\x61\x72\x67\x65"
5674                         "\x72\x20\x54\x68\x61\x6e\x20\x42"
5675                         "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
5676                         "\x65\x20\x4b\x65\x79\x20\x2d\x20"
5677                         "\x48\x61\x73\x68\x20\x4b\x65\x79"
5678                         "\x20\x46\x69\x72\x73\x74",
5679                 .psize  = 54,
5680                 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
5681                         "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
5682                         "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
5683                         "\x3f\xa6\x87\x0e",
5684         }, {
5685                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5686                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5687                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5688                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5689                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5690                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5691                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5692                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5693                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5694                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5695                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5696                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5697                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5698                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5699                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5700                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5701                         "\xaa\xaa\xaa",
5702                 .ksize  = 131,
5703                 /* ("This is a test using a larger than block-size key and a")
5704                 (" larger than block-size data. The key needs to be")
5705                         (" hashed before being used by the HMAC algorithm.") */
5706                 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
5707                         "\x61\x20\x74\x65\x73\x74\x20\x75"
5708                         "\x73\x69\x6e\x67\x20\x61\x20\x6c"
5709                         "\x61\x72\x67\x65\x72\x20\x74\x68"
5710                         "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
5711                         "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
5712                         "\x79\x20\x61\x6e\x64\x20\x61\x20"
5713                         "\x6c\x61\x72\x67\x65\x72\x20\x74"
5714                         "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
5715                         "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
5716                         "\x61\x74\x61\x2e\x20\x54\x68\x65"
5717                         "\x20\x6b\x65\x79\x20\x6e\x65\x65"
5718                         "\x64\x73\x20\x74\x6f\x20\x62\x65"
5719                         "\x20\x68\x61\x73\x68\x65\x64\x20"
5720                         "\x62\x65\x66\x6f\x72\x65\x20\x62"
5721                         "\x65\x69\x6e\x67\x20\x75\x73\x65"
5722                         "\x64\x20\x62\x79\x20\x74\x68\x65"
5723                         "\x20\x48\x4d\x41\x43\x20\x61\x6c"
5724                         "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
5725                 .psize  = 152,
5726                 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
5727                         "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
5728                         "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
5729                         "\xf6\xf5\x65\xd1",
5730         },
5731 };
5732
5733 /*
5734  * HMAC-SHA256 test vectors from
5735  * draft-ietf-ipsec-ciph-sha-256-01.txt
5736  */
5737 static const struct hash_testvec hmac_sha256_tv_template[] = {
5738         {
5739                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5740                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5741                           "\x11\x12\x13\x14\x15\x16\x17\x18"
5742                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
5743                 .ksize  = 32,
5744                 .plaintext = "abc",
5745                 .psize  = 3,
5746                 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
5747                           "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
5748                           "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
5749                           "\x92\x75\x90\x21\xcf\xab\x81\x81",
5750         }, {
5751                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5752                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5753                           "\x11\x12\x13\x14\x15\x16\x17\x18"
5754                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
5755                 .ksize  = 32,
5756                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5757                 .psize  = 56,
5758                 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
5759                           "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
5760                           "\xe6\x98\xe3\x61\x19\x42\x11\x49"
5761                           "\xea\x8c\x71\x24\x56\x69\x7d\x30",
5762         }, {
5763                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5764                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5765                           "\x11\x12\x13\x14\x15\x16\x17\x18"
5766                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
5767                 .ksize  = 32,
5768                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
5769                            "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5770                 .psize  = 112,
5771                 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
5772                           "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
5773                           "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
5774                           "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
5775         }, {
5776                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5777                         "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5778                         "\x0b\x0b\x0b\x0b\x0b\x0b",
5779                 .ksize  = 32,
5780                 .plaintext = "Hi There",
5781                 .psize  = 8,
5782                 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
5783                           "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
5784                           "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
5785                           "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
5786         }, {
5787                 .key    = "Jefe",
5788                 .ksize  = 4,
5789                 .plaintext = "what do ya want for nothing?",
5790                 .psize  = 28,
5791                 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
5792                           "\x6a\x04\x24\x26\x08\x95\x75\xc7"
5793                           "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
5794                           "\x9d\xec\x58\xb9\x64\xec\x38\x43",
5795         }, {
5796                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5797                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5798                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
5799                 .ksize  = 32,
5800                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5801                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5802                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
5803                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
5804                 .psize  = 50,
5805                 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
5806                           "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
5807                           "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
5808                           "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
5809         }, {
5810                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5811                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5812                           "\x11\x12\x13\x14\x15\x16\x17\x18"
5813                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
5814                           "\x21\x22\x23\x24\x25",
5815                 .ksize  = 37,
5816                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5817                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5818                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5819                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
5820                 .psize  = 50,
5821                 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
5822                           "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
5823                           "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
5824                           "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
5825         }, {
5826                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
5827                         "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
5828                         "\x0c\x0c\x0c\x0c\x0c\x0c",
5829                 .ksize  = 32,
5830                 .plaintext = "Test With Truncation",
5831                 .psize  = 20,
5832                 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
5833                           "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
5834                           "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
5835                           "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
5836         }, {
5837                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5838                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5839                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5840                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5841                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5842                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5843                         "\xaa\xaa",
5844                 .ksize  = 80,
5845                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
5846                 .psize  = 54,
5847                 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
5848                           "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
5849                           "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
5850                           "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
5851         }, {
5852                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5853                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5854                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5855                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5856                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5857                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5858                         "\xaa\xaa",
5859                 .ksize  = 80,
5860                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
5861                            "One Block-Size Data",
5862                 .psize  = 73,
5863                 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
5864                           "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
5865                           "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
5866                           "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
5867         },
5868 };
5869
5870 static const struct hash_testvec aes_cmac128_tv_template[] = {
5871         { /* From NIST Special Publication 800-38B, AES-128 */
5872                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
5873                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
5874                 .plaintext      = zeroed_string,
5875                 .digest         = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
5876                                   "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
5877                 .psize          = 0,
5878                 .ksize          = 16,
5879         }, {
5880                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
5881                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
5882                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
5883                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
5884                 .digest         = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
5885                                   "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
5886                 .psize          = 16,
5887                 .ksize          = 16,
5888         }, {
5889                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
5890                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
5891                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
5892                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
5893                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
5894                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
5895                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
5896                 .digest         = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
5897                                   "\x30\xca\x32\x61\x14\x97\xc8\x27",
5898                 .psize          = 40,
5899                 .ksize          = 16,
5900         }, {
5901                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
5902                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
5903                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
5904                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
5905                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
5906                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
5907                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
5908                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
5909                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
5910                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
5911                 .digest         = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
5912                                   "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
5913                 .psize          = 64,
5914                 .ksize          = 16,
5915         }, { /* From NIST Special Publication 800-38B, AES-256 */
5916                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
5917                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
5918                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
5919                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
5920                 .plaintext      = zeroed_string,
5921                 .digest         = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
5922                                   "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
5923                 .psize          = 0,
5924                 .ksize          = 32,
5925         }, {
5926                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
5927                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
5928                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
5929                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
5930                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
5931                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
5932                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
5933                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
5934                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
5935                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
5936                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
5937                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
5938                 .digest         = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
5939                                   "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
5940                 .psize          = 64,
5941                 .ksize          = 32,
5942         }
5943 };
5944
5945 static const struct hash_testvec aes_cbcmac_tv_template[] = {
5946         {
5947                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
5948                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
5949                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
5950                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
5951                 .digest         = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
5952                                   "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
5953                 .psize          = 16,
5954                 .ksize          = 16,
5955         }, {
5956                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
5957                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
5958                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
5959                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
5960                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
5961                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
5962                                   "\x30",
5963                 .digest         = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
5964                                   "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
5965                 .psize          = 33,
5966                 .ksize          = 16,
5967         }, {
5968                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
5969                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
5970                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
5971                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
5972                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
5973                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
5974                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
5975                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
5976                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
5977                                   "\xad\x2b\x41\x7b\xe6\x6c\x37",
5978                 .digest         = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
5979                                   "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
5980                 .psize          = 63,
5981                 .ksize          = 16,
5982         }, {
5983                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
5984                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
5985                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
5986                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
5987                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
5988                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
5989                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
5990                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
5991                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
5992                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
5993                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
5994                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
5995                                   "\x1c",
5996                 .digest         = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
5997                                   "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
5998                 .psize          = 65,
5999                 .ksize          = 32,
6000         }
6001 };
6002
6003 static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
6004 /*
6005  * From NIST Special Publication 800-38B, Three Key TDEA
6006  * Corrected test vectors from:
6007  *  http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
6008  */
6009         {
6010                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6011                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6012                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6013                 .plaintext      = zeroed_string,
6014                 .digest         = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
6015                 .psize          = 0,
6016                 .ksize          = 24,
6017         }, {
6018                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6019                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6020                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6021                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
6022                 .digest         = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
6023                 .psize          = 8,
6024                 .ksize          = 24,
6025         }, {
6026                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6027                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6028                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6029                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6030                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6031                                   "\xae\x2d\x8a\x57",
6032                 .digest         = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
6033                 .psize          = 20,
6034                 .ksize          = 24,
6035         }, {
6036                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6037                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6038                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6039                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6040                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6041                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6042                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
6043                 .digest         = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
6044                 .psize          = 32,
6045                 .ksize          = 24,
6046         }
6047 };
6048
6049 static const struct hash_testvec aes_xcbc128_tv_template[] = {
6050         {
6051                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6052                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6053                 .plaintext = zeroed_string,
6054                 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
6055                           "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
6056                 .psize  = 0,
6057                 .ksize  = 16,
6058         }, {
6059                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6060                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6061                 .plaintext = "\x00\x01\x02",
6062                 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
6063                           "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
6064                 .psize  = 3,
6065                 .ksize  = 16,
6066         } , {
6067                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6068                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6069                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6070                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6071                 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
6072                           "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
6073                 .psize  = 16,
6074                 .ksize  = 16,
6075         }, {
6076                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6077                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6078                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6079                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
6080                              "\x10\x11\x12\x13",
6081                 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
6082                           "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
6083                 .psize  = 20,
6084                 .ksize  = 16,
6085         }, {
6086                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6087                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6088                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6089                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
6090                              "\x10\x11\x12\x13\x14\x15\x16\x17"
6091                              "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
6092                 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
6093                           "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
6094                 .psize  = 32,
6095                 .ksize  = 16,
6096         }, {
6097                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6098                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6099                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6100                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
6101                              "\x10\x11\x12\x13\x14\x15\x16\x17"
6102                              "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
6103                              "\x20\x21",
6104                 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
6105                           "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
6106                 .psize  = 34,
6107                 .ksize  = 16,
6108         }
6109 };
6110
6111 static const char vmac64_string1[144] = {
6112         '\0',     '\0',   '\0',   '\0',   '\0',   '\0',   '\0',   '\0',
6113         '\0',     '\0',   '\0',   '\0',   '\0',   '\0',   '\0',   '\0',
6114         '\x01', '\x01', '\x01', '\x01', '\x02', '\x03', '\x02', '\x02',
6115         '\x02', '\x04', '\x01', '\x07', '\x04', '\x01', '\x04', '\x03',
6116 };
6117
6118 static const char vmac64_string2[144] = {
6119         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6120         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6121          'a',  'b',  'c',
6122 };
6123
6124 static const char vmac64_string3[144] = {
6125         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6126         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6127          'a',  'b',  'c',  'a',  'b',  'c',  'a',  'b',
6128          'c',  'a',  'b',  'c',  'a',  'b',  'c',  'a',
6129          'b',  'c',  'a',  'b',  'c',  'a',  'b',  'c',
6130          'a',  'b',  'c',  'a',  'b',  'c',  'a',  'b',
6131          'c',  'a',  'b',  'c',  'a',  'b',  'c',  'a',
6132          'b',  'c',  'a',  'b',  'c',  'a',  'b',  'c',
6133 };
6134
6135 static const char vmac64_string4[33] = {
6136         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6137         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6138         'b',   'c',  'e',  'f',  'i',  'j',  'l',  'm',
6139         'o',   'p',  'r',  's',  't',  'u',  'w',  'x',
6140         'z',
6141 };
6142
6143 static const char vmac64_string5[143] = {
6144         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6145         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6146          'r',  'm',  'b',  't',  'c',  'o',  'l',  'k',
6147          ']',  '%',  '9',  '2',  '7',  '!',  'A',
6148 };
6149
6150 static const char vmac64_string6[145] = {
6151         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6152         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
6153          'p',  't',  '*',  '7',  'l',  'i',  '!',  '#',
6154          'w',  '0',  'z',  '/',  '4',  'A',  'n',
6155 };
6156
6157 static const struct hash_testvec vmac64_aes_tv_template[] = {
6158         { /* draft-krovetz-vmac-01 test vector 1 */
6159                 .key    = "abcdefghijklmnop",
6160                 .ksize  = 16,
6161                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi",
6162                 .psize  = 16,
6163                 .digest = "\x25\x76\xbe\x1c\x56\xd8\xb8\x1b",
6164         }, { /* draft-krovetz-vmac-01 test vector 2 */
6165                 .key    = "abcdefghijklmnop",
6166                 .ksize  = 16,
6167                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghiabc",
6168                 .psize  = 19,
6169                 .digest = "\x2d\x37\x6c\xf5\xb1\x81\x3c\xe5",
6170         }, { /* draft-krovetz-vmac-01 test vector 3 */
6171                 .key    = "abcdefghijklmnop",
6172                 .ksize  = 16,
6173                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
6174                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
6175                 .psize  = 64,
6176                 .digest = "\xe8\x42\x1f\x61\xd5\x73\xd2\x98",
6177         }, { /* draft-krovetz-vmac-01 test vector 4 */
6178                 .key    = "abcdefghijklmnop",
6179                 .ksize  = 16,
6180                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
6181                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
6182                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
6183                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
6184                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
6185                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
6186                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
6187                 .psize  = 316,
6188                 .digest = "\x44\x92\xdf\x6c\x5c\xac\x1b\xbe",
6189         }, {
6190                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6191                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6192                 .ksize  = 16,
6193                 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
6194                           "\x00\x00\x00\x00\x00\x00\x00\x00",
6195                 .psize  = 16,
6196                 .digest = "\x54\x7b\xa4\x77\x35\x80\x58\x07",
6197         }, {
6198                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6199                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6200                 .ksize  = 16,
6201                 .plaintext = vmac64_string1,
6202                 .psize  = sizeof(vmac64_string1),
6203                 .digest = "\xa1\x8c\x68\xae\xd3\x3c\xf5\xce",
6204         }, {
6205                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6206                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6207                 .ksize  = 16,
6208                 .plaintext = vmac64_string2,
6209                 .psize  = sizeof(vmac64_string2),
6210                 .digest = "\x2d\x14\xbd\x81\x73\xb0\x27\xc9",
6211         }, {
6212                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
6213                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6214                 .ksize  = 16,
6215                 .plaintext = vmac64_string3,
6216                 .psize  = sizeof(vmac64_string3),
6217                 .digest = "\x19\x0b\x47\x98\x8c\x95\x1a\x8d",
6218         }, {
6219                 .key    = "abcdefghijklmnop",
6220                 .ksize  = 16,
6221                 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
6222                           "\x00\x00\x00\x00\x00\x00\x00\x00",
6223                 .psize  = 16,
6224                 .digest = "\x84\x8f\x55\x9e\x26\xa1\x89\x3b",
6225         }, {
6226                 .key    = "abcdefghijklmnop",
6227                 .ksize  = 16,
6228                 .plaintext = vmac64_string1,
6229                 .psize  = sizeof(vmac64_string1),
6230                 .digest = "\xc2\x74\x8d\xf6\xb0\xab\x5e\xab",
6231         }, {
6232                 .key    = "abcdefghijklmnop",
6233                 .ksize  = 16,
6234                 .plaintext = vmac64_string2,
6235                 .psize  = sizeof(vmac64_string2),
6236                 .digest = "\xdf\x09\x7b\x3d\x42\x68\x15\x11",
6237         }, {
6238                 .key    = "abcdefghijklmnop",
6239                 .ksize  = 16,
6240                 .plaintext = vmac64_string3,
6241                 .psize  = sizeof(vmac64_string3),
6242                 .digest = "\xd4\xfa\x8f\xed\xe1\x8f\x32\x8b",
6243         }, {
6244                 .key    = "a09b5cd!f#07K\x00\x00\x00",
6245                 .ksize  = 16,
6246                 .plaintext = vmac64_string4,
6247                 .psize  = sizeof(vmac64_string4),
6248                 .digest = "\x5f\xa1\x4e\x42\xea\x0f\xa5\xab",
6249         }, {
6250                 .key    = "a09b5cd!f#07K\x00\x00\x00",
6251                 .ksize  = 16,
6252                 .plaintext = vmac64_string5,
6253                 .psize  = sizeof(vmac64_string5),
6254                 .digest = "\x60\x67\xe8\x1d\xbc\x98\x31\x25",
6255         }, {
6256                 .key    = "a09b5cd!f#07K\x00\x00\x00",
6257                 .ksize  = 16,
6258                 .plaintext = vmac64_string6,
6259                 .psize  = sizeof(vmac64_string6),
6260                 .digest = "\x41\xeb\x65\x95\x47\x9b\xae\xc4",
6261         },
6262 };
6263
6264 /*
6265  * SHA384 HMAC test vectors from RFC4231
6266  */
6267
6268 static const struct hash_testvec hmac_sha384_tv_template[] = {
6269         {
6270                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6271                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6272                           "\x0b\x0b\x0b\x0b",
6273                 .ksize  = 20,
6274                 .plaintext = "Hi There",
6275                 .psize  = 8,
6276                 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
6277                           "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
6278                           "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
6279                           "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
6280                           "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
6281                           "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
6282         }, {
6283                 .key    = "Jefe",
6284                 .ksize  = 4,
6285                 .plaintext = "what do ya want for nothing?",
6286                 .psize  = 28,
6287                 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
6288                           "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
6289                           "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
6290                           "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
6291                           "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
6292                           "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
6293         }, {
6294                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6295                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6296                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6297                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6298                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6299                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6300                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6301                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6302                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6303                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6304                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6305                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6306                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6307                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6308                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6309                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6310                           "\xaa\xaa\xaa",
6311                 .ksize  = 131,
6312                 .plaintext = "Test Using Larger Than Block-Siz"
6313                            "e Key - Hash Key First",
6314                 .psize  = 54,
6315                 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
6316                           "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
6317                           "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
6318                           "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
6319                           "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
6320                           "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
6321         }, {
6322                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6323                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6324                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6325                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6326                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6327                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6328                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6329                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6330                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6331                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6332                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6333                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6334                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6335                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6336                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6337                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6338                           "\xaa\xaa\xaa",
6339                 .ksize  = 131,
6340                 .plaintext = "This is a test u"
6341                            "sing a larger th"
6342                            "an block-size ke"
6343                            "y and a larger t"
6344                            "han block-size d"
6345                            "ata. The key nee"
6346                            "ds to be hashed "
6347                            "before being use"
6348                            "d by the HMAC al"
6349                            "gorithm.",
6350                 .psize  = 152,
6351                 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
6352                           "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
6353                           "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
6354                           "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
6355                           "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
6356                           "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
6357         },
6358 };
6359
6360 /*
6361  * SHA512 HMAC test vectors from RFC4231
6362  */
6363
6364 static const struct hash_testvec hmac_sha512_tv_template[] = {
6365         {
6366                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6367                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6368                           "\x0b\x0b\x0b\x0b",
6369                 .ksize  = 20,
6370                 .plaintext = "Hi There",
6371                 .psize  = 8,
6372                 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
6373                           "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
6374                           "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
6375                           "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
6376                           "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
6377                           "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
6378                           "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
6379                           "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
6380         }, {
6381                 .key    = "Jefe",
6382                 .ksize  = 4,
6383                 .plaintext = "what do ya want for nothing?",
6384                 .psize  = 28,
6385                 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
6386                           "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
6387                           "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
6388                           "\x10\x27\x0c\xd7\xea\x25\x05\x54"
6389                           "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
6390                           "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
6391                           "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
6392                           "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
6393         }, {
6394                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6395                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6396                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6397                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6398                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6399                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6400                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6401                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6402                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6403                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6404                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6405                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6406                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6407                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6408                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6409                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6410                           "\xaa\xaa\xaa",
6411                 .ksize  = 131,
6412                 .plaintext = "Test Using Large"
6413                            "r Than Block-Siz"
6414                            "e Key - Hash Key"
6415                            " First",
6416                 .psize  = 54,
6417                 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
6418                         "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
6419                         "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
6420                         "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
6421                         "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
6422                         "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
6423                         "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
6424                         "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
6425         }, {
6426                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6427                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6428                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6429                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6430                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6431                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6432                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6433                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6434                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6435                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6436                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6437                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6438                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6439                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6440                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6441                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6442                         "\xaa\xaa\xaa",
6443                 .ksize  = 131,
6444                 .plaintext =
6445                           "This is a test u"
6446                           "sing a larger th"
6447                           "an block-size ke"
6448                           "y and a larger t"
6449                           "han block-size d"
6450                           "ata. The key nee"
6451                           "ds to be hashed "
6452                           "before being use"
6453                           "d by the HMAC al"
6454                           "gorithm.",
6455                 .psize  = 152,
6456                 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
6457                         "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
6458                         "\xde\xbd\x71\xf8\x86\x72\x89\x86"
6459                         "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
6460                         "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
6461                         "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
6462                         "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
6463                         "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
6464         },
6465 };
6466
6467 static const struct hash_testvec hmac_sha3_224_tv_template[] = {
6468         {
6469                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6470                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6471                           "\x0b\x0b\x0b\x0b",
6472                 .ksize  = 20,
6473                 .plaintext = "Hi There",
6474                 .psize  = 8,
6475                 .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
6476                           "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
6477                           "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
6478                           "\xf3\xc8\x60\xf7",
6479         }, {
6480                 .key    = "Jefe",
6481                 .ksize  = 4,
6482                 .plaintext = "what do ya want for nothing?",
6483                 .psize  = 28,
6484                 .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
6485                           "\x1b\x79\x86\x34\xad\x38\x68\x11"
6486                           "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
6487                           "\xba\xce\x5e\x66",
6488         }, {
6489                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6490                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6491                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6492                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6493                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6494                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6495                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6496                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6497                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6498                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6499                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6500                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6501                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6502                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6503                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6504                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6505                           "\xaa\xaa\xaa",
6506                 .ksize  = 131,
6507                 .plaintext = "Test Using Large"
6508                            "r Than Block-Siz"
6509                            "e Key - Hash Key"
6510                            " First",
6511                 .psize  = 54,
6512                 .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
6513                           "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
6514                           "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
6515                           "\x5f\xb9\x99\x5f",
6516         }, {
6517                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6518                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6519                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6520                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6521                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6522                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6523                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6524                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6525                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6526                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6527                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6528                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6529                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6530                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6531                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6532                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6533                           "\xaa\xaa\xaa",
6534                 .ksize  = 131,
6535                 .plaintext =
6536                           "This is a test u"
6537                           "sing a larger th"
6538                           "an block-size ke"
6539                           "y and a larger t"
6540                           "han block-size d"
6541                           "ata. The key nee"
6542                           "ds to be hashed "
6543                           "before being use"
6544                           "d by the HMAC al"
6545                           "gorithm.",
6546                 .psize  = 152,
6547                 .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
6548                           "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
6549                           "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
6550                           "\x29\xcd\x62\xa0",
6551         },
6552 };
6553
6554 static const struct hash_testvec hmac_sha3_256_tv_template[] = {
6555         {
6556                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6557                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6558                           "\x0b\x0b\x0b\x0b",
6559                 .ksize  = 20,
6560                 .plaintext = "Hi There",
6561                 .psize  = 8,
6562                 .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
6563                           "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
6564                           "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
6565                           "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
6566         }, {
6567                 .key    = "Jefe",
6568                 .ksize  = 4,
6569                 .plaintext = "what do ya want for nothing?",
6570                 .psize  = 28,
6571                 .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
6572                           "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
6573                           "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
6574                           "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
6575         }, {
6576                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6577                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6578                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6579                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6580                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6581                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6582                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6583                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6584                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6585                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6586                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6587                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6588                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6589                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6590                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6591                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6592                           "\xaa\xaa\xaa",
6593                 .ksize  = 131,
6594                 .plaintext = "Test Using Large"
6595                            "r Than Block-Siz"
6596                            "e Key - Hash Key"
6597                            " First",
6598                 .psize  = 54,
6599                 .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
6600                           "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
6601                           "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
6602                           "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
6603         }, {
6604                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6605                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6606                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6607                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6608                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6609                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6610                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6611                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6612                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6613                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6614                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6615                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6616                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6617                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6618                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6619                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6620                           "\xaa\xaa\xaa",
6621                 .ksize  = 131,
6622                 .plaintext =
6623                           "This is a test u"
6624                           "sing a larger th"
6625                           "an block-size ke"
6626                           "y and a larger t"
6627                           "han block-size d"
6628                           "ata. The key nee"
6629                           "ds to be hashed "
6630                           "before being use"
6631                           "d by the HMAC al"
6632                           "gorithm.",
6633                 .psize  = 152,
6634                 .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
6635                           "\x7a\xef\x87\x63\x26\x1e\x49\xad"
6636                           "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
6637                           "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
6638         },
6639 };
6640
6641 static const struct hash_testvec hmac_sha3_384_tv_template[] = {
6642         {
6643                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6644                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6645                           "\x0b\x0b\x0b\x0b",
6646                 .ksize  = 20,
6647                 .plaintext = "Hi There",
6648                 .psize  = 8,
6649                 .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
6650                           "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
6651                           "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
6652                           "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
6653                           "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
6654                           "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
6655         }, {
6656                 .key    = "Jefe",
6657                 .ksize  = 4,
6658                 .plaintext = "what do ya want for nothing?",
6659                 .psize  = 28,
6660                 .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
6661                           "\x67\x64\xd2\xed\x61\x90\x3f\x21"
6662                           "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
6663                           "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
6664                           "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
6665                           "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
6666         }, {
6667                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6668                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6669                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6670                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6671                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6672                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6673                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6674                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6675                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6676                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6677                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6678                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6679                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6680                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6681                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6682                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6683                           "\xaa\xaa\xaa",
6684                 .ksize  = 131,
6685                 .plaintext = "Test Using Large"
6686                            "r Than Block-Siz"
6687                            "e Key - Hash Key"
6688                            " First",
6689                 .psize  = 54,
6690                 .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
6691                           "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
6692                           "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
6693                           "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
6694                           "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
6695                           "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
6696         }, {
6697                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6698                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6699                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6700                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6701                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6702                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6703                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6704                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6705                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6706                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6707                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6708                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6709                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6710                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6711                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6712                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6713                           "\xaa\xaa\xaa",
6714                 .ksize  = 131,
6715                 .plaintext =
6716                           "This is a test u"
6717                           "sing a larger th"
6718                           "an block-size ke"
6719                           "y and a larger t"
6720                           "han block-size d"
6721                           "ata. The key nee"
6722                           "ds to be hashed "
6723                           "before being use"
6724                           "d by the HMAC al"
6725                           "gorithm.",
6726                 .psize  = 152,
6727                 .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
6728                           "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
6729                           "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
6730                           "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
6731                           "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
6732                           "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
6733         },
6734 };
6735
6736 static const struct hash_testvec hmac_sha3_512_tv_template[] = {
6737         {
6738                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6739                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6740                           "\x0b\x0b\x0b\x0b",
6741                 .ksize  = 20,
6742                 .plaintext = "Hi There",
6743                 .psize  = 8,
6744                 .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
6745                           "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
6746                           "\xec\x15\x77\x0a\x7c\xab\xac\x53"
6747                           "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
6748                           "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
6749                           "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
6750                           "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
6751                           "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
6752         }, {
6753                 .key    = "Jefe",
6754                 .ksize  = 4,
6755                 .plaintext = "what do ya want for nothing?",
6756                 .psize  = 28,
6757                 .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
6758                           "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
6759                           "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
6760                           "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
6761                           "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
6762                           "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
6763                           "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
6764                           "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
6765         }, {
6766                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6767                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6768                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6769                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6770                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6771                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6772                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6773                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6774                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6775                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6776                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6777                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6778                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6779                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6780                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6781                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6782                           "\xaa\xaa\xaa",
6783                 .ksize  = 131,
6784                 .plaintext = "Test Using Large"
6785                            "r Than Block-Siz"
6786                            "e Key - Hash Key"
6787                            " First",
6788                 .psize  = 54,
6789                 .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
6790                           "\x90\xed\x69\x11\xa4\xb6\x55\x24"
6791                           "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
6792                           "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
6793                           "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
6794                           "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
6795                           "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
6796                           "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
6797         }, {
6798                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6799                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6800                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6801                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6802                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6803                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6804                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6805                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6806                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6807                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6808                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6809                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6810                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6811                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6812                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6813                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6814                           "\xaa\xaa\xaa",
6815                 .ksize  = 131,
6816                 .plaintext =
6817                           "This is a test u"
6818                           "sing a larger th"
6819                           "an block-size ke"
6820                           "y and a larger t"
6821                           "han block-size d"
6822                           "ata. The key nee"
6823                           "ds to be hashed "
6824                           "before being use"
6825                           "d by the HMAC al"
6826                           "gorithm.",
6827                 .psize  = 152,
6828                 .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
6829                           "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
6830                           "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
6831                           "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
6832                           "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
6833                           "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
6834                           "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
6835                           "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
6836         },
6837 };
6838
6839 /*
6840  * Poly1305 test vectors from RFC7539 A.3.
6841  */
6842
6843 static const struct hash_testvec poly1305_tv_template[] = {
6844         { /* Test Vector #1 */
6845                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
6846                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6847                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6848                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6849                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6850                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6851                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6852                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6853                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6854                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6855                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6856                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
6857                 .psize          = 96,
6858                 .digest         = "\x00\x00\x00\x00\x00\x00\x00\x00"
6859                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
6860         }, { /* Test Vector #2 */
6861                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
6862                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6863                                   "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
6864                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
6865                                   "\x41\x6e\x79\x20\x73\x75\x62\x6d"
6866                                   "\x69\x73\x73\x69\x6f\x6e\x20\x74"
6867                                   "\x6f\x20\x74\x68\x65\x20\x49\x45"
6868                                   "\x54\x46\x20\x69\x6e\x74\x65\x6e"
6869                                   "\x64\x65\x64\x20\x62\x79\x20\x74"
6870                                   "\x68\x65\x20\x43\x6f\x6e\x74\x72"
6871                                   "\x69\x62\x75\x74\x6f\x72\x20\x66"
6872                                   "\x6f\x72\x20\x70\x75\x62\x6c\x69"
6873                                   "\x63\x61\x74\x69\x6f\x6e\x20\x61"
6874                                   "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
6875                                   "\x20\x70\x61\x72\x74\x20\x6f\x66"
6876                                   "\x20\x61\x6e\x20\x49\x45\x54\x46"
6877                                   "\x20\x49\x6e\x74\x65\x72\x6e\x65"
6878                                   "\x74\x2d\x44\x72\x61\x66\x74\x20"
6879                                   "\x6f\x72\x20\x52\x46\x43\x20\x61"
6880                                   "\x6e\x64\x20\x61\x6e\x79\x20\x73"
6881                                   "\x74\x61\x74\x65\x6d\x65\x6e\x74"
6882                                   "\x20\x6d\x61\x64\x65\x20\x77\x69"
6883                                   "\x74\x68\x69\x6e\x20\x74\x68\x65"
6884                                   "\x20\x63\x6f\x6e\x74\x65\x78\x74"
6885                                   "\x20\x6f\x66\x20\x61\x6e\x20\x49"
6886                                   "\x45\x54\x46\x20\x61\x63\x74\x69"
6887                                   "\x76\x69\x74\x79\x20\x69\x73\x20"
6888                                   "\x63\x6f\x6e\x73\x69\x64\x65\x72"
6889                                   "\x65\x64\x20\x61\x6e\x20\x22\x49"
6890                                   "\x45\x54\x46\x20\x43\x6f\x6e\x74"
6891                                   "\x72\x69\x62\x75\x74\x69\x6f\x6e"
6892                                   "\x22\x2e\x20\x53\x75\x63\x68\x20"
6893                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
6894                                   "\x74\x73\x20\x69\x6e\x63\x6c\x75"
6895                                   "\x64\x65\x20\x6f\x72\x61\x6c\x20"
6896                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
6897                                   "\x74\x73\x20\x69\x6e\x20\x49\x45"
6898                                   "\x54\x46\x20\x73\x65\x73\x73\x69"
6899                                   "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
6900                                   "\x77\x65\x6c\x6c\x20\x61\x73\x20"
6901                                   "\x77\x72\x69\x74\x74\x65\x6e\x20"
6902                                   "\x61\x6e\x64\x20\x65\x6c\x65\x63"
6903                                   "\x74\x72\x6f\x6e\x69\x63\x20\x63"
6904                                   "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
6905                                   "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
6906                                   "\x64\x65\x20\x61\x74\x20\x61\x6e"
6907                                   "\x79\x20\x74\x69\x6d\x65\x20\x6f"
6908                                   "\x72\x20\x70\x6c\x61\x63\x65\x2c"
6909                                   "\x20\x77\x68\x69\x63\x68\x20\x61"
6910                                   "\x72\x65\x20\x61\x64\x64\x72\x65"
6911                                   "\x73\x73\x65\x64\x20\x74\x6f",
6912                 .psize          = 407,
6913                 .digest         = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
6914                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
6915         }, { /* Test Vector #3 */
6916                 .plaintext      = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
6917                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
6918                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6919                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6920                                   "\x41\x6e\x79\x20\x73\x75\x62\x6d"
6921                                   "\x69\x73\x73\x69\x6f\x6e\x20\x74"
6922                                   "\x6f\x20\x74\x68\x65\x20\x49\x45"
6923                                   "\x54\x46\x20\x69\x6e\x74\x65\x6e"
6924                                   "\x64\x65\x64\x20\x62\x79\x20\x74"
6925                                   "\x68\x65\x20\x43\x6f\x6e\x74\x72"
6926                                   "\x69\x62\x75\x74\x6f\x72\x20\x66"
6927                                   "\x6f\x72\x20\x70\x75\x62\x6c\x69"
6928                                   "\x63\x61\x74\x69\x6f\x6e\x20\x61"
6929                                   "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
6930                                   "\x20\x70\x61\x72\x74\x20\x6f\x66"
6931                                   "\x20\x61\x6e\x20\x49\x45\x54\x46"
6932                                   "\x20\x49\x6e\x74\x65\x72\x6e\x65"
6933                                   "\x74\x2d\x44\x72\x61\x66\x74\x20"
6934                                   "\x6f\x72\x20\x52\x46\x43\x20\x61"
6935                                   "\x6e\x64\x20\x61\x6e\x79\x20\x73"
6936                                   "\x74\x61\x74\x65\x6d\x65\x6e\x74"
6937                                   "\x20\x6d\x61\x64\x65\x20\x77\x69"
6938                                   "\x74\x68\x69\x6e\x20\x74\x68\x65"
6939                                   "\x20\x63\x6f\x6e\x74\x65\x78\x74"
6940                                   "\x20\x6f\x66\x20\x61\x6e\x20\x49"
6941                                   "\x45\x54\x46\x20\x61\x63\x74\x69"
6942                                   "\x76\x69\x74\x79\x20\x69\x73\x20"
6943                                   "\x63\x6f\x6e\x73\x69\x64\x65\x72"
6944                                   "\x65\x64\x20\x61\x6e\x20\x22\x49"
6945                                   "\x45\x54\x46\x20\x43\x6f\x6e\x74"
6946                                   "\x72\x69\x62\x75\x74\x69\x6f\x6e"
6947                                   "\x22\x2e\x20\x53\x75\x63\x68\x20"
6948                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
6949                                   "\x74\x73\x20\x69\x6e\x63\x6c\x75"
6950                                   "\x64\x65\x20\x6f\x72\x61\x6c\x20"
6951                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
6952                                   "\x74\x73\x20\x69\x6e\x20\x49\x45"
6953                                   "\x54\x46\x20\x73\x65\x73\x73\x69"
6954                                   "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
6955                                   "\x77\x65\x6c\x6c\x20\x61\x73\x20"
6956                                   "\x77\x72\x69\x74\x74\x65\x6e\x20"
6957                                   "\x61\x6e\x64\x20\x65\x6c\x65\x63"
6958                                   "\x74\x72\x6f\x6e\x69\x63\x20\x63"
6959                                   "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
6960                                   "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
6961                                   "\x64\x65\x20\x61\x74\x20\x61\x6e"
6962                                   "\x79\x20\x74\x69\x6d\x65\x20\x6f"
6963                                   "\x72\x20\x70\x6c\x61\x63\x65\x2c"
6964                                   "\x20\x77\x68\x69\x63\x68\x20\x61"
6965                                   "\x72\x65\x20\x61\x64\x64\x72\x65"
6966                                   "\x73\x73\x65\x64\x20\x74\x6f",
6967                 .psize          = 407,
6968                 .digest         = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
6969                                   "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
6970         }, { /* Test Vector #4 */
6971                 .plaintext      = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
6972                                   "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
6973                                   "\x47\x39\x17\xc1\x40\x2b\x80\x09"
6974                                   "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
6975                                   "\x27\x54\x77\x61\x73\x20\x62\x72"
6976                                   "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
6977                                   "\x6e\x64\x20\x74\x68\x65\x20\x73"
6978                                   "\x6c\x69\x74\x68\x79\x20\x74\x6f"
6979                                   "\x76\x65\x73\x0a\x44\x69\x64\x20"
6980                                   "\x67\x79\x72\x65\x20\x61\x6e\x64"
6981                                   "\x20\x67\x69\x6d\x62\x6c\x65\x20"
6982                                   "\x69\x6e\x20\x74\x68\x65\x20\x77"
6983                                   "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
6984                                   "\x20\x6d\x69\x6d\x73\x79\x20\x77"
6985                                   "\x65\x72\x65\x20\x74\x68\x65\x20"
6986                                   "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
6987                                   "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
6988                                   "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
6989                                   "\x72\x61\x74\x68\x73\x20\x6f\x75"
6990                                   "\x74\x67\x72\x61\x62\x65\x2e",
6991                 .psize          = 159,
6992                 .digest         = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
6993                                   "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
6994         }, { /* Test Vector #5 */
6995                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
6996                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6997                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6998                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
6999                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7000                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
7001                 .psize          = 48,
7002                 .digest         = "\x03\x00\x00\x00\x00\x00\x00\x00"
7003                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
7004         }, { /* Test Vector #6 */
7005                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
7006                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7007                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7008                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7009                                   "\x02\x00\x00\x00\x00\x00\x00\x00"
7010                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
7011                 .psize          = 48,
7012                 .digest         = "\x03\x00\x00\x00\x00\x00\x00\x00"
7013                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
7014         }, { /* Test Vector #7 */
7015                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
7016                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7017                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7018                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7019                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7020                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7021                                   "\xf0\xff\xff\xff\xff\xff\xff\xff"
7022                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7023                                   "\x11\x00\x00\x00\x00\x00\x00\x00"
7024                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
7025                 .psize          = 80,
7026                 .digest         = "\x05\x00\x00\x00\x00\x00\x00\x00"
7027                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
7028         }, { /* Test Vector #8 */
7029                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
7030                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7031                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7032                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7033                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7034                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7035                                   "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
7036                                   "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
7037                                   "\x01\x01\x01\x01\x01\x01\x01\x01"
7038                                   "\x01\x01\x01\x01\x01\x01\x01\x01",
7039                 .psize          = 80,
7040                 .digest         = "\x00\x00\x00\x00\x00\x00\x00\x00"
7041                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
7042         }, { /* Test Vector #9 */
7043                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
7044                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7045                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7046                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7047                                   "\xfd\xff\xff\xff\xff\xff\xff\xff"
7048                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
7049                 .psize          = 48,
7050                 .digest         = "\xfa\xff\xff\xff\xff\xff\xff\xff"
7051                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
7052         }, { /* Test Vector #10 */
7053                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
7054                                   "\x04\x00\x00\x00\x00\x00\x00\x00"
7055                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7056                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7057                                   "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
7058                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7059                                   "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
7060                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
7061                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7062                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7063                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
7064                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
7065                 .psize          = 96,
7066                 .digest         = "\x14\x00\x00\x00\x00\x00\x00\x00"
7067                                   "\x55\x00\x00\x00\x00\x00\x00\x00",
7068         }, { /* Test Vector #11 */
7069                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
7070                                   "\x04\x00\x00\x00\x00\x00\x00\x00"
7071                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7072                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7073                                   "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
7074                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7075                                   "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
7076                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
7077                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
7078                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
7079                 .psize          = 80,
7080                 .digest         = "\x13\x00\x00\x00\x00\x00\x00\x00"
7081                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
7082         }, { /* Regression test for overflow in AVX2 implementation */
7083                 .plaintext      = "\xff\xff\xff\xff\xff\xff\xff\xff"
7084                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7085                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7086                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7087                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7088                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7089                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7090                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7091                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7092                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7093                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7094                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7095                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7096                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7097                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7098                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7099                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7100                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7101                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7102                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7103                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7104                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7105                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7106                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7107                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7108                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7109                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7110                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7111                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7112                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7113                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7114                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7115                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7116                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7117                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7118                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7119                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
7120                                   "\xff\xff\xff\xff",
7121                 .psize          = 300,
7122                 .digest         = "\xfb\x5e\x96\xd8\x61\xd5\xc7\xc8"
7123                                   "\x78\xe5\x87\xcc\x2d\x5a\x22\xe1",
7124         }
7125 };
7126
7127 /* NHPoly1305 test vectors from https://github.com/google/adiantum */
7128 static const struct hash_testvec nhpoly1305_tv_template[] = {
7129         {
7130                 .key    = "\xd2\x5d\x4c\xdd\x8d\x2b\x7f\x7a"
7131                           "\xd9\xbe\x71\xec\xd1\x83\x52\xe3"
7132                           "\xe1\xad\xd7\x5c\x0a\x75\x9d\xec"
7133                           "\x1d\x13\x7e\x5d\x71\x07\xc9\xe4"
7134                           "\x57\x2d\x44\x68\xcf\xd8\xd6\xc5"
7135                           "\x39\x69\x7d\x32\x75\x51\x4f\x7e"
7136                           "\xb2\x4c\xc6\x90\x51\x6e\xd9\xd6"
7137                           "\xa5\x8b\x2d\xf1\x94\xf9\xf7\x5e"
7138                           "\x2c\x84\x7b\x41\x0f\x88\x50\x89"
7139                           "\x30\xd9\xa1\x38\x46\x6c\xc0\x4f"
7140                           "\xe8\xdf\xdc\x66\xab\x24\x43\x41"
7141                           "\x91\x55\x29\x65\x86\x28\x5e\x45"
7142                           "\xd5\x2d\xb7\x80\x08\x9a\xc3\xd4"
7143                           "\x9a\x77\x0a\xd4\xef\x3e\xe6\x3f"
7144                           "\x6f\x2f\x9b\x3a\x7d\x12\x1e\x80"
7145                           "\x6c\x44\xa2\x25\xe1\xf6\x60\xe9"
7146                           "\x0d\xaf\xc5\x3c\xa5\x79\xae\x64"
7147                           "\xbc\xa0\x39\xa3\x4d\x10\xe5\x4d"
7148                           "\xd5\xe7\x89\x7a\x13\xee\x06\x78"
7149                           "\xdc\xa4\xdc\x14\x27\xe6\x49\x38"
7150                           "\xd0\xe0\x45\x25\x36\xc5\xf4\x79"
7151                           "\x2e\x9a\x98\x04\xe4\x2b\x46\x52"
7152                           "\x7c\x33\xca\xe2\x56\x51\x50\xe2"
7153                           "\xa5\x9a\xae\x18\x6a\x13\xf8\xd2"
7154                           "\x21\x31\x66\x02\xe2\xda\x8d\x7e"
7155                           "\x41\x19\xb2\x61\xee\x48\x8f\xf1"
7156                           "\x65\x24\x2e\x1e\x68\xce\x05\xd9"
7157                           "\x2a\xcf\xa5\x3a\x57\xdd\x35\x91"
7158                           "\x93\x01\xca\x95\xfc\x2b\x36\x04"
7159                           "\xe6\x96\x97\x28\xf6\x31\xfe\xa3"
7160                           "\x9d\xf6\x6a\x1e\x80\x8d\xdc\xec"
7161                           "\xaf\x66\x11\x13\x02\x88\xd5\x27"
7162                           "\x33\xb4\x1a\xcd\xa3\xf6\xde\x31"
7163                           "\x8e\xc0\x0e\x6c\xd8\x5a\x97\x5e"
7164                           "\xdd\xfd\x60\x69\x38\x46\x3f\x90"
7165                           "\x5e\x97\xd3\x32\x76\xc7\x82\x49"
7166                           "\xfe\xba\x06\x5f\x2f\xa2\xfd\xff"
7167                           "\x80\x05\x40\xe4\x33\x03\xfb\x10"
7168                           "\xc0\xde\x65\x8c\xc9\x8d\x3a\x9d"
7169                           "\xb5\x7b\x36\x4b\xb5\x0c\xcf\x00"
7170                           "\x9c\x87\xe4\x49\xad\x90\xda\x4a"
7171                           "\xdd\xbd\xff\xe2\x32\x57\xd6\x78"
7172                           "\x36\x39\x6c\xd3\x5b\x9b\x88\x59"
7173                           "\x2d\xf0\x46\xe4\x13\x0e\x2b\x35"
7174                           "\x0d\x0f\x73\x8a\x4f\x26\x84\x75"
7175                           "\x88\x3c\xc5\x58\x66\x18\x1a\xb4"
7176                           "\x64\x51\x34\x27\x1b\xa4\x11\xc9"
7177                           "\x6d\x91\x8a\xfa\x32\x60\x9d\xd7"
7178                           "\x87\xe5\xaa\x43\x72\xf8\xda\xd1"
7179                           "\x48\x44\x13\x61\xdc\x8c\x76\x17"
7180                           "\x0c\x85\x4e\xf3\xdd\xa2\x42\xd2"
7181                           "\x74\xc1\x30\x1b\xeb\x35\x31\x29"
7182                           "\x5b\xd7\x4c\x94\x46\x35\xa1\x23"
7183                           "\x50\xf2\xa2\x8e\x7e\x4f\x23\x4f"
7184                           "\x51\xff\xe2\xc9\xa3\x7d\x56\x8b"
7185                           "\x41\xf2\xd0\xc5\x57\x7e\x59\xac"
7186                           "\xbb\x65\xf3\xfe\xf7\x17\xef\x63"
7187                           "\x7c\x6f\x23\xdd\x22\x8e\xed\x84"
7188                           "\x0e\x3b\x09\xb3\xf3\xf4\x8f\xcd"
7189                           "\x37\xa8\xe1\xa7\x30\xdb\xb1\xa2"
7190                           "\x9c\xa2\xdf\x34\x17\x3e\x68\x44"
7191                           "\xd0\xde\x03\x50\xd1\x48\x6b\x20"
7192                           "\xe2\x63\x45\xa5\xea\x87\xc2\x42"
7193                           "\x95\x03\x49\x05\xed\xe0\x90\x29"
7194                           "\x1a\xb8\xcf\x9b\x43\xcf\x29\x7a"
7195                           "\x63\x17\x41\x9f\xe0\xc9\x10\xfd"
7196                           "\x2c\x56\x8c\x08\x55\xb4\xa9\x27"
7197                           "\x0f\x23\xb1\x05\x6a\x12\x46\xc7"
7198                           "\xe1\xfe\x28\x93\x93\xd7\x2f\xdc"
7199                           "\x98\x30\xdb\x75\x8a\xbe\x97\x7a"
7200                           "\x02\xfb\x8c\xba\xbe\x25\x09\xbe"
7201                           "\xce\xcb\xa2\xef\x79\x4d\x0e\x9d"
7202                           "\x1b\x9d\xb6\x39\x34\x38\xfa\x07"
7203                           "\xec\xe8\xfc\x32\x85\x1d\xf7\x85"
7204                           "\x63\xc3\x3c\xc0\x02\x75\xd7\x3f"
7205                           "\xb2\x68\x60\x66\x65\x81\xc6\xb1"
7206                           "\x42\x65\x4b\x4b\x28\xd7\xc7\xaa"
7207                           "\x9b\xd2\xdc\x1b\x01\xe0\x26\x39"
7208                           "\x01\xc1\x52\x14\xd1\x3f\xb7\xe6"
7209                           "\x61\x41\xc7\x93\xd2\xa2\x67\xc6"
7210                           "\xf7\x11\xb5\xf5\xea\xdd\x19\xfb"
7211                           "\x4d\x21\x12\xd6\x7d\xf1\x10\xb0"
7212                           "\x89\x07\xc7\x5a\x52\x73\x70\x2f"
7213                           "\x32\xef\x65\x2b\x12\xb2\xf0\xf5"
7214                           "\x20\xe0\x90\x59\x7e\x64\xf1\x4c"
7215                           "\x41\xb3\xa5\x91\x08\xe6\x5e\x5f"
7216                           "\x05\x56\x76\xb4\xb0\xcd\x70\x53"
7217                           "\x10\x48\x9c\xff\xc2\x69\x55\x24"
7218                           "\x87\xef\x84\xea\xfb\xa7\xbf\xa0"
7219                           "\x91\x04\xad\x4f\x8b\x57\x54\x4b"
7220                           "\xb6\xe9\xd1\xac\x37\x2f\x1d\x2e"
7221                           "\xab\xa5\xa4\xe8\xff\xfb\xd9\x39"
7222                           "\x2f\xb7\xac\xd1\xfe\x0b\x9a\x80"
7223                           "\x0f\xb6\xf4\x36\x39\x90\x51\xe3"
7224                           "\x0a\x2f\xb6\x45\x76\x89\xcd\x61"
7225                           "\xfe\x48\x5f\x75\x1d\x13\x00\x62"
7226                           "\x80\x24\x47\xe7\xbc\x37\xd7\xe3"
7227                           "\x15\xe8\x68\x22\xaf\x80\x6f\x4b"
7228                           "\xa8\x9f\x01\x10\x48\x14\xc3\x02"
7229                           "\x52\xd2\xc7\x75\x9b\x52\x6d\x30"
7230                           "\xac\x13\x85\xc8\xf7\xa3\x58\x4b"
7231                           "\x49\xf7\x1c\x45\x55\x8c\x39\x9a"
7232                           "\x99\x6d\x97\x27\x27\xe6\xab\xdd"
7233                           "\x2c\x42\x1b\x35\xdd\x9d\x73\xbb"
7234                           "\x6c\xf3\x64\xf1\xfb\xb9\xf7\xe6"
7235                           "\x4a\x3c\xc0\x92\xc0\x2e\xb7\x1a"
7236                           "\xbe\xab\xb3\x5a\xe5\xea\xb1\x48"
7237                           "\x58\x13\x53\x90\xfd\xc3\x8e\x54"
7238                           "\xf9\x18\x16\x73\xe8\xcb\x6d\x39"
7239                           "\x0e\xd7\xe0\xfe\xb6\x9f\x43\x97"
7240                           "\xe8\xd0\x85\x56\x83\x3e\x98\x68"
7241                           "\x7f\xbd\x95\xa8\x9a\x61\x21\x8f"
7242                           "\x06\x98\x34\xa6\xc8\xd6\x1d\xf3"
7243                           "\x3d\x43\xa4\x9a\x8c\xe5\xd3\x5a"
7244                           "\x32\xa2\x04\x22\xa4\x19\x1a\x46"
7245                           "\x42\x7e\x4d\xe5\xe0\xe6\x0e\xca"
7246                           "\xd5\x58\x9d\x2c\xaf\xda\x33\x5c"
7247                           "\xb0\x79\x9e\xc9\xfc\xca\xf0\x2f"
7248                           "\xa8\xb2\x77\xeb\x7a\xa2\xdd\x37"
7249                           "\x35\x83\x07\xd6\x02\x1a\xb6\x6c"
7250                           "\x24\xe2\x59\x08\x0e\xfd\x3e\x46"
7251                           "\xec\x40\x93\xf4\x00\x26\x4f\x2a"
7252                           "\xff\x47\x2f\xeb\x02\x92\x26\x5b"
7253                           "\x53\x17\xc2\x8d\x2a\xc7\xa3\x1b"
7254                           "\xcd\xbc\xa7\xe8\xd1\x76\xe3\x80"
7255                           "\x21\xca\x5d\x3b\xe4\x9c\x8f\xa9"
7256                           "\x5b\x7f\x29\x7f\x7c\xd8\xed\x6d"
7257                           "\x8c\xb2\x86\x85\xe7\x77\xf2\x85"
7258                           "\xab\x38\xa9\x9d\xc1\x4e\xc5\x64"
7259                           "\x33\x73\x8b\x59\x03\xad\x05\xdf"
7260                           "\x25\x98\x31\xde\xef\x13\xf1\x9b"
7261                           "\x3c\x91\x9d\x7b\xb1\xfa\xe6\xbf"
7262                           "\x5b\xed\xa5\x55\xe6\xea\x6c\x74"
7263                           "\xf4\xb9\xe4\x45\x64\x72\x81\xc2"
7264                           "\x4c\x28\xd4\xcd\xac\xe2\xde\xf9"
7265                           "\xeb\x5c\xeb\x61\x60\x5a\xe5\x28",
7266                 .ksize  = 1088,
7267                 .plaintext      = "",
7268                 .psize  = 0,
7269                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
7270                           "\x00\x00\x00\x00\x00\x00\x00\x00",
7271         }, {
7272                 .key    = "\x29\x21\x43\xcb\xcb\x13\x07\xde"
7273                           "\xbf\x48\xdf\x8a\x7f\xa2\x84\xde"
7274                           "\x72\x23\x9d\xf5\xf0\x07\xf2\x4c"
7275                           "\x20\x3a\x93\xb9\xcd\x5d\xfe\xcb"
7276                           "\x99\x2c\x2b\x58\xc6\x50\x5f\x94"
7277                           "\x56\xc3\x7c\x0d\x02\x3f\xb8\x5e"
7278                           "\x7b\xc0\x6c\x51\x34\x76\xc0\x0e"
7279                           "\xc6\x22\xc8\x9e\x92\xa0\x21\xc9"
7280                           "\x85\x5c\x7c\xf8\xe2\x64\x47\xc9"
7281                           "\xe4\xa2\x57\x93\xf8\xa2\x69\xcd"
7282                           "\x62\x98\x99\xf4\xd7\x7b\x14\xb1"
7283                           "\xd8\x05\xff\x04\x15\xc9\xe1\x6e"
7284                           "\x9b\xe6\x50\x6b\x0b\x3f\x22\x1f"
7285                           "\x08\xde\x0c\x5b\x08\x7e\xc6\x2f"
7286                           "\x6c\xed\xd6\xb2\x15\xa4\xb3\xf9"
7287                           "\xa7\x46\x38\x2a\xea\x69\xa5\xde"
7288                           "\x02\xc3\x96\x89\x4d\x55\x3b\xed"
7289                           "\x3d\x3a\x85\x77\xbf\x97\x45\x5c"
7290                           "\x9e\x02\x69\xe2\x1b\x68\xbe\x96"
7291                           "\xfb\x64\x6f\x0f\xf6\x06\x40\x67"
7292                           "\xfa\x04\xe3\x55\xfa\xbe\xa4\x60"
7293                           "\xef\x21\x66\x97\xe6\x9d\x5c\x1f"
7294                           "\x62\x37\xaa\x31\xde\xe4\x9c\x28"
7295                           "\x95\xe0\x22\x86\xf4\x4d\xf3\x07"
7296                           "\xfd\x5f\x3a\x54\x2c\x51\x80\x71"
7297                           "\xba\x78\x69\x5b\x65\xab\x1f\x81"
7298                           "\xed\x3b\xff\x34\xa3\xfb\xbc\x73"
7299                           "\x66\x7d\x13\x7f\xdf\x6e\xe2\xe2"
7300                           "\xeb\x4f\x6c\xda\x7d\x33\x57\xd0"
7301                           "\xd3\x7c\x95\x4f\x33\x58\x21\xc7"
7302                           "\xc0\xe5\x6f\x42\x26\xc6\x1f\x5e"
7303                           "\x85\x1b\x98\x9a\xa2\x1e\x55\x77"
7304                           "\x23\xdf\x81\x5e\x79\x55\x05\xfc"
7305                           "\xfb\xda\xee\xba\x5a\xba\xf7\x77"
7306                           "\x7f\x0e\xd3\xe1\x37\xfe\x8d\x2b"
7307                           "\xd5\x3f\xfb\xd0\xc0\x3c\x0b\x3f"
7308                           "\xcf\x3c\x14\xcf\xfb\x46\x72\x4c"
7309                           "\x1f\x39\xe2\xda\x03\x71\x6d\x23"
7310                           "\xef\x93\xcd\x39\xd9\x37\x80\x4d"
7311                           "\x65\x61\xd1\x2c\x03\xa9\x47\x72"
7312                           "\x4d\x1e\x0e\x16\x33\x0f\x21\x17"
7313                           "\xec\x92\xea\x6f\x37\x22\xa4\xd8"
7314                           "\x03\x33\x9e\xd8\x03\x69\x9a\xe8"
7315                           "\xb2\x57\xaf\x78\x99\x05\x12\xab"
7316                           "\x48\x90\x80\xf0\x12\x9b\x20\x64"
7317                           "\x7a\x1d\x47\x5f\xba\x3c\xf9\xc3"
7318                           "\x0a\x0d\x8d\xa1\xf9\x1b\x82\x13"
7319                           "\x3e\x0d\xec\x0a\x83\xc0\x65\xe1"
7320                           "\xe9\x95\xff\x97\xd6\xf2\xe4\xd5"
7321                           "\x86\xc0\x1f\x29\x27\x63\xd7\xde"
7322                           "\xb7\x0a\x07\x99\x04\x2d\xa3\x89"
7323                           "\xa2\x43\xcf\xf3\xe1\x43\xac\x4a"
7324                           "\x06\x97\xd0\x05\x4f\x87\xfa\xf9"
7325                           "\x9b\xbf\x52\x70\xbd\xbc\x6c\xf3"
7326                           "\x03\x13\x60\x41\x28\x09\xec\xcc"
7327                           "\xb1\x1a\xec\xd6\xfb\x6f\x2a\x89"
7328                           "\x5d\x0b\x53\x9c\x59\xc1\x84\x21"
7329                           "\x33\x51\x47\x19\x31\x9c\xd4\x0a"
7330                           "\x4d\x04\xec\x50\x90\x61\xbd\xbc"
7331                           "\x7e\xc8\xd9\x6c\x98\x1d\x45\x41"
7332                           "\x17\x5e\x97\x1c\xc5\xa8\xe8\xea"
7333                           "\x46\x58\x53\xf7\x17\xd5\xad\x11"
7334                           "\xc8\x54\xf5\x7a\x33\x90\xf5\x19"
7335                           "\xba\x36\xb4\xfc\x52\xa5\x72\x3d"
7336                           "\x14\xbb\x55\xa7\xe9\xe3\x12\xf7"
7337                           "\x1c\x30\xa2\x82\x03\xbf\x53\x91"
7338                           "\x2e\x60\x41\x9f\x5b\x69\x39\xf6"
7339                           "\x4d\xc8\xf8\x46\x7a\x7f\xa4\x98"
7340                           "\x36\xff\x06\xcb\xca\xe7\x33\xf2"
7341                           "\xc0\x4a\xf4\x3c\x14\x44\x5f\x6b"
7342                           "\x75\xef\x02\x36\x75\x08\x14\xfd"
7343                           "\x10\x8e\xa5\x58\xd0\x30\x46\x49"
7344                           "\xaf\x3a\xf8\x40\x3d\x35\xdb\x84"
7345                           "\x11\x2e\x97\x6a\xb7\x87\x7f\xad"
7346                           "\xf1\xfa\xa5\x63\x60\xd8\x5e\xbf"
7347                           "\x41\x78\x49\xcf\x77\xbb\x56\xbb"
7348                           "\x7d\x01\x67\x05\x22\xc8\x8f\x41"
7349                           "\xba\x81\xd2\xca\x2c\x38\xac\x76"
7350                           "\x06\xc1\x1a\xc2\xce\xac\x90\x67"
7351                           "\x57\x3e\x20\x12\x5b\xd9\x97\x58"
7352                           "\x65\x05\xb7\x04\x61\x7e\xd8\x3a"
7353                           "\xbf\x55\x3b\x13\xe9\x34\x5a\x37"
7354                           "\x36\xcb\x94\x45\xc5\x32\xb3\xa0"
7355                           "\x0c\x3e\x49\xc5\xd3\xed\xa7\xf0"
7356                           "\x1c\x69\xcc\xea\xcc\x83\xc9\x16"
7357                           "\x95\x72\x4b\xf4\x89\xd5\xb9\x10"
7358                           "\xf6\x2d\x60\x15\xea\x3c\x06\x66"
7359                           "\x9f\x82\xad\x17\xce\xd2\xa4\x48"
7360                           "\x7c\x65\xd9\xf8\x02\x4d\x9b\x4c"
7361                           "\x89\x06\x3a\x34\x85\x48\x89\x86"
7362                           "\xf9\x24\xa9\x54\x72\xdb\x44\x95"
7363                           "\xc7\x44\x1c\x19\x11\x4c\x04\xdc"
7364                           "\x13\xb9\x67\xc8\xc3\x3a\x6a\x50"
7365                           "\xfa\xd1\xfb\xe1\x88\xb6\xf1\xa3"
7366                           "\xc5\x3b\xdc\x38\x45\x16\x26\x02"
7367                           "\x3b\xb8\x8f\x8b\x58\x7d\x23\x04"
7368                           "\x50\x6b\x81\x9f\xae\x66\xac\x6f"
7369                           "\xcf\x2a\x9d\xf1\xfd\x1d\x57\x07"
7370                           "\xbe\x58\xeb\x77\x0c\xe3\xc2\x19"
7371                           "\x14\x74\x1b\x51\x1c\x4f\x41\xf3"
7372                           "\x32\x89\xb3\xe7\xde\x62\xf6\x5f"
7373                           "\xc7\x6a\x4a\x2a\x5b\x0f\x5f\x87"
7374                           "\x9c\x08\xb9\x02\x88\xc8\x29\xb7"
7375                           "\x94\x52\xfa\x52\xfe\xaa\x50\x10"
7376                           "\xba\x48\x75\x5e\x11\x1b\xe6\x39"
7377                           "\xd7\x82\x2c\x87\xf1\x1e\xa4\x38"
7378                           "\x72\x3e\x51\xe7\xd8\x3e\x5b\x7b"
7379                           "\x31\x16\x89\xba\xd6\xad\x18\x5e"
7380                           "\xba\xf8\x12\xb3\xf4\x6c\x47\x30"
7381                           "\xc0\x38\x58\xb3\x10\x8d\x58\x5d"
7382                           "\xb4\xfb\x19\x7e\x41\xc3\x66\xb8"
7383                           "\xd6\x72\x84\xe1\x1a\xc2\x71\x4c"
7384                           "\x0d\x4a\x21\x7a\xab\xa2\xc0\x36"
7385                           "\x15\xc5\xe9\x46\xd7\x29\x17\x76"
7386                           "\x5e\x47\x36\x7f\x72\x05\xa7\xcc"
7387                           "\x36\x63\xf9\x47\x7d\xe6\x07\x3c"
7388                           "\x8b\x79\x1d\x96\x61\x8d\x90\x65"
7389                           "\x7c\xf5\xeb\x4e\x6e\x09\x59\x6d"
7390                           "\x62\x50\x1b\x0f\xe0\xdc\x78\xf2"
7391                           "\x5b\x83\x1a\xa1\x11\x75\xfd\x18"
7392                           "\xd7\xe2\x8d\x65\x14\x21\xce\xbe"
7393                           "\xb5\x87\xe3\x0a\xda\x24\x0a\x64"
7394                           "\xa9\x9f\x03\x8d\x46\x5d\x24\x1a"
7395                           "\x8a\x0c\x42\x01\xca\xb1\x5f\x7c"
7396                           "\xa5\xac\x32\x4a\xb8\x07\x91\x18"
7397                           "\x6f\xb0\x71\x3c\xc9\xb1\xa8\xf8"
7398                           "\x5f\x69\xa5\xa1\xca\x9e\x7a\xaa"
7399                           "\xac\xe9\xc7\x47\x41\x75\x25\xc3"
7400                           "\x73\xe2\x0b\xdd\x6d\x52\x71\xbe"
7401                           "\xc5\xdc\xb4\xe7\x01\x26\x53\x77"
7402                           "\x86\x90\x85\x68\x6b\x7b\x03\x53"
7403                           "\xda\x52\x52\x51\x68\xc8\xf3\xec"
7404                           "\x6c\xd5\x03\x7a\xa3\x0e\xb4\x02"
7405                           "\x5f\x1a\xab\xee\xca\x67\x29\x7b"
7406                           "\xbd\x96\x59\xb3\x8b\x32\x7a\x92"
7407                           "\x9f\xd8\x25\x2b\xdf\xc0\x4c\xda",
7408                 .ksize  = 1088,
7409                 .plaintext      = "\xbc\xda\x81\xa8\x78\x79\x1c\xbf"
7410                           "\x77\x53\xba\x4c\x30\x5b\xb8\x33",
7411                 .psize  = 16,
7412                 .digest = "\x04\xbf\x7f\x6a\xce\x72\xea\x6a"
7413                           "\x79\xdb\xb0\xc9\x60\xf6\x12\xcc",
7414         }, {
7415                 .key    = "\x2e\x77\x1e\x2c\x63\x76\x34\x3f"
7416                           "\x71\x08\x4f\x5a\xe3\x3d\x74\x56"
7417                           "\xc7\x98\x46\x52\xe5\x8a\xba\x0d"
7418                           "\x72\x41\x11\x15\x14\x72\x50\x8a"
7419                           "\xd5\xec\x60\x09\xdd\x71\xcc\xb9"
7420                           "\x59\x81\x65\x2d\x9e\x50\x18\xf3"
7421                           "\x32\xf3\xf1\xe7\x01\x82\x1c\xad"
7422                           "\x88\xa0\x21\x0c\x4b\x80\x5e\x62"
7423                           "\xfc\x81\xec\x52\xaa\xe4\xa5\x86"
7424                           "\xc2\xe6\x03\x11\xdc\x66\x09\x86"
7425                           "\x3c\x3b\xf0\x59\x0f\xb3\xf7\x44"
7426                           "\x24\xb7\x88\xc5\xfc\xc8\x77\x9f"
7427                           "\x8c\x44\xc4\x11\x55\xce\x7a\xa3"
7428                           "\xe0\xa2\xb8\xbf\xb5\x3d\x07\x2c"
7429                           "\x32\xb6\x6c\xfc\xb4\x42\x95\x95"
7430                           "\x98\x32\x81\xc4\xe7\xe2\xd9\x6a"
7431                           "\x87\xf4\xf4\x1e\x74\x7c\xb5\xcd"
7432                           "\x51\x45\x68\x38\x51\xdb\x30\x74"
7433                           "\x11\xe0\xaa\xae\x19\x8f\x15\x55"
7434                           "\xdd\x47\x4a\x35\xb9\x0c\xb4\x4e"
7435                           "\xa9\xce\x2f\xfa\x8f\xc1\x8a\x5e"
7436                           "\x5b\xec\xa5\x81\x3b\xb3\x43\x06"
7437                           "\x24\x81\xf4\x24\xe2\x21\xfa\xcb"
7438                           "\x49\xa8\xf8\xbd\x31\x4a\x5b\x2d"
7439                           "\x64\x0a\x07\xf0\x80\xc9\x0d\x81"
7440                           "\x14\x58\x54\x2b\xba\x22\x31\xba"
7441                           "\xef\x66\xc9\x49\x69\x69\x83\x0d"
7442                           "\xf2\xf9\x80\x9d\x30\x36\xfb\xe3"
7443                           "\xc0\x72\x2b\xcc\x5a\x81\x2c\x5d"
7444                           "\x3b\x5e\xf8\x2b\xd3\x14\x28\x73"
7445                           "\xf9\x1c\x70\xe6\xd8\xbb\xac\x30"
7446                           "\xf9\xd9\xa0\xe2\x33\x7c\x33\x34"
7447                           "\xa5\x6a\x77\x6d\xd5\xaf\xf4\xf3"
7448                           "\xc7\xb3\x0e\x83\x3d\xcb\x01\xcc"
7449                           "\x81\xc0\xf9\x4a\xae\x36\x92\xf7"
7450                           "\x69\x7b\x65\x01\xc3\xc8\xb8\xae"
7451                           "\x16\xd8\x30\xbb\xba\x6d\x78\x6e"
7452                           "\x0d\xf0\x7d\x84\xb7\x87\xda\x28"
7453                           "\x7a\x18\x10\x0b\x29\xec\x29\xf3"
7454                           "\xb0\x7b\xa1\x28\xbf\xbc\x2b\x2c"
7455                           "\x92\x2c\x16\xfb\x02\x39\xf9\xa6"
7456                           "\xa2\x15\x05\xa6\x72\x10\xbc\x62"
7457                           "\x4a\x6e\xb8\xb5\x5d\x59\xae\x3c"
7458                           "\x32\xd3\x68\xd7\x8e\x5a\xcd\x1b"
7459                           "\xef\xf6\xa7\x5e\x10\x51\x15\x4b"
7460                           "\x2c\xe3\xba\x70\x4f\x2c\xa0\x1c"
7461                           "\x7b\x97\xd7\xb2\xa5\x05\x17\xcc"
7462                           "\xf7\x3a\x29\x6f\xd5\x4b\xb8\x24"
7463                           "\xf4\x65\x95\x12\xc0\x86\xd1\x64"
7464                           "\x81\xdf\x46\x55\x0d\x22\x06\x77"
7465                           "\xd8\xca\x8d\xc8\x87\xc3\xfa\xb9"
7466                           "\xe1\x98\x94\xe6\x7b\xed\x65\x66"
7467                           "\x0e\xc7\x25\x15\xee\x4a\xe6\x7e"
7468                           "\xea\x1b\x58\xee\x96\xa0\x75\x9a"
7469                           "\xa3\x00\x9e\x42\xc2\x26\x20\x8c"
7470                           "\x3d\x22\x1f\x94\x3e\x74\x43\x72"
7471                           "\xe9\x1d\xa6\xa1\x6c\xa7\xb8\x03"
7472                           "\xdf\xb9\x7a\xaf\xe9\xe9\x3b\xfe"
7473                           "\xdf\x91\xc1\x01\xa8\xba\x5d\x29"
7474                           "\xa5\xe0\x98\x9b\x13\xe5\x13\x11"
7475                           "\x7c\x04\x3a\xe8\x44\x7e\x78\xfc"
7476                           "\xd6\x96\xa8\xbc\x7d\xc1\x89\x3d"
7477                           "\x75\x64\xa9\x0e\x86\x33\xfb\x73"
7478                           "\xf7\x15\xbc\x2c\x9a\x3f\x29\xce"
7479                           "\x1c\x9d\x10\x4e\x85\xe1\x77\x41"
7480                           "\x01\xe2\xbc\x88\xec\x81\xef\xc2"
7481                           "\x6a\xed\x4f\xf7\xdf\xac\x10\x71"
7482                           "\x94\xed\x71\xa4\x01\xd4\xd6\xbe"
7483                           "\xfe\x3e\xc3\x92\x6a\xf2\x2b\xb5"
7484                           "\xab\x15\x96\xb7\x88\x2c\xc2\xe1"
7485                           "\xb0\x04\x22\xe7\x3d\xa9\xc9\x7d"
7486                           "\x2c\x7c\x21\xff\x97\x86\x6b\x0c"
7487                           "\x2b\x5b\xe0\xb6\x48\x74\x8f\x24"
7488                           "\xef\x8e\xdd\x0f\x2a\x5f\xff\x33"
7489                           "\xf4\x8e\xc5\xeb\x9c\xd7\x2a\x45"
7490                           "\xf3\x50\xf1\xc0\x91\x8f\xc7\xf9"
7491                           "\x97\xc1\x3c\x9c\xf4\xed\x8a\x23"
7492                           "\x61\x5b\x40\x1a\x09\xee\x23\xa8"
7493                           "\x7c\x7a\x96\xe1\x31\x55\x3d\x12"
7494                           "\x04\x1f\x21\x78\x72\xf0\x0f\xa5"
7495                           "\x80\x58\x7c\x2f\x37\xb5\x67\x24"
7496                           "\x2f\xce\xf9\xf6\x86\x9f\xb3\x34"
7497                           "\x0c\xfe\x0a\xaf\x27\xe6\x5e\x0a"
7498                           "\x21\x44\x68\xe1\x5d\x84\x25\xae"
7499                           "\x2c\x5a\x94\x66\x9a\x3f\x0e\x5a"
7500                           "\xd0\x60\x2a\xd5\x3a\x4e\x2f\x40"
7501                           "\x87\xe9\x27\x3e\xee\x92\xe1\x07"
7502                           "\x22\x43\x52\xed\x67\x49\x13\xdd"
7503                           "\x68\xd7\x54\xc2\x76\x72\x7e\x75"
7504                           "\xaf\x24\x98\x5c\xe8\x22\xaa\x35"
7505                           "\x0f\x9a\x1c\x4c\x0b\x43\x68\x99"
7506                           "\x45\xdd\xbf\x82\xa5\x6f\x0a\xef"
7507                           "\x44\x90\x85\xe7\x57\x23\x22\x41"
7508                           "\x2e\xda\x24\x28\x65\x7f\x96\x85"
7509                           "\x9f\x4b\x0d\x43\xb9\xa8\xbd\x84"
7510                           "\xad\x0b\x09\xcc\x2c\x4a\x0c\xec"
7511                           "\x71\x58\xba\xf1\xfc\x49\x4c\xca"
7512                           "\x5c\x5d\xb2\x77\x0c\x99\xae\x1c"
7513                           "\xce\x70\x05\x5b\x73\x6b\x7c\x28"
7514                           "\x3b\xeb\x21\x3f\xa3\x71\xe1\x6a"
7515                           "\xf4\x87\xd0\xbf\x73\xaa\x0b\x0b"
7516                           "\xed\x70\xb3\xd4\xa3\xca\x76\x3a"
7517                           "\xdb\xfa\xd8\x08\x95\xec\xac\x59"
7518                           "\xd0\x79\x90\xc2\x33\x7b\xcc\x28"
7519                           "\x65\xb6\x5f\x92\xc4\xac\x23\x40"
7520                           "\xd1\x20\x44\x1f\xd7\x29\xab\x46"
7521                           "\x79\x32\xc6\x8f\x79\xe5\xaa\x2c"
7522                           "\xa6\x76\x70\x3a\x9e\x46\x3f\x8c"
7523                           "\x1a\x89\x32\x28\x61\x5c\xcf\x93"
7524                           "\x1e\xde\x9e\x98\xbe\x06\x30\x23"
7525                           "\xc4\x8b\xda\x1c\xd1\x67\x46\x93"
7526                           "\x9d\x41\xa2\x8c\x03\x22\xbd\x55"
7527                           "\x7e\x91\x51\x13\xdc\xcf\x5c\x1e"
7528                           "\xcb\x5d\xfb\x14\x16\x1a\x44\x56"
7529                           "\x27\x77\xfd\xed\x7d\xbd\xd1\x49"
7530                           "\x7f\x0d\xc3\x59\x48\x6b\x3c\x02"
7531                           "\x6b\xb5\xd0\x83\xd5\x81\x29\xe7"
7532                           "\xe0\xc9\x36\x23\x8d\x41\x33\x77"
7533                           "\xff\x5f\x54\xde\x4d\x3f\xd2\x4e"
7534                           "\xb6\x4d\xdd\x85\xf8\x9b\x20\x7d"
7535                           "\x39\x27\x68\x63\xd3\x8e\x61\x39"
7536                           "\xfa\xe1\xc3\x04\x74\x27\x5a\x34"
7537                           "\x7f\xec\x59\x2d\xc5\x6e\x54\x23"
7538                           "\xf5\x7b\x4b\xbe\x58\x2b\xf2\x81"
7539                           "\x93\x63\xcc\x13\xd9\x90\xbb\x6a"
7540                           "\x41\x03\x8d\x95\xeb\xbb\x5d\x06"
7541                           "\x38\x4c\x0e\xd6\xa9\x5b\x84\x97"
7542                           "\x3e\x64\x72\xe9\x96\x07\x0f\x73"
7543                           "\x6e\xc6\x3b\x32\xbe\xac\x13\x14"
7544                           "\xd0\x0a\x17\x5f\xb9\x9c\x3e\x34"
7545                           "\xd9\xec\xd6\x8f\x89\xbf\x1e\xd3"
7546                           "\xda\x80\xb2\x29\xff\x28\x96\xb3"
7547                           "\x46\x50\x5b\x15\x80\x97\xee\x1f"
7548                           "\x6c\xd8\xe8\xe0\xbd\x09\xe7\x20"
7549                           "\x8c\x23\x8e\xd9\xbb\x92\xfa\x82"
7550                           "\xaa\x0f\xb5\xf8\x78\x60\x11\xf0",
7551                 .ksize  = 1088,
7552                 .plaintext      = "\x0b\xb2\x31\x2d\xad\xfe\xce\xf9"
7553                           "\xec\x5d\x3d\x64\x5f\x3f\x75\x43"
7554                           "\x05\x5b\x97",
7555                 .psize  = 19,
7556                 .digest = "\x5f\x02\xae\x65\x6c\x13\x21\x67"
7557                           "\x77\x9e\xc4\x43\x58\x68\xde\x8f",
7558         }, {
7559                 .key    = "\x65\x4d\xe3\xf8\xd2\x4c\xac\x28"
7560                           "\x68\xf5\xb3\x81\x71\x4b\xa1\xfa"
7561                           "\x04\x0e\xd3\x81\x36\xbe\x0c\x81"
7562                           "\x5e\xaf\xbc\x3a\xa4\xc0\x8e\x8b"
7563                           "\x55\x63\xd3\x52\x97\x88\xd6\x19"
7564                           "\xbc\x96\xdf\x49\xff\x04\x63\xf5"
7565                           "\x0c\x11\x13\xaa\x9e\x1f\x5a\xf7"
7566                           "\xdd\xbd\x37\x80\xc3\xd0\xbe\xa7"
7567                           "\x05\xc8\x3c\x98\x1e\x05\x3c\x84"
7568                           "\x39\x61\xc4\xed\xed\x71\x1b\xc4"
7569                           "\x74\x45\x2c\xa1\x56\x70\x97\xfd"
7570                           "\x44\x18\x07\x7d\xca\x60\x1f\x73"
7571                           "\x3b\x6d\x21\xcb\x61\x87\x70\x25"
7572                           "\x46\x21\xf1\x1f\x21\x91\x31\x2d"
7573                           "\x5d\xcc\xb7\xd1\x84\x3e\x3d\xdb"
7574                           "\x03\x53\x2a\x82\xa6\x9a\x95\xbc"
7575                           "\x1a\x1e\x0a\x5e\x07\x43\xab\x43"
7576                           "\xaf\x92\x82\x06\x91\x04\x09\xf4"
7577                           "\x17\x0a\x9a\x2c\x54\xdb\xb8\xf4"
7578                           "\xd0\xf0\x10\x66\x24\x8d\xcd\xda"
7579                           "\xfe\x0e\x45\x9d\x6f\xc4\x4e\xf4"
7580                           "\x96\xaf\x13\xdc\xa9\xd4\x8c\xc4"
7581                           "\xc8\x57\x39\x3c\xc2\xd3\x0a\x76"
7582                           "\x4a\x1f\x75\x83\x44\xc7\xd1\x39"
7583                           "\xd8\xb5\x41\xba\x73\x87\xfa\x96"
7584                           "\xc7\x18\x53\xfb\x9b\xda\xa0\x97"
7585                           "\x1d\xee\x60\x85\x9e\x14\xc3\xce"
7586                           "\xc4\x05\x29\x3b\x95\x30\xa3\xd1"
7587                           "\x9f\x82\x6a\x04\xf5\xa7\x75\x57"
7588                           "\x82\x04\xfe\x71\x51\x71\xb1\x49"
7589                           "\x50\xf8\xe0\x96\xf1\xfa\xa8\x88"
7590                           "\x3f\xa0\x86\x20\xd4\x60\x79\x59"
7591                           "\x17\x2d\xd1\x09\xf4\xec\x05\x57"
7592                           "\xcf\x62\x7e\x0e\x7e\x60\x78\xe6"
7593                           "\x08\x60\x29\xd8\xd5\x08\x1a\x24"
7594                           "\xc4\x6c\x24\xe7\x92\x08\x3d\x8a"
7595                           "\x98\x7a\xcf\x99\x0a\x65\x0e\xdc"
7596                           "\x8c\x8a\xbe\x92\x82\x91\xcc\x62"
7597                           "\x30\xb6\xf4\x3f\xc6\x8a\x7f\x12"
7598                           "\x4a\x8a\x49\xfa\x3f\x5c\xd4\x5a"
7599                           "\xa6\x82\xa3\xe6\xaa\x34\x76\xb2"
7600                           "\xab\x0a\x30\xef\x6c\x77\x58\x3f"
7601                           "\x05\x6b\xcc\x5c\xae\xdc\xd7\xb9"
7602                           "\x51\x7e\x8d\x32\x5b\x24\x25\xbe"
7603                           "\x2b\x24\x01\xcf\x80\xda\x16\xd8"
7604                           "\x90\x72\x2c\xad\x34\x8d\x0c\x74"
7605                           "\x02\xcb\xfd\xcf\x6e\xef\x97\xb5"
7606                           "\x4c\xf2\x68\xca\xde\x43\x9e\x8a"
7607                           "\xc5\x5f\x31\x7f\x14\x71\x38\xec"
7608                           "\xbd\x98\xe5\x71\xc4\xb5\xdb\xef"
7609                           "\x59\xd2\xca\xc0\xc1\x86\x75\x01"
7610                           "\xd4\x15\x0d\x6f\xa4\xf7\x7b\x37"
7611                           "\x47\xda\x18\x93\x63\xda\xbe\x9e"
7612                           "\x07\xfb\xb2\x83\xd5\xc4\x34\x55"
7613                           "\xee\x73\xa1\x42\x96\xf9\x66\x41"
7614                           "\xa4\xcc\xd2\x93\x6e\xe1\x0a\xbb"
7615                           "\xd2\xdd\x18\x23\xe6\x6b\x98\x0b"
7616                           "\x8a\x83\x59\x2c\xc3\xa6\x59\x5b"
7617                           "\x01\x22\x59\xf7\xdc\xb0\x87\x7e"
7618                           "\xdb\x7d\xf4\x71\x41\xab\xbd\xee"
7619                           "\x79\xbe\x3c\x01\x76\x0b\x2d\x0a"
7620                           "\x42\xc9\x77\x8c\xbb\x54\x95\x60"
7621                           "\x43\x2e\xe0\x17\x52\xbd\x90\xc9"
7622                           "\xc2\x2c\xdd\x90\x24\x22\x76\x40"
7623                           "\x5c\xb9\x41\xc9\xa1\xd5\xbd\xe3"
7624                           "\x44\xe0\xa4\xab\xcc\xb8\xe2\x32"
7625                           "\x02\x15\x04\x1f\x8c\xec\x5d\x14"
7626                           "\xac\x18\xaa\xef\x6e\x33\x19\x6e"
7627                           "\xde\xfe\x19\xdb\xeb\x61\xca\x18"
7628                           "\xad\xd8\x3d\xbf\x09\x11\xc7\xa5"
7629                           "\x86\x0b\x0f\xe5\x3e\xde\xe8\xd9"
7630                           "\x0a\x69\x9e\x4c\x20\xff\xf9\xc5"
7631                           "\xfa\xf8\xf3\x7f\xa5\x01\x4b\x5e"
7632                           "\x0f\xf0\x3b\x68\xf0\x46\x8c\x2a"
7633                           "\x7a\xc1\x8f\xa0\xfe\x6a\x5b\x44"
7634                           "\x70\x5c\xcc\x92\x2c\x6f\x0f\xbd"
7635                           "\x25\x3e\xb7\x8e\x73\x58\xda\xc9"
7636                           "\xa5\xaa\x9e\xf3\x9b\xfd\x37\x3e"
7637                           "\xe2\x88\xa4\x7b\xc8\x5c\xa8\x93"
7638                           "\x0e\xe7\x9a\x9c\x2e\x95\x18\x9f"
7639                           "\xc8\x45\x0c\x88\x9e\x53\x4f\x3a"
7640                           "\x76\xc1\x35\xfa\x17\xd8\xac\xa0"
7641                           "\x0c\x2d\x47\x2e\x4f\x69\x9b\xf7"
7642                           "\xd0\xb6\x96\x0c\x19\xb3\x08\x01"
7643                           "\x65\x7a\x1f\xc7\x31\x86\xdb\xc8"
7644                           "\xc1\x99\x8f\xf8\x08\x4a\x9d\x23"
7645                           "\x22\xa8\xcf\x27\x01\x01\x88\x93"
7646                           "\x9c\x86\x45\xbd\xe0\x51\xca\x52"
7647                           "\x84\xba\xfe\x03\xf7\xda\xc5\xce"
7648                           "\x3e\x77\x75\x86\xaf\x84\xc8\x05"
7649                           "\x44\x01\x0f\x02\xf3\x58\xb0\x06"
7650                           "\x5a\xd7\x12\x30\x8d\xdf\x1f\x1f"
7651                           "\x0a\xe6\xd2\xea\xf6\x3a\x7a\x99"
7652                           "\x63\xe8\xd2\xc1\x4a\x45\x8b\x40"
7653                           "\x4d\x0a\xa9\x76\x92\xb3\xda\x87"
7654                           "\x36\x33\xf0\x78\xc3\x2f\x5f\x02"
7655                           "\x1a\x6a\x2c\x32\xcd\x76\xbf\xbd"
7656                           "\x5a\x26\x20\x28\x8c\x8c\xbc\x52"
7657                           "\x3d\x0a\xc9\xcb\xab\xa4\x21\xb0"
7658                           "\x54\x40\x81\x44\xc7\xd6\x1c\x11"
7659                           "\x44\xc6\x02\x92\x14\x5a\xbf\x1a"
7660                           "\x09\x8a\x18\xad\xcd\x64\x3d\x53"
7661                           "\x4a\xb6\xa5\x1b\x57\x0e\xef\xe0"
7662                           "\x8c\x44\x5f\x7d\xbd\x6c\xfd\x60"
7663                           "\xae\x02\x24\xb6\x99\xdd\x8c\xaf"
7664                           "\x59\x39\x75\x3c\xd1\x54\x7b\x86"
7665                           "\xcc\x99\xd9\x28\x0c\xb0\x94\x62"
7666                           "\xf9\x51\xd1\x19\x96\x2d\x66\xf5"
7667                           "\x55\xcf\x9e\x59\xe2\x6b\x2c\x08"
7668                           "\xc0\x54\x48\x24\x45\xc3\x8c\x73"
7669                           "\xea\x27\x6e\x66\x7d\x1d\x0e\x6e"
7670                           "\x13\xe8\x56\x65\x3a\xb0\x81\x5c"
7671                           "\xf0\xe8\xd8\x00\x6b\xcd\x8f\xad"
7672                           "\xdd\x53\xf3\xa4\x6c\x43\xd6\x31"
7673                           "\xaf\xd2\x76\x1e\x91\x12\xdb\x3c"
7674                           "\x8c\xc2\x81\xf0\x49\xdb\xe2\x6b"
7675                           "\x76\x62\x0a\x04\xe4\xaa\x8a\x7c"
7676                           "\x08\x0b\x5d\xd0\xee\x1d\xfb\xc4"
7677                           "\x02\x75\x42\xd6\xba\xa7\x22\xa8"
7678                           "\x47\x29\xb7\x85\x6d\x93\x3a\xdb"
7679                           "\x00\x53\x0b\xa2\xeb\xf8\xfe\x01"
7680                           "\x6f\x8a\x31\xd6\x17\x05\x6f\x67"
7681                           "\x88\x95\x32\xfe\x4f\xa6\x4b\xf8"
7682                           "\x03\xe4\xcd\x9a\x18\xe8\x4e\x2d"
7683                           "\xf7\x97\x9a\x0c\x7d\x9f\x7e\x44"
7684                           "\x69\x51\xe0\x32\x6b\x62\x86\x8f"
7685                           "\xa6\x8e\x0b\x21\x96\xe5\xaf\x77"
7686                           "\xc0\x83\xdf\xa5\x0e\xd0\xa1\x04"
7687                           "\xaf\xc1\x10\xcb\x5a\x40\xe4\xe3"
7688                           "\x38\x7e\x07\xe8\x4d\xfa\xed\xc5"
7689                           "\xf0\x37\xdf\xbb\x8a\xcf\x3d\xdc"
7690                           "\x61\xd2\xc6\x2b\xff\x07\xc9\x2f"
7691                           "\x0c\x2d\x5c\x07\xa8\x35\x6a\xfc"
7692                           "\xae\x09\x03\x45\x74\x51\x4d\xc4"
7693                           "\xb8\x23\x87\x4a\x99\x27\x20\x87"
7694                           "\x62\x44\x0a\x4a\xce\x78\x47\x22",
7695                 .ksize  = 1088,
7696                 .plaintext      = "\x8e\xb0\x4c\xde\x9c\x4a\x04\x5a"
7697                           "\xf6\xa9\x7f\x45\x25\xa5\x7b\x3a"
7698                           "\xbc\x4d\x73\x39\x81\xb5\xbd\x3d"
7699                           "\x21\x6f\xd7\x37\x50\x3c\x7b\x28"
7700                           "\xd1\x03\x3a\x17\xed\x7b\x7c\x2a"
7701                           "\x16\xbc\xdf\x19\x89\x52\x71\x31"
7702                           "\xb6\xc0\xfd\xb5\xd3\xba\x96\x99"
7703                           "\xb6\x34\x0b\xd0\x99\x93\xfc\x1a"
7704                           "\x01\x3c\x85\xc6\x9b\x78\x5c\x8b"
7705                           "\xfe\xae\xd2\xbf\xb2\x6f\xf9\xed"
7706                           "\xc8\x25\x17\xfe\x10\x3b\x7d\xda"
7707                           "\xf4\x8d\x35\x4b\x7c\x7b\x82\xe7"
7708                           "\xc2\xb3\xee\x60\x4a\x03\x86\xc9"
7709                           "\x4e\xb5\xc4\xbe\xd2\xbd\x66\xf1"
7710                           "\x13\xf1\x09\xab\x5d\xca\x63\x1f"
7711                           "\xfc\xfb\x57\x2a\xfc\xca\x66\xd8"
7712                           "\x77\x84\x38\x23\x1d\xac\xd3\xb3"
7713                           "\x7a\xad\x4c\x70\xfa\x9c\xc9\x61"
7714                           "\xa6\x1b\xba\x33\x4b\x4e\x33\xec"
7715                           "\xa0\xa1\x64\x39\x40\x05\x1c\xc2"
7716                           "\x3f\x49\x9d\xae\xf2\xc5\xf2\xc5"
7717                           "\xfe\xe8\xf4\xc2\xf9\x96\x2d\x28"
7718                           "\x92\x30\x44\xbc\xd2\x7f\xe1\x6e"
7719                           "\x62\x02\x8f\x3d\x1c\x80\xda\x0e"
7720                           "\x6a\x90\x7e\x75\xff\xec\x3e\xc4"
7721                           "\xcd\x16\x34\x3b\x05\x6d\x4d\x20"
7722                           "\x1c\x7b\xf5\x57\x4f\xfa\x3d\xac"
7723                           "\xd0\x13\x55\xe8\xb3\xe1\x1b\x78"
7724                           "\x30\xe6\x9f\x84\xd4\x69\xd1\x08"
7725                           "\x12\x77\xa7\x4a\xbd\xc0\xf2\xd2"
7726                           "\x78\xdd\xa3\x81\x12\xcb\x6c\x14"
7727                           "\x90\x61\xe2\x84\xc6\x2b\x16\xcc"
7728                           "\x40\x99\x50\x88\x01\x09\x64\x4f"
7729                           "\x0a\x80\xbe\x61\xae\x46\xc9\x0a"
7730                           "\x5d\xe0\xfb\x72\x7a\x1a\xdd\x61"
7731                           "\x63\x20\x05\xa0\x4a\xf0\x60\x69"
7732                           "\x7f\x92\xbc\xbf\x4e\x39\x4d\xdd"
7733                           "\x74\xd1\xb7\xc0\x5a\x34\xb7\xae"
7734                           "\x76\x65\x2e\xbc\x36\xb9\x04\x95"
7735                           "\x42\xe9\x6f\xca\x78\xb3\x72\x07"
7736                           "\xa3\xba\x02\x94\x67\x4c\xb1\xd7"
7737                           "\xe9\x30\x0d\xf0\x3b\xb8\x10\x6d"
7738                           "\xea\x2b\x21\xbf\x74\x59\x82\x97"
7739                           "\x85\xaa\xf1\xd7\x54\x39\xeb\x05"
7740                           "\xbd\xf3\x40\xa0\x97\xe6\x74\xfe"
7741                           "\xb4\x82\x5b\xb1\x36\xcb\xe8\x0d"
7742                           "\xce\x14\xd9\xdf\xf1\x94\x22\xcd"
7743                           "\xd6\x00\xba\x04\x4c\x05\x0c\xc0"
7744                           "\xd1\x5a\xeb\x52\xd5\xa8\x8e\xc8"
7745                           "\x97\xa1\xaa\xc1\xea\xc1\xbe\x7c"
7746                           "\x36\xb3\x36\xa0\xc6\x76\x66\xc5"
7747                           "\xe2\xaf\xd6\x5c\xe2\xdb\x2c\xb3"
7748                           "\x6c\xb9\x99\x7f\xff\x9f\x03\x24"
7749                           "\xe1\x51\x44\x66\xd8\x0c\x5d\x7f"
7750                           "\x5c\x85\x22\x2a\xcf\x6d\x79\x28"
7751                           "\xab\x98\x01\x72\xfe\x80\x87\x5f"
7752                           "\x46\xba\xef\x81\x24\xee\xbf\xb0"
7753                           "\x24\x74\xa3\x65\x97\x12\xc4\xaf"
7754                           "\x8b\xa0\x39\xda\x8a\x7e\x74\x6e"
7755                           "\x1b\x42\xb4\x44\x37\xfc\x59\xfd"
7756                           "\x86\xed\xfb\x8c\x66\x33\xda\x63"
7757                           "\x75\xeb\xe1\xa4\x85\x4f\x50\x8f"
7758                           "\x83\x66\x0d\xd3\x37\xfa\xe6\x9c"
7759                           "\x4f\x30\x87\x35\x18\xe3\x0b\xb7"
7760                           "\x6e\x64\x54\xcd\x70\xb3\xde\x54"
7761                           "\xb7\x1d\xe6\x4c\x4d\x55\x12\x12"
7762                           "\xaf\x5f\x7f\x5e\xee\x9d\xe8\x8e"
7763                           "\x32\x9d\x4e\x75\xeb\xc6\xdd\xaa"
7764                           "\x48\x82\xa4\x3f\x3c\xd7\xd3\xa8"
7765                           "\x63\x9e\x64\xfe\xe3\x97\x00\x62"
7766                           "\xe5\x40\x5d\xc3\xad\x72\xe1\x28"
7767                           "\x18\x50\xb7\x75\xef\xcd\x23\xbf"
7768                           "\x3f\xc0\x51\x36\xf8\x41\xc3\x08"
7769                           "\xcb\xf1\x8d\x38\x34\xbd\x48\x45"
7770                           "\x75\xed\xbc\x65\x7b\xb5\x0c\x9b"
7771                           "\xd7\x67\x7d\x27\xb4\xc4\x80\xd7"
7772                           "\xa9\xb9\xc7\x4a\x97\xaa\xda\xc8"
7773                           "\x3c\x74\xcf\x36\x8f\xe4\x41\xe3"
7774                           "\xd4\xd3\x26\xa7\xf3\x23\x9d\x8f"
7775                           "\x6c\x20\x05\x32\x3e\xe0\xc3\xc8"
7776                           "\x56\x3f\xa7\x09\xb7\xfb\xc7\xf7"
7777                           "\xbe\x2a\xdd\x0f\x06\x7b\x0d\xdd"
7778                           "\xb0\xb4\x86\x17\xfd\xb9\x04\xe5"
7779                           "\xc0\x64\x5d\xad\x2a\x36\x38\xdb"
7780                           "\x24\xaf\x5b\xff\xca\xf9\x41\xe8"
7781                           "\xf9\x2f\x1e\x5e\xf9\xf5\xd5\xf2"
7782                           "\xb2\x88\xca\xc9\xa1\x31\xe2\xe8"
7783                           "\x10\x95\x65\xbf\xf1\x11\x61\x7a"
7784                           "\x30\x1a\x54\x90\xea\xd2\x30\xf6"
7785                           "\xa5\xad\x60\xf9\x4d\x84\x21\x1b"
7786                           "\xe4\x42\x22\xc8\x12\x4b\xb0\x58"
7787                           "\x3e\x9c\x2d\x32\x95\x0a\x8e\xb0"
7788                           "\x0a\x7e\x77\x2f\xe8\x97\x31\x6a"
7789                           "\xf5\x59\xb4\x26\xe6\x37\x12\xc9"
7790                           "\xcb\xa0\x58\x33\x6f\xd5\x55\x55"
7791                           "\x3c\xa1\x33\xb1\x0b\x7e\x2e\xb4"
7792                           "\x43\x2a\x84\x39\xf0\x9c\xf4\x69"
7793                           "\x4f\x1e\x79\xa6\x15\x1b\x87\xbb"
7794                           "\xdb\x9b\xe0\xf1\x0b\xba\xe3\x6e"
7795                           "\xcc\x2f\x49\x19\x22\x29\xfc\x71"
7796                           "\xbb\x77\x38\x18\x61\xaf\x85\x76"
7797                           "\xeb\xd1\x09\xcc\x86\x04\x20\x9a"
7798                           "\x66\x53\x2f\x44\x8b\xc6\xa3\xd2"
7799                           "\x5f\xc7\x79\x82\x66\xa8\x6e\x75"
7800                           "\x7d\x94\xd1\x86\x75\x0f\xa5\x4f"
7801                           "\x3c\x7a\x33\xce\xd1\x6e\x9d\x7b"
7802                           "\x1f\x91\x37\xb8\x37\x80\xfb\xe0"
7803                           "\x52\x26\xd0\x9a\xd4\x48\x02\x41"
7804                           "\x05\xe3\x5a\x94\xf1\x65\x61\x19"
7805                           "\xb8\x88\x4e\x2b\xea\xba\x8b\x58"
7806                           "\x8b\x42\x01\x00\xa8\xfe\x00\x5c"
7807                           "\xfe\x1c\xee\x31\x15\x69\xfa\xb3"
7808                           "\x9b\x5f\x22\x8e\x0d\x2c\xe3\xa5"
7809                           "\x21\xb9\x99\x8a\x8e\x94\x5a\xef"
7810                           "\x13\x3e\x99\x96\x79\x6e\xd5\x42"
7811                           "\x36\x03\xa9\xe2\xca\x65\x4e\x8a"
7812                           "\x8a\x30\xd2\x7d\x74\xe7\xf0\xaa"
7813                           "\x23\x26\xdd\xcb\x82\x39\xfc\x9d"
7814                           "\x51\x76\x21\x80\xa2\xbe\x93\x03"
7815                           "\x47\xb0\xc1\xb6\xdc\x63\xfd\x9f"
7816                           "\xca\x9d\xa5\xca\x27\x85\xe2\xd8"
7817                           "\x15\x5b\x7e\x14\x7a\xc4\x89\xcc"
7818                           "\x74\x14\x4b\x46\xd2\xce\xac\x39"
7819                           "\x6b\x6a\x5a\xa4\x0e\xe3\x7b\x15"
7820                           "\x94\x4b\x0f\x74\xcb\x0c\x7f\xa9"
7821                           "\xbe\x09\x39\xa3\xdd\x56\x5c\xc7"
7822                           "\x99\x56\x65\x39\xf4\x0b\x7d\x87"
7823                           "\xec\xaa\xe3\x4d\x22\x65\x39\x4e",
7824                 .psize  = 1024,
7825                 .digest = "\x64\x3a\xbc\xc3\x3f\x74\x40\x51"
7826                           "\x6e\x56\x01\x1a\x51\xec\x36\xde",
7827         }, {
7828                 .key    = "\x1b\x82\x2e\x1b\x17\x23\xb9\x6d"
7829                           "\xdc\x9c\xda\x99\x07\xe3\x5f\xd8"
7830                           "\xd2\xf8\x43\x80\x8d\x86\x7d\x80"
7831                           "\x1a\xd0\xcc\x13\xb9\x11\x05\x3f"
7832                           "\x7e\xcf\x7e\x80\x0e\xd8\x25\x48"
7833                           "\x8b\xaa\x63\x83\x92\xd0\x72\xf5"
7834                           "\x4f\x67\x7e\x50\x18\x25\xa4\xd1"
7835                           "\xe0\x7e\x1e\xba\xd8\xa7\x6e\xdb"
7836                           "\x1a\xcc\x0d\xfe\x9f\x6d\x22\x35"
7837                           "\xe1\xe6\xe0\xa8\x7b\x9c\xb1\x66"
7838                           "\xa3\xf8\xff\x4d\x90\x84\x28\xbc"
7839                           "\xdc\x19\xc7\x91\x49\xfc\xf6\x33"
7840                           "\xc9\x6e\x65\x7f\x28\x6f\x68\x2e"
7841                           "\xdf\x1a\x75\xe9\xc2\x0c\x96\xb9"
7842                           "\x31\x22\xc4\x07\xc6\x0a\x2f\xfd"
7843                           "\x36\x06\x5f\x5c\xc5\xb1\x3a\xf4"
7844                           "\x5e\x48\xa4\x45\x2b\x88\xa7\xee"
7845                           "\xa9\x8b\x52\xcc\x99\xd9\x2f\xb8"
7846                           "\xa4\x58\x0a\x13\xeb\x71\x5a\xfa"
7847                           "\xe5\x5e\xbe\xf2\x64\xad\x75\xbc"
7848                           "\x0b\x5b\x34\x13\x3b\x23\x13\x9a"
7849                           "\x69\x30\x1e\x9a\xb8\x03\xb8\x8b"
7850                           "\x3e\x46\x18\x6d\x38\xd9\xb3\xd8"
7851                           "\xbf\xf1\xd0\x28\xe6\x51\x57\x80"
7852                           "\x5e\x99\xfb\xd0\xce\x1e\x83\xf7"
7853                           "\xe9\x07\x5a\x63\xa9\xef\xce\xa5"
7854                           "\xfb\x3f\x37\x17\xfc\x0b\x37\x0e"
7855                           "\xbb\x4b\x21\x62\xb7\x83\x0e\xa9"
7856                           "\x9e\xb0\xc4\xad\x47\xbe\x35\xe7"
7857                           "\x51\xb2\xf2\xac\x2b\x65\x7b\x48"
7858                           "\xe3\x3f\x5f\xb6\x09\x04\x0c\x58"
7859                           "\xce\x99\xa9\x15\x2f\x4e\xc1\xf2"
7860                           "\x24\x48\xc0\xd8\x6c\xd3\x76\x17"
7861                           "\x83\x5d\xe6\xe3\xfd\x01\x8e\xf7"
7862                           "\x42\xa5\x04\x29\x30\xdf\xf9\x00"
7863                           "\x4a\xdc\x71\x22\x1a\x33\x15\xb6"
7864                           "\xd7\x72\xfb\x9a\xb8\xeb\x2b\x38"
7865                           "\xea\xa8\x61\xa8\x90\x11\x9d\x73"
7866                           "\x2e\x6c\xce\x81\x54\x5a\x9f\xcd"
7867                           "\xcf\xd5\xbd\x26\x5d\x66\xdb\xfb"
7868                           "\xdc\x1e\x7c\x10\xfe\x58\x82\x10"
7869                           "\x16\x24\x01\xce\x67\x55\x51\xd1"
7870                           "\xdd\x6b\x44\xa3\x20\x8e\xa9\xa6"
7871                           "\x06\xa8\x29\x77\x6e\x00\x38\x5b"
7872                           "\xde\x4d\x58\xd8\x1f\x34\xdf\xf9"
7873                           "\x2c\xac\x3e\xad\xfb\x92\x0d\x72"
7874                           "\x39\xa4\xac\x44\x10\xc0\x43\xc4"
7875                           "\xa4\x77\x3b\xfc\xc4\x0d\x37\xd3"
7876                           "\x05\x84\xda\x53\x71\xf8\x80\xd3"
7877                           "\x34\x44\xdb\x09\xb4\x2b\x8e\xe3"
7878                           "\x00\x75\x50\x9e\x43\x22\x00\x0b"
7879                           "\x7c\x70\xab\xd4\x41\xf1\x93\xcd"
7880                           "\x25\x2d\x84\x74\xb5\xf2\x92\xcd"
7881                           "\x0a\x28\xea\x9a\x49\x02\x96\xcb"
7882                           "\x85\x9e\x2f\x33\x03\x86\x1d\xdc"
7883                           "\x1d\x31\xd5\xfc\x9d\xaa\xc5\xe9"
7884                           "\x9a\xc4\x57\xf5\x35\xed\xf4\x4b"
7885                           "\x3d\x34\xc2\x29\x13\x86\x36\x42"
7886                           "\x5d\xbf\x90\x86\x13\x77\xe5\xc3"
7887                           "\x62\xb4\xfe\x0b\x70\x39\x35\x65"
7888                           "\x02\xea\xf6\xce\x57\x0c\xbb\x74"
7889                           "\x29\xe3\xfd\x60\x90\xfd\x10\x38"
7890                           "\xd5\x4e\x86\xbd\x37\x70\xf0\x97"
7891                           "\xa6\xab\x3b\x83\x64\x52\xca\x66"
7892                           "\x2f\xf9\xa4\xca\x3a\x55\x6b\xb0"
7893                           "\xe8\x3a\x34\xdb\x9e\x48\x50\x2f"
7894                           "\x3b\xef\xfd\x08\x2d\x5f\xc1\x37"
7895                           "\x5d\xbe\x73\xe4\xd8\xe9\xac\xca"
7896                           "\x8a\xaa\x48\x7c\x5c\xf4\xa6\x96"
7897                           "\x5f\xfa\x70\xa6\xb7\x8b\x50\xcb"
7898                           "\xa6\xf5\xa9\xbd\x7b\x75\x4c\x22"
7899                           "\x0b\x19\x40\x2e\xc9\x39\x39\x32"
7900                           "\x83\x03\xa8\xa4\x98\xe6\x8e\x16"
7901                           "\xb9\xde\x08\xc5\xfc\xbf\xad\x39"
7902                           "\xa8\xc7\x93\x6c\x6f\x23\xaf\xc1"
7903                           "\xab\xe1\xdf\xbb\x39\xae\x93\x29"
7904                           "\x0e\x7d\x80\x8d\x3e\x65\xf3\xfd"
7905                           "\x96\x06\x65\x90\xa1\x28\x64\x4b"
7906                           "\x69\xf9\xa8\x84\x27\x50\xfc\x87"
7907                           "\xf7\xbf\x55\x8e\x56\x13\x58\x7b"
7908                           "\x85\xb4\x6a\x72\x0f\x40\xf1\x4f"
7909                           "\x83\x81\x1f\x76\xde\x15\x64\x7a"
7910                           "\x7a\x80\xe4\xc7\x5e\x63\x01\x91"
7911                           "\xd7\x6b\xea\x0b\x9b\xa2\x99\x3b"
7912                           "\x6c\x88\xd8\xfd\x59\x3c\x8d\x22"
7913                           "\x86\x56\xbe\xab\xa1\x37\x08\x01"
7914                           "\x50\x85\x69\x29\xee\x9f\xdf\x21"
7915                           "\x3e\x20\x20\xf5\xb0\xbb\x6b\xd0"
7916                           "\x9c\x41\x38\xec\x54\x6f\x2d\xbd"
7917                           "\x0f\xe1\xbd\xf1\x2b\x6e\x60\x56"
7918                           "\x29\xe5\x7a\x70\x1c\xe2\xfc\x97"
7919                           "\x82\x68\x67\xd9\x3d\x1f\xfb\xd8"
7920                           "\x07\x9f\xbf\x96\x74\xba\x6a\x0e"
7921                           "\x10\x48\x20\xd8\x13\x1e\xb5\x44"
7922                           "\xf2\xcc\xb1\x8b\xfb\xbb\xec\xd7"
7923                           "\x37\x70\x1f\x7c\x55\xd2\x4b\xb9"
7924                           "\xfd\x70\x5e\xa3\x91\x73\x63\x52"
7925                           "\x13\x47\x5a\x06\xfb\x01\x67\xa5"
7926                           "\xc0\xd0\x49\x19\x56\x66\x9a\x77"
7927                           "\x64\xaf\x8c\x25\x91\x52\x87\x0e"
7928                           "\x18\xf3\x5f\x97\xfd\x71\x13\xf8"
7929                           "\x05\xa5\x39\xcc\x65\xd3\xcc\x63"
7930                           "\x5b\xdb\x5f\x7e\x5f\x6e\xad\xc4"
7931                           "\xf4\xa0\xc5\xc2\x2b\x4d\x97\x38"
7932                           "\x4f\xbc\xfa\x33\x17\xb4\x47\xb9"
7933                           "\x43\x24\x15\x8d\xd2\xed\x80\x68"
7934                           "\x84\xdb\x04\x80\xca\x5e\x6a\x35"
7935                           "\x2c\x2c\xe7\xc5\x03\x5f\x54\xb0"
7936                           "\x5e\x4f\x1d\x40\x54\x3d\x78\x9a"
7937                           "\xac\xda\x80\x27\x4d\x15\x4c\x1a"
7938                           "\x6e\x80\xc9\xc4\x3b\x84\x0e\xd9"
7939                           "\x2e\x93\x01\x8c\xc3\xc8\x91\x4b"
7940                           "\xb3\xaa\x07\x04\x68\x5b\x93\xa5"
7941                           "\xe7\xc4\x9d\xe7\x07\xee\xf5\x3b"
7942                           "\x40\x89\xcc\x60\x34\x9d\xb4\x06"
7943                           "\x1b\xef\x92\xe6\xc1\x2a\x7d\x0f"
7944                           "\x81\xaa\x56\xe3\xd7\xed\xa7\xd4"
7945                           "\xa7\x3a\x49\xc4\xad\x81\x5c\x83"
7946                           "\x55\x8e\x91\x54\xb7\x7d\x65\xa5"
7947                           "\x06\x16\xd5\x9a\x16\xc1\xb0\xa2"
7948                           "\x06\xd8\x98\x47\x73\x7e\x73\xa0"
7949                           "\xb8\x23\xb1\x52\xbf\x68\x74\x5d"
7950                           "\x0b\xcb\xfa\x8c\x46\xe3\x24\xe6"
7951                           "\xab\xd4\x69\x8d\x8c\xf2\x8a\x59"
7952                           "\xbe\x48\x46\x50\x8c\x9a\xe8\xe3"
7953                           "\x31\x55\x0a\x06\xed\x4f\xf8\xb7"
7954                           "\x4f\xe3\x85\x17\x30\xbd\xd5\x20"
7955                           "\xe7\x5b\xb2\x32\xcf\x6b\x16\x44"
7956                           "\xd2\xf5\x7e\xd7\xd1\x2f\xee\x64"
7957                           "\x3e\x9d\x10\xef\x27\x35\x43\x64"
7958                           "\x67\xfb\x7a\x7b\xe0\x62\x31\x9a"
7959                           "\x4d\xdf\xa5\xab\xc0\x20\xbb\x01"
7960                           "\xe9\x7b\x54\xf1\xde\xb2\x79\x50"
7961                           "\x6c\x4b\x91\xdb\x7f\xbb\x50\xc1"
7962                           "\x55\x44\x38\x9a\xe0\x9f\xe8\x29"
7963                           "\x6f\x15\xf8\x4e\xa6\xec\xa0\x60",
7964                 .ksize  = 1088,
7965                 .plaintext      = "\x15\x68\x9e\x2f\xad\x15\x52\xdf"
7966                           "\xf0\x42\x62\x24\x2a\x2d\xea\xbf"
7967                           "\xc7\xf3\xb4\x1a\xf5\xed\xb2\x08"
7968                           "\x15\x60\x1c\x00\x77\xbf\x0b\x0e"
7969                           "\xb7\x2c\xcf\x32\x3a\xc7\x01\x77"
7970                           "\xef\xa6\x75\xd0\x29\xc7\x68\x20"
7971                           "\xb2\x92\x25\xbf\x12\x34\xe9\xa4"
7972                           "\xfd\x32\x7b\x3f\x7c\xbd\xa5\x02"
7973                           "\x38\x41\xde\xc9\xc1\x09\xd9\xfc"
7974                           "\x6e\x78\x22\x83\x18\xf7\x50\x8d"
7975                           "\x8f\x9c\x2d\x02\xa5\x30\xac\xff"
7976                           "\xea\x63\x2e\x80\x37\x83\xb0\x58"
7977                           "\xda\x2f\xef\x21\x55\xba\x7b\xb1"
7978                           "\xb6\xed\xf5\xd2\x4d\xaa\x8c\xa9"
7979                           "\xdd\xdb\x0f\xb4\xce\xc1\x9a\xb1"
7980                           "\xc1\xdc\xbd\xab\x86\xc2\xdf\x0b"
7981                           "\xe1\x2c\xf9\xbe\xf6\xd8\xda\x62"
7982                           "\x72\xdd\x98\x09\x52\xc0\xc4\xb6"
7983                           "\x7b\x17\x5c\xf5\xd8\x4b\x88\xd6"
7984                           "\x6b\xbf\x84\x4a\x3f\xf5\x4d\xd2"
7985                           "\x94\xe2\x9c\xff\xc7\x3c\xd9\xc8"
7986                           "\x37\x38\xbc\x8c\xf3\xe7\xb7\xd0"
7987                           "\x1d\x78\xc4\x39\x07\xc8\x5e\x79"
7988                           "\xb6\x5a\x90\x5b\x6e\x97\xc9\xd4"
7989                           "\x82\x9c\xf3\x83\x7a\xe7\x97\xfc"
7990                           "\x1d\xbb\xef\xdb\xce\xe0\x82\xad"
7991                           "\xca\x07\x6c\x54\x62\x6f\x81\xe6"
7992                           "\x7a\x5a\x96\x6e\x80\x3a\xa2\x37"
7993                           "\x6f\xc6\xa4\x29\xc3\x9e\x19\x94"
7994                           "\x9f\xb0\x3e\x38\xfb\x3c\x2b\x7d"
7995                           "\xaa\xb8\x74\xda\x54\x23\x51\x12"
7996                           "\x4b\x96\x36\x8f\x91\x4f\x19\x37"
7997                           "\x83\xc9\xdd\xc7\x1a\x32\x2d\xab"
7998                           "\xc7\x89\xe2\x07\x47\x6c\xe8\xa6"
7999                           "\x70\x6b\x8e\x0c\xda\x5c\x6a\x59"
8000                           "\x27\x33\x0e\xe1\xe1\x20\xe8\xc8"
8001                           "\xae\xdc\xd0\xe3\x6d\xa8\xa6\x06"
8002                           "\x41\xb4\xd4\xd4\xcf\x91\x3e\x06"
8003                           "\xb0\x9a\xf7\xf1\xaa\xa6\x23\x92"
8004                           "\x10\x86\xf0\x94\xd1\x7c\x2e\x07"
8005                           "\x30\xfb\xc5\xd8\xf3\x12\xa9\xe8"
8006                           "\x22\x1c\x97\x1a\xad\x96\xb0\xa1"
8007                           "\x72\x6a\x6b\xb4\xfd\xf7\xe8\xfa"
8008                           "\xe2\x74\xd8\x65\x8d\x35\x17\x4b"
8009                           "\x00\x23\x5c\x8c\x70\xad\x71\xa2"
8010                           "\xca\xc5\x6c\x59\xbf\xb4\xc0\x6d"
8011                           "\x86\x98\x3e\x19\x5a\x90\x92\xb1"
8012                           "\x66\x57\x6a\x91\x68\x7c\xbc\xf3"
8013                           "\xf1\xdb\x94\xf8\x48\xf1\x36\xd8"
8014                           "\x78\xac\x1c\xa9\xcc\xd6\x27\xba"
8015                           "\x91\x54\x22\xf5\xe6\x05\x3f\xcc"
8016                           "\xc2\x8f\x2c\x3b\x2b\xc3\x2b\x2b"
8017                           "\x3b\xb8\xb6\x29\xb7\x2f\x94\xb6"
8018                           "\x7b\xfc\x94\x3e\xd0\x7a\x41\x59"
8019                           "\x7b\x1f\x9a\x09\xa6\xed\x4a\x82"
8020                           "\x9d\x34\x1c\xbd\x4e\x1c\x3a\x66"
8021                           "\x80\x74\x0e\x9a\x4f\x55\x54\x47"
8022                           "\x16\xba\x2a\x0a\x03\x35\x99\xa3"
8023                           "\x5c\x63\x8d\xa2\x72\x8b\x17\x15"
8024                           "\x68\x39\x73\xeb\xec\xf2\xe8\xf5"
8025                           "\x95\x32\x27\xd6\xc4\xfe\xb0\x51"
8026                           "\xd5\x0c\x50\xc5\xcd\x6d\x16\xb3"
8027                           "\xa3\x1e\x95\x69\xad\x78\x95\x06"
8028                           "\xb9\x46\xf2\x6d\x24\x5a\x99\x76"
8029                           "\x73\x6a\x91\xa6\xac\x12\xe1\x28"
8030                           "\x79\xbc\x08\x4e\x97\x00\x98\x63"
8031                           "\x07\x1c\x4e\xd1\x68\xf3\xb3\x81"
8032                           "\xa8\xa6\x5f\xf1\x01\xc9\xc1\xaf"
8033                           "\x3a\x96\xf9\x9d\xb5\x5a\x5f\x8f"
8034                           "\x7e\xc1\x7e\x77\x0a\x40\xc8\x8e"
8035                           "\xfc\x0e\xed\xe1\x0d\xb0\xe5\x5e"
8036                           "\x5e\x6f\xf5\x7f\xab\x33\x7d\xcd"
8037                           "\xf0\x09\x4b\xb2\x11\x37\xdc\x65"
8038                           "\x97\x32\x62\x71\x3a\x29\x54\xb9"
8039                           "\xc7\xa4\xbf\x75\x0f\xf9\x40\xa9"
8040                           "\x8d\xd7\x8b\xa7\xe0\x9a\xbe\x15"
8041                           "\xc6\xda\xd8\x00\x14\x69\x1a\xaf"
8042                           "\x5f\x79\xc3\xf5\xbb\x6c\x2a\x9d"
8043                           "\xdd\x3c\x5f\x97\x21\xe1\x3a\x03"
8044                           "\x84\x6a\xe9\x76\x11\x1f\xd3\xd5"
8045                           "\xf0\x54\x20\x4d\xc2\x91\xc3\xa4"
8046                           "\x36\x25\xbe\x1b\x2a\x06\xb7\xf3"
8047                           "\xd1\xd0\x55\x29\x81\x4c\x83\xa3"
8048                           "\xa6\x84\x1e\x5c\xd1\xd0\x6c\x90"
8049                           "\xa4\x11\xf0\xd7\x63\x6a\x48\x05"
8050                           "\xbc\x48\x18\x53\xcd\xb0\x8d\xdb"
8051                           "\xdc\xfe\x55\x11\x5c\x51\xb3\xab"
8052                           "\xab\x63\x3e\x31\x5a\x8b\x93\x63"
8053                           "\x34\xa9\xba\x2b\x69\x1a\xc0\xe3"
8054                           "\xcb\x41\xbc\xd7\xf5\x7f\x82\x3e"
8055                           "\x01\xa3\x3c\x72\xf4\xfe\xdf\xbe"
8056                           "\xb1\x67\x17\x2b\x37\x60\x0d\xca"
8057                           "\x6f\xc3\x94\x2c\xd2\x92\x6d\x9d"
8058                           "\x75\x18\x77\xaa\x29\x38\x96\xed"
8059                           "\x0e\x20\x70\x92\xd5\xd0\xb4\x00"
8060                           "\xc0\x31\xf2\xc9\x43\x0e\x75\x1d"
8061                           "\x4b\x64\xf2\x1f\xf2\x29\x6c\x7b"
8062                           "\x7f\xec\x59\x7d\x8c\x0d\xd4\xd3"
8063                           "\xac\x53\x4c\xa3\xde\x42\x92\x95"
8064                           "\x6d\xa3\x4f\xd0\xe6\x3d\xe7\xec"
8065                           "\x7a\x4d\x68\xf1\xfe\x67\x66\x09"
8066                           "\x83\x22\xb1\x98\x43\x8c\xab\xb8"
8067                           "\x45\xe6\x6d\xdf\x5e\x50\x71\xce"
8068                           "\xf5\x4e\x40\x93\x2b\xfa\x86\x0e"
8069                           "\xe8\x30\xbd\x82\xcc\x1c\x9c\x5f"
8070                           "\xad\xfd\x08\x31\xbe\x52\xe7\xe6"
8071                           "\xf2\x06\x01\x62\x25\x15\x99\x74"
8072                           "\x33\x51\x52\x57\x3f\x57\x87\x61"
8073                           "\xb9\x7f\x29\x3d\xcd\x92\x5e\xa6"
8074                           "\x5c\x3b\xf1\xed\x5f\xeb\x82\xed"
8075                           "\x56\x7b\x61\xe7\xfd\x02\x47\x0e"
8076                           "\x2a\x15\xa4\xce\x43\x86\x9b\xe1"
8077                           "\x2b\x4c\x2a\xd9\x42\x97\xf7\x9a"
8078                           "\xe5\x47\x46\x48\xd3\x55\x6f\x4d"
8079                           "\xd9\xeb\x4b\xdd\x7b\x21\x2f\xb3"
8080                           "\xa8\x36\x28\xdf\xca\xf1\xf6\xd9"
8081                           "\x10\xf6\x1c\xfd\x2e\x0c\x27\xe0"
8082                           "\x01\xb3\xff\x6d\x47\x08\x4d\xd4"
8083                           "\x00\x25\xee\x55\x4a\xe9\xe8\x5b"
8084                           "\xd8\xf7\x56\x12\xd4\x50\xb2\xe5"
8085                           "\x51\x6f\x34\x63\x69\xd2\x4e\x96"
8086                           "\x4e\xbc\x79\xbf\x18\xae\xc6\x13"
8087                           "\x80\x92\x77\xb0\xb4\x0f\x29\x94"
8088                           "\x6f\x4c\xbb\x53\x11\x36\xc3\x9f"
8089                           "\x42\x8e\x96\x8a\x91\xc8\xe9\xfc"
8090                           "\xfe\xbf\x7c\x2d\x6f\xf9\xb8\x44"
8091                           "\x89\x1b\x09\x53\x0a\x2a\x92\xc3"
8092                           "\x54\x7a\x3a\xf9\xe2\xe4\x75\x87"
8093                           "\xa0\x5e\x4b\x03\x7a\x0d\x8a\xf4"
8094                           "\x55\x59\x94\x2b\x63\x96\x0e\xf5",
8095                 .psize  = 1040,
8096                 .digest = "\xb5\xb9\x08\xb3\x24\x3e\x03\xf0"
8097                           "\xd6\x0b\x57\xbc\x0a\x6d\x89\x59",
8098         }, {
8099                 .key    = "\xf6\x34\x42\x71\x35\x52\x8b\x58"
8100                           "\x02\x3a\x8e\x4a\x8d\x41\x13\xe9"
8101                           "\x7f\xba\xb9\x55\x9d\x73\x4d\xf8"
8102                           "\x3f\x5d\x73\x15\xff\xd3\x9e\x7f"
8103                           "\x20\x2a\x6a\xa8\xd1\xf0\x8f\x12"
8104                           "\x6b\x02\xd8\x6c\xde\xba\x80\x22"
8105                           "\x19\x37\xc8\xd0\x4e\x89\x17\x7c"
8106                           "\x7c\xdd\x88\xfd\x41\xc0\x04\xb7"
8107                           "\x1d\xac\x19\xe3\x20\xc7\x16\xcf"
8108                           "\x58\xee\x1d\x7a\x61\x69\xa9\x12"
8109                           "\x4b\xef\x4f\xb6\x38\xdd\x78\xf8"
8110                           "\x28\xee\x70\x08\xc7\x7c\xcc\xc8"
8111                           "\x1e\x41\xf5\x80\x86\x70\xd0\xf0"
8112                           "\xa3\x87\x6b\x0a\x00\xd2\x41\x28"
8113                           "\x74\x26\xf1\x24\xf3\xd0\x28\x77"
8114                           "\xd7\xcd\xf6\x2d\x61\xf4\xa2\x13"
8115                           "\x77\xb4\x6f\xa0\xf4\xfb\xd6\xb5"
8116                           "\x38\x9d\x5a\x0c\x51\xaf\xad\x63"
8117                           "\x27\x67\x8c\x01\xea\x42\x1a\x66"
8118                           "\xda\x16\x7c\x3c\x30\x0c\x66\x53"
8119                           "\x1c\x88\xa4\x5c\xb2\xe3\x78\x0a"
8120                           "\x13\x05\x6d\xe2\xaf\xb3\xe4\x75"
8121                           "\x00\x99\x58\xee\x76\x09\x64\xaa"
8122                           "\xbb\x2e\xb1\x81\xec\xd8\x0e\xd3"
8123                           "\x0c\x33\x5d\xb7\x98\xef\x36\xb6"
8124                           "\xd2\x65\x69\x41\x70\x12\xdc\x25"
8125                           "\x41\x03\x99\x81\x41\x19\x62\x13"
8126                           "\xd1\x0a\x29\xc5\x8c\xe0\x4c\xf3"
8127                           "\xd6\xef\x4c\xf4\x1d\x83\x2e\x6d"
8128                           "\x8e\x14\x87\xed\x80\xe0\xaa\xd3"
8129                           "\x08\x04\x73\x1a\x84\x40\xf5\x64"
8130                           "\xbd\x61\x32\x65\x40\x42\xfb\xb0"
8131                           "\x40\xf6\x40\x8d\xc7\x7f\x14\xd0"
8132                           "\x83\x99\xaa\x36\x7e\x60\xc6\xbf"
8133                           "\x13\x8a\xf9\x21\xe4\x7e\x68\x87"
8134                           "\xf3\x33\x86\xb4\xe0\x23\x7e\x0a"
8135                           "\x21\xb1\xf5\xad\x67\x3c\x9c\x9d"
8136                           "\x09\xab\xaf\x5f\xba\xe0\xd0\x82"
8137                           "\x48\x22\x70\xb5\x6d\x53\xd6\x0e"
8138                           "\xde\x64\x92\x41\xb0\xd3\xfb\xda"
8139                           "\x21\xfe\xab\xea\x20\xc4\x03\x58"
8140                           "\x18\x2e\x7d\x2f\x03\xa9\x47\x66"
8141                           "\xdf\x7b\xa4\x6b\x34\x6b\x55\x9c"
8142                           "\x4f\xd7\x9c\x47\xfb\xa9\x42\xec"
8143                           "\x5a\x12\xfd\xfe\x76\xa0\x92\x9d"
8144                           "\xfe\x1e\x16\xdd\x24\x2a\xe4\x27"
8145                           "\xd5\xa9\xf2\x05\x4f\x83\xa2\xaf"
8146                           "\xfe\xee\x83\x7a\xad\xde\xdf\x9a"
8147                           "\x80\xd5\x81\x14\x93\x16\x7e\x46"
8148                           "\x47\xc2\x14\xef\x49\x6e\xb9\xdb"
8149                           "\x40\xe8\x06\x6f\x9c\x2a\xfd\x62"
8150                           "\x06\x46\xfd\x15\x1d\x36\x61\x6f"
8151                           "\x77\x77\x5e\x64\xce\x78\x1b\x85"
8152                           "\xbf\x50\x9a\xfd\x67\xa6\x1a\x65"
8153                           "\xad\x5b\x33\x30\xf1\x71\xaa\xd9"
8154                           "\x23\x0d\x92\x24\x5f\xae\x57\xb0"
8155                           "\x24\x37\x0a\x94\x12\xfb\xb5\xb1"
8156                           "\xd3\xb8\x1d\x12\x29\xb0\x80\x24"
8157                           "\x2d\x47\x9f\x96\x1f\x95\xf1\xb1"
8158                           "\xda\x35\xf6\x29\xe0\xe1\x23\x96"
8159                           "\xc7\xe8\x22\x9b\x7c\xac\xf9\x41"
8160                           "\x39\x01\xe5\x73\x15\x5e\x99\xec"
8161                           "\xb4\xc1\xf4\xe7\xa7\x97\x6a\xd5"
8162                           "\x90\x9a\xa0\x1d\xf3\x5a\x8b\x5f"
8163                           "\xdf\x01\x52\xa4\x93\x31\x97\xb0"
8164                           "\x93\x24\xb5\xbc\xb2\x14\x24\x98"
8165                           "\x4a\x8f\x19\x85\xc3\x2d\x0f\x74"
8166                           "\x9d\x16\x13\x80\x5e\x59\x62\x62"
8167                           "\x25\xe0\xd1\x2f\x64\xef\xba\xac"
8168                           "\xcd\x09\x07\x15\x8a\xcf\x73\xb5"
8169                           "\x8b\xc9\xd8\x24\xb0\x53\xd5\x6f"
8170                           "\xe1\x2b\x77\xb1\xc5\xe4\xa7\x0e"
8171                           "\x18\x45\xab\x36\x03\x59\xa8\xbd"
8172                           "\x43\xf0\xd8\x2c\x1a\x69\x96\xbb"
8173                           "\x13\xdf\x6c\x33\x77\xdf\x25\x34"
8174                           "\x5b\xa5\x5b\x8c\xf9\x51\x05\xd4"
8175                           "\x8b\x8b\x44\x87\x49\xfc\xa0\x8f"
8176                           "\x45\x15\x5b\x40\x42\xc4\x09\x92"
8177                           "\x98\x0c\x4d\xf4\x26\x37\x1b\x13"
8178                           "\x76\x01\x93\x8d\x4f\xe6\xed\x18"
8179                           "\xd0\x79\x7b\x3f\x44\x50\xcb\xee"
8180                           "\xf7\x4a\xc9\x9e\xe0\x96\x74\xa7"
8181                           "\xe6\x93\xb2\x53\xca\x55\xa8\xdc"
8182                           "\x1e\x68\x07\x87\xb7\x2e\xc1\x08"
8183                           "\xb2\xa4\x5b\xaf\xc6\xdb\x5c\x66"
8184                           "\x41\x1c\x51\xd9\xb0\x07\x00\x0d"
8185                           "\xf0\x4c\xdc\x93\xde\xa9\x1e\x8e"
8186                           "\xd3\x22\x62\xd8\x8b\x88\x2c\xea"
8187                           "\x5e\xf1\x6e\x14\x40\xc7\xbe\xaa"
8188                           "\x42\x28\xd0\x26\x30\x78\x01\x9b"
8189                           "\x83\x07\xbc\x94\xc7\x57\xa2\x9f"
8190                           "\x03\x07\xff\x16\xff\x3c\x6e\x48"
8191                           "\x0a\xd0\xdd\x4c\xf6\x64\x9a\xf1"
8192                           "\xcd\x30\x12\x82\x2c\x38\xd3\x26"
8193                           "\x83\xdb\xab\x3e\xc6\xf8\xe6\xfa"
8194                           "\x77\x0a\x78\x82\x75\xf8\x63\x51"
8195                           "\x59\xd0\x8d\x24\x9f\x25\xe6\xa3"
8196                           "\x4c\xbc\x34\xfc\xe3\x10\xc7\x62"
8197                           "\xd4\x23\xc8\x3d\xa7\xc6\xa6\x0a"
8198                           "\x4f\x7e\x29\x9d\x6d\xbe\xb5\xf1"
8199                           "\xdf\xa4\x53\xfa\xc0\x23\x0f\x37"
8200                           "\x84\x68\xd0\xb5\xc8\xc6\xae\xf8"
8201                           "\xb7\x8d\xb3\x16\xfe\x8f\x87\xad"
8202                           "\xd0\xc1\x08\xee\x12\x1c\x9b\x1d"
8203                           "\x90\xf8\xd1\x63\xa4\x92\x3c\xf0"
8204                           "\xc7\x34\xd8\xf1\x14\xed\xa3\xbc"
8205                           "\x17\x7e\xd4\x62\x42\x54\x57\x2c"
8206                           "\x3e\x7a\x35\x35\x17\x0f\x0b\x7f"
8207                           "\x81\xa1\x3f\xd0\xcd\xc8\x3b\x96"
8208                           "\xe9\xe0\x4a\x04\xe1\xb6\x3c\xa1"
8209                           "\xd6\xca\xc4\xbd\xb6\xb5\x95\x34"
8210                           "\x12\x9d\xc5\x96\xf2\xdf\xba\x54"
8211                           "\x76\xd1\xb2\x6b\x3b\x39\xe0\xb9"
8212                           "\x18\x62\xfb\xf7\xfc\x12\xf1\x5f"
8213                           "\x7e\xc7\xe3\x59\x4c\xa6\xc2\x3d"
8214                           "\x40\x15\xf9\xa3\x95\x64\x4c\x74"
8215                           "\x8b\x73\x77\x33\x07\xa7\x04\x1d"
8216                           "\x33\x5a\x7e\x8f\xbd\x86\x01\x4f"
8217                           "\x3e\xb9\x27\x6f\xe2\x41\xf7\x09"
8218                           "\x67\xfd\x29\x28\xc5\xe4\xf6\x18"
8219                           "\x4c\x1b\x49\xb2\x9c\x5b\xf6\x81"
8220                           "\x4f\xbb\x5c\xcc\x0b\xdf\x84\x23"
8221                           "\x58\xd6\x28\x34\x93\x3a\x25\x97"
8222                           "\xdf\xb2\xc3\x9e\x97\x38\x0b\x7d"
8223                           "\x10\xb3\x54\x35\x23\x8c\x64\xee"
8224                           "\xf0\xd8\x66\xff\x8b\x22\xd2\x5b"
8225                           "\x05\x16\x3c\x89\xf7\xb1\x75\xaf"
8226                           "\xc0\xae\x6a\x4f\x3f\xaf\x9a\xf4"
8227                           "\xf4\x9a\x24\xd9\x80\x82\xc0\x12"
8228                           "\xde\x96\xd1\xbe\x15\x0b\x8d\x6a"
8229                           "\xd7\x12\xe4\x85\x9f\x83\xc9\xc3"
8230                           "\xff\x0b\xb5\xaf\x3b\xd8\x6d\x67"
8231                           "\x81\x45\xe6\xac\xec\xc1\x7b\x16"
8232                           "\x18\x0a\xce\x4b\xc0\x2e\x76\xbc"
8233                           "\x1b\xfa\xb4\x34\xb8\xfc\x3e\xc8"
8234                           "\x5d\x90\x71\x6d\x7a\x79\xef\x06",
8235                 .ksize  = 1088,
8236                 .plaintext      = "\xaa\x5d\x54\xcb\xea\x1e\x46\x0f"
8237                           "\x45\x87\x70\x51\x8a\x66\x7a\x33"
8238                           "\xb4\x18\xff\xa9\x82\xf9\x45\x4b"
8239                           "\x93\xae\x2e\x7f\xab\x98\xfe\xbf"
8240                           "\x01\xee\xe5\xa0\x37\x8f\x57\xa6"
8241                           "\xb0\x76\x0d\xa4\xd6\x28\x2b\x5d"
8242                           "\xe1\x03\xd6\x1c\x6f\x34\x0d\xe7"
8243                           "\x61\x2d\x2e\xe5\xae\x5d\x47\xc7"
8244                           "\x80\x4b\x18\x8f\xa8\x99\xbc\x28"
8245                           "\xed\x1d\x9d\x86\x7d\xd7\x41\xd1"
8246                           "\xe0\x2b\xe1\x8c\x93\x2a\xa7\x80"
8247                           "\xe1\x07\xa0\xa9\x9f\x8c\x8d\x1a"
8248                           "\x55\xfc\x6b\x24\x7a\xbd\x3e\x51"
8249                           "\x68\x4b\x26\x59\xc8\xa7\x16\xd9"
8250                           "\xb9\x61\x13\xde\x8b\x63\x1c\xf6"
8251                           "\x60\x01\xfb\x08\xb3\x5b\x0a\xbf"
8252                           "\x34\x73\xda\x87\x87\x3d\x6f\x97"
8253                           "\x4a\x0c\xa3\x58\x20\xa2\xc0\x81"
8254                           "\x5b\x8c\xef\xa9\xc2\x01\x1e\x64"
8255                           "\x83\x8c\xbc\x03\xb6\xd0\x29\x9f"
8256                           "\x54\xe2\xce\x8b\xc2\x07\x85\x78"
8257                           "\x25\x38\x96\x4c\xb4\xbe\x17\x4a"
8258                           "\x65\xa6\xfa\x52\x9d\x66\x9d\x65"
8259                           "\x4a\xd1\x01\x01\xf0\xcb\x13\xcc"
8260                           "\xa5\x82\xf3\xf2\x66\xcd\x3f\x9d"
8261                           "\xd1\xaa\xe4\x67\xea\xf2\xad\x88"
8262                           "\x56\x76\xa7\x9b\x59\x3c\xb1\x5d"
8263                           "\x78\xfd\x69\x79\x74\x78\x43\x26"
8264                           "\x7b\xde\x3f\xf1\xf5\x4e\x14\xd9"
8265                           "\x15\xf5\x75\xb5\x2e\x19\xf3\x0c"
8266                           "\x48\x72\xd6\x71\x6d\x03\x6e\xaa"
8267                           "\xa7\x08\xf9\xaa\x70\xa3\x0f\x4d"
8268                           "\x12\x8a\xdd\xe3\x39\x73\x7e\xa7"
8269                           "\xea\x1f\x6d\x06\x26\x2a\xf2\xc5"
8270                           "\x52\xb4\xbf\xfd\x52\x0c\x06\x60"
8271                           "\x90\xd1\xb2\x7b\x56\xae\xac\x58"
8272                           "\x5a\x6b\x50\x2a\xf5\xe0\x30\x3c"
8273                           "\x2a\x98\x0f\x1b\x5b\x0a\x84\x6c"
8274                           "\x31\xae\x92\xe2\xd4\xbb\x7f\x59"
8275                           "\x26\x10\xb9\x89\x37\x68\x26\xbf"
8276                           "\x41\xc8\x49\xc4\x70\x35\x7d\xff"
8277                           "\x2d\x7f\xf6\x8a\x93\x68\x8c\x78"
8278                           "\x0d\x53\xce\x7d\xff\x7d\xfb\xae"
8279                           "\x13\x1b\x75\xc4\x78\xd7\x71\xd8"
8280                           "\xea\xd3\xf4\x9d\x95\x64\x8e\xb4"
8281                           "\xde\xb8\xe4\xa6\x68\xc8\xae\x73"
8282                           "\x58\xaf\xa8\xb0\x5a\x20\xde\x87"
8283                           "\x43\xb9\x0f\xe3\xad\x41\x4b\xd5"
8284                           "\xb7\xad\x16\x00\xa6\xff\xf6\x74"
8285                           "\xbf\x8c\x9f\xb3\x58\x1b\xb6\x55"
8286                           "\xa9\x90\x56\x28\xf0\xb5\x13\x4e"
8287                           "\x9e\xf7\x25\x86\xe0\x07\x7b\x98"
8288                           "\xd8\x60\x5d\x38\x95\x3c\xe4\x22"
8289                           "\x16\x2f\xb2\xa2\xaf\xe8\x90\x17"
8290                           "\xec\x11\x83\x1a\xf4\xa9\x26\xda"
8291                           "\x39\x72\xf5\x94\x61\x05\x51\xec"
8292                           "\xa8\x30\x8b\x2c\x13\xd0\x72\xac"
8293                           "\xb9\xd2\xa0\x4c\x4b\x78\xe8\x6e"
8294                           "\x04\x85\xe9\x04\x49\x82\x91\xff"
8295                           "\x89\xe5\xab\x4c\xaa\x37\x03\x12"
8296                           "\xca\x8b\x74\x10\xfd\x9e\xd9\x7b"
8297                           "\xcb\xdb\x82\x6e\xce\x2e\x33\x39"
8298                           "\xce\xd2\x84\x6e\x34\x71\x51\x6e"
8299                           "\x0d\xd6\x01\x87\xc7\xfa\x0a\xd3"
8300                           "\xad\x36\xf3\x4c\x9f\x96\x5e\x62"
8301                           "\x62\x54\xc3\x03\x78\xd6\xab\xdd"
8302                           "\x89\x73\x55\x25\x30\xf8\xa7\xe6"
8303                           "\x4f\x11\x0c\x7c\x0a\xa1\x2b\x7b"
8304                           "\x3d\x0d\xde\x81\xd4\x9d\x0b\xae"
8305                           "\xdf\x00\xf9\x4c\xb6\x90\x8e\x16"
8306                           "\xcb\x11\xc8\xd1\x2e\x73\x13\x75"
8307                           "\x75\x3e\xaa\xf5\xee\x02\xb3\x18"
8308                           "\xa6\x2d\xf5\x3b\x51\xd1\x1f\x47"
8309                           "\x6b\x2c\xdb\xc4\x10\xe0\xc8\xba"
8310                           "\x9d\xac\xb1\x9d\x75\xd5\x41\x0e"
8311                           "\x7e\xbe\x18\x5b\xa4\x1f\xf8\x22"
8312                           "\x4c\xc1\x68\xda\x6d\x51\x34\x6c"
8313                           "\x19\x59\xec\xb5\xb1\xec\xa7\x03"
8314                           "\xca\x54\x99\x63\x05\x6c\xb1\xac"
8315                           "\x9c\x31\xd6\xdb\xba\x7b\x14\x12"
8316                           "\x7a\xc3\x2f\xbf\x8d\xdc\x37\x46"
8317                           "\xdb\xd2\xbc\xd4\x2f\xab\x30\xd5"
8318                           "\xed\x34\x99\x8e\x83\x3e\xbe\x4c"
8319                           "\x86\x79\x58\xe0\x33\x8d\x9a\xb8"
8320                           "\xa9\xa6\x90\x46\xa2\x02\xb8\xdd"
8321                           "\xf5\xf9\x1a\x5c\x8c\x01\xaa\x6e"
8322                           "\xb4\x22\x12\xf5\x0c\x1b\x9b\x7a"
8323                           "\xc3\x80\xf3\x06\x00\x5f\x30\xd5"
8324                           "\x06\xdb\x7d\x82\xc2\xd4\x0b\x4c"
8325                           "\x5f\xe9\xc5\xf5\xdf\x97\x12\xbf"
8326                           "\x56\xaf\x9b\x69\xcd\xee\x30\xb4"
8327                           "\xa8\x71\xff\x3e\x7d\x73\x7a\xb4"
8328                           "\x0d\xa5\x46\x7a\xf3\xf4\x15\x87"
8329                           "\x5d\x93\x2b\x8c\x37\x64\xb5\xdd"
8330                           "\x48\xd1\xe5\x8c\xae\xd4\xf1\x76"
8331                           "\xda\xf4\xba\x9e\x25\x0e\xad\xa3"
8332                           "\x0d\x08\x7c\xa8\x82\x16\x8d\x90"
8333                           "\x56\x40\x16\x84\xe7\x22\x53\x3a"
8334                           "\x58\xbc\xb9\x8f\x33\xc8\xc2\x84"
8335                           "\x22\xe6\x0d\xe7\xb3\xdc\x5d\xdf"
8336                           "\xd7\x2a\x36\xe4\x16\x06\x07\xd2"
8337                           "\x97\x60\xb2\xf5\x5e\x14\xc9\xfd"
8338                           "\x8b\x05\xd1\xce\xee\x9a\x65\x99"
8339                           "\xb7\xae\x19\xb7\xc8\xbc\xd5\xa2"
8340                           "\x7b\x95\xe1\xcc\xba\x0d\xdc\x8a"
8341                           "\x1d\x59\x52\x50\xaa\x16\x02\x82"
8342                           "\xdf\x61\x33\x2e\x44\xce\x49\xc7"
8343                           "\xe5\xc6\x2e\x76\xcf\x80\x52\xf0"
8344                           "\x3d\x17\x34\x47\x3f\xd3\x80\x48"
8345                           "\xa2\xba\xd5\xc7\x7b\x02\x28\xdb"
8346                           "\xac\x44\xc7\x6e\x05\x5c\xc2\x79"
8347                           "\xb3\x7d\x6a\x47\x77\x66\xf1\x38"
8348                           "\xf0\xf5\x4f\x27\x1a\x31\xca\x6c"
8349                           "\x72\x95\x92\x8e\x3f\xb0\xec\x1d"
8350                           "\xc7\x2a\xff\x73\xee\xdf\x55\x80"
8351                           "\x93\xd2\xbd\x34\xd3\x9f\x00\x51"
8352                           "\xfb\x2e\x41\xba\x6c\x5a\x7c\x17"
8353                           "\x7f\xe6\x70\xac\x8d\x39\x3f\x77"
8354                           "\xe2\x23\xac\x8f\x72\x4e\xe4\x53"
8355                           "\xcc\xf1\x1b\xf1\x35\xfe\x52\xa4"
8356                           "\xd6\xb8\x40\x6b\xc1\xfd\xa0\xa1"
8357                           "\xf5\x46\x65\xc2\x50\xbb\x43\xe2"
8358                           "\xd1\x43\x28\x34\x74\xf5\x87\xa0"
8359                           "\xf2\x5e\x27\x3b\x59\x2b\x3e\x49"
8360                           "\xdf\x46\xee\xaf\x71\xd7\x32\x36"
8361                           "\xc7\x14\x0b\x58\x6e\x3e\x2d\x41"
8362                           "\xfa\x75\x66\x3a\x54\xe0\xb2\xb9"
8363                           "\xaf\xdd\x04\x80\x15\x19\x3f\x6f"
8364                           "\xce\x12\xb4\xd8\xe8\x89\x3c\x05"
8365                           "\x30\xeb\xf3\x3d\xcd\x27\xec\xdc"
8366                           "\x56\x70\x12\xcf\x78\x2b\x77\xbf"
8367                           "\x22\xf0\x1b\x17\x9c\xcc\xd6\x1b"
8368                           "\x2d\x3d\xa0\x3b\xd8\xc9\x70\xa4"
8369                           "\x7a\x3e\x07\xb9\x06\xc3\xfa\xb0"
8370                           "\x33\xee\xc1\xd8\xf6\xe0\xf0\xb2"
8371                           "\x61\x12\x69\xb0\x5f\x28\x99\xda"
8372                           "\xc3\x61\x48\xfa\x07\x16\x03\xc4"
8373                           "\xa8\xe1\x3c\xe8\x0e\x64\x15\x30"
8374                           "\xc1\x9d\x84\x2f\x73\x98\x0e\x3a"
8375                           "\xf2\x86\x21\xa4\x9e\x1d\xb5\x86"
8376                           "\x16\xdb\x2b\x9a\x06\x64\x8e\x79"
8377                           "\x8d\x76\x3e\xc3\xc2\x64\x44\xe3"
8378                           "\xda\xbc\x1a\x52\xd7\x61\x03\x65"
8379                           "\x54\x32\x77\x01\xed\x9d\x8a\x43"
8380                           "\x25\x24\xe3\xc1\xbe\xb8\x2f\xcb"
8381                           "\x89\x14\x64\xab\xf6\xa0\x6e\x02"
8382                           "\x57\xe4\x7d\xa9\x4e\x9a\x03\x36"
8383                           "\xad\xf1\xb1\xfc\x0b\xe6\x79\x51"
8384                           "\x9f\x81\x77\xc4\x14\x78\x9d\xbf"
8385                           "\xb6\xd6\xa3\x8c\xba\x0b\x26\xe7"
8386                           "\xc8\xb9\x5c\xcc\xe1\x5f\xd5\xc6"
8387                           "\xc4\xca\xc2\xa3\x45\xba\x94\x13"
8388                           "\xb2\x8f\xc3\x54\x01\x09\xe7\x8b"
8389                           "\xda\x2a\x0a\x11\x02\x43\xcb\x57"
8390                           "\xc9\xcc\xb5\x5c\xab\xc4\xec\x54"
8391                           "\x00\x06\x34\xe1\x6e\x03\x89\x7c"
8392                           "\xc6\xfb\x6a\xc7\x60\x43\xd6\xc5"
8393                           "\xb5\x68\x72\x89\x8f\x42\xc3\x74"
8394                           "\xbd\x25\xaa\x9f\x67\xb5\xdf\x26"
8395                           "\x20\xe8\xb7\x01\x3c\xe4\x77\xce"
8396                           "\xc4\x65\xa7\x23\x79\xea\x33\xc7"
8397                           "\x82\x14\x5c\x82\xf2\x4e\x3d\xf6"
8398                           "\xc6\x4a\x0e\x29\xbb\xec\x44\xcd"
8399                           "\x2f\xd1\x4f\x21\x71\xa9\xce\x0f"
8400                           "\x5c\xf2\x72\x5c\x08\x2e\x21\xd2"
8401                           "\xc3\x29\x13\xd8\xac\xc3\xda\x13"
8402                           "\x1a\x9d\xa7\x71\x1d\x27\x1d\x27"
8403                           "\x1d\xea\xab\x44\x79\xad\xe5\xeb"
8404                           "\xef\x1f\x22\x0a\x44\x4f\xcb\x87"
8405                           "\xa7\x58\x71\x0e\x66\xf8\x60\xbf"
8406                           "\x60\x74\x4a\xb4\xec\x2e\xfe\xd3"
8407                           "\xf5\xb8\xfe\x46\x08\x50\x99\x6c"
8408                           "\x66\xa5\xa8\x34\x44\xb5\xe5\xf0"
8409                           "\xdd\x2c\x67\x4e\x35\x96\x8e\x67"
8410                           "\x48\x3f\x5f\x37\x44\x60\x51\x2e"
8411                           "\x14\x91\x5e\x57\xc3\x0e\x79\x77"
8412                           "\x2f\x03\xf4\xe2\x1c\x72\xbf\x85"
8413                           "\x5d\xd3\x17\xdf\x6c\xc5\x70\x24"
8414                           "\x42\xdf\x51\x4e\x2a\xb2\xd2\x5b"
8415                           "\x9e\x69\x83\x41\x11\xfe\x73\x22"
8416                           "\xde\x8a\x9e\xd8\x8a\xfb\x20\x38"
8417                           "\xd8\x47\x6f\xd5\xed\x8f\x41\xfd"
8418                           "\x13\x7a\x18\x03\x7d\x0f\xcd\x7d"
8419                           "\xa6\x7d\x31\x9e\xf1\x8f\x30\xa3"
8420                           "\x8b\x4c\x24\xb7\xf5\x48\xd7\xd9"
8421                           "\x12\xe7\x84\x97\x5c\x31\x6d\xfb"
8422                           "\xdf\xf3\xd3\xd1\xd5\x0c\x30\x06"
8423                           "\x01\x6a\xbc\x6c\x78\x7b\xa6\x50"
8424                           "\xfa\x0f\x3c\x42\x2d\xa5\xa3\x3b"
8425                           "\xcf\x62\x50\xff\x71\x6d\xe7\xda"
8426                           "\x27\xab\xc6\x67\x16\x65\x68\x64"
8427                           "\xc7\xd5\x5f\x81\xa9\xf6\x65\xb3"
8428                           "\x5e\x43\x91\x16\xcd\x3d\x55\x37"
8429                           "\x55\xb3\xf0\x28\xc5\x54\x19\xc0"
8430                           "\xe0\xd6\x2a\x61\xd4\xc8\x72\x51"
8431                           "\xe9\xa1\x7b\x48\x21\xad\x44\x09"
8432                           "\xe4\x01\x61\x3c\x8a\x5b\xf9\xa1"
8433                           "\x6e\x1b\xdf\xc0\x04\xa8\x8b\xf2"
8434                           "\x21\xbe\x34\x7b\xfc\xa1\xcd\xc9"
8435                           "\xa9\x96\xf4\xa4\x4c\xf7\x4e\x8f"
8436                           "\x84\xcc\xd3\xa8\x92\x77\x8f\x36"
8437                           "\xe2\x2e\x8c\x33\xe8\x84\xa6\x0c"
8438                           "\x6c\x8a\xda\x14\x32\xc2\x96\xff"
8439                           "\xc6\x4a\xc2\x9b\x30\x7f\xd1\x29"
8440                           "\xc0\xd5\x78\x41\x00\x80\x80\x03"
8441                           "\x2a\xb1\xde\x26\x03\x48\x49\xee"
8442                           "\x57\x14\x76\x51\x3c\x36\x5d\x0a"
8443                           "\x5c\x9f\xe8\xd8\x53\xdb\x4f\xd4"
8444                           "\x38\xbf\x66\xc9\x75\x12\x18\x75"
8445                           "\x34\x2d\x93\x22\x96\x51\x24\x6e"
8446                           "\x4e\xd9\x30\xea\x67\xff\x92\x1c"
8447                           "\x16\x26\xe9\xb5\x33\xab\x8c\x22"
8448                           "\x47\xdb\xa0\x2c\x08\xf0\x12\x69"
8449                           "\x7e\x93\x52\xda\xa5\xe5\xca\xc1"
8450                           "\x0f\x55\x2a\xbd\x09\x30\x88\x1b"
8451                           "\x9c\xc6\x9f\xe6\xdb\xa6\x92\xeb"
8452                           "\xf4\xbd\x5c\xc4\xdb\xc6\x71\x09"
8453                           "\xab\x5e\x48\x0c\xed\x6f\xda\x8e"
8454                           "\x8d\x0c\x98\x71\x7d\x10\xd0\x9c"
8455                           "\x20\x9b\x79\x53\x26\x5d\xb9\x85"
8456                           "\x8a\x31\xb8\xc5\x1c\x97\xde\x88"
8457                           "\x61\x55\x7f\x7c\x21\x06\xea\xc4"
8458                           "\x5f\xaf\xf2\xf0\xd5\x5e\x7d\xb4"
8459                           "\x6e\xcf\xe9\xae\x1b\x0e\x11\x80"
8460                           "\xc1\x9a\x74\x7e\x52\x6f\xa0\xb7"
8461                           "\x24\xcd\x8d\x0a\x11\x40\x63\x72"
8462                           "\xfa\xe2\xc5\xb3\x94\xef\x29\xa2"
8463                           "\x1a\x23\x43\x04\x37\x55\x0d\xe9"
8464                           "\x83\xb2\x29\x51\x49\x64\xa0\xbd"
8465                           "\xde\x73\xfd\xa5\x7c\x95\x70\x62"
8466                           "\x58\xdc\xe2\xd0\xbf\x98\xf5\x8a"
8467                           "\x6a\xfd\xce\xa8\x0e\x42\x2a\xeb"
8468                           "\xd2\xff\x83\x27\x53\x5c\xa0\x6e"
8469                           "\x93\xef\xe2\xb9\x5d\x35\xd6\x98"
8470                           "\xf6\x71\x19\x7a\x54\xa1\xa7\xe8"
8471                           "\x09\xfe\xf6\x9e\xc7\xbd\x3e\x29"
8472                           "\xbd\x6b\x17\xf4\xe7\x3e\x10\x5c"
8473                           "\xc1\xd2\x59\x4f\x4b\x12\x1a\x5b"
8474                           "\x50\x80\x59\xb9\xec\x13\x66\xa8"
8475                           "\xd2\x31\x7b\x6a\x61\x22\xdd\x7d"
8476                           "\x61\xee\x87\x16\x46\x9f\xf9\xc7"
8477                           "\x41\xee\x74\xf8\xd0\x96\x2c\x76"
8478                           "\x2a\xac\x7d\x6e\x9f\x0e\x7f\x95"
8479                           "\xfe\x50\x16\xb2\x23\xca\x62\xd5"
8480                           "\x68\xcf\x07\x3f\x3f\x97\x85\x2a"
8481                           "\x0c\x25\x45\xba\xdb\x32\xcb\x83"
8482                           "\x8c\x4f\xe0\x6d\x9a\x99\xf9\xc9"
8483                           "\xda\xd4\x19\x31\xc1\x7c\x6d\xd9"
8484                           "\x9c\x56\xd3\xec\xc1\x81\x4c\xed"
8485                           "\x28\x9d\x87\xeb\x19\xd7\x1a\x4f"
8486                           "\x04\x6a\xcb\x1f\xcf\x1f\xa2\x16"
8487                           "\xfc\x2a\x0d\xa1\x14\x2d\xfa\xc5"
8488                           "\x5a\xd2\xc5\xf9\x19\x7c\x20\x1f"
8489                           "\x2d\x10\xc0\x66\x7c\xd9\x2d\xe5"
8490                           "\x88\x70\x59\xa7\x85\xd5\x2e\x7c"
8491                           "\x5c\xe3\xb7\x12\xd6\x97\x3f\x29",
8492                 .psize  = 2048,
8493                 .digest = "\x37\x90\x92\xc2\xeb\x01\x87\xd9"
8494                           "\x95\xc7\x91\xc3\x17\x8b\x38\x52",
8495         }
8496 };
8497
8498
8499 /*
8500  * DES test vectors.
8501  */
8502 static const struct cipher_testvec des_tv_template[] = {
8503         { /* From Applied Cryptography */
8504                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8505                 .klen   = 8,
8506                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
8507                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
8508                 .len    = 8,
8509         }, { /* Same key, different plaintext block */
8510                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8511                 .klen   = 8,
8512                 .ptext  = "\x22\x33\x44\x55\x66\x77\x88\x99",
8513                 .ctext  = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
8514                 .len    = 8,
8515         }, { /* Sbox test from NBS */
8516                 .key    = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
8517                 .klen   = 8,
8518                 .ptext  = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
8519                 .ctext  = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
8520                 .len    = 8,
8521         }, { /* Three blocks */
8522                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8523                 .klen   = 8,
8524                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
8525                           "\x22\x33\x44\x55\x66\x77\x88\x99"
8526                           "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
8527                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
8528                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
8529                           "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
8530                 .len    = 24,
8531         }, { /* Weak key */
8532                 .setkey_error = -EINVAL,
8533                 .wk     = 1,
8534                 .key    = "\x01\x01\x01\x01\x01\x01\x01\x01",
8535                 .klen   = 8,
8536                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
8537                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
8538                 .len    = 8,
8539         }, { /* Two blocks -- for testing encryption across pages */
8540                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8541                 .klen   = 8,
8542                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
8543                           "\x22\x33\x44\x55\x66\x77\x88\x99",
8544                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
8545                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
8546                 .len    = 16,
8547         }, {
8548                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8549                 .klen   = 8,
8550                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
8551                           "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
8552                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
8553                           "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
8554                 .len    = 16,
8555         }, { /* Four blocks -- for testing encryption with chunking */
8556                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8557                 .klen   = 8,
8558                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
8559                           "\x22\x33\x44\x55\x66\x77\x88\x99"
8560                           "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
8561                           "\x22\x33\x44\x55\x66\x77\x88\x99",
8562                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
8563                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
8564                           "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
8565                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
8566                 .len    = 32,
8567         }, { /* Generated with Crypto++ */
8568                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
8569                 .klen   = 8,
8570                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
8571                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
8572                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
8573                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
8574                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
8575                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
8576                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
8577                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
8578                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
8579                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
8580                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
8581                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
8582                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
8583                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
8584                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
8585                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
8586                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
8587                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
8588                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
8589                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
8590                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
8591                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
8592                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
8593                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
8594                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
8595                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
8596                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
8597                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
8598                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
8599                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
8600                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
8601                 .ctext  = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
8602                           "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
8603                           "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
8604                           "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
8605                           "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
8606                           "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
8607                           "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
8608                           "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
8609                           "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
8610                           "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
8611                           "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
8612                           "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
8613                           "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
8614                           "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
8615                           "\x2E\x51\x16\xCA\x09\x89\x54\x62"
8616                           "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
8617                           "\x62\xF0\x02\x58\x83\xAF\x30\x87"
8618                           "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
8619                           "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
8620                           "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
8621                           "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
8622                           "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
8623                           "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
8624                           "\xE9\x95\x61\x74\x12\xED\x07\xD7"
8625                           "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
8626                           "\x51\x96\x16\xF7\x94\x61\xB8\x87"
8627                           "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
8628                           "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
8629                           "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
8630                           "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
8631                           "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
8632                 .len    = 248,
8633         },
8634 };
8635
8636 static const struct cipher_testvec des_cbc_tv_template[] = {
8637         { /* From OpenSSL */
8638                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8639                 .klen   = 8,
8640                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8641                 .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
8642                 .ptext  = "\x37\x36\x35\x34\x33\x32\x31\x20"
8643                           "\x4e\x6f\x77\x20\x69\x73\x20\x74"
8644                           "\x68\x65\x20\x74\x69\x6d\x65\x20",
8645                 .ctext  = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
8646                           "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
8647                           "\x46\x8e\x91\x15\x78\x88\xba\x68",
8648                 .len    = 24,
8649         }, { /* FIPS Pub 81 */
8650                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8651                 .klen   = 8,
8652                 .iv     = "\x12\x34\x56\x78\x90\xab\xcd\xef",
8653                 .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
8654                 .ptext  = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
8655                 .ctext  = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
8656                 .len    = 8,
8657         }, {
8658                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8659                 .klen   = 8,
8660                 .iv     = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
8661                 .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
8662                 .ptext  = "\x68\x65\x20\x74\x69\x6d\x65\x20",
8663                 .ctext  = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
8664                 .len    = 8,
8665         }, {
8666                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8667                 .klen   = 8,
8668                 .iv     = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
8669                 .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
8670                 .ptext  = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
8671                 .ctext  = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
8672                 .len    = 8,
8673         }, { /* Generated with Crypto++ */
8674                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
8675                 .klen   = 8,
8676                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
8677                 .iv_out =  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
8678                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
8679                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
8680                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
8681                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
8682                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
8683                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
8684                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
8685                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
8686                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
8687                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
8688                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
8689                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
8690                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
8691                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
8692                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
8693                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
8694                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
8695                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
8696                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
8697                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
8698                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
8699                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
8700                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
8701                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
8702                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
8703                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
8704                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
8705                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
8706                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
8707                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
8708                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
8709                 .ctext  = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
8710                           "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
8711                           "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
8712                           "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
8713                           "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
8714                           "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
8715                           "\x81\x72\x74\xDE\x30\x19\x69\x49"
8716                           "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
8717                           "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
8718                           "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
8719                           "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
8720                           "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
8721                           "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
8722                           "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
8723                           "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
8724                           "\x49\x90\x88\x6A\x09\x8F\x76\x59"
8725                           "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
8726                           "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
8727                           "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
8728                           "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
8729                           "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
8730                           "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
8731                           "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
8732                           "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
8733                           "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
8734                           "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
8735                           "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
8736                           "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
8737                           "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
8738                           "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
8739                           "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
8740                 .len    = 248,
8741         },
8742 };
8743
8744 static const struct cipher_testvec des_ctr_tv_template[] = {
8745         { /* Generated with Crypto++ */
8746                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
8747                 .klen   = 8,
8748                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
8749                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
8750                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
8751                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
8752                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
8753                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
8754                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
8755                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
8756                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
8757                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
8758                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
8759                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
8760                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
8761                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
8762                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
8763                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
8764                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
8765                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
8766                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
8767                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
8768                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
8769                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
8770                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
8771                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
8772                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
8773                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
8774                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
8775                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
8776                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
8777                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
8778                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
8779                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
8780                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
8781                 .ctext  = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
8782                           "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
8783                           "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
8784                           "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
8785                           "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
8786                           "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
8787                           "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
8788                           "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
8789                           "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
8790                           "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
8791                           "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
8792                           "\xBE\x4C\x91\x43\x22\x65\x72\x48"
8793                           "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
8794                           "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
8795                           "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
8796                           "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
8797                           "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
8798                           "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
8799                           "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
8800                           "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
8801                           "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
8802                           "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
8803                           "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
8804                           "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
8805                           "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
8806                           "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
8807                           "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
8808                           "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
8809                           "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
8810                           "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
8811                           "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
8812                 .len    = 248,
8813         }, { /* Generated with Crypto++ */
8814                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
8815                 .klen   = 8,
8816                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
8817                 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
8818                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
8819                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
8820                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
8821                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
8822                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
8823                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
8824                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
8825                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
8826                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
8827                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
8828                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
8829                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
8830                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
8831                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
8832                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
8833                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
8834                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
8835                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
8836                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
8837                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
8838                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
8839                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
8840                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
8841                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
8842                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
8843                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
8844                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
8845                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
8846                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
8847                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
8848                           "\xC6\x2F\xBB\x24\x8D\x19\x82",
8849                 .ctext  = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
8850                           "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
8851                           "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
8852                           "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
8853                           "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
8854                           "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
8855                           "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
8856                           "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
8857                           "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
8858                           "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
8859                           "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
8860                           "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
8861                           "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
8862                           "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
8863                           "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
8864                           "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
8865                           "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
8866                           "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
8867                           "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
8868                           "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
8869                           "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
8870                           "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
8871                           "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
8872                           "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
8873                           "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
8874                           "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
8875                           "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
8876                           "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
8877                           "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
8878                           "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
8879                           "\x91\x45\x05\x3E\x58\xBF\x32",
8880                 .len    = 247,
8881         },
8882 };
8883
8884 static const struct cipher_testvec des3_ede_tv_template[] = {
8885         { /* These are from openssl */
8886                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8887                           "\x55\x55\x55\x55\x55\x55\x55\x55"
8888                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8889                 .klen   = 24,
8890                 .ptext  = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
8891                 .ctext  = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
8892                 .len    = 8,
8893         }, {
8894                 .key    = "\x03\x52\x02\x07\x67\x20\x82\x17"
8895                           "\x86\x02\x87\x66\x59\x08\x21\x98"
8896                           "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
8897                 .klen   = 24,
8898                 .ptext  = "\x73\x71\x75\x69\x67\x67\x6c\x65",
8899                 .ctext  = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
8900                 .len    = 8,
8901         }, {
8902                 .key    = "\x10\x46\x10\x34\x89\x98\x80\x20"
8903                           "\x91\x07\xd0\x15\x89\x19\x01\x01"
8904                           "\x19\x07\x92\x10\x98\x1a\x01\x01",
8905                 .klen   = 24,
8906                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
8907                 .ctext  = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
8908                 .len    = 8,
8909         }, { /* Generated with Crypto++ */
8910                 .key    = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
8911                           "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
8912                           "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
8913                 .klen   = 24,
8914                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
8915                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
8916                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
8917                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
8918                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
8919                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
8920                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
8921                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
8922                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
8923                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
8924                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
8925                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
8926                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
8927                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
8928                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
8929                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
8930                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
8931                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
8932                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
8933                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
8934                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
8935                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
8936                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
8937                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
8938                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
8939                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
8940                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
8941                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
8942                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
8943                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
8944                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
8945                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
8946                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
8947                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
8948                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
8949                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
8950                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
8951                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
8952                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
8953                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
8954                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
8955                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
8956                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
8957                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
8958                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
8959                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
8960                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
8961                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
8962                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
8963                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
8964                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
8965                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
8966                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
8967                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
8968                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
8969                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
8970                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
8971                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
8972                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
8973                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
8974                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
8975                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
8976                 .ctext  = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
8977                           "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
8978                           "\x81\x01\x04\x00\x76\xFA\xED\xD3"
8979                           "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
8980                           "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
8981                           "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
8982                           "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
8983                           "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
8984                           "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
8985                           "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
8986                           "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
8987                           "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
8988                           "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
8989                           "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
8990                           "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
8991                           "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
8992                           "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
8993                           "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
8994                           "\x45\x86\x50\x01\x70\x35\x99\x92"
8995                           "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
8996                           "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
8997                           "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
8998                           "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
8999                           "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
9000                           "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
9001                           "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
9002                           "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
9003                           "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
9004                           "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
9005                           "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
9006                           "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
9007                           "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
9008                           "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
9009                           "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
9010                           "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
9011                           "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
9012                           "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
9013                           "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
9014                           "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
9015                           "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
9016                           "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
9017                           "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
9018                           "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
9019                           "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
9020                           "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
9021                           "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
9022                           "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
9023                           "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
9024                           "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
9025                           "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
9026                           "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
9027                           "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
9028                           "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
9029                           "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
9030                           "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
9031                           "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
9032                           "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
9033                           "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
9034                           "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
9035                           "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
9036                           "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
9037                           "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
9038                 .len    = 496,
9039         },
9040 };
9041
9042 static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
9043         { /* Generated from openssl */
9044                 .key    = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
9045                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
9046                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
9047                 .klen   = 24,
9048                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
9049                 .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
9050                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
9051                           "\x53\x20\x63\x65\x65\x72\x73\x74"
9052                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
9053                           "\x20\x79\x65\x53\x72\x63\x74\x65"
9054                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
9055                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
9056                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
9057                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
9058                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
9059                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
9060                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
9061                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
9062                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
9063                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
9064                           "\x63\x65\x65\x72\x73\x74\x54\x20"
9065                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
9066                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
9067                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
9068                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
9069                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
9070                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
9071                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
9072                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
9073                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
9074                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
9075                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
9076                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
9077                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
9078                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
9079                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
9080                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
9081                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
9082                 .len    = 128,
9083         }, { /* Generated with Crypto++ */
9084                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
9085                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
9086                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
9087                 .klen   = 24,
9088                 .iv     = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
9089                           "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
9090                 .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
9091                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
9092                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
9093                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
9094                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
9095                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
9096                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
9097                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
9098                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
9099                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
9100                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
9101                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
9102                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
9103                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
9104                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
9105                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
9106                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
9107                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
9108                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
9109                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
9110                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
9111                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
9112                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
9113                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
9114                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
9115                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
9116                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
9117                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
9118                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
9119                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
9120                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
9121                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
9122                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
9123                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
9124                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
9125                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
9126                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
9127                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
9128                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
9129                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
9130                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
9131                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
9132                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
9133                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
9134                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
9135                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
9136                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
9137                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
9138                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
9139                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
9140                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
9141                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
9142                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
9143                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
9144                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
9145                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
9146                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
9147                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
9148                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
9149                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
9150                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
9151                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
9152                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
9153                 .ctext  = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
9154                           "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
9155                           "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
9156                           "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
9157                           "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
9158                           "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
9159                           "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
9160                           "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
9161                           "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
9162                           "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
9163                           "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
9164                           "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
9165                           "\x11\x35\x61\x94\x88\x7B\x1C\x48"
9166                           "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
9167                           "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
9168                           "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
9169                           "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
9170                           "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
9171                           "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
9172                           "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
9173                           "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
9174                           "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
9175                           "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
9176                           "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
9177                           "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
9178                           "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
9179                           "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
9180                           "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
9181                           "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
9182                           "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
9183                           "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
9184                           "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
9185                           "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
9186                           "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
9187                           "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
9188                           "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
9189                           "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
9190                           "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
9191                           "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
9192                           "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
9193                           "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
9194                           "\x73\x50\x08\x56\x20\x9B\x94\x23"
9195                           "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
9196                           "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
9197                           "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
9198                           "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
9199                           "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
9200                           "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
9201                           "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
9202                           "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
9203                           "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
9204                           "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
9205                           "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
9206                           "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
9207                           "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
9208                           "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
9209                           "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
9210                           "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
9211                           "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
9212                           "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
9213                           "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
9214                           "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
9215                 .len    = 496,
9216         },
9217 };
9218
9219 static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
9220         { /* Generated with Crypto++ */
9221                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
9222                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
9223                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
9224                 .klen   = 24,
9225                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
9226                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
9227                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
9228                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
9229                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
9230                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
9231                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
9232                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
9233                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
9234                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
9235                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
9236                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
9237                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
9238                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
9239                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
9240                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
9241                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
9242                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
9243                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
9244                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
9245                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
9246                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
9247                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
9248                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
9249                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
9250                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
9251                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
9252                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
9253                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
9254                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
9255                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
9256                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
9257                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
9258                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
9259                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
9260                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
9261                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
9262                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
9263                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
9264                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
9265                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
9266                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
9267                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
9268                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
9269                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
9270                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
9271                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
9272                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
9273                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
9274                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
9275                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
9276                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
9277                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
9278                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
9279                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
9280                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
9281                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
9282                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
9283                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
9284                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
9285                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
9286                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
9287                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
9288                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
9289                 .ctext  = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
9290                           "\x19\xCD\x6F\x32\x53\x05\x22\x15"
9291                           "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
9292                           "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
9293                           "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
9294                           "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
9295                           "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
9296                           "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
9297                           "\x13\x78\xDC\x89\x12\x12\x43\xFA"
9298                           "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
9299                           "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
9300                           "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
9301                           "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
9302                           "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
9303                           "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
9304                           "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
9305                           "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
9306                           "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
9307                           "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
9308                           "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
9309                           "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
9310                           "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
9311                           "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
9312                           "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
9313                           "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
9314                           "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
9315                           "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
9316                           "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
9317                           "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
9318                           "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
9319                           "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
9320                           "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
9321                           "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
9322                           "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
9323                           "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
9324                           "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
9325                           "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
9326                           "\x83\x37\x4F\x1F\x48\x30\xED\x04"
9327                           "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
9328                           "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
9329                           "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
9330                           "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
9331                           "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
9332                           "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
9333                           "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
9334                           "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
9335                           "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
9336                           "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
9337                           "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
9338                           "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
9339                           "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
9340                           "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
9341                           "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
9342                           "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
9343                           "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
9344                           "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
9345                           "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
9346                           "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
9347                           "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
9348                           "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
9349                           "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
9350                           "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
9351                 .len    = 496,
9352         }, { /* Generated with Crypto++ */
9353                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
9354                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
9355                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
9356                 .klen   = 24,
9357                 .iv     = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
9358                 .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
9359                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
9360                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
9361                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
9362                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
9363                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
9364                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
9365                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
9366                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
9367                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
9368                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
9369                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
9370                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
9371                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
9372                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
9373                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
9374                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
9375                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
9376                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
9377                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
9378                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
9379                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
9380                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
9381                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
9382                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
9383                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
9384                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
9385                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
9386                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
9387                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
9388                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
9389                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
9390                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
9391                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
9392                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
9393                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
9394                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
9395                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
9396                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
9397                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
9398                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
9399                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
9400                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
9401                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
9402                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
9403                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
9404                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
9405                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
9406                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
9407                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
9408                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
9409                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
9410                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
9411                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
9412                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
9413                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
9414                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
9415                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
9416                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
9417                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
9418                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
9419                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
9420                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
9421                           "\x2E\xB1\x18",
9422                 .ctext  = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
9423                           "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
9424                           "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
9425                           "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
9426                           "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
9427                           "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
9428                           "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
9429                           "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
9430                           "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
9431                           "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
9432                           "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
9433                           "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
9434                           "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
9435                           "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
9436                           "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
9437                           "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
9438                           "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
9439                           "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
9440                           "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
9441                           "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
9442                           "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
9443                           "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
9444                           "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
9445                           "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
9446                           "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
9447                           "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
9448                           "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
9449                           "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
9450                           "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
9451                           "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
9452                           "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
9453                           "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
9454                           "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
9455                           "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
9456                           "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
9457                           "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
9458                           "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
9459                           "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
9460                           "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
9461                           "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
9462                           "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
9463                           "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
9464                           "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
9465                           "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
9466                           "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
9467                           "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
9468                           "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
9469                           "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
9470                           "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
9471                           "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
9472                           "\x8A\x19\x08\xE1\x08\x48\x59\x51"
9473                           "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
9474                           "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
9475                           "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
9476                           "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
9477                           "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
9478                           "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
9479                           "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
9480                           "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
9481                           "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
9482                           "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
9483                           "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
9484                           "\xF2\x79\xD9",
9485                 .len    = 499,
9486         },
9487 };
9488
9489 /*
9490  * Blowfish test vectors.
9491  */
9492 static const struct cipher_testvec bf_tv_template[] = {
9493         { /* DES test vectors from OpenSSL */
9494                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
9495                 .klen   = 8,
9496                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
9497                 .ctext  = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
9498                 .len    = 8,
9499         }, {
9500                 .key    = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
9501                 .klen   = 8,
9502                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
9503                 .ctext  = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
9504                 .len    = 8,
9505         }, {
9506                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
9507                 .klen   = 8,
9508                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
9509                 .ctext  = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
9510                 .len    = 8,
9511         }, { /* Vary the keylength... */
9512                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
9513                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
9514                 .klen   = 16,
9515                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
9516                 .ctext  = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
9517                 .len    = 8,
9518         }, {
9519                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
9520                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
9521                           "\x00\x11\x22\x33\x44",
9522                 .klen   = 21,
9523                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
9524                 .ctext  = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
9525                 .len    = 8,
9526         }, { /* Generated with bf488 */
9527                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
9528                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
9529                           "\x00\x11\x22\x33\x44\x55\x66\x77"
9530                           "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
9531                           "\x58\x40\x23\x64\x1a\xba\x61\x76"
9532                           "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
9533                           "\xff\xff\xff\xff\xff\xff\xff\xff",
9534                 .klen   = 56,
9535                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
9536                 .ctext  = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
9537                 .len    = 8,
9538         }, { /* Generated with Crypto++ */
9539                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9540                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9541                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9542                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9543                 .klen   = 32,
9544                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9545                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9546                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9547                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9548                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9549                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9550                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9551                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9552                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9553                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9554                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9555                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9556                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9557                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9558                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9559                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9560                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9561                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9562                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9563                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9564                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9565                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9566                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9567                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9568                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9569                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9570                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9571                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9572                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9573                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9574                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9575                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9576                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9577                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9578                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9579                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9580                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9581                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9582                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9583                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9584                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9585                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9586                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9587                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9588                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9589                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9590                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9591                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9592                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9593                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9594                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9595                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9596                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9597                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9598                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9599                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9600                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9601                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9602                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9603                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9604                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9605                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9606                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
9607                 .ctext  = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
9608                           "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
9609                           "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
9610                           "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
9611                           "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
9612                           "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
9613                           "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
9614                           "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
9615                           "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
9616                           "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
9617                           "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
9618                           "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
9619                           "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
9620                           "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
9621                           "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
9622                           "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
9623                           "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
9624                           "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
9625                           "\x47\x82\x98\x23\x33\x36\xBC\x1B"
9626                           "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
9627                           "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
9628                           "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
9629                           "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
9630                           "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
9631                           "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
9632                           "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
9633                           "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
9634                           "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
9635                           "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
9636                           "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
9637                           "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
9638                           "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
9639                           "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
9640                           "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
9641                           "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
9642                           "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
9643                           "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
9644                           "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
9645                           "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
9646                           "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
9647                           "\x3E\x42\x14\x49\x88\x51\xBF\x68"
9648                           "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
9649                           "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
9650                           "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
9651                           "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
9652                           "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
9653                           "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
9654                           "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
9655                           "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
9656                           "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
9657                           "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
9658                           "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
9659                           "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
9660                           "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
9661                           "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
9662                           "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
9663                           "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
9664                           "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
9665                           "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
9666                           "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
9667                           "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
9668                           "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
9669                           "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
9670                 .len    = 504,
9671         },
9672 };
9673
9674 static const struct cipher_testvec bf_cbc_tv_template[] = {
9675         { /* From OpenSSL */
9676                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
9677                           "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
9678                 .klen   = 16,
9679                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
9680                 .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
9681                 .ptext  = "\x37\x36\x35\x34\x33\x32\x31\x20"
9682                           "\x4e\x6f\x77\x20\x69\x73\x20\x74"
9683                           "\x68\x65\x20\x74\x69\x6d\x65\x20"
9684                           "\x66\x6f\x72\x20\x00\x00\x00\x00",
9685                 .ctext  = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
9686                           "\x05\xb1\x56\xe2\x74\x03\x97\x93"
9687                           "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
9688                           "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
9689                 .len    = 32,
9690         }, { /* Generated with Crypto++ */
9691                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9692                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9693                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9694                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9695                 .klen   = 32,
9696                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
9697                 .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
9698                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9699                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9700                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9701                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9702                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9703                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9704                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9705                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9706                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9707                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9708                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9709                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9710                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9711                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9712                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9713                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9714                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9715                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9716                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9717                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9718                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9719                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9720                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9721                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9722                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9723                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9724                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9725                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9726                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9727                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9728                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9729                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9730                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9731                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9732                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9733                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9734                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9735                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9736                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9737                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9738                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9739                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9740                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9741                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9742                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9743                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9744                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9745                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9746                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9747                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9748                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9749                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9750                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9751                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9752                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9753                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9754                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9755                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9756                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9757                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9758                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9759                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9760                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
9761                 .ctext  = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
9762                           "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
9763                           "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
9764                           "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
9765                           "\x01\x9C\x93\x63\x51\x60\x82\xD2"
9766                           "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
9767                           "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
9768                           "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
9769                           "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
9770                           "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
9771                           "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
9772                           "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
9773                           "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
9774                           "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
9775                           "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
9776                           "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
9777                           "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
9778                           "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
9779                           "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
9780                           "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
9781                           "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
9782                           "\x65\xFE\x15\x40\xD0\x62\x41\x02"
9783                           "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
9784                           "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
9785                           "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
9786                           "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
9787                           "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
9788                           "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
9789                           "\x04\xF0\x86\x08\x78\x18\x42\xE0"
9790                           "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
9791                           "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
9792                           "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
9793                           "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
9794                           "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
9795                           "\x97\x18\x92\xFF\x15\x11\xCE\xED"
9796                           "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
9797                           "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
9798                           "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
9799                           "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
9800                           "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
9801                           "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
9802                           "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
9803                           "\x43\x12\x73\x77\xDB\x91\x83\x5B"
9804                           "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
9805                           "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
9806                           "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
9807                           "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
9808                           "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
9809                           "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
9810                           "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
9811                           "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
9812                           "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
9813                           "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
9814                           "\xC5\xF8\x69\x83\x28\x84\x87\x56"
9815                           "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
9816                           "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
9817                           "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
9818                           "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
9819                           "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
9820                           "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
9821                           "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
9822                           "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
9823                           "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
9824                 .len    = 504,
9825         },
9826 };
9827
9828 static const struct cipher_testvec bf_ctr_tv_template[] = {
9829         { /* Generated with Crypto++ */
9830                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9831                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9832                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9833                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9834                 .klen   = 32,
9835                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
9836                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
9837                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9838                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9839                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9840                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9841                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9842                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9843                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9844                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9845                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9846                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9847                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9848                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9849                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9850                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9851                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9852                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9853                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9854                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9855                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9856                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9857                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9858                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9859                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9860                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9861                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9862                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9863                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9864                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9865                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9866                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9867                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9868                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9869                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9870                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9871                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9872                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9873                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9874                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9875                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9876                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9877                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9878                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9879                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9880                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9881                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9882                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9883                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9884                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9885                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9886                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9887                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9888                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9889                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9890                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9891                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9892                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9893                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9894                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9895                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9896                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9897                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9898                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9899                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
9900                 .ctext  = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
9901                           "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
9902                           "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
9903                           "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
9904                           "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
9905                           "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
9906                           "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
9907                           "\x97\xEB\x98\x75\xC4\x73\x45\x83"
9908                           "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
9909                           "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
9910                           "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
9911                           "\x13\xD2\x96\x68\x69\x10\x67\x0C"
9912                           "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
9913                           "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
9914                           "\x88\x09\x40\x59\xBD\x12\x64\xB5"
9915                           "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
9916                           "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
9917                           "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
9918                           "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
9919                           "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
9920                           "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
9921                           "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
9922                           "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
9923                           "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
9924                           "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
9925                           "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
9926                           "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
9927                           "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
9928                           "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
9929                           "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
9930                           "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
9931                           "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
9932                           "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
9933                           "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
9934                           "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
9935                           "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
9936                           "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
9937                           "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
9938                           "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
9939                           "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
9940                           "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
9941                           "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
9942                           "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
9943                           "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
9944                           "\x82\x63\x11\xB3\x54\x49\x00\x08"
9945                           "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
9946                           "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
9947                           "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
9948                           "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
9949                           "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
9950                           "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
9951                           "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
9952                           "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
9953                           "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
9954                           "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
9955                           "\x91\x04\x94\x99\x03\x3B\x42\x6D"
9956                           "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
9957                           "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
9958                           "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
9959                           "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
9960                           "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
9961                           "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
9962                           "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
9963                 .len    = 504,
9964         }, { /* Generated with Crypto++ */
9965                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9966                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9967                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9968                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9969                 .klen   = 32,
9970                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
9971                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
9972                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9973                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9974                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9975                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9976                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9977                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9978                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9979                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9980                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9981                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9982                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9983                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9984                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9985                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9986                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9987                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9988                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9989                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9990                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9991                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9992                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9993                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9994                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9995                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9996                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9997                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9998                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9999                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10000                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10001                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10002                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10003                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10004                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10005                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10006                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10007                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10008                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10009                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10010                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10011                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10012                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10013                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10014                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10015                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10016                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10017                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10018                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10019                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10020                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10021                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10022                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10023                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10024                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10025                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10026                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10027                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10028                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10029                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10030                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10031                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10032                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10033                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10034                           "\x2B\xC2\x59\xF0\x64\xFB\x92",
10035                 .ctext  = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
10036                           "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
10037                           "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
10038                           "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
10039                           "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
10040                           "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
10041                           "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
10042                           "\x97\xEB\x98\x75\xC4\x73\x45\x83"
10043                           "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
10044                           "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
10045                           "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
10046                           "\x13\xD2\x96\x68\x69\x10\x67\x0C"
10047                           "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
10048                           "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
10049                           "\x88\x09\x40\x59\xBD\x12\x64\xB5"
10050                           "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
10051                           "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
10052                           "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
10053                           "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
10054                           "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
10055                           "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
10056                           "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
10057                           "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
10058                           "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
10059                           "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
10060                           "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
10061                           "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
10062                           "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
10063                           "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
10064                           "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
10065                           "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
10066                           "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
10067                           "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
10068                           "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
10069                           "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
10070                           "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
10071                           "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
10072                           "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
10073                           "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
10074                           "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
10075                           "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
10076                           "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
10077                           "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
10078                           "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
10079                           "\x82\x63\x11\xB3\x54\x49\x00\x08"
10080                           "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
10081                           "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
10082                           "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
10083                           "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
10084                           "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
10085                           "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
10086                           "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
10087                           "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
10088                           "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
10089                           "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
10090                           "\x91\x04\x94\x99\x03\x3B\x42\x6D"
10091                           "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
10092                           "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
10093                           "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
10094                           "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
10095                           "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
10096                           "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
10097                           "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
10098                 .len    = 503,
10099         }, { /* Generated with Crypto++ */
10100                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10101                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10102                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10103                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10104                 .klen   = 32,
10105                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
10106                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
10107                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10108                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10109                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10110                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10111                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10112                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10113                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10114                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10115                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10116                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10117                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10118                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10119                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10120                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10121                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10122                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10123                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10124                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10125                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10126                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10127                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10128                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10129                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10130                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10131                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10132                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10133                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10134                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10135                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10136                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10137                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10138                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10139                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10140                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10141                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10142                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10143                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10144                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10145                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10146                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10147                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10148                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10149                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10150                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10151                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10152                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10153                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10154                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10155                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10156                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10157                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10158                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10159                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10160                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10161                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10162                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10163                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10164                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10165                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10166                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10167                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10168                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10169                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
10170                 .ctext  = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
10171                           "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
10172                           "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
10173                           "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
10174                           "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
10175                           "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
10176                           "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
10177                           "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
10178                           "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
10179                           "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
10180                           "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
10181                           "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
10182                           "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
10183                           "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
10184                           "\x0B\x82\x59\x14\x26\x67\x08\x09"
10185                           "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
10186                           "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
10187                           "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
10188                           "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
10189                           "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
10190                           "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
10191                           "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
10192                           "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
10193                           "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
10194                           "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
10195                           "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
10196                           "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
10197                           "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
10198                           "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
10199                           "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
10200                           "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
10201                           "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
10202                           "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
10203                           "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
10204                           "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
10205                           "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
10206                           "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
10207                           "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
10208                           "\xB4\x19\xD8\x19\x45\x66\x27\x02"
10209                           "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
10210                           "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
10211                           "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
10212                           "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
10213                           "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
10214                           "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
10215                           "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
10216                           "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
10217                           "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
10218                           "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
10219                           "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
10220                           "\x91\x51\x4E\x71\xF2\x98\x85\x16"
10221                           "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
10222                           "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
10223                           "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
10224                           "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
10225                           "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
10226                           "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
10227                           "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
10228                           "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
10229                           "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
10230                           "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
10231                           "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
10232                           "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
10233                 .len    = 504,
10234         },
10235 };
10236
10237 /*
10238  * Twofish test vectors.
10239  */
10240 static const struct cipher_testvec tf_tv_template[] = {
10241         {
10242                 .key    = zeroed_string,
10243                 .klen   = 16,
10244                 .ptext  = zeroed_string,
10245                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
10246                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
10247                 .len    = 16,
10248         }, {
10249                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
10250                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
10251                           "\x00\x11\x22\x33\x44\x55\x66\x77",
10252                 .klen   = 24,
10253                 .ptext  = zeroed_string,
10254                 .ctext  = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
10255                           "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
10256                 .len    = 16,
10257         }, {
10258                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
10259                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
10260                           "\x00\x11\x22\x33\x44\x55\x66\x77"
10261                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
10262                 .klen   = 32,
10263                 .ptext  = zeroed_string,
10264                 .ctext  = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
10265                           "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
10266                 .len    = 16,
10267         }, { /* Generated with Crypto++ */
10268                 .key    = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
10269                           "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
10270                           "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
10271                           "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
10272                 .klen   = 32,
10273                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10274                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10275                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10276                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10277                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10278                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10279                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10280                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10281                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10282                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10283                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10284                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10285                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10286                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10287                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10288                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10289                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10290                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10291                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10292                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10293                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10294                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10295                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10296                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10297                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10298                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10299                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10300                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10301                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10302                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10303                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10304                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10305                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10306                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10307                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10308                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10309                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10310                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10311                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10312                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10313                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10314                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10315                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10316                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10317                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10318                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10319                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10320                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10321                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10322                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10323                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10324                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10325                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10326                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10327                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10328                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10329                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10330                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10331                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10332                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10333                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10334                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10335                 .ctext  = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
10336                           "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
10337                           "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
10338                           "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
10339                           "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
10340                           "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
10341                           "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
10342                           "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
10343                           "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
10344                           "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
10345                           "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
10346                           "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
10347                           "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
10348                           "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
10349                           "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
10350                           "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
10351                           "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
10352                           "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
10353                           "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
10354                           "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
10355                           "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
10356                           "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
10357                           "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
10358                           "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
10359                           "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
10360                           "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
10361                           "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
10362                           "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
10363                           "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
10364                           "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
10365                           "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
10366                           "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
10367                           "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
10368                           "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
10369                           "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
10370                           "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
10371                           "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
10372                           "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
10373                           "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
10374                           "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
10375                           "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
10376                           "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
10377                           "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
10378                           "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
10379                           "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
10380                           "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
10381                           "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
10382                           "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
10383                           "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
10384                           "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
10385                           "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
10386                           "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
10387                           "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
10388                           "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
10389                           "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
10390                           "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
10391                           "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
10392                           "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
10393                           "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
10394                           "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
10395                           "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
10396                           "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
10397                 .len    = 496,
10398         },
10399 };
10400
10401 static const struct cipher_testvec tf_cbc_tv_template[] = {
10402         { /* Generated with Nettle */
10403                 .key    = zeroed_string,
10404                 .klen   = 16,
10405                 .iv     = zeroed_string,
10406                 .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
10407                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
10408                 .ptext  = zeroed_string,
10409                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
10410                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
10411                 .len    = 16,
10412         }, {
10413                 .key    = zeroed_string,
10414                 .klen   = 16,
10415                 .iv     = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
10416                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
10417                 .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
10418                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
10419                 .ptext  = zeroed_string,
10420                 .ctext  = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
10421                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
10422                 .len    = 16,
10423         }, {
10424                 .key    = zeroed_string,
10425                 .klen   = 16,
10426                 .iv     = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
10427                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
10428                 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
10429                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
10430                 .ptext  = zeroed_string,
10431                 .ctext  = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
10432                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
10433                 .len    = 16,
10434         }, {
10435                 .key    = zeroed_string,
10436                 .klen   = 16,
10437                 .iv     = zeroed_string,
10438                 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
10439                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
10440                 .ptext  = zeroed_string,
10441                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
10442                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
10443                           "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
10444                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
10445                           "\x05\xef\x8c\x61\xa8\x11\x58\x26"
10446                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
10447                 .len    = 48,
10448         }, { /* Generated with Crypto++ */
10449                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10450                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10451                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10452                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10453                 .klen   = 32,
10454                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10455                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
10456                 .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
10457                           "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
10458                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10459                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10460                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10461                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10462                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10463                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10464                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10465                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10466                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10467                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10468                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10469                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10470                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10471                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10472                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10473                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10474                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10475                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10476                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10477                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10478                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10479                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10480                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10481                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10482                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10483                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10484                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10485                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10486                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10487                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10488                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10489                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10490                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10491                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10492                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10493                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10494                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10495                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10496                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10497                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10498                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10499                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10500                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10501                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10502                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10503                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10504                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10505                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10506                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10507                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10508                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10509                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10510                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10511                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10512                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10513                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10514                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10515                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10516                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10517                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10518                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10519                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10520                 .ctext  = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
10521                           "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
10522                           "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
10523                           "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
10524                           "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
10525                           "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
10526                           "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
10527                           "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
10528                           "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
10529                           "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
10530                           "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
10531                           "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
10532                           "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
10533                           "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
10534                           "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
10535                           "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
10536                           "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
10537                           "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
10538                           "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
10539                           "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
10540                           "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
10541                           "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
10542                           "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
10543                           "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
10544                           "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
10545                           "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
10546                           "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
10547                           "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
10548                           "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
10549                           "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
10550                           "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
10551                           "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
10552                           "\x75\x42\x62\x04\x31\x1F\x95\x7C"
10553                           "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
10554                           "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
10555                           "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
10556                           "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
10557                           "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
10558                           "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
10559                           "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
10560                           "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
10561                           "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
10562                           "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
10563                           "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
10564                           "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
10565                           "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
10566                           "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
10567                           "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
10568                           "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
10569                           "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
10570                           "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
10571                           "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
10572                           "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
10573                           "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
10574                           "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
10575                           "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
10576                           "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
10577                           "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
10578                           "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
10579                           "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
10580                           "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
10581                           "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
10582                 .len    = 496,
10583         },
10584 };
10585
10586 static const struct cipher_testvec tf_ctr_tv_template[] = {
10587         { /* Generated with Crypto++ */
10588                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10589                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10590                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10591                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10592                 .klen   = 32,
10593                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10594                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
10595                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10596                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
10597                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10598                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10599                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10600                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10601                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10602                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10603                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10604                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10605                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10606                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10607                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10608                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10609                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10610                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10611                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10612                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10613                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10614                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10615                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10616                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10617                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10618                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10619                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10620                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10621                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10622                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10623                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10624                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10625                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10626                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10627                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10628                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10629                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10630                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10631                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10632                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10633                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10634                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10635                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10636                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10637                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10638                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10639                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10640                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10641                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10642                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10643                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10644                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10645                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10646                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10647                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10648                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10649                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10650                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10651                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10652                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10653                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10654                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10655                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10656                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10657                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10658                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10659                 .ctext  = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
10660                           "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
10661                           "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
10662                           "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
10663                           "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
10664                           "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
10665                           "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
10666                           "\x01\x41\x21\x12\x38\xAB\x52\x4F"
10667                           "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
10668                           "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
10669                           "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
10670                           "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
10671                           "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
10672                           "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
10673                           "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
10674                           "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
10675                           "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
10676                           "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
10677                           "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
10678                           "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
10679                           "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
10680                           "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
10681                           "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
10682                           "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
10683                           "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
10684                           "\x23\x61\x48\xEA\x80\x04\x27\xAA"
10685                           "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
10686                           "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
10687                           "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
10688                           "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
10689                           "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
10690                           "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
10691                           "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
10692                           "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
10693                           "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
10694                           "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
10695                           "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
10696                           "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
10697                           "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
10698                           "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
10699                           "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
10700                           "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
10701                           "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
10702                           "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
10703                           "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
10704                           "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
10705                           "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
10706                           "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
10707                           "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
10708                           "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
10709                           "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
10710                           "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
10711                           "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
10712                           "\x11\xE9\x43\x83\x76\xAA\x53\x37"
10713                           "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
10714                           "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
10715                           "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
10716                           "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
10717                           "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
10718                           "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
10719                           "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
10720                           "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
10721                 .len    = 496,
10722         }, { /* Generated with Crypto++ */
10723                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10724                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10725                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10726                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10727                 .klen   = 32,
10728                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
10729                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
10730                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
10731                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
10732                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10733                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10734                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10735                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10736                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10737                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10738                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10739                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10740                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10741                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10742                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10743                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10744                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10745                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10746                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10747                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10748                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10749                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10750                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10751                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10752                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10753                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10754                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10755                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10756                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10757                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10758                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10759                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10760                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10761                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10762                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10763                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10764                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10765                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10766                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10767                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10768                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10769                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10770                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10771                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10772                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10773                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10774                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10775                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10776                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10777                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10778                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10779                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10780                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10781                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10782                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10783                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10784                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10785                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10786                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10787                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10788                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10789                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10790                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10791                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10792                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10793                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10794                 .ctext  = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
10795                           "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
10796                           "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
10797                           "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
10798                           "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
10799                           "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
10800                           "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
10801                           "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
10802                           "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
10803                           "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
10804                           "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
10805                           "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
10806                           "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
10807                           "\x39\x18\x09\xA4\x82\x59\x78\xE7"
10808                           "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
10809                           "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
10810                           "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
10811                           "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
10812                           "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
10813                           "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
10814                           "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
10815                           "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
10816                           "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
10817                           "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
10818                           "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
10819                           "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
10820                           "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
10821                           "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
10822                           "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
10823                           "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
10824                           "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
10825                           "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
10826                           "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
10827                           "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
10828                           "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
10829                           "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
10830                           "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
10831                           "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
10832                           "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
10833                           "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
10834                           "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
10835                           "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
10836                           "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
10837                           "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
10838                           "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
10839                           "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
10840                           "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
10841                           "\xDE\x55\x1B\x50\x14\x53\x44\x17"
10842                           "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
10843                           "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
10844                           "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
10845                           "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
10846                           "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
10847                           "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
10848                           "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
10849                           "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
10850                           "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
10851                           "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
10852                           "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
10853                           "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
10854                           "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
10855                           "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
10856                 .len    = 496,
10857         }, { /* Generated with Crypto++ */
10858                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10859                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10860                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10861                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10862                 .klen   = 32,
10863                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10864                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
10865                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10866                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
10867                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10868                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10869                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10870                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10871                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10872                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10873                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10874                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10875                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10876                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10877                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10878                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10879                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10880                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10881                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10882                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10883                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10884                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10885                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10886                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10887                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10888                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10889                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10890                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10891                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10892                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10893                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10894                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10895                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10896                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10897                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10898                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10899                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10900                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10901                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10902                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10903                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10904                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10905                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10906                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10907                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10908                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10909                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10910                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10911                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10912                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10913                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10914                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10915                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10916                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10917                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10918                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10919                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10920                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10921                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10922                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10923                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10924                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10925                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10926                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10927                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10928                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10929                           "\x2B\xC2\x59",
10930                 .ctext  = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
10931                           "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
10932                           "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
10933                           "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
10934                           "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
10935                           "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
10936                           "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
10937                           "\x01\x41\x21\x12\x38\xAB\x52\x4F"
10938                           "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
10939                           "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
10940                           "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
10941                           "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
10942                           "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
10943                           "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
10944                           "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
10945                           "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
10946                           "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
10947                           "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
10948                           "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
10949                           "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
10950                           "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
10951                           "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
10952                           "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
10953                           "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
10954                           "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
10955                           "\x23\x61\x48\xEA\x80\x04\x27\xAA"
10956                           "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
10957                           "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
10958                           "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
10959                           "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
10960                           "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
10961                           "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
10962                           "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
10963                           "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
10964                           "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
10965                           "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
10966                           "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
10967                           "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
10968                           "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
10969                           "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
10970                           "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
10971                           "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
10972                           "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
10973                           "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
10974                           "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
10975                           "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
10976                           "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
10977                           "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
10978                           "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
10979                           "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
10980                           "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
10981                           "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
10982                           "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
10983                           "\x11\xE9\x43\x83\x76\xAA\x53\x37"
10984                           "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
10985                           "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
10986                           "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
10987                           "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
10988                           "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
10989                           "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
10990                           "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
10991                           "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
10992                           "\x6C\x82\x9D",
10993                 .len    = 499,
10994         },
10995 };
10996
10997 static const struct cipher_testvec tf_lrw_tv_template[] = {
10998         /* Generated from AES-LRW test vectors */
10999         {
11000                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
11001                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
11002                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
11003                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
11004                 .klen   = 32,
11005                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11006                           "\x00\x00\x00\x00\x00\x00\x00\x01",
11007                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
11008                           "\x38\x39\x41\x42\x43\x44\x45\x46",
11009                 .ctext  = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
11010                           "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
11011                 .len    = 16,
11012         }, {
11013                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
11014                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
11015                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
11016                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
11017                 .klen   = 32,
11018                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11019                           "\x00\x00\x00\x00\x00\x00\x00\x02",
11020                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
11021                           "\x38\x39\x41\x42\x43\x44\x45\x46",
11022                 .ctext  = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
11023                           "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
11024                 .len    = 16,
11025         }, {
11026                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
11027                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
11028                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
11029                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
11030                 .klen   = 32,
11031                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11032                           "\x00\x00\x00\x02\x00\x00\x00\x00",
11033                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
11034                           "\x38\x39\x41\x42\x43\x44\x45\x46",
11035                 .ctext  = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
11036                           "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
11037                 .len    = 16,
11038         }, {
11039                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
11040                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
11041                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
11042                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
11043                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
11044                 .klen   = 40,
11045                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11046                           "\x00\x00\x00\x00\x00\x00\x00\x01",
11047                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
11048                           "\x38\x39\x41\x42\x43\x44\x45\x46",
11049                 .ctext  = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
11050                           "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
11051                 .len    = 16,
11052         }, {
11053                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
11054                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
11055                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
11056                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
11057                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
11058                 .klen   = 40,
11059                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11060                           "\x00\x00\x00\x02\x00\x00\x00\x00",
11061                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
11062                           "\x38\x39\x41\x42\x43\x44\x45\x46",
11063                 .ctext  = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
11064                           "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
11065                 .len    = 16,
11066         }, {
11067                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
11068                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
11069                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
11070                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
11071                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
11072                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
11073                 .klen   = 48,
11074                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11075                           "\x00\x00\x00\x00\x00\x00\x00\x01",
11076                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
11077                           "\x38\x39\x41\x42\x43\x44\x45\x46",
11078                 .ctext  = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
11079                           "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
11080                 .len    = 16,
11081         }, {
11082                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
11083                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
11084                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
11085                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
11086                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
11087                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
11088                 .klen   = 48,
11089                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11090                           "\x00\x00\x00\x02\x00\x00\x00\x00",
11091                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
11092                           "\x38\x39\x41\x42\x43\x44\x45\x46",
11093                 .ctext  = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
11094                           "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
11095                 .len    = 16,
11096         }, {
11097                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
11098                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
11099                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
11100                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
11101                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
11102                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
11103                 .klen   = 48,
11104                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11105                           "\x00\x00\x00\x00\x00\x00\x00\x01",
11106                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
11107                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
11108                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
11109                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
11110                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
11111                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
11112                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
11113                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
11114                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
11115                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
11116                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
11117                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
11118                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
11119                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
11120                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
11121                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
11122                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
11123                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
11124                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
11125                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
11126                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
11127                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
11128                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
11129                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
11130                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
11131                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
11132                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
11133                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
11134                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
11135                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
11136                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
11137                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
11138                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
11139                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
11140                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
11141                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
11142                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
11143                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
11144                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
11145                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
11146                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
11147                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
11148                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
11149                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
11150                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
11151                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
11152                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
11153                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
11154                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
11155                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
11156                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
11157                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
11158                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
11159                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
11160                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
11161                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
11162                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
11163                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
11164                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
11165                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
11166                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
11167                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
11168                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
11169                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
11170                 .ctext  = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
11171                           "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
11172                           "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
11173                           "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
11174                           "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
11175                           "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
11176                           "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
11177                           "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
11178                           "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
11179                           "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
11180                           "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
11181                           "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
11182                           "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
11183                           "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
11184                           "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
11185                           "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
11186                           "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
11187                           "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
11188                           "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
11189                           "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
11190                           "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
11191                           "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
11192                           "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
11193                           "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
11194                           "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
11195                           "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
11196                           "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
11197                           "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
11198                           "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
11199                           "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
11200                           "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
11201                           "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
11202                           "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
11203                           "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
11204                           "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
11205                           "\x3e\xae\x71\x90\x07\x70\x1c\x38"
11206                           "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
11207                           "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
11208                           "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
11209                           "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
11210                           "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
11211                           "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
11212                           "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
11213                           "\x93\x51\x1d\x3d\x62\x59\x83\x82"
11214                           "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
11215                           "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
11216                           "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
11217                           "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
11218                           "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
11219                           "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
11220                           "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
11221                           "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
11222                           "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
11223                           "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
11224                           "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
11225                           "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
11226                           "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
11227                           "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
11228                           "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
11229                           "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
11230                           "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
11231                           "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
11232                           "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
11233                           "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
11234                 .len    = 512,
11235         },
11236 };
11237
11238 static const struct cipher_testvec tf_xts_tv_template[] = {
11239         /* Generated from AES-XTS test vectors */
11240 {
11241                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
11242                           "\x00\x00\x00\x00\x00\x00\x00\x00"
11243                           "\x00\x00\x00\x00\x00\x00\x00\x00"
11244                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11245                 .klen   = 32,
11246                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11247                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11248                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
11249                           "\x00\x00\x00\x00\x00\x00\x00\x00"
11250                           "\x00\x00\x00\x00\x00\x00\x00\x00"
11251                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11252                 .ctext  = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
11253                           "\x30\x74\xe4\x44\x52\x77\x97\x43"
11254                           "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
11255                           "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
11256                 .len    = 32,
11257         }, {
11258                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
11259                           "\x11\x11\x11\x11\x11\x11\x11\x11"
11260                           "\x22\x22\x22\x22\x22\x22\x22\x22"
11261                           "\x22\x22\x22\x22\x22\x22\x22\x22",
11262                 .klen   = 32,
11263                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
11264                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11265                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
11266                           "\x44\x44\x44\x44\x44\x44\x44\x44"
11267                           "\x44\x44\x44\x44\x44\x44\x44\x44"
11268                           "\x44\x44\x44\x44\x44\x44\x44\x44",
11269                 .ctext  = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
11270                           "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
11271                           "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
11272                           "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
11273                 .len    = 32,
11274         }, {
11275                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
11276                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
11277                           "\x22\x22\x22\x22\x22\x22\x22\x22"
11278                           "\x22\x22\x22\x22\x22\x22\x22\x22",
11279                 .klen   = 32,
11280                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
11281                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11282                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
11283                           "\x44\x44\x44\x44\x44\x44\x44\x44"
11284                           "\x44\x44\x44\x44\x44\x44\x44\x44"
11285                           "\x44\x44\x44\x44\x44\x44\x44\x44",
11286                 .ctext  = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
11287                           "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
11288                           "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
11289                           "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
11290                 .len    = 32,
11291         }, {
11292                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
11293                           "\x23\x53\x60\x28\x74\x71\x35\x26"
11294                           "\x31\x41\x59\x26\x53\x58\x97\x93"
11295                           "\x23\x84\x62\x64\x33\x83\x27\x95",
11296                 .klen   = 32,
11297                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
11298                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11299                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
11300                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11301                           "\x10\x11\x12\x13\x14\x15\x16\x17"
11302                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11303                           "\x20\x21\x22\x23\x24\x25\x26\x27"
11304                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11305                           "\x30\x31\x32\x33\x34\x35\x36\x37"
11306                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11307                           "\x40\x41\x42\x43\x44\x45\x46\x47"
11308                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11309                           "\x50\x51\x52\x53\x54\x55\x56\x57"
11310                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11311                           "\x60\x61\x62\x63\x64\x65\x66\x67"
11312                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11313                           "\x70\x71\x72\x73\x74\x75\x76\x77"
11314                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11315                           "\x80\x81\x82\x83\x84\x85\x86\x87"
11316                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11317                           "\x90\x91\x92\x93\x94\x95\x96\x97"
11318                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11319                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11320                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11321                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11322                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11323                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11324                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11325                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11326                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11327                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11328                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11329                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11330                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11331                           "\x00\x01\x02\x03\x04\x05\x06\x07"
11332                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11333                           "\x10\x11\x12\x13\x14\x15\x16\x17"
11334                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11335                           "\x20\x21\x22\x23\x24\x25\x26\x27"
11336                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11337                           "\x30\x31\x32\x33\x34\x35\x36\x37"
11338                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11339                           "\x40\x41\x42\x43\x44\x45\x46\x47"
11340                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11341                           "\x50\x51\x52\x53\x54\x55\x56\x57"
11342                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11343                           "\x60\x61\x62\x63\x64\x65\x66\x67"
11344                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11345                           "\x70\x71\x72\x73\x74\x75\x76\x77"
11346                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11347                           "\x80\x81\x82\x83\x84\x85\x86\x87"
11348                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11349                           "\x90\x91\x92\x93\x94\x95\x96\x97"
11350                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11351                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11352                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11353                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11354                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11355                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11356                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11357                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11358                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11359                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11360                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11361                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11362                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11363                 .ctext  = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
11364                           "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
11365                           "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
11366                           "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
11367                           "\xea\x35\x35\x8c\xb2\x46\x61\x06"
11368                           "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
11369                           "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
11370                           "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
11371                           "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
11372                           "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
11373                           "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
11374                           "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
11375                           "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
11376                           "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
11377                           "\x01\x73\x68\x32\x25\x19\xfa\xfb"
11378                           "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
11379                           "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
11380                           "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
11381                           "\x39\x80\x39\x09\x97\x65\xf2\x83"
11382                           "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
11383                           "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
11384                           "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
11385                           "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
11386                           "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
11387                           "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
11388                           "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
11389                           "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
11390                           "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
11391                           "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
11392                           "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
11393                           "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
11394                           "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
11395                           "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
11396                           "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
11397                           "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
11398                           "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
11399                           "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
11400                           "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
11401                           "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
11402                           "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
11403                           "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
11404                           "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
11405                           "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
11406                           "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
11407                           "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
11408                           "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
11409                           "\x04\x39\x73\x32\xb2\x86\x79\xe7"
11410                           "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
11411                           "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
11412                           "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
11413                           "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
11414                           "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
11415                           "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
11416                           "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
11417                           "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
11418                           "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
11419                           "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
11420                           "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
11421                           "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
11422                           "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
11423                           "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
11424                           "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
11425                           "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
11426                           "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
11427                 .len    = 512,
11428         }, {
11429                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
11430                           "\x23\x53\x60\x28\x74\x71\x35\x26"
11431                           "\x62\x49\x77\x57\x24\x70\x93\x69"
11432                           "\x99\x59\x57\x49\x66\x96\x76\x27"
11433                           "\x31\x41\x59\x26\x53\x58\x97\x93"
11434                           "\x23\x84\x62\x64\x33\x83\x27\x95"
11435                           "\x02\x88\x41\x97\x16\x93\x99\x37"
11436                           "\x51\x05\x82\x09\x74\x94\x45\x92",
11437                 .klen   = 64,
11438                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
11439                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11440                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
11441                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11442                           "\x10\x11\x12\x13\x14\x15\x16\x17"
11443                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11444                           "\x20\x21\x22\x23\x24\x25\x26\x27"
11445                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11446                           "\x30\x31\x32\x33\x34\x35\x36\x37"
11447                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11448                           "\x40\x41\x42\x43\x44\x45\x46\x47"
11449                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11450                           "\x50\x51\x52\x53\x54\x55\x56\x57"
11451                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11452                           "\x60\x61\x62\x63\x64\x65\x66\x67"
11453                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11454                           "\x70\x71\x72\x73\x74\x75\x76\x77"
11455                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11456                           "\x80\x81\x82\x83\x84\x85\x86\x87"
11457                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11458                           "\x90\x91\x92\x93\x94\x95\x96\x97"
11459                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11460                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11461                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11462                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11463                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11464                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11465                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11466                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11467                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11468                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11469                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11470                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11471                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11472                           "\x00\x01\x02\x03\x04\x05\x06\x07"
11473                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11474                           "\x10\x11\x12\x13\x14\x15\x16\x17"
11475                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11476                           "\x20\x21\x22\x23\x24\x25\x26\x27"
11477                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11478                           "\x30\x31\x32\x33\x34\x35\x36\x37"
11479                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11480                           "\x40\x41\x42\x43\x44\x45\x46\x47"
11481                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11482                           "\x50\x51\x52\x53\x54\x55\x56\x57"
11483                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11484                           "\x60\x61\x62\x63\x64\x65\x66\x67"
11485                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11486                           "\x70\x71\x72\x73\x74\x75\x76\x77"
11487                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11488                           "\x80\x81\x82\x83\x84\x85\x86\x87"
11489                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11490                           "\x90\x91\x92\x93\x94\x95\x96\x97"
11491                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11492                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11493                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11494                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11495                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11496                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11497                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11498                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11499                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11500                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11501                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11502                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11503                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11504                 .ctext  = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
11505                           "\x35\x39\x71\x88\x76\x1e\xc9\xea"
11506                           "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
11507                           "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
11508                           "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
11509                           "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
11510                           "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
11511                           "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
11512                           "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
11513                           "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
11514                           "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
11515                           "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
11516                           "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
11517                           "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
11518                           "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
11519                           "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
11520                           "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
11521                           "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
11522                           "\x69\x35\x61\x86\xf8\x86\xb9\x89"
11523                           "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
11524                           "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
11525                           "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
11526                           "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
11527                           "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
11528                           "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
11529                           "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
11530                           "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
11531                           "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
11532                           "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
11533                           "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
11534                           "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
11535                           "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
11536                           "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
11537                           "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
11538                           "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
11539                           "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
11540                           "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
11541                           "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
11542                           "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
11543                           "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
11544                           "\xad\x12\x32\x31\x03\xf7\x21\xbe"
11545                           "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
11546                           "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
11547                           "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
11548                           "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
11549                           "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
11550                           "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
11551                           "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
11552                           "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
11553                           "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
11554                           "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
11555                           "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
11556                           "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
11557                           "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
11558                           "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
11559                           "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
11560                           "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
11561                           "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
11562                           "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
11563                           "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
11564                           "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
11565                           "\xf3\xea\x67\x52\x78\xc2\xce\x70"
11566                           "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
11567                           "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
11568                 .len    = 512,
11569         },
11570 };
11571
11572 /*
11573  * Serpent test vectors.  These are backwards because Serpent writes
11574  * octet sequences in right-to-left mode.
11575  */
11576 static const struct cipher_testvec serpent_tv_template[] = {
11577         {
11578                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
11579                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11580                 .ctext  = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
11581                           "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
11582                 .len    = 16,
11583         }, {
11584                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
11585                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11586                 .klen   = 16,
11587                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
11588                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11589                 .ctext  = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
11590                           "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
11591                 .len    = 16,
11592         }, {
11593                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
11594                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11595                           "\x10\x11\x12\x13\x14\x15\x16\x17"
11596                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11597                 .klen   = 32,
11598                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
11599                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11600                 .ctext  = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
11601                           "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
11602                 .len    = 16,
11603         }, {
11604                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11605                 .klen   = 16,
11606                 .ptext  = zeroed_string,
11607                 .ctext  = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
11608                           "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
11609                 .len    = 16,
11610         }, { /* Generated with Crypto++ */
11611                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11612                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11613                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11614                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11615                 .klen   = 32,
11616                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11617                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11618                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11619                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11620                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11621                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11622                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11623                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11624                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11625                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11626                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11627                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11628                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11629                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11630                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11631                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11632                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11633                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11634                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11635                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11636                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11637                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11638                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11639                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11640                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11641                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11642                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11643                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11644                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11645                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11646                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11647                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11648                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11649                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11650                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11651                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11652                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11653                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11654                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11655                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11656                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11657                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11658                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11659                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11660                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11661                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11662                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11663                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11664                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11665                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11666                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11667                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11668                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11669                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11670                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11671                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11672                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11673                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11674                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11675                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11676                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11677                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11678                 .ctext  = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
11679                           "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
11680                           "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
11681                           "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
11682                           "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11683                           "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11684                           "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11685                           "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11686                           "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11687                           "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11688                           "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11689                           "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11690                           "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11691                           "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11692                           "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11693                           "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11694                           "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11695                           "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11696                           "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11697                           "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11698                           "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11699                           "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11700                           "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11701                           "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11702                           "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11703                           "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11704                           "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11705                           "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11706                           "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11707                           "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11708                           "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11709                           "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11710                           "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11711                           "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11712                           "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11713                           "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11714                           "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11715                           "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11716                           "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11717                           "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11718                           "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11719                           "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11720                           "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11721                           "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11722                           "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11723                           "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11724                           "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11725                           "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11726                           "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11727                           "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11728                           "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11729                           "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11730                           "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11731                           "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11732                           "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11733                           "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11734                           "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11735                           "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11736                           "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11737                           "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11738                           "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11739                           "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11740                 .len    = 496,
11741         },
11742 };
11743
11744 static const struct cipher_testvec tnepres_tv_template[] = {
11745         { /* KeySize=0 */
11746                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
11747                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11748                 .ctext  = "\x41\xcc\x6b\x31\x59\x31\x45\x97"
11749                           "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
11750                 .len    = 16,
11751         },
11752         { /* KeySize=128, PT=0, I=1 */
11753                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
11754                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11755                 .key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
11756                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11757                 .klen   = 16,
11758                 .ctext  = "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
11759                           "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
11760                 .len    = 16,
11761         }, { /* KeySize=128 */
11762                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
11763                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11764                 .klen   = 16,
11765                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
11766                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11767                 .ctext  = "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
11768                           "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
11769                 .len    = 16,
11770         }, { /* KeySize=128, I=121 */
11771                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11772                 .klen   = 16,
11773                 .ptext  = zeroed_string,
11774                 .ctext  = "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
11775                           "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
11776                 .len    = 16,
11777         }, { /* KeySize=192, PT=0, I=1 */
11778                 .key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
11779                           "\x00\x00\x00\x00\x00\x00\x00\x00"
11780                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11781                 .klen   = 24,
11782                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
11783                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11784                 .ctext  = "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
11785                           "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
11786                 .len    = 16,
11787         }, { /* KeySize=256, PT=0, I=1 */
11788                 .key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
11789                           "\x00\x00\x00\x00\x00\x00\x00\x00"
11790                           "\x00\x00\x00\x00\x00\x00\x00\x00"
11791                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11792                 .klen   = 32,
11793                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
11794                           "\x00\x00\x00\x00\x00\x00\x00\x00",
11795                 .ctext  = "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
11796                           "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
11797                 .len    = 16,
11798         }, { /* KeySize=256, I=257 */
11799                 .key    = "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
11800                           "\x17\x16\x15\x14\x13\x12\x11\x10"
11801                           "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11802                           "\x07\x06\x05\x04\x03\x02\x01\x00",
11803                 .klen   = 32,
11804                 .ptext  = "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11805                           "\x07\x06\x05\x04\x03\x02\x01\x00",
11806                 .ctext  = "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
11807                           "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
11808                 .len    = 16,
11809         }, { /* KeySize=256 */
11810                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
11811                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11812                           "\x10\x11\x12\x13\x14\x15\x16\x17"
11813                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11814                 .klen   = 32,
11815                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
11816                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11817                 .ctext  = "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
11818                           "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
11819                 .len    = 16,
11820         }
11821 };
11822
11823 static const struct cipher_testvec serpent_cbc_tv_template[] = {
11824         { /* Generated with Crypto++ */
11825                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11826                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11827                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11828                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11829                 .klen   = 32,
11830                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11831                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11832                 .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11833                           "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11834                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11835                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11836                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11837                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11838                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11839                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11840                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11841                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11842                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11843                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11844                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11845                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11846                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11847                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11848                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11849                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11850                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11851                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11852                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11853                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11854                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11855                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11856                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11857                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11858                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11859                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11860                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11861                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11862                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11863                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11864                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11865                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11866                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11867                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11868                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11869                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11870                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11871                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11872                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11873                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11874                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11875                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11876                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11877                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11878                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11879                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11880                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11881                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11882                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11883                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11884                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11885                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11886                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11887                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11888                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11889                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11890                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11891                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11892                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11893                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11894                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11895                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11896                 .ctext  = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
11897                           "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
11898                           "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
11899                           "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
11900                           "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
11901                           "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
11902                           "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
11903                           "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
11904                           "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
11905                           "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
11906                           "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
11907                           "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
11908                           "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
11909                           "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
11910                           "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
11911                           "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
11912                           "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
11913                           "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
11914                           "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
11915                           "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
11916                           "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
11917                           "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
11918                           "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
11919                           "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
11920                           "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
11921                           "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
11922                           "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
11923                           "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
11924                           "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
11925                           "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
11926                           "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
11927                           "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
11928                           "\x81\x92\x66\x67\x15\x1E\x39\x98"
11929                           "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
11930                           "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
11931                           "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
11932                           "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
11933                           "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
11934                           "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
11935                           "\x04\x05\x46\xD3\x90\x0F\x64\x64"
11936                           "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
11937                           "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
11938                           "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
11939                           "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
11940                           "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
11941                           "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
11942                           "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
11943                           "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
11944                           "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
11945                           "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
11946                           "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
11947                           "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
11948                           "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
11949                           "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
11950                           "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
11951                           "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
11952                           "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
11953                           "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
11954                           "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
11955                           "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
11956                           "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11957                           "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11958                 .len    = 496,
11959         },
11960 };
11961
11962 static const struct cipher_testvec serpent_ctr_tv_template[] = {
11963         { /* Generated with Crypto++ */
11964                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11965                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11966                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11967                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11968                 .klen   = 32,
11969                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11970                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11971                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11972                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
11973                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11974                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11975                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11976                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11977                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11978                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11979                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11980                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11981                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11982                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11983                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11984                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11985                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11986                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11987                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11988                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11989                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11990                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11991                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11992                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11993                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11994                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11995                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11996                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11997                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11998                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11999                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12000                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12001                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12002                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12003                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12004                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12005                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12006                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12007                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12008                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12009                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12010                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12011                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12012                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12013                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12014                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12015                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12016                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12017                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12018                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12019                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12020                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12021                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12022                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12023                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12024                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12025                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12026                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12027                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12028                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12029                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12030                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12031                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12032                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12033                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12034                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12035                 .ctext  = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12036                           "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12037                           "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12038                           "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12039                           "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12040                           "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12041                           "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12042                           "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12043                           "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12044                           "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12045                           "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12046                           "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12047                           "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12048                           "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12049                           "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12050                           "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12051                           "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12052                           "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12053                           "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12054                           "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12055                           "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12056                           "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12057                           "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12058                           "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12059                           "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12060                           "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12061                           "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12062                           "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12063                           "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12064                           "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12065                           "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12066                           "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12067                           "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12068                           "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12069                           "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12070                           "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12071                           "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12072                           "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12073                           "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12074                           "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12075                           "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12076                           "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12077                           "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12078                           "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12079                           "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12080                           "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12081                           "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12082                           "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12083                           "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12084                           "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12085                           "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12086                           "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12087                           "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12088                           "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12089                           "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12090                           "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12091                           "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12092                           "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12093                           "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12094                           "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12095                           "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12096                           "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
12097                 .len    = 496,
12098         }, { /* Generated with Crypto++ */
12099                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12100                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12101                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12102                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12103                 .klen   = 32,
12104                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12105                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12106                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12107                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
12108                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12109                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12110                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12111                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12112                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12113                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12114                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12115                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12116                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12117                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12118                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12119                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12120                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12121                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12122                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12123                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12124                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12125                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12126                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12127                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12128                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12129                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12130                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12131                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12132                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12133                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12134                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12135                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12136                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12137                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12138                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12139                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12140                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12141                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12142                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12143                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12144                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12145                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12146                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12147                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12148                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12149                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12150                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12151                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12152                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12153                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12154                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12155                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12156                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12157                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12158                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12159                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12160                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12161                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12162                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12163                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12164                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12165                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12166                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12167                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12168                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12169                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12170                           "\x2B\xC2\x59",
12171                 .ctext  = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12172                           "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12173                           "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12174                           "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12175                           "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12176                           "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12177                           "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12178                           "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12179                           "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12180                           "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12181                           "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12182                           "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12183                           "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12184                           "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12185                           "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12186                           "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12187                           "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12188                           "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12189                           "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12190                           "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12191                           "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12192                           "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12193                           "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12194                           "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12195                           "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12196                           "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12197                           "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12198                           "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12199                           "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12200                           "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12201                           "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12202                           "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12203                           "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12204                           "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12205                           "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12206                           "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12207                           "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12208                           "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12209                           "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12210                           "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12211                           "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12212                           "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12213                           "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12214                           "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12215                           "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12216                           "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12217                           "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12218                           "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12219                           "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12220                           "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12221                           "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12222                           "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12223                           "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12224                           "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12225                           "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12226                           "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12227                           "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12228                           "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12229                           "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12230                           "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12231                           "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12232                           "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
12233                           "\x38\xE2\xE5",
12234                 .len    = 499,
12235         }, { /* Generated with Crypto++ */
12236                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12237                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12238                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12239                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12240                 .klen   = 32,
12241                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12242                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12243                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
12244                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
12245                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12246                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12247                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12248                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12249                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12250                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12251                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12252                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12253                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12254                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12255                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12256                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12257                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12258                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12259                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12260                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12261                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12262                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12263                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12264                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12265                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12266                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12267                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12268                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12269                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12270                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12271                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12272                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12273                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12274                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12275                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12276                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12277                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12278                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12279                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12280                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12281                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12282                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12283                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12284                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12285                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12286                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12287                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12288                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12289                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12290                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12291                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12292                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12293                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12294                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12295                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12296                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12297                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12298                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12299                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12300                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12301                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12302                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12303                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12304                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12305                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12306                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12307                 .ctext  = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
12308                           "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
12309                           "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
12310                           "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
12311                           "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
12312                           "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
12313                           "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
12314                           "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
12315                           "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
12316                           "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
12317                           "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
12318                           "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
12319                           "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
12320                           "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
12321                           "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
12322                           "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
12323                           "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
12324                           "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
12325                           "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
12326                           "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
12327                           "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
12328                           "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
12329                           "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
12330                           "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
12331                           "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
12332                           "\x29\x5E\x01\x47\x13\x32\x78\xBE"
12333                           "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
12334                           "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
12335                           "\x38\x35\x11\x26\x4A\xB4\x06\x32"
12336                           "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
12337                           "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
12338                           "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
12339                           "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
12340                           "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
12341                           "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
12342                           "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
12343                           "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
12344                           "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
12345                           "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
12346                           "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
12347                           "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
12348                           "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12349                           "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12350                           "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12351                           "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12352                           "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12353                           "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12354                           "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12355                           "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12356                           "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12357                           "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12358                           "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12359                           "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12360                           "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12361                           "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12362                           "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12363                           "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12364                           "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12365                           "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12366                           "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12367                           "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12368                           "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12369                 .len    = 496,
12370         },
12371 };
12372
12373 static const struct cipher_testvec serpent_lrw_tv_template[] = {
12374         /* Generated from AES-LRW test vectors */
12375         {
12376                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12377                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12378                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12379                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12380                 .klen   = 32,
12381                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12382                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12383                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12384                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12385                 .ctext  = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12386                           "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12387                 .len    = 16,
12388         }, {
12389                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12390                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12391                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12392                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12393                 .klen   = 32,
12394                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12395                           "\x00\x00\x00\x00\x00\x00\x00\x02",
12396                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12397                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12398                 .ctext  = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12399                           "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12400                 .len    = 16,
12401         }, {
12402                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12403                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12404                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12405                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12406                 .klen   = 32,
12407                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12408                           "\x00\x00\x00\x02\x00\x00\x00\x00",
12409                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12410                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12411                 .ctext  = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12412                           "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12413                 .len    = 16,
12414         }, {
12415                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12416                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12417                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12418                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12419                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12420                 .klen   = 40,
12421                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12422                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12423                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12424                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12425                 .ctext  = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12426                           "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12427                 .len    = 16,
12428         }, {
12429                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12430                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12431                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12432                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12433                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12434                 .klen   = 40,
12435                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12436                           "\x00\x00\x00\x02\x00\x00\x00\x00",
12437                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12438                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12439                 .ctext  = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12440                           "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12441                 .len    = 16,
12442         }, {
12443                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12444                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12445                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12446                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12447                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12448                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12449                 .klen   = 48,
12450                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12451                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12452                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12453                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12454                 .ctext  = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12455                           "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12456                 .len    = 16,
12457         }, {
12458                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12459                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12460                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12461                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12462                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12463                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12464                 .klen   = 48,
12465                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12466                           "\x00\x00\x00\x02\x00\x00\x00\x00",
12467                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12468                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12469                 .ctext  = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12470                           "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12471                 .len    = 16,
12472         }, {
12473                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12474                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12475                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12476                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12477                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12478                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12479                 .klen   = 48,
12480                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12481                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12482                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12483                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12484                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12485                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12486                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12487                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12488                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12489                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12490                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12491                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12492                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12493                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12494                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12495                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12496                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12497                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12498                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12499                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12500                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12501                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12502                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12503                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12504                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12505                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12506                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12507                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12508                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12509                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12510                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12511                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12512                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12513                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12514                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12515                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12516                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12517                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12518                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12519                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12520                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12521                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12522                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12523                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12524                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12525                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12526                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12527                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12528                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12529                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12530                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12531                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12532                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12533                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12534                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12535                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12536                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12537                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12538                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12539                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12540                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12541                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12542                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12543                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12544                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12545                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12546                 .ctext  = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
12547                           "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
12548                           "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
12549                           "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
12550                           "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
12551                           "\xce\xab\xda\x33\x30\x20\x12\xfa"
12552                           "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
12553                           "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
12554                           "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
12555                           "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
12556                           "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
12557                           "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
12558                           "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
12559                           "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
12560                           "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
12561                           "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
12562                           "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
12563                           "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
12564                           "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
12565                           "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
12566                           "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
12567                           "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
12568                           "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
12569                           "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
12570                           "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
12571                           "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
12572                           "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
12573                           "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
12574                           "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
12575                           "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
12576                           "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
12577                           "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
12578                           "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
12579                           "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
12580                           "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
12581                           "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
12582                           "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
12583                           "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
12584                           "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
12585                           "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
12586                           "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
12587                           "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
12588                           "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
12589                           "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
12590                           "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
12591                           "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
12592                           "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
12593                           "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
12594                           "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
12595                           "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
12596                           "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
12597                           "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
12598                           "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
12599                           "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
12600                           "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
12601                           "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
12602                           "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
12603                           "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
12604                           "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
12605                           "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
12606                           "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
12607                           "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
12608                           "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
12609                           "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
12610                 .len    = 512,
12611         },
12612 };
12613
12614 static const struct cipher_testvec serpent_xts_tv_template[] = {
12615         /* Generated from AES-XTS test vectors */
12616         {
12617                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
12618                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12619                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12620                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12621                 .klen   = 32,
12622                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12623                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12624                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
12625                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12626                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12627                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12628                 .ctext  = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
12629                           "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
12630                           "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
12631                           "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
12632                 .len    = 32,
12633         }, {
12634                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
12635                           "\x11\x11\x11\x11\x11\x11\x11\x11"
12636                           "\x22\x22\x22\x22\x22\x22\x22\x22"
12637                           "\x22\x22\x22\x22\x22\x22\x22\x22",
12638                 .klen   = 32,
12639                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
12640                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12641                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
12642                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12643                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12644                           "\x44\x44\x44\x44\x44\x44\x44\x44",
12645                 .ctext  = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
12646                           "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
12647                           "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
12648                           "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
12649                 .len    = 32,
12650         }, {
12651                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
12652                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
12653                           "\x22\x22\x22\x22\x22\x22\x22\x22"
12654                           "\x22\x22\x22\x22\x22\x22\x22\x22",
12655                 .klen   = 32,
12656                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
12657                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12658                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
12659                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12660                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12661                           "\x44\x44\x44\x44\x44\x44\x44\x44",
12662                 .ctext  = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
12663                           "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
12664                           "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
12665                           "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
12666                 .len    = 32,
12667         }, {
12668                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
12669                           "\x23\x53\x60\x28\x74\x71\x35\x26"
12670                           "\x31\x41\x59\x26\x53\x58\x97\x93"
12671                           "\x23\x84\x62\x64\x33\x83\x27\x95",
12672                 .klen   = 32,
12673                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12674                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12675                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
12676                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12677                           "\x10\x11\x12\x13\x14\x15\x16\x17"
12678                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12679                           "\x20\x21\x22\x23\x24\x25\x26\x27"
12680                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12681                           "\x30\x31\x32\x33\x34\x35\x36\x37"
12682                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12683                           "\x40\x41\x42\x43\x44\x45\x46\x47"
12684                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12685                           "\x50\x51\x52\x53\x54\x55\x56\x57"
12686                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12687                           "\x60\x61\x62\x63\x64\x65\x66\x67"
12688                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12689                           "\x70\x71\x72\x73\x74\x75\x76\x77"
12690                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12691                           "\x80\x81\x82\x83\x84\x85\x86\x87"
12692                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12693                           "\x90\x91\x92\x93\x94\x95\x96\x97"
12694                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12695                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12696                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12697                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12698                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12699                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12700                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12701                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12702                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12703                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12704                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12705                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12706                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
12707                           "\x00\x01\x02\x03\x04\x05\x06\x07"
12708                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12709                           "\x10\x11\x12\x13\x14\x15\x16\x17"
12710                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12711                           "\x20\x21\x22\x23\x24\x25\x26\x27"
12712                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12713                           "\x30\x31\x32\x33\x34\x35\x36\x37"
12714                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12715                           "\x40\x41\x42\x43\x44\x45\x46\x47"
12716                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12717                           "\x50\x51\x52\x53\x54\x55\x56\x57"
12718                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12719                           "\x60\x61\x62\x63\x64\x65\x66\x67"
12720                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12721                           "\x70\x71\x72\x73\x74\x75\x76\x77"
12722                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12723                           "\x80\x81\x82\x83\x84\x85\x86\x87"
12724                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12725                           "\x90\x91\x92\x93\x94\x95\x96\x97"
12726                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12727                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12728                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12729                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12730                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12731                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12732                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12733                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12734                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12735                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12736                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12737                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12738                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
12739                 .ctext  = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
12740                           "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
12741                           "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
12742                           "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
12743                           "\x00\x5c\x75\x14\x06\xd6\x25\x82"
12744                           "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
12745                           "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
12746                           "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
12747                           "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
12748                           "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
12749                           "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
12750                           "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
12751                           "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
12752                           "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
12753                           "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
12754                           "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
12755                           "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
12756                           "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
12757                           "\x58\xfa\x43\x91\x16\x85\x40\xbb"
12758                           "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
12759                           "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
12760                           "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
12761                           "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
12762                           "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
12763                           "\x6e\x29\x60\xbd\x10\x14\x84\x82"
12764                           "\x83\x82\x0c\x63\x73\x92\x02\x7c"
12765                           "\x55\x37\x20\x80\x17\x51\xc8\xbc"
12766                           "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
12767                           "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
12768                           "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
12769                           "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
12770                           "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
12771                           "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
12772                           "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
12773                           "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
12774                           "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
12775                           "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
12776                           "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
12777                           "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
12778                           "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
12779                           "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
12780                           "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
12781                           "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
12782                           "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
12783                           "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
12784                           "\x43\x42\x35\xd0\xcf\xec\x77\x67"
12785                           "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
12786                           "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
12787                           "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
12788                           "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
12789                           "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
12790                           "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
12791                           "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
12792                           "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
12793                           "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
12794                           "\x03\x57\xe6\x98\x52\x2f\x61\x62"
12795                           "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
12796                           "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
12797                           "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
12798                           "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
12799                           "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
12800                           "\xef\x91\x64\x1d\x18\x07\x4e\x31"
12801                           "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
12802                           "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
12803                 .len    = 512,
12804         }, {
12805                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
12806                           "\x23\x53\x60\x28\x74\x71\x35\x26"
12807                           "\x62\x49\x77\x57\x24\x70\x93\x69"
12808                           "\x99\x59\x57\x49\x66\x96\x76\x27"
12809                           "\x31\x41\x59\x26\x53\x58\x97\x93"
12810                           "\x23\x84\x62\x64\x33\x83\x27\x95"
12811                           "\x02\x88\x41\x97\x16\x93\x99\x37"
12812                           "\x51\x05\x82\x09\x74\x94\x45\x92",
12813                 .klen   = 64,
12814                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
12815                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12816                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
12817                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12818                           "\x10\x11\x12\x13\x14\x15\x16\x17"
12819                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12820                           "\x20\x21\x22\x23\x24\x25\x26\x27"
12821                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12822                           "\x30\x31\x32\x33\x34\x35\x36\x37"
12823                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12824                           "\x40\x41\x42\x43\x44\x45\x46\x47"
12825                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12826                           "\x50\x51\x52\x53\x54\x55\x56\x57"
12827                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12828                           "\x60\x61\x62\x63\x64\x65\x66\x67"
12829                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12830                           "\x70\x71\x72\x73\x74\x75\x76\x77"
12831                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12832                           "\x80\x81\x82\x83\x84\x85\x86\x87"
12833                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12834                           "\x90\x91\x92\x93\x94\x95\x96\x97"
12835                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12836                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12837                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12838                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12839                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12840                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12841                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12842                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12843                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12844                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12845                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12846                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12847                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
12848                           "\x00\x01\x02\x03\x04\x05\x06\x07"
12849                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12850                           "\x10\x11\x12\x13\x14\x15\x16\x17"
12851                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12852                           "\x20\x21\x22\x23\x24\x25\x26\x27"
12853                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12854                           "\x30\x31\x32\x33\x34\x35\x36\x37"
12855                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12856                           "\x40\x41\x42\x43\x44\x45\x46\x47"
12857                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12858                           "\x50\x51\x52\x53\x54\x55\x56\x57"
12859                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12860                           "\x60\x61\x62\x63\x64\x65\x66\x67"
12861                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12862                           "\x70\x71\x72\x73\x74\x75\x76\x77"
12863                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12864                           "\x80\x81\x82\x83\x84\x85\x86\x87"
12865                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12866                           "\x90\x91\x92\x93\x94\x95\x96\x97"
12867                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12868                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12869                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12870                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12871                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12872                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12873                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12874                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12875                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12876                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12877                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12878                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12879                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
12880                 .ctext  = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
12881                           "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
12882                           "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
12883                           "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
12884                           "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
12885                           "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
12886                           "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
12887                           "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
12888                           "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
12889                           "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
12890                           "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
12891                           "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
12892                           "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
12893                           "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
12894                           "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
12895                           "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
12896                           "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
12897                           "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
12898                           "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
12899                           "\xec\x9a\xda\x64\x96\xb5\x61\xff"
12900                           "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
12901                           "\x81\x85\x14\xa8\x59\xac\x8c\x94"
12902                           "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
12903                           "\x82\xc6\x4d\xca\x86\xea\x53\x28"
12904                           "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
12905                           "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
12906                           "\x05\xca\x81\x7b\xda\xa2\xde\x63"
12907                           "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
12908                           "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
12909                           "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
12910                           "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
12911                           "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
12912                           "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
12913                           "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
12914                           "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
12915                           "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
12916                           "\xfd\x43\x7d\xda\x42\x51\x87\x43"
12917                           "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
12918                           "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
12919                           "\x27\x5f\x11\xac\x71\xc7\x48\x46"
12920                           "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
12921                           "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
12922                           "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
12923                           "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
12924                           "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
12925                           "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
12926                           "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
12927                           "\x50\x88\x97\x40\x69\xb1\x37\xf5"
12928                           "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
12929                           "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
12930                           "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
12931                           "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
12932                           "\xc1\x16\x73\x50\x77\xba\xa6\x65"
12933                           "\x20\x2d\xb0\x02\x27\x89\xda\x99"
12934                           "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
12935                           "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
12936                           "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
12937                           "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
12938                           "\xa3\x0e\x33\x74\x40\x18\x39\x72"
12939                           "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
12940                           "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
12941                           "\x30\x05\xc8\x92\x98\x80\xff\x7a"
12942                           "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
12943                           "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
12944                 .len    = 512,
12945         },
12946 };
12947
12948 /*
12949  * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
12950  * Modes Of Operations" draft RFC
12951  * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
12952  */
12953
12954 static const struct cipher_testvec sm4_tv_template[] = {
12955         { /* GB/T 32907-2016 Example 1. */
12956                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12957                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12958                 .klen   = 16,
12959                 .ptext  = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12960                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12961                 .ctext  = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
12962                           "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
12963                 .len    = 16,
12964         }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
12965                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12966                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12967                 .klen   = 16,
12968                 .ptext  = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
12969                           "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
12970                           "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
12971                           "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
12972                           "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
12973                           "\xad\x57\x15\xab\x31\x5d\xc\xef"
12974                           "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
12975                           "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
12976                           "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
12977                           "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
12978                           "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
12979                           "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
12980                           "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
12981                           "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
12982                           "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
12983                           "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
12984                           "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
12985                           "\xed\xce\x0\x19\xe\x16\x2\x6e"
12986                           "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
12987                           "\x31\x51\xec\x47\xc3\x51\x83\xc1",
12988                 .ctext  = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
12989                           "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
12990                           "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
12991                           "\xad\x57\x15\xab\x31\x5d\xc\xef"
12992                           "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
12993                           "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
12994                           "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
12995                           "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
12996                           "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
12997                           "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
12998                           "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
12999                           "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
13000                           "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
13001                           "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
13002                           "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
13003                           "\xed\xce\x0\x19\xe\x16\x2\x6e"
13004                           "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
13005                           "\x31\x51\xec\x47\xc3\x51\x83\xc1"
13006                           "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
13007                           "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
13008                 .len    = 160
13009         }, { /* A.2.1.1 SM4-ECB Example 1 */
13010                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
13011                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
13012                 .klen   = 16,
13013                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13014                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13015                           "\xee\xee\xee\xee\xff\xff\xff\xff"
13016                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13017                 .ctext  = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
13018                           "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
13019                           "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
13020                           "\x85\xf8\x1c\x84\x82\x19\x23\x04",
13021                 .len    = 32,
13022         }, { /* A.2.1.2 SM4-ECB Example 2 */
13023                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
13024                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
13025                 .klen   = 16,
13026                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13027                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13028                           "\xee\xee\xee\xee\xff\xff\xff\xff"
13029                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13030                 .ctext  = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
13031                           "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
13032                           "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
13033                           "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
13034                 .len    = 32,
13035         }
13036 };
13037
13038 static const struct cipher_testvec sm4_cbc_tv_template[] = {
13039         { /* A.2.2.1 SM4-CBC Example 1 */
13040                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
13041                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
13042                 .klen   = 16,
13043                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13044                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13045                           "\xee\xee\xee\xee\xff\xff\xff\xff"
13046                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13047                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
13048                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
13049                 .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
13050                           "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
13051                 .ctext  = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
13052                           "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
13053                           "\x4C\xB7\x01\x69\x51\x90\x92\x26"
13054                           "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
13055                 .len    = 32,
13056         }, { /* A.2.2.2 SM4-CBC Example 2 */
13057                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
13058                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
13059                 .klen   = 16,
13060                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13061                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13062                           "\xee\xee\xee\xee\xff\xff\xff\xff"
13063                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13064                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
13065                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
13066                 .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
13067                           "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
13068                 .ctext  = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
13069                           "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
13070                           "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
13071                           "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
13072                 .len    = 32,
13073         }
13074 };
13075
13076 static const struct cipher_testvec sm4_ctr_tv_template[] = {
13077         { /* A.2.5.1 SM4-CTR Example 1 */
13078                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
13079                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
13080                 .klen   = 16,
13081                 .ptext  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13082                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
13083                           "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
13084                           "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
13085                           "\xee\xee\xee\xee\xee\xee\xee\xee"
13086                           "\xff\xff\xff\xff\xff\xff\xff\xff"
13087                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13088                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
13089                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
13090                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
13091                 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
13092                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
13093                 .ctext  = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
13094                           "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
13095                           "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
13096                           "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
13097                           "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
13098                           "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
13099                           "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
13100                           "\x8b\x29\x33\x85\x1d\x82\x45\x14",
13101                 .len    = 64,
13102         }, { /* A.2.5.2 SM4-CTR Example 2 */
13103                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
13104                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
13105                 .klen   = 16,
13106                 .ptext  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13107                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
13108                           "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
13109                           "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
13110                           "\xee\xee\xee\xee\xee\xee\xee\xee"
13111                           "\xff\xff\xff\xff\xff\xff\xff\xff"
13112                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13113                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
13114                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
13115                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
13116                 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
13117                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
13118                 .ctext  = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
13119                           "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
13120                           "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
13121                           "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
13122                           "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
13123                           "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
13124                           "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
13125                           "\x28\x4b\xde\x9e\x16\xea\x29\x06",
13126                 .len    = 64,
13127         }
13128 };
13129
13130 static const struct cipher_testvec sm4_ctr_rfc3686_tv_template[] = {
13131         {
13132                 .key    = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
13133                           "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
13134                           "\x00\x00\x00\x30",
13135                 .klen   = 20,
13136                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
13137                 .ptext  = "Single block msg",
13138                 .ctext  = "\x20\x9b\x77\x31\xd3\x65\xdb\xab"
13139                           "\x9e\x48\x74\x7e\xbd\x13\x83\xeb",
13140                 .len    = 16,
13141         }, {
13142                 .key    = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
13143                           "\x43\xd6\xce\x1f\x32\x53\x91\x63"
13144                           "\x00\x6c\xb6\xdb",
13145                 .klen   = 20,
13146                 .iv     = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
13147                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13148                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13149                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13150                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13151                 .ctext  = "\x33\xe0\x28\x01\x92\xed\xc9\x1e"
13152                           "\x97\x35\xd9\x4a\xec\xd4\xbc\x23"
13153                           "\x4f\x35\x9f\x1c\x55\x1f\xe0\x27"
13154                           "\xe0\xdf\xc5\x43\xbc\xb0\x23\x94",
13155                 .len    = 32,
13156         }
13157 };
13158
13159 static const struct cipher_testvec sm4_ofb_tv_template[] = {
13160         { /* From: draft-ribose-cfrg-sm4-02, paragraph 12.2.3 */
13161                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13162                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13163                 .klen   = 16,
13164                 .iv     = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13165                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13166                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13167                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
13168                           "\x01\x23\x45\x67\x89\xab\xcd\xef"
13169                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13170                 .ctext  = "\x69\x3d\x9a\x53\x5b\xad\x5b\xb1"
13171                           "\x78\x6f\x53\xd7\x25\x3a\x70\x56"
13172                           "\xf2\x07\x5d\x28\xb5\x23\x5f\x58"
13173                           "\xd5\x00\x27\xe4\x17\x7d\x2b\xce",
13174                 .len    = 32,
13175         }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.3, Example 1 */
13176                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13177                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13178                 .klen   = 16,
13179                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
13180                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13181                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13182                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13183                           "\xee\xee\xee\xee\xff\xff\xff\xff"
13184                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13185                 .ctext  = "\xac\x32\x36\xcb\x86\x1d\xd3\x16"
13186                           "\xe6\x41\x3b\x4e\x3c\x75\x24\xb7"
13187                           "\x1d\x01\xac\xa2\x48\x7c\xa5\x82"
13188                           "\xcb\xf5\x46\x3e\x66\x98\x53\x9b",
13189                 .len    = 32,
13190         }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.3, Example 2 */
13191                 .key    = "\xfe\xdc\xba\x98\x76\x54\x32\x10"
13192                           "\x01\x23\x45\x67\x89\xab\xcd\xef",
13193                 .klen   = 16,
13194                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
13195                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13196                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13197                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13198                           "\xee\xee\xee\xee\xff\xff\xff\xff"
13199                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13200                 .ctext  = "\x5d\xcc\xcd\x25\xa8\x4b\xa1\x65"
13201                           "\x60\xd7\xf2\x65\x88\x70\x68\x49"
13202                           "\x33\xfa\x16\xbd\x5c\xd9\xc8\x56"
13203                           "\xca\xca\xa1\xe1\x01\x89\x7a\x97",
13204                 .len    = 32,
13205         }
13206 };
13207
13208 static const struct cipher_testvec sm4_cfb_tv_template[] = {
13209         { /* From: draft-ribose-cfrg-sm4-02, paragraph 12.2.4 */
13210                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13211                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13212                 .klen   = 16,
13213                 .iv     = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13214                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13215                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13216                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
13217                           "\x01\x23\x45\x67\x89\xab\xcd\xef"
13218                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13219                 .ctext  = "\x69\x3d\x9a\x53\x5b\xad\x5b\xb1"
13220                           "\x78\x6f\x53\xd7\x25\x3a\x70\x56"
13221                           "\x9e\xd2\x58\xa8\x5a\x04\x67\xcc"
13222                           "\x92\xaa\xb3\x93\xdd\x97\x89\x95",
13223                 .len    = 32,
13224         }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.4, Example 1 */
13225                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13226                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13227                 .klen   = 16,
13228                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
13229                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13230                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13231                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13232                           "\xee\xee\xee\xee\xff\xff\xff\xff"
13233                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13234                 .ctext  = "\xac\x32\x36\xcb\x86\x1d\xd3\x16"
13235                           "\xe6\x41\x3b\x4e\x3c\x75\x24\xb7"
13236                           "\x69\xd4\xc5\x4e\xd4\x33\xb9\xa0"
13237                           "\x34\x60\x09\xbe\xb3\x7b\x2b\x3f",
13238                 .len    = 32,
13239         }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.4, Example 2 */
13240                 .key    = "\xfe\xdc\xba\x98\x76\x54\x32\x10"
13241                           "\x01\x23\x45\x67\x89\xab\xcd\xef",
13242                 .klen   = 16,
13243                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
13244                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13245                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13246                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13247                           "\xee\xee\xee\xee\xff\xff\xff\xff"
13248                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13249                 .ctext  = "\x5d\xcc\xcd\x25\xa8\x4b\xa1\x65"
13250                           "\x60\xd7\xf2\x65\x88\x70\x68\x49"
13251                           "\x0d\x9b\x86\xff\x20\xc3\xbf\xe1"
13252                           "\x15\xff\xa0\x2c\xa6\x19\x2c\xc5",
13253                 .len    = 32,
13254         }
13255 };
13256
13257 /* Cast6 test vectors from RFC 2612 */
13258 static const struct cipher_testvec cast6_tv_template[] = {
13259         {
13260                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13261                           "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13262                 .klen   = 16,
13263                 .ptext  = zeroed_string,
13264                 .ctext  = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13265                           "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13266                 .len    = 16,
13267         }, {
13268                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13269                           "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13270                           "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13271                 .klen   = 24,
13272                 .ptext  = zeroed_string,
13273                 .ctext  = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13274                           "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13275                 .len    = 16,
13276         }, {
13277                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13278                           "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13279                           "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13280                           "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13281                 .klen   = 32,
13282                 .ptext  = zeroed_string,
13283                 .ctext  = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13284                           "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13285                 .len    = 16,
13286         }, { /* Generated from TF test vectors */
13287                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13288                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13289                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13290                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13291                 .klen   = 32,
13292                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13293                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13294                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13295                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13296                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13297                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13298                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13299                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13300                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13301                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13302                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13303                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13304                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13305                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13306                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13307                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13308                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13309                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13310                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13311                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13312                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13313                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13314                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13315                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13316                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13317                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13318                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13319                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13320                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13321                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13322                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13323                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13324                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13325                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13326                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13327                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13328                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13329                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13330                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13331                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13332                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13333                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13334                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13335                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13336                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13337                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13338                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13339                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13340                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13341                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13342                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13343                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13344                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13345                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13346                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13347                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13348                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13349                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13350                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13351                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13352                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13353                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13354                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13355                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13356                 .ctext  = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13357                           "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13358                           "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13359                           "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13360                           "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13361                           "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13362                           "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13363                           "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13364                           "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13365                           "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13366                           "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13367                           "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13368                           "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13369                           "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13370                           "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13371                           "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13372                           "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13373                           "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13374                           "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13375                           "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13376                           "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13377                           "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13378                           "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13379                           "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13380                           "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13381                           "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13382                           "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13383                           "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13384                           "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13385                           "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13386                           "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13387                           "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13388                           "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13389                           "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13390                           "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13391                           "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13392                           "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13393                           "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
13394                           "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
13395                           "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
13396                           "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
13397                           "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
13398                           "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
13399                           "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
13400                           "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
13401                           "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
13402                           "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
13403                           "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
13404                           "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
13405                           "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
13406                           "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
13407                           "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
13408                           "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
13409                           "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
13410                           "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
13411                           "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
13412                           "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
13413                           "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
13414                           "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
13415                           "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
13416                           "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
13417                           "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
13418                 .len    = 496,
13419         },
13420 };
13421
13422 static const struct cipher_testvec cast6_cbc_tv_template[] = {
13423         { /* Generated from TF test vectors */
13424                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13425                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13426                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13427                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13428                 .klen   = 32,
13429                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13430                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13431                 .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
13432                           "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
13433                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13434                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13435                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13436                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13437                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13438                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13439                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13440                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13441                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13442                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13443                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13444                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13445                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13446                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13447                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13448                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13449                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13450                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13451                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13452                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13453                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13454                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13455                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13456                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13457                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13458                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13459                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13460                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13461                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13462                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13463                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13464                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13465                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13466                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13467                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13468                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13469                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13470                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13471                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13472                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13473                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13474                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13475                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13476                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13477                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13478                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13479                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13480                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13481                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13482                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13483                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13484                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13485                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13486                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13487                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13488                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13489                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13490                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13491                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13492                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13493                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13494                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13495                 .ctext  = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
13496                           "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
13497                           "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
13498                           "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
13499                           "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
13500                           "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
13501                           "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
13502                           "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
13503                           "\x57\x95\xE1\x21\x26\x10\x9A\x21"
13504                           "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
13505                           "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
13506                           "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
13507                           "\x23\x16\x47\x72\x81\x13\x3A\x72"
13508                           "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
13509                           "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
13510                           "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
13511                           "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
13512                           "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
13513                           "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
13514                           "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
13515                           "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
13516                           "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
13517                           "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
13518                           "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
13519                           "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
13520                           "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
13521                           "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
13522                           "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
13523                           "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
13524                           "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
13525                           "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
13526                           "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
13527                           "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
13528                           "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
13529                           "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
13530                           "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
13531                           "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
13532                           "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
13533                           "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
13534                           "\x73\x3F\x12\x91\x47\x54\xBA\x39"
13535                           "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
13536                           "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
13537                           "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
13538                           "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
13539                           "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
13540                           "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
13541                           "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
13542                           "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
13543                           "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
13544                           "\x80\x21\x83\x58\x3C\x76\xFD\x28"
13545                           "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
13546                           "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
13547                           "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
13548                           "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
13549                           "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
13550                           "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
13551                           "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
13552                           "\x56\x4D\x82\x62\x37\xA3\x48\x01"
13553                           "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
13554                           "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
13555                           "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
13556                           "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
13557                 .len    = 496,
13558         },
13559 };
13560
13561 static const struct cipher_testvec cast6_ctr_tv_template[] = {
13562         { /* Generated from TF test vectors */
13563                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13564                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13565                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13566                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13567                 .klen   = 32,
13568                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13569                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13570                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13571                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
13572                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13573                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13574                           "\x3A",
13575                 .ctext  = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
13576                           "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
13577                           "\x57",
13578                 .len    = 17,
13579         }, { /* Generated from TF test vectors */
13580                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13581                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13582                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13583                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13584                 .klen   = 32,
13585                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13586                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13587                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13588                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
13589                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13590                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13591                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13592                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13593                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13594                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13595                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13596                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13597                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13598                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13599                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13600                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13601                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13602                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13603                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13604                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13605                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13606                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13607                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13608                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13609                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13610                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13611                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13612                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13613                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13614                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13615                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13616                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13617                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13618                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13619                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13620                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13621                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13622                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13623                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13624                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13625                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13626                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13627                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13628                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13629                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13630                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13631                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13632                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13633                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13634                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13635                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13636                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13637                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13638                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13639                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13640                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13641                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13642                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13643                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13644                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13645                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13646                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13647                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13648                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13649                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13650                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13651                 .ctext  = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
13652                           "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
13653                           "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
13654                           "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
13655                           "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
13656                           "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
13657                           "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
13658                           "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
13659                           "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
13660                           "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
13661                           "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
13662                           "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
13663                           "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
13664                           "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
13665                           "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
13666                           "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
13667                           "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
13668                           "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
13669                           "\x49\x61\x22\x52\x64\x8C\x46\x41"
13670                           "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
13671                           "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
13672                           "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
13673                           "\x00\x14\x15\x59\xC1\x30\x64\xAF"
13674                           "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
13675                           "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
13676                           "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
13677                           "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
13678                           "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
13679                           "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
13680                           "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
13681                           "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
13682                           "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
13683                           "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
13684                           "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
13685                           "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
13686                           "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
13687                           "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
13688                           "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
13689                           "\x60\x40\x38\x90\x20\x46\xC7\xB3"
13690                           "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
13691                           "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
13692                           "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
13693                           "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
13694                           "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
13695                           "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
13696                           "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
13697                           "\x73\xFC\x91\xAB\x79\x41\x23\x14"
13698                           "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
13699                           "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
13700                           "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
13701                           "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
13702                           "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
13703                           "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
13704                           "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
13705                           "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
13706                           "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
13707                           "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
13708                           "\x19\x35\x88\x22\x45\x59\x0E\x8F"
13709                           "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
13710                           "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
13711                           "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
13712                           "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
13713                 .len    = 496,
13714         },
13715 };
13716
13717 static const struct cipher_testvec cast6_lrw_tv_template[] = {
13718         { /* Generated from TF test vectors */
13719                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13720                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13721                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13722                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13723                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13724                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13725                 .klen   = 48,
13726                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13727                           "\x00\x00\x00\x00\x00\x00\x00\x01",
13728                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
13729                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
13730                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
13731                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
13732                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
13733                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
13734                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
13735                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
13736                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
13737                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
13738                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
13739                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
13740                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
13741                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
13742                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
13743                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
13744                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
13745                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
13746                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
13747                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
13748                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
13749                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
13750                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
13751                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
13752                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
13753                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
13754                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
13755                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
13756                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
13757                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
13758                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
13759                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
13760                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
13761                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
13762                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
13763                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
13764                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
13765                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
13766                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
13767                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
13768                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
13769                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
13770                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
13771                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
13772                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
13773                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
13774                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
13775                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
13776                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
13777                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
13778                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
13779                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
13780                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
13781                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
13782                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
13783                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
13784                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
13785                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
13786                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
13787                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
13788                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
13789                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
13790                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
13791                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
13792                 .ctext  = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
13793                           "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
13794                           "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
13795                           "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
13796                           "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
13797                           "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
13798                           "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
13799                           "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
13800                           "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
13801                           "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
13802                           "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
13803                           "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
13804                           "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
13805                           "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
13806                           "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
13807                           "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
13808                           "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
13809                           "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
13810                           "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
13811                           "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
13812                           "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
13813                           "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
13814                           "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
13815                           "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
13816                           "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
13817                           "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
13818                           "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
13819                           "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
13820                           "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
13821                           "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
13822                           "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
13823                           "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
13824                           "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
13825                           "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
13826                           "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
13827                           "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
13828                           "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
13829                           "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
13830                           "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
13831                           "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
13832                           "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
13833                           "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
13834                           "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
13835                           "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
13836                           "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
13837                           "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
13838                           "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
13839                           "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
13840                           "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
13841                           "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
13842                           "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
13843                           "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
13844                           "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
13845                           "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
13846                           "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
13847                           "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
13848                           "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
13849                           "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
13850                           "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
13851                           "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
13852                           "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
13853                           "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
13854                           "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
13855                           "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
13856                 .len    = 512,
13857         },
13858 };
13859
13860 static const struct cipher_testvec cast6_xts_tv_template[] = {
13861         { /* Generated from TF test vectors */
13862                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
13863                           "\x23\x53\x60\x28\x74\x71\x35\x26"
13864                           "\x62\x49\x77\x57\x24\x70\x93\x69"
13865                           "\x99\x59\x57\x49\x66\x96\x76\x27"
13866                           "\x31\x41\x59\x26\x53\x58\x97\x93"
13867                           "\x23\x84\x62\x64\x33\x83\x27\x95"
13868                           "\x02\x88\x41\x97\x16\x93\x99\x37"
13869                           "\x51\x05\x82\x09\x74\x94\x45\x92",
13870                 .klen   = 64,
13871                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
13872                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13873                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13874                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13875                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13876                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13877                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13878                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13879                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13880                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13881                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13882                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13883                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13884                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13885                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13886                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13887                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13888                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13889                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13890                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13891                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13892                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13893                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13894                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13895                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13896                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13897                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13898                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13899                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13900                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13901                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13902                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13903                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13904                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13905                           "\x00\x01\x02\x03\x04\x05\x06\x07"
13906                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13907                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13908                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13909                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13910                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13911                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13912                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13913                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13914                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13915                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13916                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13917                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13918                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13919                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13920                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13921                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13922                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13923                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13924                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13925                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13926                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13927                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13928                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13929                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13930                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13931                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13932                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13933                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13934                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13935                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13936                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13937                 .ctext  = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
13938                           "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
13939                           "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
13940                           "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
13941                           "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
13942                           "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
13943                           "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
13944                           "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
13945                           "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
13946                           "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
13947                           "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
13948                           "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
13949                           "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
13950                           "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
13951                           "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
13952                           "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
13953                           "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
13954                           "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
13955                           "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
13956                           "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
13957                           "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
13958                           "\x71\x38\x17\x91\x44\xE8\xFC\x65"
13959                           "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
13960                           "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
13961                           "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
13962                           "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
13963                           "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
13964                           "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
13965                           "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
13966                           "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
13967                           "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
13968                           "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
13969                           "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
13970                           "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
13971                           "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
13972                           "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
13973                           "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
13974                           "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
13975                           "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
13976                           "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
13977                           "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
13978                           "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
13979                           "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
13980                           "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
13981                           "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
13982                           "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
13983                           "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
13984                           "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
13985                           "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
13986                           "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
13987                           "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
13988                           "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
13989                           "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
13990                           "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
13991                           "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
13992                           "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
13993                           "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
13994                           "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
13995                           "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
13996                           "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
13997                           "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
13998                           "\x45\x72\x80\x17\x81\xBD\x9D\x62"
13999                           "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
14000                           "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
14001                 .len    = 512,
14002         },
14003 };
14004
14005 /*
14006  * AES test vectors.
14007  */
14008 static const struct cipher_testvec aes_tv_template[] = {
14009         { /* From FIPS-197 */
14010                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
14011                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14012                 .klen   = 16,
14013                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
14014                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
14015                 .ctext  = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
14016                           "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
14017                 .len    = 16,
14018         }, {
14019                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
14020                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14021                           "\x10\x11\x12\x13\x14\x15\x16\x17",
14022                 .klen   = 24,
14023                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
14024                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
14025                 .ctext  = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
14026                           "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
14027                 .len    = 16,
14028         }, {
14029                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
14030                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14031                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14032                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14033                 .klen   = 32,
14034                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
14035                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
14036                 .ctext  = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
14037                           "\xea\xfc\x49\x90\x4b\x49\x60\x89",
14038                 .len    = 16,
14039         }, { /* Generated with Crypto++ */
14040                 .key    = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
14041                           "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
14042                           "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
14043                           "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
14044                 .klen   = 32,
14045                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
14046                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
14047                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
14048                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
14049                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
14050                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
14051                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
14052                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
14053                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
14054                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
14055                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
14056                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
14057                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
14058                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
14059                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
14060                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
14061                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
14062                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
14063                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
14064                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
14065                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
14066                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
14067                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
14068                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
14069                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
14070                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
14071                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
14072                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
14073                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
14074                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
14075                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
14076                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
14077                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
14078                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
14079                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
14080                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
14081                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
14082                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
14083                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
14084                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
14085                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
14086                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
14087                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
14088                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
14089                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
14090                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
14091                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
14092                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
14093                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
14094                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
14095                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
14096                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
14097                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
14098                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
14099                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
14100                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
14101                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
14102                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
14103                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
14104                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
14105                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
14106                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
14107                 .ctext  = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
14108                           "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
14109                           "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
14110                           "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
14111                           "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
14112                           "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
14113                           "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
14114                           "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
14115                           "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
14116                           "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
14117                           "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
14118                           "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
14119                           "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
14120                           "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
14121                           "\x41\x72\x51\x97\x1D\x07\x49\xA0"
14122                           "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
14123                           "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
14124                           "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
14125                           "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
14126                           "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
14127                           "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
14128                           "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
14129                           "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
14130                           "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
14131                           "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
14132                           "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
14133                           "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
14134                           "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
14135                           "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
14136                           "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
14137                           "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
14138                           "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
14139                           "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
14140                           "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
14141                           "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
14142                           "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
14143                           "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
14144                           "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
14145                           "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
14146                           "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
14147                           "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
14148                           "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
14149                           "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
14150                           "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
14151                           "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
14152                           "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
14153                           "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
14154                           "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
14155                           "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
14156                           "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
14157                           "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
14158                           "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
14159                           "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
14160                           "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
14161                           "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
14162                           "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
14163                           "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
14164                           "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
14165                           "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
14166                           "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
14167                           "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
14168                           "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
14169                 .len    = 496,
14170         },
14171 };
14172
14173 static const struct cipher_testvec aes_cbc_tv_template[] = {
14174         { /* From RFC 3602 */
14175                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
14176                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
14177                 .klen   = 16,
14178                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14179                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14180                 .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
14181                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
14182                 .ptext  = "Single block msg",
14183                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
14184                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
14185                 .len    = 16,
14186         }, {
14187                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
14188                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
14189                 .klen   = 16,
14190                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14191                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14192                 .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
14193                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
14194                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14195                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14196                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14197                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14198                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
14199                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
14200                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
14201                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
14202                 .len    = 32,
14203         }, { /* From NIST SP800-38A */
14204                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
14205                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
14206                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
14207                 .klen   = 24,
14208                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14209                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14210                 .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
14211                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
14212                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14213                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14214                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14215                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14216                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14217                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14218                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14219                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14220                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
14221                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
14222                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
14223                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
14224                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
14225                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
14226                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
14227                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
14228                 .len    = 64,
14229         }, {
14230                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
14231                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
14232                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
14233                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
14234                 .klen   = 32,
14235                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14236                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14237                 .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
14238                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
14239                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14240                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14241                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14242                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14243                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14244                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14245                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14246                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14247                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
14248                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
14249                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
14250                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
14251                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
14252                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
14253                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
14254                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
14255                 .len    = 64,
14256         }, { /* Generated with Crypto++ */
14257                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
14258                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
14259                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
14260                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
14261                 .klen   = 32,
14262                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
14263                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
14264                 .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
14265                           "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
14266                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
14267                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
14268                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
14269                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
14270                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
14271                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
14272                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
14273                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
14274                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
14275                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
14276                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
14277                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
14278                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
14279                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
14280                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
14281                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
14282                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
14283                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
14284                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
14285                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
14286                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
14287                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
14288                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
14289                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
14290                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
14291                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
14292                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
14293                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
14294                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
14295                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
14296                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
14297                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
14298                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
14299                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
14300                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
14301                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
14302                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
14303                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
14304                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
14305                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
14306                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
14307                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
14308                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
14309                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
14310                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
14311                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
14312                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
14313                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
14314                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
14315                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
14316                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
14317                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
14318                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
14319                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
14320                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
14321                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
14322                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
14323                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
14324                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
14325                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
14326                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
14327                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
14328                 .ctext  = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
14329                           "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
14330                           "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
14331                           "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
14332                           "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
14333                           "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
14334                           "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
14335                           "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
14336                           "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
14337                           "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
14338                           "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
14339                           "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
14340                           "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
14341                           "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
14342                           "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
14343                           "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
14344                           "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
14345                           "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
14346                           "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
14347                           "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
14348                           "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
14349                           "\x16\x24\x02\x07\x48\xAE\xF2\x31"
14350                           "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
14351                           "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
14352                           "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
14353                           "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
14354                           "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
14355                           "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
14356                           "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
14357                           "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
14358                           "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
14359                           "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
14360                           "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
14361                           "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
14362                           "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
14363                           "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
14364                           "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
14365                           "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
14366                           "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
14367                           "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
14368                           "\x22\x39\x7B\x16\x03\x01\x69\xAF"
14369                           "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
14370                           "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
14371                           "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
14372                           "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
14373                           "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
14374                           "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
14375                           "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
14376                           "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
14377                           "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
14378                           "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
14379                           "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
14380                           "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
14381                           "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
14382                           "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
14383                           "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
14384                           "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
14385                           "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
14386                           "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
14387                           "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
14388                           "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
14389                           "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
14390                 .len    = 496,
14391         },
14392 };
14393
14394 static const struct cipher_testvec aes_cfb_tv_template[] = {
14395         { /* From NIST SP800-38A */
14396                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
14397                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
14398                 .klen   = 16,
14399                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14400                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14401                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14402                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14403                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14404                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14405                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14406                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14407                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14408                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14409                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
14410                           "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
14411                           "\xc8\xa6\x45\x37\xa0\xb3\xa9\x3f"
14412                           "\xcd\xe3\xcd\xad\x9f\x1c\xe5\x8b"
14413                           "\x26\x75\x1f\x67\xa3\xcb\xb1\x40"
14414                           "\xb1\x80\x8c\xf1\x87\xa4\xf4\xdf"
14415                           "\xc0\x4b\x05\x35\x7c\x5d\x1c\x0e"
14416                           "\xea\xc4\xc6\x6f\x9f\xf7\xf2\xe6",
14417                 .len    = 64,
14418         }, {
14419                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
14420                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
14421                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
14422                 .klen   = 24,
14423                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14424                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14425                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14426                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14427                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14428                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14429                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14430                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14431                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14432                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14433                 .ctext  = "\xcd\xc8\x0d\x6f\xdd\xf1\x8c\xab"
14434                           "\x34\xc2\x59\x09\xc9\x9a\x41\x74"
14435                           "\x67\xce\x7f\x7f\x81\x17\x36\x21"
14436                           "\x96\x1a\x2b\x70\x17\x1d\x3d\x7a"
14437                           "\x2e\x1e\x8a\x1d\xd5\x9b\x88\xb1"
14438                           "\xc8\xe6\x0f\xed\x1e\xfa\xc4\xc9"
14439                           "\xc0\x5f\x9f\x9c\xa9\x83\x4f\xa0"
14440                           "\x42\xae\x8f\xba\x58\x4b\x09\xff",
14441                 .len    = 64,
14442         }, {
14443                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
14444                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
14445                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
14446                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
14447                 .klen   = 32,
14448                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14449                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14450                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14451                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14452                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14453                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14454                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14455                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14456                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14457                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14458                 .ctext  = "\xdc\x7e\x84\xbf\xda\x79\x16\x4b"
14459                           "\x7e\xcd\x84\x86\x98\x5d\x38\x60"
14460                           "\x39\xff\xed\x14\x3b\x28\xb1\xc8"
14461                           "\x32\x11\x3c\x63\x31\xe5\x40\x7b"
14462                           "\xdf\x10\x13\x24\x15\xe5\x4b\x92"
14463                           "\xa1\x3e\xd0\xa8\x26\x7a\xe2\xf9"
14464                           "\x75\xa3\x85\x74\x1a\xb9\xce\xf8"
14465                           "\x20\x31\x62\x3d\x55\xb1\xe4\x71",
14466                 .len    = 64,
14467         }, { /* > 16 bytes, not a multiple of 16 bytes */
14468                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
14469                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
14470                 .klen   = 16,
14471                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14472                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14473                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14474                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14475                           "\xae",
14476                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
14477                           "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
14478                           "\xc8",
14479                 .len    = 17,
14480         }, { /* < 16 bytes */
14481                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
14482                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
14483                 .klen   = 16,
14484                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14485                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14486                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
14487                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
14488                 .len    = 7,
14489         },
14490 };
14491
14492 static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
14493         { /* Input data from RFC 2410 Case 1 */
14494 #ifdef __LITTLE_ENDIAN
14495                 .key    = "\x08\x00"            /* rta length */
14496                           "\x01\x00"            /* rta type */
14497 #else
14498                 .key    = "\x00\x08"            /* rta length */
14499                           "\x00\x01"            /* rta type */
14500 #endif
14501                           "\x00\x00\x00\x00"    /* enc key length */
14502                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14503                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14504                 .klen   = 8 + 16 + 0,
14505                 .iv     = "",
14506                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
14507                 .plen   = 8,
14508                 .ctext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14509                           "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
14510                           "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
14511                 .clen   = 8 + 16,
14512         }, { /* Input data from RFC 2410 Case 2 */
14513 #ifdef __LITTLE_ENDIAN
14514                 .key    = "\x08\x00"            /* rta length */
14515                           "\x01\x00"            /* rta type */
14516 #else
14517                 .key    = "\x00\x08"            /* rta length */
14518                           "\x00\x01"            /* rta type */
14519 #endif
14520                           "\x00\x00\x00\x00"    /* enc key length */
14521                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14522                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14523                 .klen   = 8 + 16 + 0,
14524                 .iv     = "",
14525                 .ptext  = "Network Security People Have A Strange Sense Of Humor",
14526                 .plen   = 53,
14527                 .ctext  = "Network Security People Have A Strange Sense Of Humor"
14528                           "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
14529                           "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
14530                 .clen   = 53 + 16,
14531         },
14532 };
14533
14534 static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
14535         { /* RFC 3602 Case 1 */
14536 #ifdef __LITTLE_ENDIAN
14537                 .key    = "\x08\x00"            /* rta length */
14538                           "\x01\x00"            /* rta type */
14539 #else
14540                 .key    = "\x00\x08"            /* rta length */
14541                           "\x00\x01"            /* rta type */
14542 #endif
14543                           "\x00\x00\x00\x10"    /* enc key length */
14544                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14545                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14546                           "\x00\x00\x00\x00"
14547                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
14548                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
14549                 .klen   = 8 + 20 + 16,
14550                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14551                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14552                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14553                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14554                 .alen   = 16,
14555                 .ptext  = "Single block msg",
14556                 .plen   = 16,
14557                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
14558                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
14559                           "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
14560                           "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
14561                           "\x03\x71\xa2\x06",
14562                 .clen   = 16 + 20,
14563         }, { /* RFC 3602 Case 2 */
14564 #ifdef __LITTLE_ENDIAN
14565                 .key    = "\x08\x00"            /* rta length */
14566                           "\x01\x00"            /* rta type */
14567 #else
14568                 .key    = "\x00\x08"            /* rta length */
14569                           "\x00\x01"            /* rta type */
14570 #endif
14571                           "\x00\x00\x00\x10"    /* enc key length */
14572                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14573                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14574                           "\x30\x31\x32\x33"
14575                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
14576                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
14577                 .klen   = 8 + 20 + 16,
14578                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14579                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14580                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14581                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14582                 .alen   = 16,
14583                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14584                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14585                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14586                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14587                 .plen   = 32,
14588                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
14589                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
14590                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
14591                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
14592                           "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
14593                           "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
14594                           "\x65\x39\xf8\xde",
14595                 .clen   = 32 + 20,
14596         }, { /* RFC 3602 Case 3 */
14597 #ifdef __LITTLE_ENDIAN
14598                 .key    = "\x08\x00"            /* rta length */
14599                           "\x01\x00"            /* rta type */
14600 #else
14601                 .key    = "\x00\x08"            /* rta length */
14602                           "\x00\x01"            /* rta type */
14603 #endif
14604                           "\x00\x00\x00\x10"    /* enc key length */
14605                           "\x11\x22\x33\x44\x55\x66\x77\x88"
14606                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14607                           "\x22\x33\x44\x55"
14608                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
14609                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
14610                 .klen   = 8 + 20 + 16,
14611                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14612                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
14613                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14614                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
14615                 .alen   = 16,
14616                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
14617                 .plen   = 48,
14618                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
14619                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
14620                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
14621                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
14622                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
14623                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
14624                           "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
14625                           "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
14626                           "\x8d\x62\xf2\x1e",
14627                 .clen   = 48 + 20,
14628         }, { /* RFC 3602 Case 4 */
14629 #ifdef __LITTLE_ENDIAN
14630                 .key    = "\x08\x00"            /* rta length */
14631                           "\x01\x00"            /* rta type */
14632 #else
14633                 .key    = "\x00\x08"            /* rta length */
14634                           "\x00\x01"            /* rta type */
14635 #endif
14636                           "\x00\x00\x00\x10"    /* enc key length */
14637                           "\x11\x22\x33\x44\x55\x66\x77\x88"
14638                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14639                           "\x22\x33\x44\x55"
14640                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
14641                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
14642                 .klen   = 8 + 20 + 16,
14643                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14644                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
14645                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14646                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
14647                 .alen   = 16,
14648                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14649                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14650                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14651                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14652                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14653                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14654                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14655                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
14656                 .plen   = 64,
14657                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
14658                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
14659                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
14660                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
14661                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
14662                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
14663                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
14664                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
14665                           "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
14666                           "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
14667                           "\x1d\xbe\xc6\xe9",
14668                 .clen   = 64 + 20,
14669         }, { /* RFC 3602 Case 5 */
14670 #ifdef __LITTLE_ENDIAN
14671                 .key    = "\x08\x00"            /* rta length */
14672                           "\x01\x00"            /* rta type */
14673 #else
14674                 .key    = "\x00\x08"            /* rta length */
14675                           "\x00\x01"            /* rta type */
14676 #endif
14677                           "\x00\x00\x00\x10"    /* enc key length */
14678                           "\x11\x22\x33\x44\x55\x66\x77\x88"
14679                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14680                           "\x22\x33\x44\x55"
14681                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
14682                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
14683                 .klen   = 8 + 20 + 16,
14684                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
14685                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
14686                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
14687                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
14688                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
14689                 .alen   = 24,
14690                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
14691                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
14692                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14693                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14694                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14695                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14696                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14697                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14698                           "\x01\x02\x03\x04\x05\x06\x07\x08"
14699                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
14700                 .plen   = 80,
14701                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
14702                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
14703                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
14704                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
14705                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
14706                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
14707                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
14708                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
14709                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
14710                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
14711                           "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
14712                           "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
14713                           "\x85\xe1\x59\xf7",
14714                 .clen   = 80 + 20,
14715        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
14716 #ifdef __LITTLE_ENDIAN
14717                 .key    = "\x08\x00"            /* rta length */
14718                           "\x01\x00"            /* rta type */
14719 #else
14720                 .key    = "\x00\x08"            /* rta length */
14721                           "\x00\x01"            /* rta type */
14722 #endif
14723                           "\x00\x00\x00\x18"    /* enc key length */
14724                           "\x11\x22\x33\x44\x55\x66\x77\x88"
14725                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14726                           "\x22\x33\x44\x55"
14727                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
14728                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
14729                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
14730                 .klen   = 8 + 20 + 24,
14731                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14732                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14733                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14734                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14735                 .alen   = 16,
14736                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14737                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14738                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14739                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14740                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14741                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14742                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14743                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14744                 .plen   = 64,
14745                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
14746                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
14747                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
14748                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
14749                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
14750                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
14751                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
14752                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
14753                           "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
14754                           "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
14755                           "\x47\x4c\xfc\x36",
14756                 .clen   = 64 + 20,
14757         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
14758 #ifdef __LITTLE_ENDIAN
14759                 .key    = "\x08\x00"            /* rta length */
14760                           "\x01\x00"            /* rta type */
14761 #else
14762                 .key    = "\x00\x08"            /* rta length */
14763                           "\x00\x01"            /* rta type */
14764 #endif
14765                           "\x00\x00\x00\x20"    /* enc key length */
14766                           "\x11\x22\x33\x44\x55\x66\x77\x88"
14767                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14768                           "\x22\x33\x44\x55"
14769                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
14770                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
14771                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
14772                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
14773                 .klen   = 8 + 20 + 32,
14774                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14775                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14776                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14777                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14778                 .alen   = 16,
14779                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14780                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14781                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14782                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14783                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14784                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14785                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14786                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14787                 .plen   = 64,
14788                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
14789                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
14790                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
14791                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
14792                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
14793                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
14794                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
14795                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
14796                           "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
14797                           "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
14798                           "\x51\xee\xd6\x4e",
14799                 .clen   = 64 + 20,
14800         },
14801 };
14802
14803 static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
14804         { /* Input data from RFC 2410 Case 1 */
14805 #ifdef __LITTLE_ENDIAN
14806                 .key    = "\x08\x00"            /* rta length */
14807                           "\x01\x00"            /* rta type */
14808 #else
14809                 .key    = "\x00\x08"            /* rta length */
14810                           "\x00\x01"            /* rta type */
14811 #endif
14812                           "\x00\x00\x00\x00"    /* enc key length */
14813                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14814                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14815                           "\x00\x00\x00\x00",
14816                 .klen   = 8 + 20 + 0,
14817                 .iv     = "",
14818                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
14819                 .plen   = 8,
14820                 .ctext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14821                           "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
14822                           "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
14823                           "\x8c\x5e\xe4\x08",
14824                 .clen   = 8 + 20,
14825         }, { /* Input data from RFC 2410 Case 2 */
14826 #ifdef __LITTLE_ENDIAN
14827                 .key    = "\x08\x00"            /* rta length */
14828                           "\x01\x00"            /* rta type */
14829 #else
14830                 .key    = "\x00\x08"            /* rta length */
14831                           "\x00\x01"            /* rta type */
14832 #endif
14833                           "\x00\x00\x00\x00"    /* enc key length */
14834                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14835                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14836                           "\x00\x00\x00\x00",
14837                 .klen   = 8 + 20 + 0,
14838                 .iv     = "",
14839                 .ptext  = "Network Security People Have A Strange Sense Of Humor",
14840                 .plen   = 53,
14841                 .ctext  = "Network Security People Have A Strange Sense Of Humor"
14842                           "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
14843                           "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
14844                           "\x91\x56\xe4\xd6",
14845                 .clen   = 53 + 20,
14846         },
14847 };
14848
14849 static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
14850         { /* RFC 3602 Case 1 */
14851 #ifdef __LITTLE_ENDIAN
14852                 .key    = "\x08\x00"            /* rta length */
14853                           "\x01\x00"            /* rta type */
14854 #else
14855                 .key    = "\x00\x08"            /* rta length */
14856                           "\x00\x01"            /* rta type */
14857 #endif
14858                           "\x00\x00\x00\x10"    /* enc key length */
14859                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14860                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14861                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14862                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14863                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
14864                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
14865                 .klen   = 8 + 32 + 16,
14866                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14867                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14868                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14869                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14870                 .alen   = 16,
14871                 .ptext  = "Single block msg",
14872                 .plen   = 16,
14873                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
14874                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
14875                           "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
14876                           "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
14877                           "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
14878                           "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
14879                 .clen   = 16 + 32,
14880         }, { /* RFC 3602 Case 2 */
14881 #ifdef __LITTLE_ENDIAN
14882                 .key    = "\x08\x00"            /* rta length */
14883                           "\x01\x00"            /* rta type */
14884 #else
14885                 .key    = "\x00\x08"            /* rta length */
14886                           "\x00\x01"            /* rta type */
14887 #endif
14888                           "\x00\x00\x00\x10"    /* enc key length */
14889                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14890                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14891                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14892                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14893                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
14894                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
14895                 .klen   = 8 + 32 + 16,
14896                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14897                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14898                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14899                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14900                 .alen   = 16,
14901                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14902                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14903                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14904                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14905                 .plen   = 32,
14906                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
14907                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
14908                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
14909                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
14910                           "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
14911                           "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
14912                           "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
14913                           "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
14914                 .clen   = 32 + 32,
14915         }, { /* RFC 3602 Case 3 */
14916 #ifdef __LITTLE_ENDIAN
14917                 .key    = "\x08\x00"            /* rta length */
14918                           "\x01\x00"            /* rta type */
14919 #else
14920                 .key    = "\x00\x08"            /* rta length */
14921                           "\x00\x01"            /* rta type */
14922 #endif
14923                           "\x00\x00\x00\x10"    /* enc key length */
14924                           "\x11\x22\x33\x44\x55\x66\x77\x88"
14925                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14926                           "\x22\x33\x44\x55\x66\x77\x88\x99"
14927                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14928                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
14929                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
14930                 .klen   = 8 + 32 + 16,
14931                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14932                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
14933                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14934                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
14935                 .alen   = 16,
14936                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
14937                 .plen   = 48,
14938                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
14939                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
14940                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
14941                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
14942                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
14943                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
14944                           "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
14945                           "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
14946                           "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
14947                           "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
14948                 .clen   = 48 + 32,
14949         }, { /* RFC 3602 Case 4 */
14950 #ifdef __LITTLE_ENDIAN
14951                 .key    = "\x08\x00"            /* rta length */
14952                           "\x01\x00"            /* rta type */
14953 #else
14954                 .key    = "\x00\x08"            /* rta length */
14955                           "\x00\x01"            /* rta type */
14956 #endif
14957                           "\x00\x00\x00\x10"    /* enc key length */
14958                           "\x11\x22\x33\x44\x55\x66\x77\x88"
14959                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14960                           "\x22\x33\x44\x55\x66\x77\x88\x99"
14961                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14962                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
14963                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
14964                 .klen   = 8 + 32 + 16,
14965                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14966                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
14967                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14968                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
14969                 .alen   = 16,
14970                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14971                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14972                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14973                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14974                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14975                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14976                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14977                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
14978                 .plen   = 64,
14979                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
14980                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
14981                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
14982                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
14983                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
14984                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
14985                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
14986                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
14987                           "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
14988                           "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
14989                           "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
14990                           "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
14991                 .clen   = 64 + 32,
14992         }, { /* RFC 3602 Case 5 */
14993 #ifdef __LITTLE_ENDIAN
14994                 .key    = "\x08\x00"            /* rta length */
14995                           "\x01\x00"            /* rta type */
14996 #else
14997                 .key    = "\x00\x08"            /* rta length */
14998                           "\x00\x01"            /* rta type */
14999 #endif
15000                           "\x00\x00\x00\x10"    /* enc key length */
15001                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15002                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15003                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15004                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15005                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
15006                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
15007                 .klen   = 8 + 32 + 16,
15008                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
15009                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
15010                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15011                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
15012                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
15013                 .alen   = 24,
15014                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
15015                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
15016                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15017                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15018                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15019                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15020                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15021                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15022                           "\x01\x02\x03\x04\x05\x06\x07\x08"
15023                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
15024                 .plen   = 80,
15025                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
15026                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
15027                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
15028                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
15029                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
15030                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
15031                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
15032                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
15033                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
15034                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
15035                           "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
15036                           "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
15037                           "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
15038                           "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
15039                 .clen   = 80 + 32,
15040        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
15041 #ifdef __LITTLE_ENDIAN
15042                 .key    = "\x08\x00"            /* rta length */
15043                           "\x01\x00"            /* rta type */
15044 #else
15045                 .key    = "\x00\x08"            /* rta length */
15046                           "\x00\x01"            /* rta type */
15047 #endif
15048                           "\x00\x00\x00\x18"    /* enc key length */
15049                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15050                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15051                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15052                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15053                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15054                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15055                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15056                 .klen   = 8 + 32 + 24,
15057                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
15058                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15059                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15060                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15061                 .alen   = 16,
15062                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15063                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15064                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15065                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15066                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15067                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15068                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15069                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15070                 .plen   = 64,
15071                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15072                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15073                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15074                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15075                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15076                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15077                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15078                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
15079                           "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
15080                           "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
15081                           "\xca\x71\x85\x93\xf7\x85\x55\x8b"
15082                           "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
15083                 .clen   = 64 + 32,
15084         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
15085 #ifdef __LITTLE_ENDIAN
15086                 .key    = "\x08\x00"            /* rta length */
15087                           "\x01\x00"            /* rta type */
15088 #else
15089                 .key    = "\x00\x08"            /* rta length */
15090                           "\x00\x01"            /* rta type */
15091 #endif
15092                           "\x00\x00\x00\x20"    /* enc key length */
15093                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15094                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15095                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15096                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15097                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15098                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15099                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15100                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15101                 .klen   = 8 + 32 + 32,
15102                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
15103                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15104                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15105                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15106                 .alen   = 16,
15107                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15108                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15109                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15110                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15111                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15112                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15113                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15114                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15115                 .plen   = 64,
15116                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15117                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15118                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15119                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15120                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15121                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15122                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15123                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
15124                           "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
15125                           "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
15126                           "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
15127                           "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
15128                 .clen   = 64 + 32,
15129         },
15130 };
15131
15132 static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
15133         { /* RFC 3602 Case 1 */
15134 #ifdef __LITTLE_ENDIAN
15135                 .key    = "\x08\x00"            /* rta length */
15136                           "\x01\x00"            /* rta type */
15137 #else
15138                 .key    = "\x00\x08"            /* rta length */
15139                           "\x00\x01"            /* rta type */
15140 #endif
15141                           "\x00\x00\x00\x10"    /* enc key length */
15142                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15143                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15144                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15145                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15146                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15147                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15148                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15149                           "\x00\x00\x00\x00\x00\x00\x00\x00"
15150                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15151                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15152                 .klen   = 8 + 64 + 16,
15153                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15154                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15155                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15156                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15157                 .alen   = 16,
15158                 .ptext  = "Single block msg",
15159                 .plen   = 16,
15160                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15161                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
15162                           "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
15163                           "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
15164                           "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
15165                           "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
15166                           "\xec\xbd\x50\x08\x07\x64\x1a\x49"
15167                           "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
15168                           "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
15169                           "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
15170                 .clen   = 16 + 64,
15171         }, { /* RFC 3602 Case 2 */
15172 #ifdef __LITTLE_ENDIAN
15173                 .key    = "\x08\x00"            /* rta length */
15174                           "\x01\x00"            /* rta type */
15175 #else
15176                 .key    = "\x00\x08"            /* rta length */
15177                           "\x00\x01"            /* rta type */
15178 #endif
15179                           "\x00\x00\x00\x10"    /* enc key length */
15180                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15181                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15182                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15183                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15184                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15185                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15186                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15187                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15188                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15189                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15190                 .klen   = 8 + 64 + 16,
15191                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15192                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15193                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15194                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15195                 .alen   = 16,
15196                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15197                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15198                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15199                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15200                 .plen   = 32,
15201                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15202                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15203                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15204                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
15205                           "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
15206                           "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
15207                           "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
15208                           "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
15209                           "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
15210                           "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
15211                           "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
15212                           "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
15213                 .clen   = 32 + 64,
15214         }, { /* RFC 3602 Case 3 */
15215 #ifdef __LITTLE_ENDIAN
15216                 .key    = "\x08\x00"            /* rta length */
15217                           "\x01\x00"            /* rta type */
15218 #else
15219                 .key    = "\x00\x08"            /* rta length */
15220                           "\x00\x01"            /* rta type */
15221 #endif
15222                           "\x00\x00\x00\x10"    /* enc key length */
15223                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15224                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15225                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15226                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15227                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
15228                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
15229                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
15230                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
15231                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
15232                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
15233                 .klen   = 8 + 64 + 16,
15234                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
15235                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
15236                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
15237                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
15238                 .alen   = 16,
15239                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
15240                 .plen   = 48,
15241                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
15242                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
15243                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
15244                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
15245                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
15246                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
15247                           "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
15248                           "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
15249                           "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
15250                           "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
15251                           "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
15252                           "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
15253                           "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
15254                           "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
15255                 .clen   = 48 + 64,
15256         }, { /* RFC 3602 Case 4 */
15257 #ifdef __LITTLE_ENDIAN
15258                 .key    = "\x08\x00"            /* rta length */
15259                           "\x01\x00"            /* rta type */
15260 #else
15261                 .key    = "\x00\x08"            /* rta length */
15262                           "\x00\x01"            /* rta type */
15263 #endif
15264                           "\x00\x00\x00\x10"    /* enc key length */
15265                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15266                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15267                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15268                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15269                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
15270                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
15271                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
15272                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
15273                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
15274                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
15275                 .klen   = 8 + 64 + 16,
15276                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
15277                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
15278                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
15279                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
15280                 .alen   = 16,
15281                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15282                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15283                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15284                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15285                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15286                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15287                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15288                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
15289                 .plen   = 64,
15290                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
15291                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
15292                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
15293                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
15294                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
15295                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
15296                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
15297                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
15298                           "\x82\xcd\x42\x28\x21\x20\x15\xcc"
15299                           "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
15300                           "\x61\x32\x82\x85\xcf\x27\xed\xb4"
15301                           "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
15302                           "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
15303                           "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
15304                           "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
15305                           "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
15306                 .clen   = 64 + 64,
15307         }, { /* RFC 3602 Case 5 */
15308 #ifdef __LITTLE_ENDIAN
15309                 .key    = "\x08\x00"            /* rta length */
15310                           "\x01\x00"            /* rta type */
15311 #else
15312                 .key    = "\x00\x08"            /* rta length */
15313                           "\x00\x01"            /* rta type */
15314 #endif
15315                           "\x00\x00\x00\x10"    /* enc key length */
15316                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15317                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15318                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15319                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15320                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
15321                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
15322                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
15323                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
15324                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
15325                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
15326                 .klen   = 8 + 64 + 16,
15327                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
15328                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
15329                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15330                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
15331                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
15332                 .alen   = 24,
15333                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
15334                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
15335                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15336                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15337                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15338                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15339                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15340                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15341                           "\x01\x02\x03\x04\x05\x06\x07\x08"
15342                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
15343                 .plen   = 80,
15344                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
15345                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
15346                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
15347                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
15348                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
15349                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
15350                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
15351                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
15352                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
15353                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
15354                           "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
15355                           "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
15356                           "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
15357                           "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
15358                           "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
15359                           "\x92\x26\xc1\x76\x20\x11\xeb\xba"
15360                           "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
15361                           "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
15362                 .clen   = 80 + 64,
15363        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
15364 #ifdef __LITTLE_ENDIAN
15365                 .key    = "\x08\x00"            /* rta length */
15366                           "\x01\x00"            /* rta type */
15367 #else
15368                 .key    = "\x00\x08"            /* rta length */
15369                           "\x00\x01"            /* rta type */
15370 #endif
15371                           "\x00\x00\x00\x18"    /* enc key length */
15372                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15373                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15374                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15375                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15376                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
15377                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
15378                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
15379                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
15380                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15381                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15382                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15383                 .klen   = 8 + 64 + 24,
15384                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
15385                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15386                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15387                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15388                 .alen   = 16,
15389                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15390                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15391                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15392                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15393                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15394                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15395                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15396                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15397                 .plen   = 64,
15398                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15399                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15400                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15401                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15402                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15403                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15404                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15405                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
15406                           "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
15407                           "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
15408                           "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
15409                           "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
15410                           "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
15411                           "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
15412                           "\x8d\x43\x98\xa7\x94\x16\x07\x02"
15413                           "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
15414                 .clen   = 64 + 64,
15415         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
15416 #ifdef __LITTLE_ENDIAN
15417                 .key    = "\x08\x00"            /* rta length */
15418                           "\x01\x00"            /* rta type */
15419 #else
15420                 .key    = "\x00\x08"            /* rta length */
15421                           "\x00\x01"            /* rta type */
15422 #endif
15423                           "\x00\x00\x00\x20"    /* enc key length */
15424                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15425                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15426                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15427                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15428                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
15429                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
15430                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
15431                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
15432                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15433                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15434                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15435                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15436                 .klen   = 8 + 64 + 32,
15437                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
15438                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15439                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15440                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15441                 .alen   = 16,
15442                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15443                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15444                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15445                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15446                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15447                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15448                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15449                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15450                 .plen   = 64,
15451                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15452                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15453                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15454                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15455                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15456                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15457                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15458                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
15459                           "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
15460                           "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
15461                           "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
15462                           "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
15463                           "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
15464                           "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
15465                           "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
15466                           "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
15467                 .clen   = 64 + 64,
15468         },
15469 };
15470
15471 static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
15472         { /*Generated with cryptopp*/
15473 #ifdef __LITTLE_ENDIAN
15474                 .key    = "\x08\x00"            /* rta length */
15475                           "\x01\x00"            /* rta type */
15476 #else
15477         .key    = "\x00\x08"            /* rta length */
15478                           "\x00\x01"            /* rta type */
15479 #endif
15480                           "\x00\x00\x00\x08"    /* enc key length */
15481                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15482                   "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15483                           "\x22\x33\x44\x55"
15484                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
15485                 .klen   = 8 + 20 + 8,
15486                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15487                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15488                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15489                 .alen   = 16,
15490                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
15491                           "\x53\x20\x63\x65\x65\x72\x73\x74"
15492                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
15493                           "\x20\x79\x65\x53\x72\x63\x74\x65"
15494                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
15495                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
15496                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
15497                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
15498                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
15499                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
15500                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
15501                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
15502                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
15503                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
15504                           "\x63\x65\x65\x72\x73\x74\x54\x20"
15505                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
15506                 .plen   = 128,
15507                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
15508                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
15509                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
15510                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
15511                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
15512                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
15513                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
15514                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
15515                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
15516                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
15517                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
15518                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
15519                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
15520                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
15521                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
15522                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
15523                           "\x95\x16\x20\x09\xf5\x95\x19\xfd"
15524                           "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
15525                           "\x5c\x44\xa9\x37",
15526                           .clen = 128 + 20,
15527         },
15528 };
15529
15530 static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
15531         { /*Generated with cryptopp*/
15532 #ifdef __LITTLE_ENDIAN
15533                 .key    = "\x08\x00"            /* rta length */
15534                           "\x01\x00"            /* rta type */
15535 #else
15536                 .key    = "\x00\x08"            /* rta length */
15537                           "\x00\x01"            /* rta type */
15538 #endif
15539                           "\x00\x00\x00\x08"    /* enc key length */
15540                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15541                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15542                   "\x22\x33\x44\x55\x66\x77\x88\x99"
15543                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
15544                 .klen   = 8 + 24 + 8,
15545                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15546                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15547                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15548                 .alen   = 16,
15549                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
15550                           "\x53\x20\x63\x65\x65\x72\x73\x74"
15551                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
15552                           "\x20\x79\x65\x53\x72\x63\x74\x65"
15553                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
15554                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
15555                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
15556                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
15557                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
15558                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
15559                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
15560                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
15561                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
15562                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
15563                           "\x63\x65\x65\x72\x73\x74\x54\x20"
15564                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
15565                 .plen   = 128,
15566                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
15567                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
15568                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
15569                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
15570                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
15571                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
15572                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
15573                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
15574                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
15575                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
15576                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
15577                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
15578                   "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
15579                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
15580                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
15581                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
15582                           "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
15583                           "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
15584                           "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
15585                 .clen   = 128 + 24,
15586         },
15587 };
15588
15589 static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
15590         { /*Generated with cryptopp*/
15591 #ifdef __LITTLE_ENDIAN
15592                 .key    = "\x08\x00"            /* rta length */
15593                           "\x01\x00"            /* rta type */
15594 #else
15595                 .key    = "\x00\x08"            /* rta length */
15596                           "\x00\x01"            /* rta type */
15597 #endif
15598                           "\x00\x00\x00\x08"    /* enc key length */
15599                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15600                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15601                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15602                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15603                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
15604                 .klen   = 8 + 32 + 8,
15605                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15606                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15607                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15608                 .alen   = 16,
15609                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
15610                           "\x53\x20\x63\x65\x65\x72\x73\x74"
15611                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
15612                           "\x20\x79\x65\x53\x72\x63\x74\x65"
15613                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
15614                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
15615                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
15616                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
15617                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
15618                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
15619                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
15620                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
15621                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
15622                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
15623                           "\x63\x65\x65\x72\x73\x74\x54\x20"
15624                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
15625                 .plen   = 128,
15626                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
15627                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
15628                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
15629                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
15630                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
15631                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
15632                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
15633                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
15634                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
15635                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
15636                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
15637                   "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
15638                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
15639                   "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
15640                   "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
15641                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
15642                           "\xc6\x58\xa1\x60\x70\x91\x39\x36"
15643                           "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
15644                           "\xde\x63\xde\x76\x52\xde\x9f\xba"
15645                           "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
15646                 .clen   = 128 + 32,
15647         },
15648 };
15649
15650 static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
15651         { /*Generated with cryptopp*/
15652 #ifdef __LITTLE_ENDIAN
15653                 .key    = "\x08\x00"            /* rta length */
15654                           "\x01\x00"            /* rta type */
15655 #else
15656                 .key    = "\x00\x08"            /* rta length */
15657                           "\x00\x01"            /* rta type */
15658 #endif
15659                           "\x00\x00\x00\x08"    /* enc key length */
15660                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15661                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15662                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15663                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15664                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
15665                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
15666                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
15667                 .klen   = 8 + 48 + 8,
15668                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15669                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15670                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15671                 .alen   = 16,
15672                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
15673                           "\x53\x20\x63\x65\x65\x72\x73\x74"
15674                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
15675                           "\x20\x79\x65\x53\x72\x63\x74\x65"
15676                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
15677                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
15678                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
15679                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
15680                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
15681                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
15682                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
15683                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
15684                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
15685                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
15686                           "\x63\x65\x65\x72\x73\x74\x54\x20"
15687                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
15688                 .plen   = 128,
15689                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
15690                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
15691                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
15692                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
15693                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
15694                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
15695                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
15696                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
15697                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
15698                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
15699                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
15700                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
15701                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
15702                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
15703                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
15704                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
15705                           "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
15706                           "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
15707                           "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
15708                           "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
15709                           "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
15710                           "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
15711                 .clen   = 128 + 48,
15712         },
15713 };
15714
15715 static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
15716         { /*Generated with cryptopp*/
15717 #ifdef __LITTLE_ENDIAN
15718                 .key    = "\x08\x00"            /* rta length */
15719                   "\x01\x00"            /* rta type */
15720 #else
15721                 .key    = "\x00\x08"            /* rta length */
15722                           "\x00\x01"            /* rta type */
15723 #endif
15724                           "\x00\x00\x00\x08"    /* enc key length */
15725                   "\x11\x22\x33\x44\x55\x66\x77\x88"
15726                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15727                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15728                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15729                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
15730                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
15731                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
15732                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
15733                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
15734                 .klen   = 8 + 64 + 8,
15735                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15736                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15737                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15738                 .alen   = 16,
15739                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
15740                           "\x53\x20\x63\x65\x65\x72\x73\x74"
15741                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
15742                           "\x20\x79\x65\x53\x72\x63\x74\x65"
15743                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
15744                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
15745                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
15746                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
15747                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
15748                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
15749                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
15750                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
15751                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
15752                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
15753                           "\x63\x65\x65\x72\x73\x74\x54\x20"
15754                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
15755                 .plen   = 128,
15756                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
15757                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
15758                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
15759                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
15760                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
15761                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
15762                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
15763                   "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
15764                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
15765                   "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
15766                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
15767                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
15768                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
15769                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
15770                   "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
15771                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
15772                           "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
15773                           "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
15774                           "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
15775                           "\x58\x83\xda\x67\xfb\x21\x24\xa2"
15776                           "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
15777                           "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
15778                           "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
15779                           "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
15780                 .clen   = 128 + 64,
15781         },
15782 };
15783
15784 static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
15785         { /*Generated with cryptopp*/
15786 #ifdef __LITTLE_ENDIAN
15787                 .key    = "\x08\x00"            /* rta length */
15788                           "\x01\x00"            /* rta type */
15789 #else
15790                 .key    = "\x00\x08"            /* rta length */
15791                           "\x00\x01"            /* rta type */
15792 #endif
15793                           "\x00\x00\x00\x18"    /* enc key length */
15794                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15795                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15796                           "\x22\x33\x44\x55"
15797                   "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
15798                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
15799                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
15800                 .klen   = 8 + 20 + 24,
15801                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15802                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15803                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15804                 .alen   = 16,
15805                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
15806                           "\x53\x20\x63\x65\x65\x72\x73\x74"
15807                   "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
15808                           "\x20\x79\x65\x53\x72\x63\x74\x65"
15809                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
15810                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
15811                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
15812                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
15813                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
15814                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
15815                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
15816                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
15817                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
15818                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
15819                           "\x63\x65\x65\x72\x73\x74\x54\x20"
15820                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
15821                 .plen   = 128,
15822                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
15823                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
15824                   "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
15825                   "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
15826                   "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
15827                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
15828                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
15829                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
15830                   "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
15831                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
15832                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
15833                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
15834                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
15835                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
15836                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
15837                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
15838                           "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
15839                           "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
15840                           "\xd1\x60\x91\xb3",
15841                           .clen = 128 + 20,
15842         },
15843 };
15844
15845 static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
15846         { /*Generated with cryptopp*/
15847 #ifdef __LITTLE_ENDIAN
15848                 .key    = "\x08\x00"            /* rta length */
15849                           "\x01\x00"            /* rta type */
15850 #else
15851                 .key    = "\x00\x08"            /* rta length */
15852                           "\x00\x01"            /* rta type */
15853 #endif
15854                           "\x00\x00\x00\x18"    /* enc key length */
15855                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15856                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15857                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15858                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
15859                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
15860                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
15861                 .klen   = 8 + 24 + 24,
15862                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15863                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15864                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15865                 .alen   = 16,
15866                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
15867                           "\x53\x20\x63\x65\x65\x72\x73\x74"
15868                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
15869                           "\x20\x79\x65\x53\x72\x63\x74\x65"
15870                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
15871                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
15872                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
15873                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
15874                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
15875                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
15876                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
15877                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
15878                   "\x72\x63\x74\x65\x20\x73\x6f\x54"
15879                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
15880                           "\x63\x65\x65\x72\x73\x74\x54\x20"
15881                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
15882                 .plen   = 128,
15883                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
15884                   "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
15885                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
15886                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
15887                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
15888                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
15889                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
15890                   "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
15891                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
15892                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
15893                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
15894                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
15895                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
15896                   "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
15897                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
15898                   "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
15899                           "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
15900                           "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
15901                           "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
15902                           .clen = 128 + 24,
15903         },
15904 };
15905
15906 static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
15907         { /*Generated with cryptopp*/
15908 #ifdef __LITTLE_ENDIAN
15909                 .key    = "\x08\x00"            /* rta length */
15910                           "\x01\x00"            /* rta type */
15911 #else
15912                 .key    = "\x00\x08"            /* rta length */
15913                           "\x00\x01"            /* rta type */
15914 #endif
15915                           "\x00\x00\x00\x18"    /* enc key length */
15916                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15917                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15918                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15919                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15920                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
15921                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
15922                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
15923                 .klen   = 8 + 32 + 24,
15924                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15925                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15926                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15927                 .alen   = 16,
15928                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
15929                           "\x53\x20\x63\x65\x65\x72\x73\x74"
15930                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
15931                           "\x20\x79\x65\x53\x72\x63\x74\x65"
15932                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
15933                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
15934                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
15935                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
15936                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
15937                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
15938                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
15939                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
15940                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
15941                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
15942                           "\x63\x65\x65\x72\x73\x74\x54\x20"
15943                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
15944                 .plen   = 128,
15945                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
15946                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
15947                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
15948                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
15949                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
15950                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
15951                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
15952                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
15953                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
15954                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
15955                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
15956                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
15957                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
15958                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
15959                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
15960                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
15961                           "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
15962                           "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
15963                           "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
15964                           "\xca\x43\x95\xdf\x80\x61\x81\xa9",
15965                 .clen   = 128 + 32,
15966         },
15967 };
15968
15969 static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
15970         { /*Generated with cryptopp*/
15971 #ifdef __LITTLE_ENDIAN
15972                 .key    = "\x08\x00"            /* rta length */
15973                           "\x01\x00"            /* rta type */
15974 #else
15975                 .key    = "\x00\x08"            /* rta length */
15976                           "\x00\x01"            /* rta type */
15977 #endif
15978                           "\x00\x00\x00\x18"    /* enc key length */
15979                           "\x11\x22\x33\x44\x55\x66\x77\x88"
15980                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15981                           "\x22\x33\x44\x55\x66\x77\x88\x99"
15982                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15983                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
15984                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
15985                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
15986                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
15987                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
15988                 .klen   = 8 + 48 + 24,
15989                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15990                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
15991                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
15992                 .alen   = 16,
15993                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
15994                           "\x53\x20\x63\x65\x65\x72\x73\x74"
15995                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
15996                           "\x20\x79\x65\x53\x72\x63\x74\x65"
15997                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
15998                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
15999                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
16000                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
16001                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
16002                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
16003                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
16004                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
16005                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
16006                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
16007                           "\x63\x65\x65\x72\x73\x74\x54\x20"
16008                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
16009                 .plen   = 128,
16010                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
16011                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
16012                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
16013                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
16014                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
16015                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
16016                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
16017                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
16018                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
16019                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
16020                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
16021                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
16022                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
16023                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
16024                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
16025                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
16026                           "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
16027                   "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
16028                           "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
16029                           "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
16030                           "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
16031                           "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
16032                 .clen   = 128 + 48,
16033         },
16034 };
16035
16036 static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
16037         { /*Generated with cryptopp*/
16038 #ifdef __LITTLE_ENDIAN
16039                 .key    = "\x08\x00"            /* rta length */
16040                           "\x01\x00"            /* rta type */
16041 #else
16042                 .key    = "\x00\x08"            /* rta length */
16043                           "\x00\x01"            /* rta type */
16044 #endif
16045                           "\x00\x00\x00\x18"    /* enc key length */
16046                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16047                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16048                           "\x22\x33\x44\x55\x66\x77\x88\x99"
16049                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16050                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
16051                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16052                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16053                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16054                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
16055                   "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
16056                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
16057                 .klen   = 8 + 64 + 24,
16058                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
16059                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16060                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
16061                 .alen   = 16,
16062                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
16063                           "\x53\x20\x63\x65\x65\x72\x73\x74"
16064                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
16065                           "\x20\x79\x65\x53\x72\x63\x74\x65"
16066                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
16067                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
16068                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
16069                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
16070                   "\x74\x65\x20\x73\x6f\x54\x20\x6f"
16071                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
16072                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
16073                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
16074                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
16075                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
16076                           "\x63\x65\x65\x72\x73\x74\x54\x20"
16077                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
16078                 .plen   = 128,
16079                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
16080                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
16081                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
16082                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
16083                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
16084                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
16085                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
16086                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
16087                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
16088                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
16089                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
16090                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
16091                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
16092                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
16093                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
16094                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
16095                           "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
16096                           "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
16097                           "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
16098                           "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
16099                           "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
16100                           "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
16101                           "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
16102                           "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
16103                 .clen   = 128 + 64,
16104         },
16105 };
16106
16107 static const struct cipher_testvec aes_lrw_tv_template[] = {
16108         /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
16109         { /* LRW-32-AES 1 */
16110                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
16111                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
16112                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
16113                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
16114                 .klen   = 32,
16115                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16116                           "\x00\x00\x00\x00\x00\x00\x00\x01",
16117                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
16118                           "\x38\x39\x41\x42\x43\x44\x45\x46",
16119                 .ctext  = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
16120                           "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
16121                 .len    = 16,
16122         }, { /* LRW-32-AES 2 */
16123                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
16124                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
16125                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
16126                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
16127                 .klen   = 32,
16128                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16129                           "\x00\x00\x00\x00\x00\x00\x00\x02",
16130                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
16131                           "\x38\x39\x41\x42\x43\x44\x45\x46",
16132                 .ctext  = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
16133                           "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
16134                 .len    = 16,
16135         }, { /* LRW-32-AES 3 */
16136                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
16137                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
16138                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
16139                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
16140                 .klen   = 32,
16141                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16142                           "\x00\x00\x00\x02\x00\x00\x00\x00",
16143                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
16144                           "\x38\x39\x41\x42\x43\x44\x45\x46",
16145                 .ctext  = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
16146                           "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
16147                 .len    = 16,
16148         }, { /* LRW-32-AES 4 */
16149                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
16150                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
16151                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
16152                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
16153                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
16154                 .klen   = 40,
16155                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16156                           "\x00\x00\x00\x00\x00\x00\x00\x01",
16157                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
16158                           "\x38\x39\x41\x42\x43\x44\x45\x46",
16159                 .ctext  = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
16160                           "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
16161                 .len    = 16,
16162         }, { /* LRW-32-AES 5 */
16163                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
16164                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
16165                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
16166                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
16167                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
16168                 .klen   = 40,
16169                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16170                           "\x00\x00\x00\x02\x00\x00\x00\x00",
16171                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
16172                           "\x38\x39\x41\x42\x43\x44\x45\x46",
16173                 .ctext  = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
16174                           "\xc8\x60\x48\x02\x87\xe3\x34\x06",
16175                 .len    = 16,
16176         }, { /* LRW-32-AES 6 */
16177                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
16178                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
16179                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
16180                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
16181                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
16182                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
16183                 .klen   = 48,
16184                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16185                           "\x00\x00\x00\x00\x00\x00\x00\x01",
16186                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
16187                           "\x38\x39\x41\x42\x43\x44\x45\x46",
16188                 .ctext  = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
16189                           "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
16190                 .len    = 16,
16191         }, { /* LRW-32-AES 7 */
16192                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
16193                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
16194                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
16195                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
16196                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
16197                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
16198                 .klen   = 48,
16199                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16200                           "\x00\x00\x00\x02\x00\x00\x00\x00",
16201                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
16202                           "\x38\x39\x41\x42\x43\x44\x45\x46",
16203                 .ctext  = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
16204                           "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
16205                 .len    = 16,
16206         }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
16207                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
16208                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
16209                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
16210                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
16211                 .klen   = 32,
16212                 .iv     = "\xff\xff\xff\xff\xff\xff\xff\xff"
16213                           "\xff\xff\xff\xff\xff\xff\xff\xff",
16214                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
16215                           "\x38\x39\x41\x42\x43\x44\x45\x46"
16216                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16217                           "\x38\x39\x41\x42\x43\x44\x45\x46"
16218                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16219                           "\x38\x39\x41\x42\x43\x44\x45\x46",
16220                 .ctext  = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
16221                           "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
16222                           "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
16223                           "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
16224                           "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
16225                           "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
16226                 .len    = 48,
16227         }, {
16228 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
16229                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
16230                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
16231                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
16232                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
16233                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
16234                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
16235                 .klen   = 48,
16236                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16237                           "\x00\x00\x00\x00\x00\x00\x00\x01",
16238                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
16239                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
16240                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
16241                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
16242                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
16243                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
16244                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
16245                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
16246                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
16247                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
16248                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
16249                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
16250                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
16251                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
16252                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
16253                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
16254                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
16255                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
16256                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
16257                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
16258                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
16259                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
16260                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
16261                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
16262                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
16263                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
16264                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
16265                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
16266                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
16267                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
16268                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
16269                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
16270                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
16271                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
16272                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
16273                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
16274                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
16275                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
16276                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
16277                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
16278                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
16279                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
16280                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
16281                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
16282                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
16283                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
16284                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
16285                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
16286                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
16287                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
16288                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
16289                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
16290                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
16291                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
16292                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
16293                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
16294                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
16295                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
16296                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
16297                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
16298                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
16299                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
16300                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
16301                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
16302                 .ctext  = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
16303                           "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
16304                           "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
16305                           "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
16306                           "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
16307                           "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
16308                           "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
16309                           "\xe8\x58\x46\x97\x39\x51\x07\xde"
16310                           "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
16311                           "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
16312                           "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
16313                           "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
16314                           "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
16315                           "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
16316                           "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
16317                           "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
16318                           "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
16319                           "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
16320                           "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
16321                           "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
16322                           "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
16323                           "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
16324                           "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
16325                           "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
16326                           "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
16327                           "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
16328                           "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
16329                           "\x41\x30\x58\xc5\x62\x74\x52\x1d"
16330                           "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
16331                           "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
16332                           "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
16333                           "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
16334                           "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
16335                           "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
16336                           "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
16337                           "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
16338                           "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
16339                           "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
16340                           "\xb8\x79\x78\x97\x94\xff\x72\x13"
16341                           "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
16342                           "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
16343                           "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
16344                           "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
16345                           "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
16346                           "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
16347                           "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
16348                           "\x1e\x86\x53\x11\x53\x94\x00\xee"
16349                           "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
16350                           "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
16351                           "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
16352                           "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
16353                           "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
16354                           "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
16355                           "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
16356                           "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
16357                           "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
16358                           "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
16359                           "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
16360                           "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
16361                           "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
16362                           "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
16363                           "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
16364                           "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
16365                           "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
16366                 .len    = 512,
16367         }
16368 };
16369
16370 static const struct cipher_testvec aes_xts_tv_template[] = {
16371         /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
16372         { /* XTS-AES 1 */
16373                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
16374                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16375                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16376                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16377                 .klen   = 32,
16378                 .fips_skip = 1,
16379                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16380                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16381                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
16382                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16383                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16384                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16385                 .ctext  = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
16386                           "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
16387                           "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
16388                           "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
16389                 .len    = 32,
16390         }, { /* XTS-AES 2 */
16391                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
16392                           "\x11\x11\x11\x11\x11\x11\x11\x11"
16393                           "\x22\x22\x22\x22\x22\x22\x22\x22"
16394                           "\x22\x22\x22\x22\x22\x22\x22\x22",
16395                 .klen   = 32,
16396                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
16397                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16398                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
16399                           "\x44\x44\x44\x44\x44\x44\x44\x44"
16400                           "\x44\x44\x44\x44\x44\x44\x44\x44"
16401                           "\x44\x44\x44\x44\x44\x44\x44\x44",
16402                 .ctext  = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
16403                           "\x39\x33\x40\x38\xac\xef\x83\x8b"
16404                           "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
16405                           "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
16406                 .len    = 32,
16407         }, { /* XTS-AES 3 */
16408                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
16409                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
16410                           "\x22\x22\x22\x22\x22\x22\x22\x22"
16411                           "\x22\x22\x22\x22\x22\x22\x22\x22",
16412                 .klen   = 32,
16413                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
16414                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16415                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
16416                           "\x44\x44\x44\x44\x44\x44\x44\x44"
16417                           "\x44\x44\x44\x44\x44\x44\x44\x44"
16418                           "\x44\x44\x44\x44\x44\x44\x44\x44",
16419                 .ctext  = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
16420                           "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
16421                           "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
16422                           "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
16423                 .len    = 32,
16424         }, { /* XTS-AES 4 */
16425                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
16426                           "\x23\x53\x60\x28\x74\x71\x35\x26"
16427                           "\x31\x41\x59\x26\x53\x58\x97\x93"
16428                           "\x23\x84\x62\x64\x33\x83\x27\x95",
16429                 .klen   = 32,
16430                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16431                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16432                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16433                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16434                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16435                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16436                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16437                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16438                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16439                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16440                           "\x40\x41\x42\x43\x44\x45\x46\x47"
16441                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16442                           "\x50\x51\x52\x53\x54\x55\x56\x57"
16443                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16444                           "\x60\x61\x62\x63\x64\x65\x66\x67"
16445                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
16446                           "\x70\x71\x72\x73\x74\x75\x76\x77"
16447                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
16448                           "\x80\x81\x82\x83\x84\x85\x86\x87"
16449                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
16450                           "\x90\x91\x92\x93\x94\x95\x96\x97"
16451                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
16452                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16453                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16454                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16455                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16456                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16457                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16458                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16459                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
16460                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
16461                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
16462                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16463                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
16464                           "\x00\x01\x02\x03\x04\x05\x06\x07"
16465                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16466                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16467                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16468                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16469                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16470                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16471                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16472                           "\x40\x41\x42\x43\x44\x45\x46\x47"
16473                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16474                           "\x50\x51\x52\x53\x54\x55\x56\x57"
16475                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16476                           "\x60\x61\x62\x63\x64\x65\x66\x67"
16477                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
16478                           "\x70\x71\x72\x73\x74\x75\x76\x77"
16479                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
16480                           "\x80\x81\x82\x83\x84\x85\x86\x87"
16481                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
16482                           "\x90\x91\x92\x93\x94\x95\x96\x97"
16483                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
16484                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16485                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16486                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16487                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16488                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16489                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16490                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16491                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
16492                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
16493                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
16494                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16495                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
16496                 .ctext  = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
16497                           "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
16498                           "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
16499                           "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
16500                           "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
16501                           "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
16502                           "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
16503                           "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
16504                           "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
16505                           "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
16506                           "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
16507                           "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
16508                           "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
16509                           "\x22\x97\x61\x46\xae\x20\xce\x84"
16510                           "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
16511                           "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
16512                           "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
16513                           "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
16514                           "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
16515                           "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
16516                           "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
16517                           "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
16518                           "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
16519                           "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
16520                           "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
16521                           "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
16522                           "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
16523                           "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
16524                           "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
16525                           "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
16526                           "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
16527                           "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
16528                           "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
16529                           "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
16530                           "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
16531                           "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
16532                           "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
16533                           "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
16534                           "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
16535                           "\x55\xef\x52\x97\xca\x67\xe9\xf3"
16536                           "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
16537                           "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
16538                           "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
16539                           "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
16540                           "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
16541                           "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
16542                           "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
16543                           "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
16544                           "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
16545                           "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
16546                           "\x18\x84\x69\x77\xae\x11\x9f\x7a"
16547                           "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
16548                           "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
16549                           "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
16550                           "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
16551                           "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
16552                           "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
16553                           "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
16554                           "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
16555                           "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
16556                           "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
16557                           "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
16558                           "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
16559                           "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
16560                 .len    = 512,
16561         }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
16562                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
16563                           "\x23\x53\x60\x28\x74\x71\x35\x26"
16564                           "\x62\x49\x77\x57\x24\x70\x93\x69"
16565                           "\x99\x59\x57\x49\x66\x96\x76\x27"
16566                           "\x31\x41\x59\x26\x53\x58\x97\x93"
16567                           "\x23\x84\x62\x64\x33\x83\x27\x95"
16568                           "\x02\x88\x41\x97\x16\x93\x99\x37"
16569                           "\x51\x05\x82\x09\x74\x94\x45\x92",
16570                 .klen   = 64,
16571                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
16572                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16573                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16574                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16575                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16576                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16577                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16578                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16579                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16580                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16581                           "\x40\x41\x42\x43\x44\x45\x46\x47"
16582                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16583                           "\x50\x51\x52\x53\x54\x55\x56\x57"
16584                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16585                           "\x60\x61\x62\x63\x64\x65\x66\x67"
16586                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
16587                           "\x70\x71\x72\x73\x74\x75\x76\x77"
16588                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
16589                           "\x80\x81\x82\x83\x84\x85\x86\x87"
16590                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
16591                           "\x90\x91\x92\x93\x94\x95\x96\x97"
16592                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
16593                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16594                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16595                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16596                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16597                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16598                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16599                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16600                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
16601                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
16602                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
16603                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16604                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
16605                           "\x00\x01\x02\x03\x04\x05\x06\x07"
16606                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16607                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16608                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16609                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16610                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16611                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16612                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16613                           "\x40\x41\x42\x43\x44\x45\x46\x47"
16614                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16615                           "\x50\x51\x52\x53\x54\x55\x56\x57"
16616                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16617                           "\x60\x61\x62\x63\x64\x65\x66\x67"
16618                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
16619                           "\x70\x71\x72\x73\x74\x75\x76\x77"
16620                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
16621                           "\x80\x81\x82\x83\x84\x85\x86\x87"
16622                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
16623                           "\x90\x91\x92\x93\x94\x95\x96\x97"
16624                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
16625                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16626                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16627                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16628                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16629                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16630                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16631                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16632                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
16633                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
16634                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
16635                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16636                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
16637                 .ctext  = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
16638                           "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
16639                           "\xea\x00\x80\x3f\x5e\x48\x23\x57"
16640                           "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
16641                           "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
16642                           "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
16643                           "\x68\x0a\x86\xac\x35\xad\xfc\x33"
16644                           "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
16645                           "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
16646                           "\xb1\x08\xfd\x10\x98\xba\xec\x70"
16647                           "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
16648                           "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
16649                           "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
16650                           "\xae\xba\x12\x29\x61\xd0\x3a\x75"
16651                           "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
16652                           "\x00\x02\x08\x87\x89\x14\x29\xca"
16653                           "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
16654                           "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
16655                           "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
16656                           "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
16657                           "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
16658                           "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
16659                           "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
16660                           "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
16661                           "\x93\xec\x05\xc5\x2e\x04\x93\xef"
16662                           "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
16663                           "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
16664                           "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
16665                           "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
16666                           "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
16667                           "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
16668                           "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
16669                           "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
16670                           "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
16671                           "\xbc\x48\x14\x57\x77\x8f\x61\x60"
16672                           "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
16673                           "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
16674                           "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
16675                           "\xf4\xc3\x33\xec\x44\x23\x88\x51"
16676                           "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
16677                           "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
16678                           "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
16679                           "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
16680                           "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
16681                           "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
16682                           "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
16683                           "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
16684                           "\x92\x5f\xed\xc4\xae\x74\xff\xac"
16685                           "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
16686                           "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
16687                           "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
16688                           "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
16689                           "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
16690                           "\x94\x30\x54\xff\x84\x01\x14\x93"
16691                           "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
16692                           "\x53\x76\x44\x1a\x77\xed\x43\x85"
16693                           "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
16694                           "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
16695                           "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
16696                           "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
16697                           "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
16698                           "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
16699                           "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
16700                           "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
16701                 .len    = 512,
16702         }
16703 };
16704
16705 static const struct cipher_testvec aes_ctr_tv_template[] = {
16706         { /* From NIST Special Publication 800-38A, Appendix F.5 */
16707                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
16708                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
16709                 .klen   = 16,
16710                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16711                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
16712                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16713                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
16714                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16715                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16716                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16717                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16718                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16719                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16720                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16721                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16722                 .ctext  = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
16723                           "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
16724                           "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
16725                           "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
16726                           "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
16727                           "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
16728                           "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
16729                           "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
16730                 .len    = 64,
16731         }, {
16732                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16733                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16734                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16735                 .klen   = 24,
16736                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16737                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
16738                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16739                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
16740                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16741                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16742                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16743                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16744                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16745                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16746                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16747                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16748                 .ctext  = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
16749                           "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
16750                           "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
16751                           "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
16752                           "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
16753                           "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
16754                           "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
16755                           "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
16756                 .len    = 64,
16757         }, {
16758                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16759                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16760                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16761                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16762                 .klen   = 32,
16763                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16764                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
16765                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16766                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
16767                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16768                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16769                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16770                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16771                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16772                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16773                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16774                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16775                 .ctext  = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
16776                           "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
16777                           "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
16778                           "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
16779                           "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
16780                           "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
16781                           "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
16782                           "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
16783                 .len    = 64,
16784         }, { /* Generated with Crypto++ */
16785                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
16786                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
16787                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
16788                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
16789                 .klen   = 32,
16790                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
16791                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
16792                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
16793                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
16794                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16795                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16796                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16797                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16798                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16799                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16800                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16801                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16802                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16803                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16804                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16805                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16806                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16807                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16808                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16809                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16810                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16811                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16812                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16813                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16814                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16815                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16816                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16817                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16818                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16819                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16820                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16821                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16822                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16823                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16824                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16825                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16826                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16827                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16828                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16829                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16830                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16831                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16832                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16833                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16834                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16835                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16836                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16837                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16838                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16839                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16840                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16841                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16842                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16843                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16844                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16845                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16846                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16847                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16848                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16849                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16850                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16851                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16852                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16853                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16854                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16855                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16856                 .ctext  = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
16857                           "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
16858                           "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
16859                           "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
16860                           "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
16861                           "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
16862                           "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
16863                           "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
16864                           "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
16865                           "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
16866                           "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
16867                           "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
16868                           "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
16869                           "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
16870                           "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
16871                           "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
16872                           "\x34\x4B\x31\x69\x84\x66\x96\x44"
16873                           "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
16874                           "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
16875                           "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
16876                           "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
16877                           "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
16878                           "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
16879                           "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
16880                           "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
16881                           "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
16882                           "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
16883                           "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
16884                           "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
16885                           "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
16886                           "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
16887                           "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
16888                           "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
16889                           "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
16890                           "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
16891                           "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
16892                           "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
16893                           "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
16894                           "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
16895                           "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
16896                           "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
16897                           "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
16898                           "\x85\x99\x22\xE8\x91\x38\x70\x83"
16899                           "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
16900                           "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
16901                           "\x2F\x69\xEE\x84\x36\x44\x76\x98"
16902                           "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
16903                           "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
16904                           "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
16905                           "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
16906                           "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
16907                           "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
16908                           "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
16909                           "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
16910                           "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
16911                           "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
16912                           "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
16913                           "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
16914                           "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
16915                           "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
16916                           "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
16917                           "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
16918                 .len    = 496,
16919         }, { /* Generated with Crypto++ */
16920                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
16921                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
16922                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
16923                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
16924                 .klen   = 32,
16925                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
16926                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
16927                 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
16928                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
16929                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16930                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16931                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16932                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16933                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16934                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16935                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16936                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16937                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16938                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16939                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16940                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16941                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16942                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16943                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16944                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16945                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16946                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16947                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16948                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16949                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16950                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16951                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16952                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16953                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16954                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16955                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16956                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16957                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16958                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16959                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16960                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16961                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16962                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16963                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16964                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16965                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16966                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16967                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16968                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16969                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16970                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16971                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16972                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16973                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16974                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16975                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16976                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16977                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16978                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16979                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16980                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16981                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16982                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16983                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16984                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16985                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16986                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16987                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16988                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16989                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16990                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
16991                           "\x7B\xE4\x4D",
16992                 .ctext  = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
16993                           "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
16994                           "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
16995                           "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
16996                           "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
16997                           "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
16998                           "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
16999                           "\x75\xDE\x71\x86\x3C\x98\x23\x44"
17000                           "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
17001                           "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
17002                           "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
17003                           "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
17004                           "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
17005                           "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
17006                           "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
17007                           "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
17008                           "\xA8\x28\x69\x65\x31\xE1\x45\x83"
17009                           "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
17010                           "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
17011                           "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
17012                           "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
17013                           "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
17014                           "\x45\x18\x18\x74\x19\xAD\x71\x01"
17015                           "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
17016                           "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
17017                           "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
17018                           "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
17019                           "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
17020                           "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
17021                           "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
17022                           "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
17023                           "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
17024                           "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
17025                           "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
17026                           "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
17027                           "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
17028                           "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
17029                           "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
17030                           "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
17031                           "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
17032                           "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
17033                           "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
17034                           "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
17035                           "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
17036                           "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
17037                           "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
17038                           "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
17039                           "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
17040                           "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
17041                           "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
17042                           "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
17043                           "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
17044                           "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
17045                           "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
17046                           "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
17047                           "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
17048                           "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
17049                           "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
17050                           "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
17051                           "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
17052                           "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
17053                           "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
17054                           "\xFB\xF2\x3F",
17055                 .len    = 499,
17056         },
17057 };
17058
17059 static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
17060         { /* From RFC 3686 */
17061                 .key    = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
17062                           "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
17063                           "\x00\x00\x00\x30",
17064                 .klen   = 20,
17065                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
17066                 .ptext  = "Single block msg",
17067                 .ctext  = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
17068                           "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
17069                 .len    = 16,
17070         }, {
17071                 .key    = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
17072                           "\x43\xd6\xce\x1f\x32\x53\x91\x63"
17073                           "\x00\x6c\xb6\xdb",
17074                 .klen   = 20,
17075                 .iv     = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
17076                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17077                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17078                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17079                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17080                 .ctext  = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
17081                           "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
17082                           "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
17083                           "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
17084                 .len    = 32,
17085         }, {
17086                 .key    = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
17087                           "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
17088                           "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
17089                           "\x00\x00\x00\x48",
17090                 .klen   = 28,
17091                 .iv     = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
17092                 .ptext  = "Single block msg",
17093                 .ctext  = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
17094                           "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
17095                 .len    = 16,
17096         }, {
17097                 .key    = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
17098                           "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
17099                           "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
17100                           "\x00\x96\xb0\x3b",
17101                 .klen   = 28,
17102                 .iv     = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
17103                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17104                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17105                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17106                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17107                 .ctext  = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
17108                           "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
17109                           "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
17110                           "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
17111                 .len    = 32,
17112         }, {
17113                 .key    = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
17114                           "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
17115                           "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
17116                           "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
17117                           "\x00\x00\x00\x60",
17118                 .klen   = 36,
17119                 .iv     = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
17120                 .ptext  = "Single block msg",
17121                 .ctext  = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
17122                           "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
17123                 .len    = 16,
17124         }, {
17125                 .key    = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
17126                           "\x07\x96\x36\x58\x79\xef\xf8\x86"
17127                           "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
17128                           "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
17129                           "\x00\xfa\xac\x24",
17130                 .klen   = 36,
17131                 .iv     = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
17132                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17133                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17134                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17135                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17136                 .ctext  = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
17137                           "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
17138                           "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
17139                           "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
17140                 .len    = 32,
17141         }, {
17142         // generated using Crypto++
17143                 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
17144                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17145                         "\x10\x11\x12\x13\x14\x15\x16\x17"
17146                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17147                         "\x00\x00\x00\x00",
17148                 .klen = 32 + 4,
17149                 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
17150                 .ptext =
17151                         "\x00\x01\x02\x03\x04\x05\x06\x07"
17152                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17153                         "\x10\x11\x12\x13\x14\x15\x16\x17"
17154                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17155                         "\x20\x21\x22\x23\x24\x25\x26\x27"
17156                         "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17157                         "\x30\x31\x32\x33\x34\x35\x36\x37"
17158                         "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17159                         "\x40\x41\x42\x43\x44\x45\x46\x47"
17160                         "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17161                         "\x50\x51\x52\x53\x54\x55\x56\x57"
17162                         "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17163                         "\x60\x61\x62\x63\x64\x65\x66\x67"
17164                         "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
17165                         "\x70\x71\x72\x73\x74\x75\x76\x77"
17166                         "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
17167                         "\x80\x81\x82\x83\x84\x85\x86\x87"
17168                         "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
17169                         "\x90\x91\x92\x93\x94\x95\x96\x97"
17170                         "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
17171                         "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17172                         "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17173                         "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17174                         "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17175                         "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17176                         "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17177                         "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17178                         "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
17179                         "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
17180                         "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
17181                         "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
17182                         "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
17183                         "\x00\x03\x06\x09\x0c\x0f\x12\x15"
17184                         "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
17185                         "\x30\x33\x36\x39\x3c\x3f\x42\x45"
17186                         "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
17187                         "\x60\x63\x66\x69\x6c\x6f\x72\x75"
17188                         "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
17189                         "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
17190                         "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
17191                         "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
17192                         "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
17193                         "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
17194                         "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
17195                         "\x20\x23\x26\x29\x2c\x2f\x32\x35"
17196                         "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
17197                         "\x50\x53\x56\x59\x5c\x5f\x62\x65"
17198                         "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
17199                         "\x80\x83\x86\x89\x8c\x8f\x92\x95"
17200                         "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
17201                         "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
17202                         "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
17203                         "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
17204                         "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
17205                         "\x10\x13\x16\x19\x1c\x1f\x22\x25"
17206                         "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
17207                         "\x40\x43\x46\x49\x4c\x4f\x52\x55"
17208                         "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
17209                         "\x70\x73\x76\x79\x7c\x7f\x82\x85"
17210                         "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
17211                         "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
17212                         "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
17213                         "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
17214                         "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
17215                         "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
17216                         "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
17217                         "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
17218                         "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
17219                         "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
17220                         "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
17221                         "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
17222                         "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
17223                         "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
17224                         "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
17225                         "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
17226                         "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
17227                         "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
17228                         "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
17229                         "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
17230                         "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
17231                         "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
17232                         "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
17233                         "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
17234                         "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
17235                         "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
17236                         "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
17237                         "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
17238                         "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
17239                         "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
17240                         "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
17241                         "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
17242                         "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
17243                         "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
17244                         "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
17245                         "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
17246                         "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
17247                         "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
17248                         "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
17249                         "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
17250                         "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
17251                         "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
17252                         "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
17253                         "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
17254                         "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
17255                         "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
17256                         "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
17257                         "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
17258                         "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
17259                         "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
17260                         "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
17261                         "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
17262                         "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
17263                         "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
17264                         "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
17265                         "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
17266                         "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
17267                         "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
17268                         "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
17269                         "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
17270                         "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
17271                         "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
17272                         "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
17273                         "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
17274                         "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
17275                         "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
17276                         "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
17277                         "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
17278                         "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
17279                         "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
17280                         "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
17281                         "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
17282                         "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
17283                         "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
17284                         "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
17285                         "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
17286                         "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
17287                         "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
17288                         "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
17289                         "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
17290                         "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
17291                         "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
17292                         "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
17293                         "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
17294                         "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
17295                         "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
17296                         "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
17297                         "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
17298                         "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
17299                         "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
17300                         "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
17301                         "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
17302                         "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
17303                         "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
17304                         "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
17305                         "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
17306                         "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
17307                         "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
17308                         "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
17309                         "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
17310                         "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
17311                         "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
17312                         "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
17313                         "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
17314                         "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
17315                         "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
17316                         "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
17317                         "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
17318                         "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
17319                         "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
17320                         "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
17321                         "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
17322                         "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
17323                         "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
17324                         "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
17325                         "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
17326                         "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
17327                         "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
17328                         "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
17329                         "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
17330                         "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
17331                         "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
17332                         "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
17333                         "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
17334                         "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
17335                         "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
17336                         "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
17337                         "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
17338                         "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
17339                         "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
17340                         "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
17341                         "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
17342                         "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
17343                         "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
17344                         "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
17345                         "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
17346                         "\x38\x45\x52\x5f\x6c\x79\x86\x93"
17347                         "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
17348                         "\x08\x15\x22\x2f\x3c\x49\x56\x63"
17349                         "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
17350                         "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
17351                         "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
17352                         "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
17353                         "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
17354                         "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
17355                         "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
17356                         "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
17357                         "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
17358                         "\x18\x25\x32\x3f\x4c\x59\x66\x73"
17359                         "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
17360                         "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
17361                         "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
17362                         "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
17363                         "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
17364                         "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
17365                         "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
17366                         "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
17367                         "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
17368                         "\x28\x35\x42\x4f\x5c\x69\x76\x83"
17369                         "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
17370                         "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
17371                         "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
17372                         "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
17373                         "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
17374                         "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
17375                         "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
17376                         "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
17377                         "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
17378                         "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
17379                         "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
17380                         "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
17381                         "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
17382                         "\x48\x57\x66\x75\x84\x93\xa2\xb1"
17383                         "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
17384                         "\x38\x47\x56\x65\x74\x83\x92\xa1"
17385                         "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
17386                         "\x28\x37\x46\x55\x64\x73\x82\x91"
17387                         "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
17388                         "\x18\x27\x36\x45\x54\x63\x72\x81"
17389                         "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
17390                         "\x08\x17\x26\x35\x44\x53\x62\x71"
17391                         "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
17392                         "\xf8\x07\x16\x25\x34\x43\x52\x61"
17393                         "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
17394                         "\xe8\xf7\x06\x15\x24\x33\x42\x51"
17395                         "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
17396                         "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
17397                         "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
17398                         "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
17399                         "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
17400                         "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
17401                         "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
17402                         "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
17403                         "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
17404                         "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
17405                         "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
17406                         "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
17407                         "\x00\x11\x22\x33\x44\x55\x66\x77"
17408                         "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
17409                         "\x10\x21\x32\x43\x54\x65\x76\x87"
17410                         "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
17411                         "\x20\x31\x42\x53\x64\x75\x86\x97"
17412                         "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
17413                         "\x30\x41\x52\x63\x74\x85\x96\xa7"
17414                         "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
17415                         "\x40\x51\x62\x73\x84\x95\xa6\xb7"
17416                         "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
17417                         "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
17418                         "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
17419                         "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
17420                         "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
17421                         "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
17422                         "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
17423                         "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
17424                         "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
17425                         "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
17426                         "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
17427                         "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
17428                         "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
17429                         "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
17430                         "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
17431                         "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
17432                         "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
17433                         "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
17434                         "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
17435                         "\xe0\xf1\x02\x13\x24\x35\x46\x57"
17436                         "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
17437                         "\xf0\x01\x12\x23\x34\x45\x56\x67"
17438                         "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
17439                         "\x00\x13\x26\x39\x4c\x5f\x72\x85"
17440                         "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
17441                         "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
17442                         "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
17443                         "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
17444                         "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
17445                         "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
17446                         "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
17447                         "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
17448                         "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
17449                         "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
17450                         "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
17451                         "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
17452                         "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
17453                         "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
17454                         "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
17455                         "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
17456                         "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
17457                         "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
17458                         "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
17459                         "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
17460                         "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
17461                         "\x10\x23\x36\x49\x5c\x6f\x82\x95"
17462                         "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
17463                         "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
17464                         "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
17465                         "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
17466                         "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
17467                         "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
17468                         "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
17469                         "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
17470                         "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
17471                         "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
17472                         "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
17473                         "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
17474                         "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
17475                         "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
17476                         "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
17477                         "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
17478                         "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
17479                         "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
17480                         "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
17481                         "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
17482                         "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
17483                         "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
17484                         "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
17485                         "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
17486                         "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
17487                         "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
17488                         "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
17489                         "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
17490                         "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
17491                         "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
17492                         "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
17493                         "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
17494                         "\x18\x2d\x42\x57\x6c\x81\x96\xab"
17495                         "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
17496                         "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
17497                         "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
17498                         "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
17499                         "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
17500                         "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
17501                         "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
17502                         "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
17503                         "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
17504                         "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
17505                         "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
17506                         "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
17507                         "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
17508                         "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
17509                         "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
17510                         "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
17511                         "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
17512                         "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
17513                         "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
17514                         "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
17515                         "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
17516                         "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
17517                         "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
17518                         "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
17519                         "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
17520                         "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
17521                         "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
17522                         "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
17523                         "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
17524                         "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
17525                         "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
17526                         "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
17527                         "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
17528                         "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
17529                         "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
17530                         "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
17531                         "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
17532                         "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
17533                         "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
17534                         "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
17535                         "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
17536                         "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
17537                         "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
17538                         "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
17539                         "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
17540                         "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
17541                         "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
17542                         "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
17543                         "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
17544                         "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
17545                         "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
17546                         "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
17547                         "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
17548                         "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
17549                         "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
17550                         "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
17551                         "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
17552                         "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
17553                         "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
17554                         "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
17555                         "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
17556                         "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
17557                         "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
17558                         "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
17559                         "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
17560                         "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
17561                         "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
17562                         "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
17563                         "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
17564                         "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
17565                         "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
17566                         "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
17567                         "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
17568                         "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
17569                         "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
17570                         "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
17571                         "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
17572                         "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
17573                         "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
17574                         "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
17575                         "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
17576                         "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
17577                         "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
17578                         "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
17579                         "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
17580                         "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
17581                         "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
17582                         "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
17583                         "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
17584                         "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
17585                         "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
17586                         "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
17587                         "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
17588                         "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
17589                         "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
17590                         "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
17591                         "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
17592                         "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
17593                         "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
17594                         "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
17595                         "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
17596                         "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
17597                         "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
17598                         "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
17599                         "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
17600                         "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
17601                         "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
17602                         "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
17603                         "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
17604                         "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
17605                         "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
17606                         "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
17607                         "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
17608                         "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
17609                         "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
17610                         "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
17611                         "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
17612                         "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
17613                         "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
17614                         "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
17615                         "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
17616                         "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
17617                         "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
17618                         "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
17619                         "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
17620                         "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
17621                         "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
17622                         "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
17623                         "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
17624                         "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
17625                         "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
17626                         "\x78\x95\xb2\xcf\xec\x09\x26\x43"
17627                         "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
17628                         "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
17629                         "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
17630                         "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
17631                         "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
17632                         "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
17633                         "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
17634                         "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
17635                         "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
17636                         "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
17637                         "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
17638                         "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
17639                         "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
17640                         "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
17641                         "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
17642                         "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
17643                         "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
17644                         "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
17645                         "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
17646                         "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
17647                         "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
17648                         "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
17649                         "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
17650                         "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
17651                         "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
17652                         "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
17653                         "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
17654                         "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
17655                         "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
17656                         "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
17657                         "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
17658                         "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
17659                         "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
17660                         "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
17661                         "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
17662                         "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
17663                         "\x00\x21\x42\x63",
17664                 .ctext =
17665                         "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
17666                         "\xae\xff\x91\x3a\x44\xcf\x38\x32"
17667                         "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
17668                         "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
17669                         "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
17670                         "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
17671                         "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
17672                         "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
17673                         "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
17674                         "\x18\xff\x75\x6d\x06\x2d\x00\xab"
17675                         "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
17676                         "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
17677                         "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
17678                         "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
17679                         "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
17680                         "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
17681                         "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
17682                         "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
17683                         "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
17684                         "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
17685                         "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
17686                         "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
17687                         "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
17688                         "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
17689                         "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
17690                         "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
17691                         "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
17692                         "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
17693                         "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
17694                         "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
17695                         "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
17696                         "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
17697                         "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
17698                         "\x6a\x25\x15\x33\x4e\x45\x08\xec"
17699                         "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
17700                         "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
17701                         "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
17702                         "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
17703                         "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
17704                         "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
17705                         "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
17706                         "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
17707                         "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
17708                         "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
17709                         "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
17710                         "\x04\x02\xef\xd3\x44\xde\x76\x31"
17711                         "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
17712                         "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
17713                         "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
17714                         "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
17715                         "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
17716                         "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
17717                         "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
17718                         "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
17719                         "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
17720                         "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
17721                         "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
17722                         "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
17723                         "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
17724                         "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
17725                         "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
17726                         "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
17727                         "\x32\x03\xed\xf0\x50\x1c\x56\x39"
17728                         "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
17729                         "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
17730                         "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
17731                         "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
17732                         "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
17733                         "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
17734                         "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
17735                         "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
17736                         "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
17737                         "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
17738                         "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
17739                         "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
17740                         "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
17741                         "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
17742                         "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
17743                         "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
17744                         "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
17745                         "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
17746                         "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
17747                         "\x69\x3a\x29\x23\xac\x86\x32\xa5"
17748                         "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
17749                         "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
17750                         "\x59\x6a\xd3\x50\x59\x43\x59\xde"
17751                         "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
17752                         "\x18\x34\x0d\x1a\x63\x33\xed\x10"
17753                         "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
17754                         "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
17755                         "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
17756                         "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
17757                         "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
17758                         "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
17759                         "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
17760                         "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
17761                         "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
17762                         "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
17763                         "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
17764                         "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
17765                         "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
17766                         "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
17767                         "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
17768                         "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
17769                         "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
17770                         "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
17771                         "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
17772                         "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
17773                         "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
17774                         "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
17775                         "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
17776                         "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
17777                         "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
17778                         "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
17779                         "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
17780                         "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
17781                         "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
17782                         "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
17783                         "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
17784                         "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
17785                         "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
17786                         "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
17787                         "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
17788                         "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
17789                         "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
17790                         "\x26\x39\x83\x94\xef\x27\xd8\x53"
17791                         "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
17792                         "\x43\x7c\x95\x0a\x53\xef\x66\xda"
17793                         "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
17794                         "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
17795                         "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
17796                         "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
17797                         "\x88\xee\x73\xcf\x66\x2f\x52\x56"
17798                         "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
17799                         "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
17800                         "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
17801                         "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
17802                         "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
17803                         "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
17804                         "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
17805                         "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
17806                         "\xba\x61\x34\x38\x7c\xda\x48\x3e"
17807                         "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
17808                         "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
17809                         "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
17810                         "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
17811                         "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
17812                         "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
17813                         "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
17814                         "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
17815                         "\x35\x12\xe3\x36\x28\x27\x36\x58"
17816                         "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
17817                         "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
17818                         "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
17819                         "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
17820                         "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
17821                         "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
17822                         "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
17823                         "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
17824                         "\x89\xf3\x78\x35\x44\x62\x78\x72"
17825                         "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
17826                         "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
17827                         "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
17828                         "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
17829                         "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
17830                         "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
17831                         "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
17832                         "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
17833                         "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
17834                         "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
17835                         "\xd2\x49\x77\x81\x6d\x90\x70\xae"
17836                         "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
17837                         "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
17838                         "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
17839                         "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
17840                         "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
17841                         "\x45\x42\x27\x75\x50\xe5\xee\xb8"
17842                         "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
17843                         "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
17844                         "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
17845                         "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
17846                         "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
17847                         "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
17848                         "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
17849                         "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
17850                         "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
17851                         "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
17852                         "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
17853                         "\xa9\x21\x2b\x92\x94\x87\x62\x57"
17854                         "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
17855                         "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
17856                         "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
17857                         "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
17858                         "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
17859                         "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
17860                         "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
17861                         "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
17862                         "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
17863                         "\x69\x34\x78\x61\x24\x21\x9c\x8a"
17864                         "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
17865                         "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
17866                         "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
17867                         "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
17868                         "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
17869                         "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
17870                         "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
17871                         "\xb1\x95\x28\x86\x20\xe9\x17\x49"
17872                         "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
17873                         "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
17874                         "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
17875                         "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
17876                         "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
17877                         "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
17878                         "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
17879                         "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
17880                         "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
17881                         "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
17882                         "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
17883                         "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
17884                         "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
17885                         "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
17886                         "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
17887                         "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
17888                         "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
17889                         "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
17890                         "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
17891                         "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
17892                         "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
17893                         "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
17894                         "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
17895                         "\x29\x90\x46\x30\x92\x69\x7d\x13"
17896                         "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
17897                         "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
17898                         "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
17899                         "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
17900                         "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
17901                         "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
17902                         "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
17903                         "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
17904                         "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
17905                         "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
17906                         "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
17907                         "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
17908                         "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
17909                         "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
17910                         "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
17911                         "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
17912                         "\x77\x65\x08\x60\x11\x76\x4c\x8d"
17913                         "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
17914                         "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
17915                         "\x03\xd1\x24\x95\xec\x6d\xab\x38"
17916                         "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
17917                         "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
17918                         "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
17919                         "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
17920                         "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
17921                         "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
17922                         "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
17923                         "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
17924                         "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
17925                         "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
17926                         "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
17927                         "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
17928                         "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
17929                         "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
17930                         "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
17931                         "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
17932                         "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
17933                         "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
17934                         "\xe5\x79\x81\x73\xcd\x43\x59\x68"
17935                         "\x73\x02\x3b\x78\x21\x72\x43\x00"
17936                         "\x49\x17\xf7\x00\xaf\x68\x24\x53"
17937                         "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
17938                         "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
17939                         "\x11\x94\x13\x69\x51\x09\x28\xde"
17940                         "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
17941                         "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
17942                         "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
17943                         "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
17944                         "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
17945                         "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
17946                         "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
17947                         "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
17948                         "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
17949                         "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
17950                         "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
17951                         "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
17952                         "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
17953                         "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
17954                         "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
17955                         "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
17956                         "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
17957                         "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
17958                         "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
17959                         "\x69\xdc\xab\x24\x57\x60\x47\xc1"
17960                         "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
17961                         "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
17962                         "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
17963                         "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
17964                         "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
17965                         "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
17966                         "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
17967                         "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
17968                         "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
17969                         "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
17970                         "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
17971                         "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
17972                         "\x85\x62\x82\x70\x18\xe2\x9a\x78"
17973                         "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
17974                         "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
17975                         "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
17976                         "\x35\xf3\x61\x06\x72\x84\xc4\x32"
17977                         "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
17978                         "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
17979                         "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
17980                         "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
17981                         "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
17982                         "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
17983                         "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
17984                         "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
17985                         "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
17986                         "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
17987                         "\x4f\x73\x38\x09\x75\x64\x48\xe0"
17988                         "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
17989                         "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
17990                         "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
17991                         "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
17992                         "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
17993                         "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
17994                         "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
17995                         "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
17996                         "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
17997                         "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
17998                         "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
17999                         "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
18000                         "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
18001                         "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
18002                         "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
18003                         "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
18004                         "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
18005                         "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
18006                         "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
18007                         "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
18008                         "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
18009                         "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
18010                         "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
18011                         "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
18012                         "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
18013                         "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
18014                         "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
18015                         "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
18016                         "\xce\x4d\x5f\x18\x60\xce\x87\x22"
18017                         "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
18018                         "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
18019                         "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
18020                         "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
18021                         "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
18022                         "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
18023                         "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
18024                         "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
18025                         "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
18026                         "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
18027                         "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
18028                         "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
18029                         "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
18030                         "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
18031                         "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
18032                         "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
18033                         "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
18034                         "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
18035                         "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
18036                         "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
18037                         "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
18038                         "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
18039                         "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
18040                         "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
18041                         "\xce\x54\xf9\x18\x58\xb5\xff\x44"
18042                         "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
18043                         "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
18044                         "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
18045                         "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
18046                         "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
18047                         "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
18048                         "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
18049                         "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
18050                         "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
18051                         "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
18052                         "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
18053                         "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
18054                         "\x0c\xd6\x04\x14\xde\x51\x74\x75"
18055                         "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
18056                         "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
18057                         "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
18058                         "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
18059                         "\x75\x46\x65\x4e\x07\x34\x37\xa3"
18060                         "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
18061                         "\x69\x24\x0e\x38\x67\x43\x8c\xde"
18062                         "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
18063                         "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
18064                         "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
18065                         "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
18066                         "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
18067                         "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
18068                         "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
18069                         "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
18070                         "\x91\x7d\x62\x64\x96\x72\xde\xfc"
18071                         "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
18072                         "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
18073                         "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
18074                         "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
18075                         "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
18076                         "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
18077                         "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
18078                         "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
18079                         "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
18080                         "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
18081                         "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
18082                         "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
18083                         "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
18084                         "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
18085                         "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
18086                         "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
18087                         "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
18088                         "\xae\xed\x39\x88\x42\x11\x3c\xed"
18089                         "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
18090                         "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
18091                         "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
18092                         "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
18093                         "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
18094                         "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
18095                         "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
18096                         "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
18097                         "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
18098                         "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
18099                         "\x34\x17\xde\xba\x47\xf1\x06\x18"
18100                         "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
18101                         "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
18102                         "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
18103                         "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
18104                         "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
18105                         "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
18106                         "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
18107                         "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
18108                         "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
18109                         "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
18110                         "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
18111                         "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
18112                         "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
18113                         "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
18114                         "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
18115                         "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
18116                         "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
18117                         "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
18118                         "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
18119                         "\x2c\x56\x39\x79\x0f\x69\x44\x75"
18120                         "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
18121                         "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
18122                         "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
18123                         "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
18124                         "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
18125                         "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
18126                         "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
18127                         "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
18128                         "\x63\x9b\xce\x61\x24\x79\xc0\x70"
18129                         "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
18130                         "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
18131                         "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
18132                         "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
18133                         "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
18134                         "\x74\x56\x58\x40\x02\x37\x52\x2c"
18135                         "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
18136                         "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
18137                         "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
18138                         "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
18139                         "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
18140                         "\xed\x38\x80\x36\x72\x43\x27\x49"
18141                         "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
18142                         "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
18143                         "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
18144                         "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
18145                         "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
18146                         "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
18147                         "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
18148                         "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
18149                         "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
18150                         "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
18151                         "\x12\xee\x30\xfe\xd8\x30\xef\x34"
18152                         "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
18153                         "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
18154                         "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
18155                         "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
18156                         "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
18157                         "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
18158                         "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
18159                         "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
18160                         "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
18161                         "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
18162                         "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
18163                         "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
18164                         "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
18165                         "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
18166                         "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
18167                         "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
18168                         "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
18169                         "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
18170                         "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
18171                         "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
18172                         "\x44\x12\xfb\x73\x77\xd4\x13\x39"
18173                         "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
18174                         "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
18175                         "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
18176                         "\x4b\xef\x31\x18\xea\xac\xb1\x84"
18177                         "\x21\xed\xda\x86",
18178                 .len    = 4100,
18179         },
18180 };
18181
18182 static const struct cipher_testvec aes_ofb_tv_template[] = {
18183         { /* From NIST Special Publication 800-38A, Appendix F.5 */
18184                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
18185                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
18186                 .klen   = 16,
18187                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
18188                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18189                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18190                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18191                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18192                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18193                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18194                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18195                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18196                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18197                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
18198                           "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
18199                           "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
18200                           "\x3c\x52\xda\xc5\x4e\xd8\x25"
18201                           "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
18202                           "\x44\xf7\xa8\x22\x60\xed\xcc"
18203                           "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
18204                           "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
18205                 .len    = 64,
18206         }, { /* > 16 bytes, not a multiple of 16 bytes */
18207                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
18208                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
18209                 .klen   = 16,
18210                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
18211                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18212                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18213                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18214                           "\xae",
18215                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
18216                           "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
18217                           "\x77",
18218                 .len    = 17,
18219         }, { /* < 16 bytes */
18220                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
18221                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
18222                 .klen   = 16,
18223                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
18224                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
18225                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
18226                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
18227                 .len    = 7,
18228         }
18229 };
18230
18231 static const struct aead_testvec aes_gcm_tv_template[] = {
18232         { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
18233                 .key    = zeroed_string,
18234                 .klen   = 16,
18235                 .ctext  = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
18236                           "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
18237                 .clen   = 16,
18238         }, {
18239                 .key    = zeroed_string,
18240                 .klen   = 16,
18241                 .ptext  = zeroed_string,
18242                 .plen   = 16,
18243                 .ctext  = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
18244                           "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
18245                           "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
18246                           "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
18247                 .clen   = 32,
18248         }, {
18249                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18250                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
18251                 .klen   = 16,
18252                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
18253                           "\xde\xca\xf8\x88",
18254                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
18255                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
18256                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
18257                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
18258                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
18259                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
18260                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
18261                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
18262                 .plen   = 64,
18263                 .ctext  = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
18264                           "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
18265                           "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
18266                           "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
18267                           "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
18268                           "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
18269                           "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
18270                           "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
18271                           "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
18272                           "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
18273                 .clen   = 80,
18274         }, {
18275                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18276                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
18277                 .klen   = 16,
18278                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
18279                           "\xde\xca\xf8\x88",
18280                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
18281                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
18282                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
18283                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
18284                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
18285                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
18286                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
18287                           "\xba\x63\x7b\x39",
18288                 .plen   = 60,
18289                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
18290                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
18291                           "\xab\xad\xda\xd2",
18292                 .alen   = 20,
18293                 .ctext  = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
18294                           "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
18295                           "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
18296                           "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
18297                           "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
18298                           "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
18299                           "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
18300                           "\x3d\x58\xe0\x91"
18301                           "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
18302                           "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
18303                 .clen   = 76,
18304         }, {
18305                 .key    = zeroed_string,
18306                 .klen   = 24,
18307                 .ctext  = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
18308                           "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
18309                 .clen   = 16,
18310         }, {
18311                 .key    = zeroed_string,
18312                 .klen   = 24,
18313                 .ptext  = zeroed_string,
18314                 .plen   = 16,
18315                 .ctext  = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
18316                           "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
18317                           "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
18318                           "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
18319                 .clen   = 32,
18320         }, {
18321                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18322                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18323                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
18324                 .klen   = 24,
18325                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
18326                           "\xde\xca\xf8\x88",
18327                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
18328                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
18329                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
18330                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
18331                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
18332                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
18333                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
18334                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
18335                 .plen   = 64,
18336                 .ctext  = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
18337                           "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
18338                           "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
18339                           "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
18340                           "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
18341                           "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
18342                           "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
18343                           "\xcc\xda\x27\x10\xac\xad\xe2\x56"
18344                           "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
18345                           "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
18346                 .clen   = 80,
18347         }, {
18348                 .key    = zeroed_string,
18349                 .klen   = 32,
18350                 .ctext  = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
18351                           "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
18352                 .clen   = 16,
18353         }, {
18354                 .key    = zeroed_string,
18355                 .klen   = 32,
18356                 .ptext  = zeroed_string,
18357                 .plen   = 16,
18358                 .ctext  = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
18359                           "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
18360                           "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
18361                           "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
18362                 .clen   = 32,
18363         }, {
18364                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18365                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18366                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18367                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
18368                 .klen   = 32,
18369                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
18370                           "\xde\xca\xf8\x88",
18371                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
18372                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
18373                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
18374                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
18375                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
18376                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
18377                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
18378                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
18379                 .plen   = 64,
18380                 .ctext  = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
18381                           "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
18382                           "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
18383                           "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
18384                           "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
18385                           "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
18386                           "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
18387                           "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
18388                           "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
18389                           "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
18390                 .clen   = 80,
18391         }, {
18392                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18393                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18394                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18395                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
18396                 .klen   = 32,
18397                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
18398                           "\xde\xca\xf8\x88",
18399                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
18400                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
18401                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
18402                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
18403                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
18404                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
18405                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
18406                           "\xba\x63\x7b\x39",
18407                 .plen   = 60,
18408                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
18409                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
18410                           "\xab\xad\xda\xd2",
18411                 .alen   = 20,
18412                 .ctext  = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
18413                           "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
18414                           "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
18415                           "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
18416                           "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
18417                           "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
18418                           "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
18419                           "\xbc\xc9\xf6\x62"
18420                           "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
18421                           "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
18422                 .clen   = 76,
18423         }, {
18424                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18425                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18426                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
18427                 .klen   = 24,
18428                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
18429                           "\xde\xca\xf8\x88",
18430                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
18431                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
18432                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
18433                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
18434                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
18435                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
18436                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
18437                           "\xba\x63\x7b\x39",
18438                 .plen   = 60,
18439                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
18440                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
18441                           "\xab\xad\xda\xd2",
18442                 .alen   = 20,
18443                 .ctext  = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
18444                           "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
18445                           "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
18446                           "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
18447                           "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
18448                           "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
18449                           "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
18450                           "\xcc\xda\x27\x10"
18451                           "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
18452                           "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
18453                 .clen   = 76,
18454         }, {
18455                 .key    = "\x62\x35\xf8\x95\xfc\xa5\xeb\xf6"
18456                           "\x0e\x92\x12\x04\xd3\xa1\x3f\x2e"
18457                           "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
18458                           "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
18459                 .klen   = 32,
18460                 .iv     = "\x00\xff\xff\xff\xff\x00\x00\xff"
18461                           "\xff\xff\x00\xff",
18462                 .ptext  = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
18463                           "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
18464                           "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
18465                           "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
18466                           "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
18467                           "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
18468                           "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
18469                           "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
18470                           "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
18471                           "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
18472                           "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
18473                           "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
18474                           "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
18475                           "\x35\x23\xf4\x20\x41\xd4\xad\x82"
18476                           "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
18477                           "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
18478                           "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
18479                           "\xad\x49\x3a\xae\x98\xce\xa6\x66"
18480                           "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
18481                           "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
18482                           "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
18483                           "\x57\xcc\x89\x09\x75\x9b\x78\x70"
18484                           "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
18485                           "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
18486                           "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
18487                           "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
18488                           "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
18489                           "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
18490                           "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
18491                           "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
18492                           "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
18493                           "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
18494                           "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
18495                           "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
18496                           "\x02\x66\x49\xca\x7c\x91\x05\xf2"
18497                           "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
18498                           "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
18499                           "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
18500                           "\x45\xea\x78\x73\xd9\xb7\x39\x11"
18501                           "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
18502                           "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
18503                           "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
18504                           "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
18505                           "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
18506                           "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
18507                           "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
18508                           "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
18509                           "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
18510                           "\x03\x25\x3c\x8d\x48\x58\x71\x34"
18511                           "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
18512                           "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
18513                           "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
18514                           "\x87\x79\x60\x38\x46\xb4\x25\x57"
18515                           "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
18516                           "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
18517                           "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
18518                           "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
18519                           "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
18520                           "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
18521                           "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
18522                           "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
18523                           "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
18524                           "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
18525                           "\x0b\x63\xde\x87\x42\x79\x8a\x68"
18526                           "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
18527                           "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
18528                           "\xe9\x83\x84\xcb\x28\x69\x09\x69"
18529                           "\xce\x99\x46\x00\x54\xcb\xd8\x38"
18530                           "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
18531                           "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
18532                           "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
18533                           "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
18534                           "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
18535                           "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
18536                           "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
18537                           "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
18538                           "\x78\xc6\x91\x22\x40\x91\x80\xbe"
18539                           "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
18540                           "\x67\x10\xa4\x83\x98\x79\x23\xe7"
18541                           "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
18542                           "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
18543                           "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
18544                           "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
18545                           "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
18546                           "\x3f\x73\x09\xe2\x45\x56\x31\x51"
18547                           "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
18548                           "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
18549                           "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
18550                           "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
18551                           "\xa4\x78\xdb\x74\x3d\x8b\xb5",
18552                 .plen   = 719,
18553                 .ctext  = "\x84\x0b\xdb\xd5\xb7\xa8\xfe\x20"
18554                           "\xbb\xb1\x12\x7f\x41\xea\xb3\xc0"
18555                           "\xa2\xb4\x37\x19\x11\x58\xb6\x0b"
18556                           "\x4c\x1d\x38\x05\x54\xd1\x16\x73"
18557                           "\x8e\x1c\x20\x90\xa2\x9a\xb7\x74"
18558                           "\x47\xe6\xd8\xfc\x18\x3a\xb4\xea"
18559                           "\xd5\x16\x5a\x2c\x53\x01\x46\xb3"
18560                           "\x18\x33\x74\x6c\x50\xf2\xe8\xc0"
18561                           "\x73\xda\x60\x22\xeb\xe3\xe5\x9b"
18562                           "\x20\x93\x6c\x4b\x37\x99\xb8\x23"
18563                           "\x3b\x4e\xac\xe8\x5b\xe8\x0f\xb7"
18564                           "\xc3\x8f\xfb\x4a\x37\xd9\x39\x95"
18565                           "\x34\xf1\xdb\x8f\x71\xd9\xc7\x0b"
18566                           "\x02\xf1\x63\xfc\x9b\xfc\xc5\xab"
18567                           "\xb9\x14\x13\x21\xdf\xce\xaa\x88"
18568                           "\x44\x30\x1e\xce\x26\x01\x92\xf8"
18569                           "\x9f\x00\x4b\x0c\x4b\xf7\x5f\xe0"
18570                           "\x89\xca\x94\x66\x11\x21\x97\xca"
18571                           "\x3e\x83\x74\x2d\xdb\x4d\x11\xeb"
18572                           "\x97\xc2\x14\xff\x9e\x1e\xa0\x6b"
18573                           "\x08\xb4\x31\x2b\x85\xc6\x85\x6c"
18574                           "\x90\xec\x39\xc0\xec\xb3\xb5\x4e"
18575                           "\xf3\x9c\xe7\x83\x3a\x77\x0a\xf4"
18576                           "\x56\xfe\xce\x18\x33\x6d\x0b\x2d"
18577                           "\x33\xda\xc8\x05\x5c\xb4\x09\x2a"
18578                           "\xde\x6b\x52\x98\x01\xef\x36\x3d"
18579                           "\xbd\xf9\x8f\xa8\x3e\xaa\xcd\xd1"
18580                           "\x01\x2d\x42\x49\xc3\xb6\x84\xbb"
18581                           "\x48\x96\xe0\x90\x93\x6c\x48\x64"
18582                           "\xd4\xfa\x7f\x93\x2c\xa6\x21\xc8"
18583                           "\x7a\x23\x7b\xaa\x20\x56\x12\xae"
18584                           "\x16\x9d\x94\x0f\x54\xa1\xec\xca"
18585                           "\x51\x4e\xf2\x39\xf4\xf8\x5f\x04"
18586                           "\x5a\x0d\xbf\xf5\x83\xa1\x15\xe1"
18587                           "\xf5\x3c\xd8\x62\xa3\xed\x47\x89"
18588                           "\x85\x4c\xe5\xdb\xac\x9e\x17\x1d"
18589                           "\x0c\x09\xe3\x3e\x39\x5b\x4d\x74"
18590                           "\x0e\xf5\x34\xee\x70\x11\x4c\xfd"
18591                           "\xdb\x34\xb1\xb5\x10\x3f\x73\xb7"
18592                           "\xf5\xfa\xed\xb0\x1f\xa5\xcd\x3c"
18593                           "\x8d\x35\x83\xd4\x11\x44\x6e\x6c"
18594                           "\x5b\xe0\x0e\x69\xa5\x39\xe5\xbb"
18595                           "\xa9\x57\x24\x37\xe6\x1f\xdd\xcf"
18596                           "\x16\x2a\x13\xf9\x6a\x2d\x90\xa0"
18597                           "\x03\x60\x7a\xed\x69\xd5\x00\x8b"
18598                           "\x7e\x4f\xcb\xb9\xfa\x91\xb9\x37"
18599                           "\xc1\x26\xce\x90\x97\x22\x64\x64"
18600                           "\xc1\x72\x43\x1b\xf6\xac\xc1\x54"
18601                           "\x8a\x10\x9c\xdd\x8d\xd5\x8e\xb2"
18602                           "\xe4\x85\xda\xe0\x20\x5f\xf4\xb4"
18603                           "\x15\xb5\xa0\x8d\x12\x74\x49\x23"
18604                           "\x3a\xdf\x4a\xd3\xf0\x3b\x89\xeb"
18605                           "\xf8\xcc\x62\x7b\xfb\x93\x07\x41"
18606                           "\x61\x26\x94\x58\x70\xa6\x3c\xe4"
18607                           "\xff\x58\xc4\x13\x3d\xcb\x36\x6b"
18608                           "\x32\xe5\xb2\x6d\x03\x74\x6f\x76"
18609                           "\x93\x77\xde\x48\xc4\xfa\x30\x4a"
18610                           "\xda\x49\x80\x77\x0f\x1c\xbe\x11"
18611                           "\xc8\x48\xb1\xe5\xbb\xf2\x8a\xe1"
18612                           "\x96\x2f\x9f\xd1\x8e\x8a\x5c\xe2"
18613                           "\xf7\xd7\xd8\x54\xf3\x3f\xc4\x91"
18614                           "\xb8\xfb\x86\xdc\x46\x24\x91\x60"
18615                           "\x6c\x2f\xc9\x41\x37\x51\x49\x54"
18616                           "\x09\x81\x21\xf3\x03\x9f\x2b\xe3"
18617                           "\x1f\x39\x63\xaf\xf4\xd7\x53\x60"
18618                           "\xa7\xc7\x54\xf9\xee\xb1\xb1\x7d"
18619                           "\x75\x54\x65\x93\xfe\xb1\x68\x6b"
18620                           "\x57\x02\xf9\xbb\x0e\xf9\xf8\xbf"
18621                           "\x01\x12\x27\xb4\xfe\xe4\x79\x7a"
18622                           "\x40\x5b\x51\x4b\xdf\x38\xec\xb1"
18623                           "\x6a\x56\xff\x35\x4d\x42\x33\xaa"
18624                           "\x6f\x1b\xe4\xdc\xe0\xdb\x85\x35"
18625                           "\x62\x10\xd4\xec\xeb\xc5\x7e\x45"
18626                           "\x1c\x6f\x17\xca\x3b\x8e\x2d\x66"
18627                           "\x4f\x4b\x36\x56\xcd\x1b\x59\xaa"
18628                           "\xd2\x9b\x17\xb9\x58\xdf\x7b\x64"
18629                           "\x8a\xff\x3b\x9c\xa6\xb5\x48\x9e"
18630                           "\xaa\xe2\x5d\x09\x71\x32\x5f\xb6"
18631                           "\x29\xbe\xe7\xc7\x52\x7e\x91\x82"
18632                           "\x6b\x6d\x33\xe1\x34\x06\x36\x21"
18633                           "\x5e\xbe\x1e\x2f\x3e\xc1\xfb\xea"
18634                           "\x49\x2c\xb5\xca\xf7\xb0\x37\xea"
18635                           "\x1f\xed\x10\x04\xd9\x48\x0d\x1a"
18636                           "\x1c\xfb\xe7\x84\x0e\x83\x53\x74"
18637                           "\xc7\x65\xe2\x5c\xe5\xba\x73\x4c"
18638                           "\x0e\xe1\xb5\x11\x45\x61\x43\x46"
18639                           "\xaa\x25\x8f\xbd\x85\x08\xfa\x4c"
18640                           "\x15\xc1\xc0\xd8\xf5\xdc\x16\xbb"
18641                           "\x7b\x1d\xe3\x87\x57\xa7\x2a\x1d"
18642                           "\x38\x58\x9e\x8a\x43\xdc\x57"
18643                           "\xd1\x81\x7d\x2b\xe9\xff\x99\x3a"
18644                           "\x4b\x24\x52\x58\x55\xe1\x49\x14",
18645                 .clen   = 735,
18646         }
18647 };
18648
18649 static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
18650         { /* Generated using Crypto++ */
18651                 .key    = zeroed_string,
18652                 .klen   = 20,
18653                 .iv     = zeroed_string,
18654                 .ptext  = zeroed_string,
18655                 .plen   = 16,
18656                 .assoc  = zeroed_string,
18657                 .alen   = 16,
18658                 .ctext  = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
18659                           "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
18660                           "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
18661                           "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
18662                 .clen   = 32,
18663         },{
18664                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18665                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18666                           "\x00\x00\x00\x00",
18667                 .klen   = 20,
18668                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
18669                 .ptext  = zeroed_string,
18670                 .plen   = 16,
18671                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18672                           "\x00\x00\x00\x00\x00\x00\x00\x01",
18673                 .alen   = 16,
18674                 .ctext  = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
18675                           "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
18676                           "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
18677                           "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
18678                 .clen   = 32,
18679
18680         }, {
18681                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18682                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18683                           "\x00\x00\x00\x00",
18684                 .klen   = 20,
18685                 .iv     = zeroed_string,
18686                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
18687                           "\x01\x01\x01\x01\x01\x01\x01\x01",
18688                 .plen   = 16,
18689                 .assoc  = zeroed_string,
18690                 .alen   = 16,
18691                 .ctext  = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
18692                           "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
18693                           "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
18694                           "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
18695                 .clen   = 32,
18696         }, {
18697                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18698                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18699                           "\x00\x00\x00\x00",
18700                 .klen   = 20,
18701                 .iv     = zeroed_string,
18702                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
18703                           "\x01\x01\x01\x01\x01\x01\x01\x01",
18704                 .plen   = 16,
18705                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
18706                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18707                 .alen   = 16,
18708                 .ctext  = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
18709                           "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
18710                           "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
18711                           "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
18712                 .clen   = 32,
18713         }, {
18714                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18715                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18716                           "\x00\x00\x00\x00",
18717                 .klen   = 20,
18718                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
18719                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
18720                           "\x01\x01\x01\x01\x01\x01\x01\x01",
18721                 .plen   = 16,
18722                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
18723                           "\x00\x00\x00\x00\x00\x00\x00\x01",
18724                 .alen   = 16,
18725                 .ctext  = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
18726                           "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
18727                           "\x64\x50\xF9\x32\x13\xFB\x74\x61"
18728                           "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
18729                 .clen   = 32,
18730         }, {
18731                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18732                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18733                           "\x00\x00\x00\x00",
18734                 .klen   = 20,
18735                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
18736                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
18737                           "\x01\x01\x01\x01\x01\x01\x01\x01"
18738                           "\x01\x01\x01\x01\x01\x01\x01\x01"
18739                           "\x01\x01\x01\x01\x01\x01\x01\x01"
18740                           "\x01\x01\x01\x01\x01\x01\x01\x01"
18741                           "\x01\x01\x01\x01\x01\x01\x01\x01"
18742                           "\x01\x01\x01\x01\x01\x01\x01\x01"
18743                           "\x01\x01\x01\x01\x01\x01\x01\x01",
18744                 .plen   = 64,
18745                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
18746                           "\x00\x00\x00\x00\x00\x00\x00\x01",
18747                 .alen   = 16,
18748                 .ctext  = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
18749                           "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
18750                           "\x98\x14\xA1\x42\x37\x80\xFD\x90"
18751                           "\x68\x12\x01\xA8\x91\x89\xB9\x83"
18752                           "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
18753                           "\x94\x5F\x18\x12\xBA\x27\x09\x39"
18754                           "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
18755                           "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
18756                           "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
18757                           "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
18758                 .clen   = 80,
18759         }, {
18760                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
18761                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18762                           "\x00\x00\x00\x00",
18763                 .klen   = 20,
18764                 .iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
18765                 .ptext  = "\xff\xff\xff\xff\xff\xff\xff\xff"
18766                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18767                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18768                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18769                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18770                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18771                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18772                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18773                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18774                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18775                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18776                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18777                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18778                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18779                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18780                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18781                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18782                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18783                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18784                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18785                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18786                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18787                           "\xff\xff\xff\xff\xff\xff\xff\xff"
18788                           "\xff\xff\xff\xff\xff\xff\xff\xff",
18789                 .plen   = 192,
18790                 .assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
18791                           "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
18792                           "\x89\xab\xcd\xef",
18793                 .alen   = 20,
18794                 .ctext  = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
18795                           "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
18796                           "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
18797                           "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
18798                           "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
18799                           "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
18800                           "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
18801                           "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
18802                           "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
18803                           "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
18804                           "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
18805                           "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
18806                           "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
18807                           "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
18808                           "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
18809                           "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
18810                           "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
18811                           "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
18812                           "\x7E\x13\x06\x82\x08\x17\xA4\x35"
18813                           "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
18814                           "\xA3\x05\x38\x95\x20\x1A\x47\x04"
18815                           "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
18816                           "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
18817                           "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
18818                           "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
18819                           "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
18820                 .clen   = 208,
18821         }, { /* From draft-mcgrew-gcm-test-01 */
18822                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
18823                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
18824                           "\x2E\x44\x3B\x68",
18825                 .klen   = 20,
18826                 .iv     = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
18827                 .ptext  = "\x45\x00\x00\x48\x69\x9A\x00\x00"
18828                           "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
18829                           "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
18830                           "\x38\xD3\x01\x00\x00\x01\x00\x00"
18831                           "\x00\x00\x00\x00\x04\x5F\x73\x69"
18832                           "\x70\x04\x5F\x75\x64\x70\x03\x73"
18833                           "\x69\x70\x09\x63\x79\x62\x65\x72"
18834                           "\x63\x69\x74\x79\x02\x64\x6B\x00"
18835                           "\x00\x21\x00\x01\x01\x02\x02\x01",
18836                 .plen   = 72,
18837                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
18838                           "\x00\x00\x00\x00\x49\x56\xED\x7E"
18839                           "\x3B\x24\x4C\xFE",
18840                 .alen   = 20,
18841                 .ctext  = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
18842                           "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
18843                           "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
18844                           "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
18845                           "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
18846                           "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
18847                           "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
18848                           "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
18849                           "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
18850                           "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
18851                           "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
18852                 .clen   = 88,
18853         }, {
18854                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18855                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
18856                           "\xCA\xFE\xBA\xBE",
18857                 .klen   = 20,
18858                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18859                 .ptext  = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
18860                           "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
18861                           "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
18862                           "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
18863                           "\x00\x01\x00\x00\x00\x00\x00\x00"
18864                           "\x03\x73\x69\x70\x09\x63\x79\x62"
18865                           "\x65\x72\x63\x69\x74\x79\x02\x64"
18866                           "\x6B\x00\x00\x01\x00\x01\x00\x01",
18867                 .plen   = 64,
18868                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
18869                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18870                 .alen   = 16,
18871                 .ctext  = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
18872                           "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
18873                           "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
18874                           "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
18875                           "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
18876                           "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
18877                           "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
18878                           "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
18879                           "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
18880                           "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
18881                 .clen   = 80,
18882         }, {
18883                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18884                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18885                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18886                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18887                           "\x11\x22\x33\x44",
18888                 .klen   = 36,
18889                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
18890                 .ptext  = "\x45\x00\x00\x30\x69\xA6\x40\x00"
18891                           "\x80\x06\x26\x90\xC0\xA8\x01\x02"
18892                           "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
18893                           "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
18894                           "\x70\x02\x40\x00\x20\xBF\x00\x00"
18895                           "\x02\x04\x05\xB4\x01\x01\x04\x02"
18896                           "\x01\x02\x02\x01",
18897                 .plen   = 52,
18898                 .assoc  = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
18899                           "\x01\x02\x03\x04\x05\x06\x07\x08",
18900                 .alen   = 16,
18901                 .ctext  = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
18902                           "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
18903                           "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
18904                           "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
18905                           "\x74\x8A\x63\x79\x85\x77\x1D\x34"
18906                           "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
18907                           "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
18908                           "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
18909                           "\x15\x95\x6C\x96",
18910                 .clen   = 68,
18911         }, {
18912                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18913                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18914                           "\x00\x00\x00\x00",
18915                 .klen   = 20,
18916                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
18917                 .ptext  = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
18918                           "\x80\x01\xCB\x7A\x40\x67\x93\x18"
18919                           "\x01\x01\x01\x01\x08\x00\x07\x5C"
18920                           "\x02\x00\x44\x00\x61\x62\x63\x64"
18921                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18922                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18923                           "\x75\x76\x77\x61\x62\x63\x64\x65"
18924                           "\x66\x67\x68\x69\x01\x02\x02\x01",
18925                 .plen   = 64,
18926                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x01"
18927                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18928                 .alen   = 16,
18929                 .ctext  = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
18930                           "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
18931                           "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
18932                           "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
18933                           "\x45\x64\x76\x49\x27\x19\xFF\xB6"
18934                           "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
18935                           "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
18936                           "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
18937                           "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
18938                           "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
18939                 .clen   = 80,
18940         }, {
18941                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18942                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18943                           "\x57\x69\x0E\x43",
18944                 .klen   = 20,
18945                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18946                 .ptext  = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
18947                           "\x80\x01\xCB\x7C\x40\x67\x93\x18"
18948                           "\x01\x01\x01\x01\x08\x00\x08\x5C"
18949                           "\x02\x00\x43\x00\x61\x62\x63\x64"
18950                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18951                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18952                           "\x75\x76\x77\x61\x62\x63\x64\x65"
18953                           "\x66\x67\x68\x69\x01\x02\x02\x01",
18954                 .plen   = 64,
18955                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18956                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
18957                           "\xA2\xFC\xA1\xA3",
18958                 .alen   = 20,
18959                 .ctext  = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
18960                           "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
18961                           "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
18962                           "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
18963                           "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
18964                           "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
18965                           "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
18966                           "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
18967                           "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
18968                           "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
18969                 .clen   = 80,
18970         }, {
18971                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18972                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18973                           "\x57\x69\x0E\x43",
18974                 .klen   = 20,
18975                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18976                 .ptext  = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
18977                           "\x80\x01\x44\x1F\x40\x67\x93\xB6"
18978                           "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
18979                           "\x01\x02\x02\x01",
18980                 .plen   = 28,
18981                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18982                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
18983                           "\xA2\xFC\xA1\xA3",
18984                 .alen   = 20,
18985                 .ctext  = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
18986                           "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
18987                           "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
18988                           "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
18989                           "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
18990                           "\xE7\xD0\x5D\x35",
18991                 .clen   = 44,
18992         }, {
18993                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18994                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
18995                           "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18996                           "\xCA\xFE\xBA\xBE",
18997                 .klen   = 28,
18998                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18999                 .ptext  = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
19000                           "\x40\x06\x78\x80\x0A\x01\x03\x8F"
19001                           "\x0A\x01\x06\x12\x80\x23\x06\xB8"
19002                           "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
19003                           "\x50\x10\x16\xD0\x75\x68\x00\x01",
19004                 .plen   = 40,
19005                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
19006                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
19007                 .alen   = 16,
19008                 .ctext  = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
19009                           "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
19010                           "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
19011                           "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
19012                           "\x31\x5B\x27\x45\x21\x44\xCC\x77"
19013                           "\x95\x45\x7B\x96\x52\x03\x7F\x53"
19014                           "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
19015                 .clen   = 56,
19016         }, {
19017                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19018                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19019                           "\xDE\xCA\xF8\x88",
19020                 .klen   = 20,
19021                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
19022                 .ptext  = "\x45\x00\x00\x49\x33\xBA\x00\x00"
19023                           "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
19024                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
19025                           "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
19026                           "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
19027                           "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
19028                           "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
19029                           "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
19030                           "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
19031                           "\x23\x01\x01\x01",
19032                 .plen   = 76,
19033                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
19034                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
19035                           "\xCE\xFA\xCE\x74",
19036                 .alen   = 20,
19037                 .ctext  = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
19038                           "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
19039                           "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
19040                           "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
19041                           "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
19042                           "\x84\xE6\x58\x63\x96\x5D\x74\x72"
19043                           "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
19044                           "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
19045                           "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
19046                           "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
19047                           "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
19048                           "\x69\x62\x34\x36",
19049                 .clen   = 92,
19050         }, {
19051                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19052                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19053                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19054                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19055                           "\x73\x61\x6C\x74",
19056                 .klen   = 36,
19057                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
19058                 .ptext  = "\x45\x08\x00\x28\x73\x2C\x00\x00"
19059                           "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
19060                           "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
19061                           "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
19062                           "\x50\x10\x1F\x64\x6D\x54\x00\x01",
19063                 .plen   = 40,
19064                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
19065                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
19066                           "\x69\x76\x65\x63",
19067                 .alen   = 20,
19068                 .ctext  = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
19069                           "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
19070                           "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
19071                           "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
19072                           "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
19073                           "\x45\x16\x26\xC2\x41\x57\x71\xE3"
19074                           "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
19075                 .clen   = 56,
19076         }, {
19077                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
19078                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
19079                           "\x57\x69\x0E\x43",
19080                 .klen   = 20,
19081                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
19082                 .ptext  = "\x45\x00\x00\x49\x33\x3E\x00\x00"
19083                           "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
19084                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
19085                           "\x00\x35\xCB\x45\x80\x03\x02\x5B"
19086                           "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
19087                           "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
19088                           "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
19089                           "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
19090                           "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
19091                           "\x15\x01\x01\x01",
19092                 .plen   = 76,
19093                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
19094                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
19095                           "\xA2\xFC\xA1\xA3",
19096                 .alen   = 20,
19097                 .ctext  = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
19098                           "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
19099                           "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
19100                           "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
19101                           "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
19102                           "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
19103                           "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
19104                           "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
19105                           "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
19106                           "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
19107                           "\x76\x91\x89\x60\x97\x63\xB8\xE1"
19108                           "\x8C\xAA\x81\xE2",
19109                 .clen   = 92,
19110         }, {
19111                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19112                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19113                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19114                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19115                           "\x73\x61\x6C\x74",
19116                 .klen   = 36,
19117                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
19118                 .ptext  = "\x63\x69\x73\x63\x6F\x01\x72\x75"
19119                           "\x6C\x65\x73\x01\x74\x68\x65\x01"
19120                           "\x6E\x65\x74\x77\x65\x01\x64\x65"
19121                           "\x66\x69\x6E\x65\x01\x74\x68\x65"
19122                           "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
19123                           "\x67\x69\x65\x73\x01\x74\x68\x61"
19124                           "\x74\x77\x69\x6C\x6C\x01\x64\x65"
19125                           "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
19126                           "\x72\x72\x6F\x77\x01\x02\x02\x01",
19127                 .plen   = 72,
19128                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
19129                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
19130                           "\x69\x76\x65\x63",
19131                 .alen   = 20,
19132                 .ctext  = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
19133                           "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
19134                           "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
19135                           "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
19136                           "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
19137                           "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
19138                           "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
19139                           "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
19140                           "\x12\xA4\x93\x63\x41\x23\x64\xF8"
19141                           "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
19142                           "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
19143                 .clen   = 88,
19144         }, {
19145                 .key    = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
19146                           "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
19147                           "\xD9\x66\x42\x67",
19148                 .klen   = 20,
19149                 .iv     = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
19150                 .ptext  = "\x01\x02\x02\x01",
19151                 .plen   = 4,
19152                 .assoc  = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
19153                           "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
19154                 .alen   = 16,
19155                 .ctext  = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
19156                           "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
19157                           "\x04\xBE\xF2\x70",
19158                 .clen   = 20,
19159         }, {
19160                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
19161                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
19162                           "\xDE\xCA\xF8\x88",
19163                 .klen   = 20,
19164                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
19165                 .ptext  = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
19166                           "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
19167                           "\x62\x65\x00\x01",
19168                 .plen   = 20,
19169                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
19170                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
19171                           "\xCE\xFA\xCE\x74",
19172                 .alen   = 20,
19173                 .ctext  = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
19174                           "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
19175                           "\x43\x33\x21\x64\x41\x25\x03\x52"
19176                           "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
19177                           "\x43\xAF\x8C\x3E",
19178                 .clen   = 36,
19179         }, {
19180                 .key    = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
19181                           "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
19182                           "\x61\x61\x6E\x64\x64\x6F\x69\x74"
19183                           "\x62\x65\x66\x6F\x72\x65\x69\x61"
19184                           "\x74\x75\x72\x6E",
19185                 .klen   = 36,
19186                 .iv     = "\x33\x30\x21\x69\x67\x65\x74\x6D",
19187                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
19188                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
19189                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
19190                           "\x02\x00\x07\x00\x61\x62\x63\x64"
19191                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
19192                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
19193                           "\x01\x02\x02\x01",
19194                 .plen   = 52,
19195                 .assoc  = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
19196                           "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
19197                           "\x67\x65\x74\x6D",
19198                 .alen   = 20,
19199                 .ctext  = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
19200                           "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
19201                           "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
19202                           "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
19203                           "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
19204                           "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
19205                           "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
19206                           "\x94\x5F\x66\x93\x68\x66\x1A\x32"
19207                           "\x9F\xB4\xC0\x53",
19208                 .clen   = 68,
19209         }, {
19210                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
19211                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
19212                           "\x57\x69\x0E\x43",
19213                 .klen   = 20,
19214                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
19215                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
19216                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
19217                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
19218                           "\x02\x00\x07\x00\x61\x62\x63\x64"
19219                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
19220                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
19221                           "\x01\x02\x02\x01",
19222                 .plen   = 52,
19223                 .assoc  = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
19224                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
19225                           "\xA2\xFC\xA1\xA3",
19226                 .alen   = 20,
19227                 .ctext  = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
19228                           "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
19229                           "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
19230                           "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
19231                           "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
19232                           "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
19233                           "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
19234                           "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
19235                           "\x40\xD7\xCB\x05",
19236                 .clen   = 68,
19237         }, {
19238                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
19239                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
19240                           "\x22\x43\x3C\x64",
19241                 .klen   = 20,
19242                 .iv     = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
19243                 .ptext  = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
19244                           "\x61\x62\x63\x64\x65\x66\x67\x68"
19245                           "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
19246                           "\x71\x72\x73\x74\x01\x02\x02\x01",
19247                 .plen   = 32,
19248                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
19249                           "\x00\x00\x00\x07\x48\x55\xEC\x7D"
19250                           "\x3A\x23\x4B\xFD",
19251                 .alen   = 20,
19252                 .ctext  = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
19253                           "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
19254                           "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
19255                           "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
19256                           "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
19257                           "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
19258                 .clen   = 48,
19259         }
19260 };
19261
19262 static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
19263         { /* From draft-mcgrew-gcm-test-01 */
19264                 .key    = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
19265                           "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
19266                           "\x22\x43\x3c\x64",
19267                 .klen   = 20,
19268                 .iv     = zeroed_string,
19269                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x07"
19270                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19271                 .alen   = 16,
19272                 .ptext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
19273                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
19274                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
19275                           "\x02\x00\x07\x00\x61\x62\x63\x64"
19276                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
19277                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
19278                           "\x01\x02\x02\x01",
19279                 .plen   = 52,
19280                 .ctext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
19281                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
19282                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
19283                           "\x02\x00\x07\x00\x61\x62\x63\x64"
19284                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
19285                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
19286                           "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
19287                           "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
19288                           "\xe4\x09\x9a\xaa",
19289                 .clen   = 68,
19290         }, { /* nearly same as previous, but should fail */
19291                 .key    = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
19292                           "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
19293                           "\x22\x43\x3c\x64",
19294                 .klen   = 20,
19295                 .iv     = zeroed_string,
19296                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x07"
19297                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19298                 .alen   = 16,
19299                 .ptext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
19300                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
19301                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
19302                           "\x02\x00\x07\x00\x61\x62\x63\x64"
19303                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
19304                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
19305                           "\x01\x02\x02\x01",
19306                 .plen   = 52,
19307                 .novrfy = 1,
19308                 .ctext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
19309                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
19310                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
19311                           "\x02\x00\x07\x00\x61\x62\x63\x64"
19312                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
19313                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
19314                           "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
19315                           "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
19316                           "\x00\x00\x00\x00",
19317                 .clen   = 68,
19318         },
19319 };
19320
19321 static const struct aead_testvec aes_ccm_tv_template[] = {
19322         { /* From RFC 3610 */
19323                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19324                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
19325                 .klen   = 16,
19326                 .iv     = "\x01\x00\x00\x00\x03\x02\x01\x00"
19327                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
19328                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
19329                 .alen   = 8,
19330                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19331                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19332                           "\x18\x19\x1a\x1b\x1c\x1d\x1e",
19333                 .plen   = 23,
19334                 .ctext  = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
19335                           "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
19336                           "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
19337                           "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
19338                 .clen   = 31,
19339         }, {
19340                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19341                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
19342                 .klen   = 16,
19343                 .iv     = "\x01\x00\x00\x00\x07\x06\x05\x04"
19344                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
19345                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
19346                           "\x08\x09\x0a\x0b",
19347                 .alen   = 12,
19348                 .ptext  = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
19349                           "\x14\x15\x16\x17\x18\x19\x1a\x1b"
19350                           "\x1c\x1d\x1e\x1f",
19351                 .plen   = 20,
19352                 .ctext  = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
19353                           "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
19354                           "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
19355                           "\x7d\x9c\x2d\x93",
19356                 .clen   = 28,
19357         }, {
19358                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19359                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
19360                 .klen   = 16,
19361                 .iv     = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
19362                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
19363                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
19364                 .alen   = 8,
19365                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19366                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19367                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19368                           "\x20",
19369                 .plen   = 25,
19370                 .ctext  = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
19371                           "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
19372                           "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
19373                           "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
19374                           "\x7e\x5f\x4e",
19375                 .clen   = 35,
19376         }, {
19377                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19378                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
19379                 .klen   = 16,
19380                 .iv     = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
19381                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
19382                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
19383                           "\x08\x09\x0a\x0b",
19384                 .alen   = 12,
19385                 .ptext  = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
19386                           "\x14\x15\x16\x17\x18\x19\x1a\x1b"
19387                           "\x1c\x1d\x1e",
19388                 .plen   = 19,
19389                 .ctext  = "\x07\x34\x25\x94\x15\x77\x85\x15"
19390                           "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
19391                           "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
19392                           "\x4d\x99\x99\x88\xdd",
19393                 .clen   = 29,
19394         }, {
19395                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
19396                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
19397                 .klen   = 16,
19398                 .iv     = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
19399                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
19400                 .assoc  = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
19401                 .alen   = 8,
19402                 .ptext  = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
19403                           "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
19404                           "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
19405                 .plen   = 24,
19406                 .ctext  = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
19407                           "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
19408                           "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
19409                           "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
19410                 .clen   = 32,
19411         }, {
19412                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
19413                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
19414                 .klen   = 16,
19415                 .iv     = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
19416                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
19417                 .assoc  = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
19418                           "\x20\xea\x60\xc0",
19419                 .alen   = 12,
19420                 .ptext  = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
19421                           "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
19422                           "\x3a\x80\x3b\xa8\x7f",
19423                 .plen   = 21,
19424                 .ctext  = "\x00\x97\x69\xec\xab\xdf\x48\x62"
19425                           "\x55\x94\xc5\x92\x51\xe6\x03\x57"
19426                           "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
19427                           "\x5a\xe0\x70\x45\x51",
19428                 .clen   = 29,
19429         }, {
19430                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
19431                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
19432                 .klen   = 16,
19433                 .iv     = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
19434                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
19435                 .assoc  = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
19436                 .alen   = 8,
19437                 .ptext  = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
19438                           "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
19439                           "\x98\x09\xd6\x7d\xbe\xdd\x18",
19440                 .plen   = 23,
19441                 .ctext  = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
19442                           "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
19443                           "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
19444                           "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
19445                           "\xba",
19446                 .clen   = 33,
19447         }, {
19448                 /* This is taken from FIPS CAVS. */
19449                 .key    = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
19450                           "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
19451                 .klen   = 16,
19452                 .iv     = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
19453                 .alen   = 0,
19454                 .ptext  = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
19455                           "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
19456                           "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
19457                           "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
19458                 .plen   = 32,
19459                 .ctext  = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
19460                           "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
19461                           "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
19462                           "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
19463                           "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
19464                           "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
19465                 .clen   = 48,
19466         }, {
19467                 .key    = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
19468                           "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
19469                 .klen   = 16,
19470                 .iv     = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
19471                           "\x30\x60\x15\x56\x00\x00\x00\x00",
19472                 .assoc  = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
19473                           "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
19474                           "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
19475                           "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
19476                 .alen   = 32,
19477                 .ptext  = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
19478                           "\xa9\x28\x63\xba\x12\xa3\x14\x85"
19479                           "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
19480                           "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
19481                 .plen   = 32,
19482                 .ctext  = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
19483                           "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
19484                           "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
19485                           "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
19486                           "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
19487                           "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
19488                 .clen   = 48,
19489         }, {
19490                 .key    = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
19491                           "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
19492                           "\x53\x14\x73\x66\x8d\x88\xf6\x80",
19493                 .klen   = 24,
19494                 .iv     = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
19495                           "\x50\x20\xda\xe2\x00\x00\x00\x00",
19496                 .assoc  = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
19497                           "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
19498                           "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
19499                           "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
19500                 .alen   = 32,
19501                 .ctext  = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
19502                           "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
19503                 .clen   = 16,
19504         }, {
19505                 .key    = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
19506                           "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
19507                           "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
19508                 .klen   = 24,
19509                 .iv     = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
19510                           "\xef\x09\x2e\x94\x00\x00\x00\x00",
19511                 .assoc  = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
19512                           "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
19513                           "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
19514                           "\xe3\x00\x73\x69\x84\x69\x87\x79",
19515                 .alen   = 32,
19516                 .ptext  = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
19517                           "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
19518                           "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
19519                           "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
19520                 .plen   = 32,
19521                 .ctext  = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
19522                           "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
19523                           "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
19524                           "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
19525                           "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
19526                           "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
19527                 .clen   = 48,
19528         }, {
19529                 .key    = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
19530                           "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
19531                           "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
19532                           "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
19533                 .klen   = 32,
19534                 .iv     = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
19535                           "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
19536                 .assoc  = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
19537                           "\x78\x2b\x94\x02\x29\x0f\x42\x27"
19538                           "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
19539                           "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
19540                 .alen   = 32,
19541                 .ptext  = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
19542                           "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
19543                           "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
19544                           "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
19545                 .plen   = 32,
19546                 .ctext  = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
19547                           "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
19548                           "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
19549                           "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
19550                           "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
19551                 .clen   = 40,
19552         }, {
19553                 .key    = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
19554                           "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
19555                           "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
19556                           "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
19557                 .klen   = 32,
19558                 .iv     = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
19559                           "\x43\xf6\x1e\x50\0\0\0\0",
19560                 .assoc  = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
19561                           "\x13\x02\x01\x0c\x83\x4c\x96\x35"
19562                           "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
19563                           "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
19564                 .alen   = 32,
19565                 .ptext  = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
19566                           "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
19567                           "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
19568                           "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
19569                 .plen   = 32,
19570                 .ctext  = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
19571                           "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
19572                           "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
19573                           "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
19574                           "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
19575                           "\x7b\x72\x8a\xf7",
19576                 .clen   = 44,
19577         }, {
19578                 .key    = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
19579                           "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
19580                           "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
19581                           "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
19582                 .klen   = 32,
19583                 .iv     = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
19584                           "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
19585                 .assoc  = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
19586                           "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
19587                           "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
19588                           "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
19589                 .alen   = 32,
19590                 .ptext  = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
19591                           "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
19592                           "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
19593                           "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
19594                 .plen   = 32,
19595                 .ctext  = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
19596                           "\xef\xbb\x80\x21\x04\x6c\x58\x09"
19597                           "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
19598                           "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
19599                           "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
19600                           "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
19601                 .clen   = 48,
19602         }, {
19603                 /* This is taken from FIPS CAVS. */
19604                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
19605                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
19606                 .klen   = 16,
19607                 .iv     = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
19608                           "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
19609                 .alen   = 0,
19610                 .ptext  = "\x00",
19611                 .plen   = 0,
19612                 .ctext  = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
19613                 .clen   = 8,
19614                 .novrfy = 1,
19615         }, {
19616                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
19617                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
19618                 .klen   = 16,
19619                 .iv     = "\x03\xaf\x94\x87\x78\x35\x82\x81"
19620                           "\x7f\x88\x94\x68\x00\x00\x00\x00",
19621                 .alen   = 0,
19622                 .ptext  = "\x00",
19623                 .plen   = 0,
19624                 .ctext  = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
19625                 .clen   = 8,
19626         }, {
19627                 .key    = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
19628                           "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
19629                 .klen   = 16,
19630                 .iv     = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
19631                           "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
19632                 .assoc  = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
19633                           "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
19634                           "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
19635                           "\xd8\x94\x99\x91\x81\x54\x62\x57",
19636                 .alen   = 32,
19637                 .ptext  = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
19638                           "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
19639                           "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
19640                           "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
19641                 .plen   = 32,
19642                 .ctext  = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
19643                           "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
19644                           "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
19645                           "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
19646                           "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
19647                           "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
19648                 .clen   = 48,
19649                 .novrfy = 1,
19650         }, {
19651                 .key    = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
19652                           "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
19653                 .klen   = 16,
19654                 .iv     = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
19655                           "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
19656                 .assoc  = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
19657                           "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
19658                           "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
19659                           "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
19660                 .alen   = 32,
19661                 .ptext  = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
19662                           "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
19663                           "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
19664                           "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
19665                 .plen   = 32,
19666                 .ctext  = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
19667                           "\xad\x83\x52\x6d\x71\x03\x25\x1c"
19668                           "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
19669                           "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
19670                           "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
19671                           "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
19672                 .clen   = 48,
19673         }, {
19674                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
19675                           "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
19676                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
19677                 .klen   = 24,
19678                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
19679                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
19680                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
19681                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
19682                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
19683                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
19684                 .alen   = 32,
19685                 .ptext  = "\x00",
19686                 .plen   = 0,
19687                 .ctext  = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
19688                 .clen   = 8,
19689         }, {
19690                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
19691                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
19692                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
19693                 .klen   = 24,
19694                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
19695                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
19696                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
19697                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
19698                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
19699                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
19700                 .alen   = 32,
19701                 .ptext  = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
19702                           "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
19703                           "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
19704                           "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
19705                 .plen   = 32,
19706                 .ctext  = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
19707                           "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
19708                           "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
19709                           "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
19710                           "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
19711                 .clen   = 40,
19712         }, {
19713                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
19714                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
19715                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
19716                 .klen   = 24,
19717                 .iv     = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
19718                           "\xad\x71\xaa\x1f\x00\x00\x00\x00",
19719                 .assoc  = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
19720                           "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
19721                           "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
19722                           "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
19723                 .alen   = 32,
19724                 .ptext  = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
19725                           "\x99\x2a\xa8\xca\x04\x25\x45\x90"
19726                           "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
19727                           "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
19728                 .plen   = 32,
19729                 .ctext  = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
19730                           "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
19731                           "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
19732                           "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
19733                           "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
19734                           "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
19735                 .clen   = 48,
19736                 .novrfy = 1,
19737         }, {
19738                 .key    = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
19739                           "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
19740                           "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
19741                           "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
19742                 .klen   = 32,
19743                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
19744                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
19745                 .alen   = 0,
19746                 .ptext  = "\x00",
19747                 .plen   = 0,
19748                 .ctext  = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
19749                 .clen   = 8,
19750         }, {
19751                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
19752                           "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
19753                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
19754                           "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
19755                 .klen   = 32,
19756                 .iv     = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
19757                           "\x36\x58\xe0\x6b\x00\x00\x00\x00",
19758                 .alen   = 0,
19759                 .ptext  = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
19760                           "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
19761                           "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
19762                           "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
19763                 .plen   = 32,
19764                 .ctext  = "\x48\x01\x5e\x02\x24\x04\x66\x47"
19765                           "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
19766                           "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
19767                           "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
19768                           "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
19769                           "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
19770                 .clen   = 48,
19771                 .novrfy = 1,
19772         }, {
19773                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
19774                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
19775                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
19776                           "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
19777                 .klen   = 32,
19778                 .iv     = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
19779                           "\x44\x89\x40\x7b\x00\x00\x00\x00",
19780                 .assoc  = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
19781                           "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
19782                           "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
19783                           "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
19784                 .alen   = 32,
19785                 .ptext  = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
19786                           "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
19787                           "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
19788                           "\x04\x49\x3b\x19\x93\x57\x25\x5d",
19789                 .plen   = 32,
19790                 .ctext  = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
19791                           "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
19792                           "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
19793                           "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
19794                           "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
19795                           "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
19796                 .clen   = 48,
19797         },
19798 };
19799
19800 /*
19801  * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
19802  * use a 13-byte nonce, we only support an 11-byte nonce.  Worse,
19803  * they use AD lengths which are not valid ESP header lengths.
19804  *
19805  * These vectors are copied/generated from the ones for rfc4106 with
19806  * the key truncated by one byte..
19807  */
19808 static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
19809         { /* Generated using Crypto++ */
19810                 .key    = zeroed_string,
19811                 .klen   = 19,
19812                 .iv     = zeroed_string,
19813                 .ptext  = zeroed_string,
19814                 .plen   = 16,
19815                 .assoc  = zeroed_string,
19816                 .alen   = 16,
19817                 .ctext  = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
19818                           "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
19819                           "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
19820                           "\x27\x50\x01\xAC\x03\x33\x39\xFB",
19821                 .clen   = 32,
19822         },{
19823                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19824                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19825                           "\x00\x00\x00",
19826                 .klen   = 19,
19827                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
19828                 .ptext  = zeroed_string,
19829                 .plen   = 16,
19830                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
19831                           "\x00\x00\x00\x00\x00\x00\x00\x01",
19832                 .alen   = 16,
19833                 .ctext  = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
19834                           "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
19835                           "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
19836                           "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
19837                 .clen   = 32,
19838
19839         }, {
19840                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19841                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19842                           "\x00\x00\x00",
19843                 .klen   = 19,
19844                 .iv     = zeroed_string,
19845                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
19846                           "\x01\x01\x01\x01\x01\x01\x01\x01",
19847                 .plen   = 16,
19848                 .assoc  = zeroed_string,
19849                 .alen   = 16,
19850                 .ctext  = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
19851                           "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
19852                           "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
19853                           "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
19854                 .clen   = 32,
19855         }, {
19856                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19857                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19858                           "\x00\x00\x00",
19859                 .klen   = 19,
19860                 .iv     = zeroed_string,
19861                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
19862                           "\x01\x01\x01\x01\x01\x01\x01\x01",
19863                 .plen   = 16,
19864                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
19865                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19866                 .alen   = 16,
19867                 .ctext  = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
19868                           "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
19869                           "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
19870                           "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
19871                 .clen   = 32,
19872         }, {
19873                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19874                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19875                           "\x00\x00\x00",
19876                 .klen   = 19,
19877                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
19878                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
19879                           "\x01\x01\x01\x01\x01\x01\x01\x01",
19880                 .plen   = 16,
19881                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
19882                           "\x00\x00\x00\x00\x00\x00\x00\x01",
19883                 .alen   = 16,
19884                 .ctext  = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
19885                           "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
19886                           "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
19887                           "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
19888                 .clen   = 32,
19889         }, {
19890                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19891                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19892                           "\x00\x00\x00",
19893                 .klen   = 19,
19894                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
19895                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
19896                           "\x01\x01\x01\x01\x01\x01\x01\x01"
19897                           "\x01\x01\x01\x01\x01\x01\x01\x01"
19898                           "\x01\x01\x01\x01\x01\x01\x01\x01"
19899                           "\x01\x01\x01\x01\x01\x01\x01\x01"
19900                           "\x01\x01\x01\x01\x01\x01\x01\x01"
19901                           "\x01\x01\x01\x01\x01\x01\x01\x01"
19902                           "\x01\x01\x01\x01\x01\x01\x01\x01",
19903                 .plen   = 64,
19904                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
19905                           "\x00\x00\x00\x00\x00\x00\x00\x01",
19906                 .alen   = 16,
19907                 .ctext  = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
19908                           "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
19909                           "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
19910                           "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
19911                           "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
19912                           "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
19913                           "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
19914                           "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
19915                           "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
19916                           "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
19917                 .clen   = 80,
19918         }, {
19919                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
19920                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19921                           "\x00\x00\x00",
19922                 .klen   = 19,
19923                 .iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
19924                 .ptext  = "\xff\xff\xff\xff\xff\xff\xff\xff"
19925                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19926                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19927                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19928                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19929                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19930                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19931                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19932                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19933                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19934                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19935                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19936                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19937                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19938                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19939                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19940                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19941                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19942                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19943                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19944                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19945                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19946                           "\xff\xff\xff\xff\xff\xff\xff\xff"
19947                           "\xff\xff\xff\xff\xff\xff\xff\xff",
19948                 .plen   = 192,
19949                 .assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
19950                           "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
19951                           "\x89\xab\xcd\xef",
19952                 .alen   = 20,
19953                 .ctext  = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
19954                           "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
19955                           "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
19956                           "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
19957                           "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
19958                           "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
19959                           "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
19960                           "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
19961                           "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
19962                           "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
19963                           "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
19964                           "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
19965                           "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
19966                           "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
19967                           "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
19968                           "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
19969                           "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
19970                           "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
19971                           "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
19972                           "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
19973                           "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
19974                           "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
19975                           "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
19976                           "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
19977                           "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
19978                           "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
19979                 .clen   = 208,
19980         }, { /* From draft-mcgrew-gcm-test-01 */
19981                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
19982                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
19983                           "\x2E\x44\x3B",
19984                 .klen   = 19,
19985                 .iv     = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
19986                 .ptext  = "\x45\x00\x00\x48\x69\x9A\x00\x00"
19987                           "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
19988                           "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
19989                           "\x38\xD3\x01\x00\x00\x01\x00\x00"
19990                           "\x00\x00\x00\x00\x04\x5F\x73\x69"
19991                           "\x70\x04\x5F\x75\x64\x70\x03\x73"
19992                           "\x69\x70\x09\x63\x79\x62\x65\x72"
19993                           "\x63\x69\x74\x79\x02\x64\x6B\x00"
19994                           "\x00\x21\x00\x01\x01\x02\x02\x01",
19995                 .plen   = 72,
19996                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
19997                           "\x00\x00\x00\x00\x49\x56\xED\x7E"
19998                           "\x3B\x24\x4C\xFE",
19999                 .alen   = 20,
20000                 .ctext  = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
20001                           "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
20002                           "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
20003                           "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
20004                           "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
20005                           "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
20006                           "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
20007                           "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
20008                           "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
20009                           "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
20010                           "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
20011                 .clen   = 88,
20012         }, {
20013                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20014                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
20015                           "\xCA\xFE\xBA",
20016                 .klen   = 19,
20017                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20018                 .ptext  = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
20019                           "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
20020                           "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
20021                           "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
20022                           "\x00\x01\x00\x00\x00\x00\x00\x00"
20023                           "\x03\x73\x69\x70\x09\x63\x79\x62"
20024                           "\x65\x72\x63\x69\x74\x79\x02\x64"
20025                           "\x6B\x00\x00\x01\x00\x01\x00\x01",
20026                 .plen   = 64,
20027                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
20028                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20029                 .alen   = 16,
20030                 .ctext  = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
20031                           "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
20032                           "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
20033                           "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
20034                           "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
20035                           "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
20036                           "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
20037                           "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
20038                           "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
20039                           "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
20040                 .clen   = 80,
20041         }, {
20042                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20043                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20044                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20045                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20046                           "\x11\x22\x33",
20047                 .klen   = 35,
20048                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
20049                 .ptext  = "\x45\x00\x00\x30\x69\xA6\x40\x00"
20050                           "\x80\x06\x26\x90\xC0\xA8\x01\x02"
20051                           "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
20052                           "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
20053                           "\x70\x02\x40\x00\x20\xBF\x00\x00"
20054                           "\x02\x04\x05\xB4\x01\x01\x04\x02"
20055                           "\x01\x02\x02\x01",
20056                 .plen   = 52,
20057                 .assoc  = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
20058                           "\x01\x02\x03\x04\x05\x06\x07\x08",
20059                 .alen   = 16,
20060                 .ctext  = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
20061                           "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
20062                           "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
20063                           "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
20064                           "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
20065                           "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
20066                           "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
20067                           "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
20068                           "\x5A\x48\x6A\x3E",
20069                 .clen   = 68,
20070         }, {
20071                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
20072                           "\x00\x00\x00\x00\x00\x00\x00\x00"
20073                           "\x00\x00\x00",
20074                 .klen   = 19,
20075                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
20076                 .ptext  = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
20077                           "\x80\x01\xCB\x7A\x40\x67\x93\x18"
20078                           "\x01\x01\x01\x01\x08\x00\x07\x5C"
20079                           "\x02\x00\x44\x00\x61\x62\x63\x64"
20080                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20081                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20082                           "\x75\x76\x77\x61\x62\x63\x64\x65"
20083                           "\x66\x67\x68\x69\x01\x02\x02\x01",
20084                 .plen   = 64,
20085                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x01"
20086                           "\x00\x00\x00\x00\x00\x00\x00\x00",
20087                 .alen   = 16,
20088                 .ctext  = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
20089                           "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
20090                           "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
20091                           "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
20092                           "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
20093                           "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
20094                           "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
20095                           "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
20096                           "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
20097                           "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
20098                 .clen   = 80,
20099         }, {
20100                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20101                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20102                           "\x57\x69\x0E",
20103                 .klen   = 19,
20104                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20105                 .ptext  = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
20106                           "\x80\x01\xCB\x7C\x40\x67\x93\x18"
20107                           "\x01\x01\x01\x01\x08\x00\x08\x5C"
20108                           "\x02\x00\x43\x00\x61\x62\x63\x64"
20109                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20110                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20111                           "\x75\x76\x77\x61\x62\x63\x64\x65"
20112                           "\x66\x67\x68\x69\x01\x02\x02\x01",
20113                 .plen   = 64,
20114                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20115                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
20116                           "\xA2\xFC\xA1\xA3",
20117                 .alen   = 20,
20118                 .ctext  = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
20119                           "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
20120                           "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
20121                           "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
20122                           "\x79\x01\x58\x50\x01\x06\xE1\xE0"
20123                           "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
20124                           "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
20125                           "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
20126                           "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
20127                           "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
20128                 .clen   = 80,
20129         }, {
20130                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20131                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20132                           "\x57\x69\x0E",
20133                 .klen   = 19,
20134                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20135                 .ptext  = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
20136                           "\x80\x01\x44\x1F\x40\x67\x93\xB6"
20137                           "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
20138                           "\x01\x02\x02\x01",
20139                 .plen   = 28,
20140                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20141                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
20142                           "\xA2\xFC\xA1\xA3",
20143                 .alen   = 20,
20144                 .ctext  = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
20145                           "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
20146                           "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
20147                           "\xA1\xE5\x90\x40\x05\x37\x45\x70"
20148                           "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
20149                           "\x08\xB4\x22\xE4",
20150                 .clen   = 44,
20151         }, {
20152                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20153                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
20154                           "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20155                           "\xCA\xFE\xBA",
20156                 .klen   = 27,
20157                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20158                 .ptext  = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
20159                           "\x40\x06\x78\x80\x0A\x01\x03\x8F"
20160                           "\x0A\x01\x06\x12\x80\x23\x06\xB8"
20161                           "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
20162                           "\x50\x10\x16\xD0\x75\x68\x00\x01",
20163                 .plen   = 40,
20164                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
20165                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20166                 .alen   = 16,
20167                 .ctext  = "\x05\x22\x15\xD1\x52\x56\x85\x04"
20168                           "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
20169                           "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
20170                           "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
20171                           "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
20172                           "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
20173                           "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
20174                 .clen   = 56,
20175         }, {
20176                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20177                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20178                           "\xDE\xCA\xF8",
20179                 .klen   = 19,
20180                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
20181                 .ptext  = "\x45\x00\x00\x49\x33\xBA\x00\x00"
20182                           "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
20183                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
20184                           "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
20185                           "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
20186                           "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
20187                           "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
20188                           "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
20189                           "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
20190                           "\x23\x01\x01\x01",
20191                 .plen   = 76,
20192                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
20193                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
20194                           "\xCE\xFA\xCE\x74",
20195                 .alen   = 20,
20196                 .ctext  = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
20197                           "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
20198                           "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
20199                           "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
20200                           "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
20201                           "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
20202                           "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
20203                           "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
20204                           "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
20205                           "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
20206                           "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
20207                           "\x12\x25\x0B\xF9",
20208                 .clen   = 92,
20209         }, {
20210                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20211                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20212                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20213                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20214                           "\x73\x61\x6C",
20215                 .klen   = 35,
20216                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
20217                 .ptext  = "\x45\x08\x00\x28\x73\x2C\x00\x00"
20218                           "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
20219                           "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
20220                           "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
20221                           "\x50\x10\x1F\x64\x6D\x54\x00\x01",
20222                 .plen   = 40,
20223                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
20224                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
20225                           "\x69\x76\x65\x63",
20226                 .alen   = 20,
20227                 .ctext  = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
20228                           "\x2C\x64\x87\x46\x1E\x34\x10\x05"
20229                           "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
20230                           "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
20231                           "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
20232                           "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
20233                           "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
20234                 .clen   = 56,
20235         }, {
20236                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20237                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20238                           "\x57\x69\x0E",
20239                 .klen   = 19,
20240                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20241                 .ptext  = "\x45\x00\x00\x49\x33\x3E\x00\x00"
20242                           "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
20243                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
20244                           "\x00\x35\xCB\x45\x80\x03\x02\x5B"
20245                           "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
20246                           "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
20247                           "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
20248                           "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
20249                           "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
20250                           "\x15\x01\x01\x01",
20251                 .plen   = 76,
20252                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20253                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
20254                           "\xA2\xFC\xA1\xA3",
20255                 .alen   = 20,
20256                 .ctext  = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
20257                           "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
20258                           "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
20259                           "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
20260                           "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
20261                           "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
20262                           "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
20263                           "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
20264                           "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
20265                           "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
20266                           "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
20267                           "\xCC\xF7\x46\x6F",
20268                 .clen   = 92,
20269         }, {
20270                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20271                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20272                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20273                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20274                           "\x73\x61\x6C",
20275                 .klen   = 35,
20276                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
20277                 .ptext  = "\x63\x69\x73\x63\x6F\x01\x72\x75"
20278                           "\x6C\x65\x73\x01\x74\x68\x65\x01"
20279                           "\x6E\x65\x74\x77\x65\x01\x64\x65"
20280                           "\x66\x69\x6E\x65\x01\x74\x68\x65"
20281                           "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
20282                           "\x67\x69\x65\x73\x01\x74\x68\x61"
20283                           "\x74\x77\x69\x6C\x6C\x01\x64\x65"
20284                           "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
20285                           "\x72\x72\x6F\x77\x01\x02\x02\x01",
20286                 .plen   = 72,
20287                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
20288                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
20289                           "\x69\x76\x65\x63",
20290                 .alen   = 20,
20291                 .ctext  = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
20292                           "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
20293                           "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
20294                           "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
20295                           "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
20296                           "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
20297                           "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
20298                           "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
20299                           "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
20300                           "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
20301                           "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
20302                 .clen   = 88,
20303         }, {
20304                 .key    = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
20305                           "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
20306                           "\xD9\x66\x42",
20307                 .klen   = 19,
20308                 .iv     = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
20309                 .ptext  = "\x01\x02\x02\x01",
20310                 .plen   = 4,
20311                 .assoc  = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
20312                           "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
20313                 .alen   = 16,
20314                 .ctext  = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
20315                           "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
20316                           "\xF7\x61\x24\x62",
20317                 .clen   = 20,
20318         }, {
20319                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20320                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20321                           "\xDE\xCA\xF8",
20322                 .klen   = 19,
20323                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
20324                 .ptext  = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
20325                           "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
20326                           "\x62\x65\x00\x01",
20327                 .plen   = 20,
20328                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
20329                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
20330                           "\xCE\xFA\xCE\x74",
20331                 .alen   = 20,
20332                 .ctext  = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
20333                           "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
20334                           "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
20335                           "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
20336                           "\x17\x17\x65\xAD",
20337                 .clen   = 36,
20338         }, {
20339                 .key    = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
20340                           "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
20341                           "\x61\x61\x6E\x64\x64\x6F\x69\x74"
20342                           "\x62\x65\x66\x6F\x72\x65\x69\x61"
20343                           "\x74\x75\x72",
20344                 .klen   = 35,
20345                 .iv     = "\x33\x30\x21\x69\x67\x65\x74\x6D",
20346                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
20347                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
20348                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
20349                           "\x02\x00\x07\x00\x61\x62\x63\x64"
20350                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20351                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20352                           "\x01\x02\x02\x01",
20353                 .plen   = 52,
20354                 .assoc  = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
20355                           "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
20356                           "\x67\x65\x74\x6D",
20357                 .alen   = 20,
20358                 .ctext  = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
20359                           "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
20360                           "\x48\x59\x80\x18\x1A\x18\x1A\x04"
20361                           "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
20362                           "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
20363                           "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
20364                           "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
20365                           "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
20366                           "\x39\xDB\xC8\xDC",
20367                 .clen   = 68,
20368         }, {
20369                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20370                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20371                           "\x57\x69\x0E",
20372                 .klen   = 19,
20373                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20374                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
20375                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
20376                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
20377                           "\x02\x00\x07\x00\x61\x62\x63\x64"
20378                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20379                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20380                           "\x01\x02\x02\x01",
20381                 .plen   = 52,
20382                 .assoc  = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
20383                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
20384                           "\xA2\xFC\xA1\xA3",
20385                 .alen   = 20,
20386                 .ctext  = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
20387                           "\x10\x60\x54\x25\xEB\x80\x04\x93"
20388                           "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
20389                           "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
20390                           "\x79\x01\x58\x50\x01\x06\xE1\xE0"
20391                           "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
20392                           "\x44\xCC\x90\xBF\x00\x94\x94\x92"
20393                           "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
20394                           "\xF4\x95\x5D\x4F",
20395                 .clen   = 68,
20396         }, {
20397                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
20398                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
20399                           "\x22\x43\x3C",
20400                 .klen   = 19,
20401                 .iv     = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
20402                 .ptext  = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
20403                           "\x61\x62\x63\x64\x65\x66\x67\x68"
20404                           "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
20405                           "\x71\x72\x73\x74\x01\x02\x02\x01",
20406                 .plen   = 32,
20407                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
20408                           "\x00\x00\x00\x07\x48\x55\xEC\x7D"
20409                           "\x3A\x23\x4B\xFD",
20410                 .alen   = 20,
20411                 .ctext  = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
20412                           "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
20413                           "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
20414                           "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
20415                           "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
20416                           "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
20417                 .clen   = 48,
20418         }
20419 };
20420
20421 /*
20422  * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
20423  */
20424 static const struct aead_testvec rfc7539_tv_template[] = {
20425         {
20426                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
20427                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
20428                           "\x90\x91\x92\x93\x94\x95\x96\x97"
20429                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
20430                 .klen   = 32,
20431                 .iv     = "\x07\x00\x00\x00\x40\x41\x42\x43"
20432                           "\x44\x45\x46\x47",
20433                 .assoc  = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
20434                           "\xc4\xc5\xc6\xc7",
20435                 .alen   = 12,
20436                 .ptext  = "\x4c\x61\x64\x69\x65\x73\x20\x61"
20437                           "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
20438                           "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
20439                           "\x74\x68\x65\x20\x63\x6c\x61\x73"
20440                           "\x73\x20\x6f\x66\x20\x27\x39\x39"
20441                           "\x3a\x20\x49\x66\x20\x49\x20\x63"
20442                           "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
20443                           "\x65\x72\x20\x79\x6f\x75\x20\x6f"
20444                           "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
20445                           "\x74\x69\x70\x20\x66\x6f\x72\x20"
20446                           "\x74\x68\x65\x20\x66\x75\x74\x75"
20447                           "\x72\x65\x2c\x20\x73\x75\x6e\x73"
20448                           "\x63\x72\x65\x65\x6e\x20\x77\x6f"
20449                           "\x75\x6c\x64\x20\x62\x65\x20\x69"
20450                           "\x74\x2e",
20451                 .plen   = 114,
20452                 .ctext  = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
20453                           "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
20454                           "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
20455                           "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
20456                           "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
20457                           "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
20458                           "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
20459                           "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
20460                           "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
20461                           "\x98\x03\xae\xe3\x28\x09\x1b\x58"
20462                           "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
20463                           "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
20464                           "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
20465                           "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
20466                           "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
20467                           "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
20468                           "\x06\x91",
20469                 .clen   = 130,
20470         }, {
20471                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
20472                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
20473                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
20474                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
20475                 .klen   = 32,
20476                 .iv     = "\x00\x00\x00\x00\x01\x02\x03\x04"
20477                           "\x05\x06\x07\x08",
20478                 .assoc  = "\xf3\x33\x88\x86\x00\x00\x00\x00"
20479                           "\x00\x00\x4e\x91",
20480                 .alen   = 12,
20481                 .ptext  = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
20482                           "\x2d\x44\x72\x61\x66\x74\x73\x20"
20483                           "\x61\x72\x65\x20\x64\x72\x61\x66"
20484                           "\x74\x20\x64\x6f\x63\x75\x6d\x65"
20485                           "\x6e\x74\x73\x20\x76\x61\x6c\x69"
20486                           "\x64\x20\x66\x6f\x72\x20\x61\x20"
20487                           "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
20488                           "\x6f\x66\x20\x73\x69\x78\x20\x6d"
20489                           "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
20490                           "\x64\x20\x6d\x61\x79\x20\x62\x65"
20491                           "\x20\x75\x70\x64\x61\x74\x65\x64"
20492                           "\x2c\x20\x72\x65\x70\x6c\x61\x63"
20493                           "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
20494                           "\x62\x73\x6f\x6c\x65\x74\x65\x64"
20495                           "\x20\x62\x79\x20\x6f\x74\x68\x65"
20496                           "\x72\x20\x64\x6f\x63\x75\x6d\x65"
20497                           "\x6e\x74\x73\x20\x61\x74\x20\x61"
20498                           "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
20499                           "\x20\x49\x74\x20\x69\x73\x20\x69"
20500                           "\x6e\x61\x70\x70\x72\x6f\x70\x72"
20501                           "\x69\x61\x74\x65\x20\x74\x6f\x20"
20502                           "\x75\x73\x65\x20\x49\x6e\x74\x65"
20503                           "\x72\x6e\x65\x74\x2d\x44\x72\x61"
20504                           "\x66\x74\x73\x20\x61\x73\x20\x72"
20505                           "\x65\x66\x65\x72\x65\x6e\x63\x65"
20506                           "\x20\x6d\x61\x74\x65\x72\x69\x61"
20507                           "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
20508                           "\x63\x69\x74\x65\x20\x74\x68\x65"
20509                           "\x6d\x20\x6f\x74\x68\x65\x72\x20"
20510                           "\x74\x68\x61\x6e\x20\x61\x73\x20"
20511                           "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
20512                           "\x20\x69\x6e\x20\x70\x72\x6f\x67"
20513                           "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
20514                           "\x9d",
20515                 .plen   = 265,
20516                 .ctext  = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
20517                           "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
20518                           "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
20519                           "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
20520                           "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
20521                           "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
20522                           "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
20523                           "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
20524                           "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
20525                           "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
20526                           "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
20527                           "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
20528                           "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
20529                           "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
20530                           "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
20531                           "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
20532                           "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
20533                           "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
20534                           "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
20535                           "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
20536                           "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
20537                           "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
20538                           "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
20539                           "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
20540                           "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
20541                           "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
20542                           "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
20543                           "\x73\xa6\x72\x76\x27\x09\x7a\x10"
20544                           "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
20545                           "\xfa\x68\xf0\xff\x77\x98\x71\x30"
20546                           "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
20547                           "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
20548                           "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
20549                           "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
20550                           "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
20551                           "\x38",
20552                 .clen   = 281,
20553         },
20554 };
20555
20556 /*
20557  * draft-irtf-cfrg-chacha20-poly1305
20558  */
20559 static const struct aead_testvec rfc7539esp_tv_template[] = {
20560         {
20561                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
20562                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
20563                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
20564                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
20565                           "\x00\x00\x00\x00",
20566                 .klen   = 36,
20567                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
20568                 .assoc  = "\xf3\x33\x88\x86\x00\x00\x00\x00"
20569                           "\x00\x00\x4e\x91\x01\x02\x03\x04"
20570                           "\x05\x06\x07\x08",
20571                 .alen   = 20,
20572                 .ptext  = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
20573                           "\x2d\x44\x72\x61\x66\x74\x73\x20"
20574                           "\x61\x72\x65\x20\x64\x72\x61\x66"
20575                           "\x74\x20\x64\x6f\x63\x75\x6d\x65"
20576                           "\x6e\x74\x73\x20\x76\x61\x6c\x69"
20577                           "\x64\x20\x66\x6f\x72\x20\x61\x20"
20578                           "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
20579                           "\x6f\x66\x20\x73\x69\x78\x20\x6d"
20580                           "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
20581                           "\x64\x20\x6d\x61\x79\x20\x62\x65"
20582                           "\x20\x75\x70\x64\x61\x74\x65\x64"
20583                           "\x2c\x20\x72\x65\x70\x6c\x61\x63"
20584                           "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
20585                           "\x62\x73\x6f\x6c\x65\x74\x65\x64"
20586                           "\x20\x62\x79\x20\x6f\x74\x68\x65"
20587                           "\x72\x20\x64\x6f\x63\x75\x6d\x65"
20588                           "\x6e\x74\x73\x20\x61\x74\x20\x61"
20589                           "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
20590                           "\x20\x49\x74\x20\x69\x73\x20\x69"
20591                           "\x6e\x61\x70\x70\x72\x6f\x70\x72"
20592                           "\x69\x61\x74\x65\x20\x74\x6f\x20"
20593                           "\x75\x73\x65\x20\x49\x6e\x74\x65"
20594                           "\x72\x6e\x65\x74\x2d\x44\x72\x61"
20595                           "\x66\x74\x73\x20\x61\x73\x20\x72"
20596                           "\x65\x66\x65\x72\x65\x6e\x63\x65"
20597                           "\x20\x6d\x61\x74\x65\x72\x69\x61"
20598                           "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
20599                           "\x63\x69\x74\x65\x20\x74\x68\x65"
20600                           "\x6d\x20\x6f\x74\x68\x65\x72\x20"
20601                           "\x74\x68\x61\x6e\x20\x61\x73\x20"
20602                           "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
20603                           "\x20\x69\x6e\x20\x70\x72\x6f\x67"
20604                           "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
20605                           "\x9d",
20606                 .plen   = 265,
20607                 .ctext  = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
20608                           "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
20609                           "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
20610                           "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
20611                           "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
20612                           "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
20613                           "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
20614                           "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
20615                           "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
20616                           "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
20617                           "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
20618                           "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
20619                           "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
20620                           "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
20621                           "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
20622                           "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
20623                           "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
20624                           "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
20625                           "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
20626                           "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
20627                           "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
20628                           "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
20629                           "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
20630                           "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
20631                           "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
20632                           "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
20633                           "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
20634                           "\x73\xa6\x72\x76\x27\x09\x7a\x10"
20635                           "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
20636                           "\xfa\x68\xf0\xff\x77\x98\x71\x30"
20637                           "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
20638                           "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
20639                           "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
20640                           "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
20641                           "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
20642                           "\x38",
20643                 .clen   = 281,
20644         },
20645 };
20646
20647 /*
20648  * AEGIS-128 test vectors - generated via reference implementation from
20649  * SUPERCOP (https://bench.cr.yp.to/supercop.html):
20650  *
20651  *   https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
20652  *   (see crypto_aead/aegis128/)
20653  */
20654 static const struct aead_testvec aegis128_tv_template[] = {
20655         {
20656                 .key    = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
20657                           "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
20658                 .klen   = 16,
20659                 .iv     = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
20660                           "\x40\x6d\x59\x48\xfc\x92\x61\x03",
20661                 .assoc  = "",
20662                 .alen   = 0,
20663                 .ptext  = "",
20664                 .plen   = 0,
20665                 .ctext  = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
20666                           "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
20667                 .clen   = 16,
20668         }, {
20669                 .key    = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
20670                           "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
20671                 .klen   = 16,
20672                 .iv     = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
20673                           "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
20674                 .assoc  = "",
20675                 .alen   = 0,
20676                 .ptext  = "\x79",
20677                 .plen   = 1,
20678                 .ctext  = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
20679                           "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
20680                           "\xcc",
20681                 .clen   = 17,
20682         }, {
20683                 .key    = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
20684                           "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
20685                 .klen   = 16,
20686                 .iv     = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
20687                           "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
20688                 .assoc  = "",
20689                 .alen   = 0,
20690                 .ptext  = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
20691                           "\x82\x8e\x16\xb4\xed\x6d\x47",
20692                 .plen   = 15,
20693                 .ctext  = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
20694                           "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
20695                           "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
20696                           "\x7a\x21\x16\xb3\xe6\x67\x66",
20697                 .clen   = 31,
20698         }, {
20699                 .key    = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
20700                           "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
20701                 .klen   = 16,
20702                 .iv     = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
20703                           "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
20704                 .assoc  = "",
20705                 .alen   = 0,
20706                 .ptext  = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
20707                           "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
20708                 .plen   = 16,
20709                 .ctext  = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
20710                           "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
20711                           "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
20712                           "\x51\x10\x16\x27\x70\x9b\x64\x29",
20713                 .clen   = 32,
20714         }, {
20715                 .key    = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
20716                           "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
20717                 .klen   = 16,
20718                 .iv     = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
20719                           "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
20720                 .assoc  = "",
20721                 .alen   = 0,
20722                 .ptext  = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
20723                           "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
20724                           "\xd3",
20725                 .plen   = 17,
20726                 .ctext  = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
20727                           "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
20728                           "\x46\x80\xb1\x0e\x18\x30\x40\x97"
20729                           "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
20730                           "\x3b",
20731                 .clen   = 33,
20732         }, {
20733                 .key    = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
20734                           "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
20735                 .klen   = 16,
20736                 .iv     = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
20737                           "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
20738                 .assoc  = "",
20739                 .alen   = 0,
20740                 .ptext  = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
20741                           "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
20742                           "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
20743                           "\x88\x11\x39\x12\x1c\x3a\xbb",
20744                 .plen   = 31,
20745                 .ctext  = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
20746                           "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
20747                           "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
20748                           "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
20749                           "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
20750                           "\x75\xc4\x53\x01\x89\x45\x59",
20751                 .clen   = 47,
20752         }, {
20753                 .key    = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
20754                           "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
20755                 .klen   = 16,
20756                 .iv     = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
20757                           "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
20758                 .assoc  = "",
20759                 .alen   = 0,
20760                 .ptext  = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
20761                           "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
20762                           "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
20763                           "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
20764                 .plen   = 32,
20765                 .ctext  = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
20766                           "\x95\xf4\x58\x38\x14\x83\x27\x01"
20767                           "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
20768                           "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
20769                           "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
20770                           "\x51\x52\x77\xf2\x5e\x85\x80\x41",
20771                 .clen   = 48,
20772         }, {
20773                 .key    = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
20774                           "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
20775                 .klen   = 16,
20776                 .iv     = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
20777                           "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
20778                 .assoc  = "\xd5",
20779                 .alen   = 1,
20780                 .ptext  = "",
20781                 .plen   = 0,
20782                 .ctext  = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
20783                           "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
20784                 .clen   = 16,
20785         }, {
20786                 .key    = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
20787                           "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
20788                 .klen   = 16,
20789                 .iv     = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
20790                           "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
20791                 .assoc  = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
20792                           "\x68\x75\x16\xf8\xcb\x7e\xa7",
20793                 .alen   = 15,
20794                 .ptext  = "",
20795                 .plen   = 0,
20796                 .ctext  = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
20797                           "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
20798                 .clen   = 16,
20799         }, {
20800                 .key    = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
20801                           "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
20802                 .klen   = 16,
20803                 .iv     = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
20804                           "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
20805                 .assoc  = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
20806                           "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
20807                 .alen   = 16,
20808                 .ptext  = "",
20809                 .plen   = 0,
20810                 .ctext  = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
20811                           "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
20812                 .clen   = 16,
20813         }, {
20814                 .key    = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
20815                           "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
20816                 .klen   = 16,
20817                 .iv     = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
20818                           "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
20819                 .assoc  = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
20820                           "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
20821                           "\x07",
20822                 .alen   = 17,
20823                 .ptext  = "",
20824                 .plen   = 0,
20825                 .ctext  = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
20826                           "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
20827                 .clen   = 16,
20828         }, {
20829                 .key    = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
20830                           "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
20831                 .klen   = 16,
20832                 .iv     = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
20833                           "\xca\xcd\xff\x88\xba\x22\xbe\x47",
20834                 .assoc  = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
20835                           "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
20836                           "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
20837                           "\xe0\x17\x3a\x2e\x83\x5c\x8f",
20838                 .alen   = 31,
20839                 .ptext  = "",
20840                 .plen   = 0,
20841                 .ctext  = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
20842                           "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
20843                 .clen   = 16,
20844         }, {
20845                 .key    = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
20846                           "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
20847                 .klen   = 16,
20848                 .iv     = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
20849                           "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
20850                 .assoc  = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
20851                           "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
20852                           "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
20853                           "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
20854                 .alen   = 32,
20855                 .ptext  = "",
20856                 .plen   = 0,
20857                 .ctext  = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
20858                           "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
20859                 .clen   = 16,
20860         }, {
20861                 .key    = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
20862                           "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
20863                 .klen   = 16,
20864                 .iv     = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
20865                           "\xcc\x81\x63\xab\xae\x6b\x43\x54",
20866                 .assoc  = "\x40",
20867                 .alen   = 1,
20868                 .ptext  = "\x4f",
20869                 .plen   = 1,
20870                 .ctext  = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
20871                           "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
20872                           "\x39",
20873                 .clen   = 17,
20874         }, {
20875                 .key    = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
20876                           "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
20877                 .klen   = 16,
20878                 .iv     = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
20879                           "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
20880                 .assoc  = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
20881                           "\x6d\x92\x42\x61\xa7\x58\x37",
20882                 .alen   = 15,
20883                 .ptext  = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
20884                           "\x8d\xc8\x6e\x85\xa5\x21\x67",
20885                 .plen   = 15,
20886                 .ctext  = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
20887                           "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
20888                           "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
20889                           "\x98\xbd\x71\x7a\xef\xa4\xfa",
20890                 .clen   = 31,
20891         }, {
20892                 .key    = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
20893                           "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
20894                 .klen   = 16,
20895                 .iv     = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
20896                           "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
20897                 .assoc  = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
20898                           "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
20899                 .alen   = 16,
20900                 .ptext  = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
20901                           "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
20902                 .plen   = 16,
20903                 .ctext  = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
20904                           "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
20905                           "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
20906                           "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
20907                 .clen   = 32,
20908         }, {
20909                 .key    = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
20910                           "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
20911                 .klen   = 16,
20912                 .iv     = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
20913                           "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
20914                 .assoc  = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
20915                           "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
20916                           "\x05",
20917                 .alen   = 17,
20918                 .ptext  = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
20919                           "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
20920                           "\xd0",
20921                 .plen   = 17,
20922                 .ctext  = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
20923                           "\x38\x2d\x69\x90\x1c\x71\x38\x98"
20924                           "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
20925                           "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
20926                           "\x93",
20927                 .clen   = 33,
20928         }, {
20929                 .key    = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
20930                           "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
20931                 .klen   = 16,
20932                 .iv     = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
20933                           "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
20934                 .assoc  = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
20935                           "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
20936                           "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
20937                           "\x68\x28\x73\x40\x9f\x96\x4a",
20938                 .alen   = 31,
20939                 .ptext  = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
20940                           "\x10\x57\x85\x39\x93\x8f\xaf\x70"
20941                           "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
20942                           "\x98\x34\xab\x37\x56\xae\x32",
20943                 .plen   = 31,
20944                 .ctext  = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
20945                           "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
20946                           "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
20947                           "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
20948                           "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
20949                           "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
20950                 .clen   = 47,
20951         }, {
20952                 .key    = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
20953                           "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
20954                 .klen   = 16,
20955                 .iv     = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
20956                           "\x50\xc4\xde\x82\x90\x21\x11\x73",
20957                 .assoc  = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
20958                           "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
20959                           "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
20960                           "\x29\x56\x52\x19\x79\xf5\xe9\x37",
20961                 .alen   = 32,
20962                 .ptext  = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
20963                           "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
20964                           "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
20965                           "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
20966                 .plen   = 32,
20967                 .ctext  = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
20968                           "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
20969                           "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
20970                           "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
20971                           "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
20972                           "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
20973                 .clen   = 48,
20974         }, {
20975                 .key    = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
20976                           "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
20977                 .klen   = 16,
20978                 .iv     = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
20979                           "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
20980                 .assoc  = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
20981                           "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
20982                           "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
20983                           "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
20984                           "\x9d",
20985                 .alen   = 33,
20986                 .ptext  = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
20987                           "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
20988                           "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
20989                           "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
20990                           "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
20991                           "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
20992                           "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
20993                           "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
20994                           "\xbd",
20995                 .plen   = 65,
20996                 .ctext  = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
20997                           "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
20998                           "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
20999                           "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
21000                           "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
21001                           "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
21002                           "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
21003                           "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
21004                           "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
21005                           "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
21006                           "\x3f",
21007                 .clen   = 81,
21008         }, {
21009                 .key    = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
21010                           "\x32\x42\x15\x80\x85\xa1\x65\xfe",
21011                 .klen   = 16,
21012                 .iv     = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
21013                           "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
21014                 .assoc  = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
21015                           "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
21016                           "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
21017                           "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
21018                           "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
21019                           "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
21020                           "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
21021                           "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
21022                           "\x54",
21023                 .alen   = 65,
21024                 .ptext  = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
21025                           "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
21026                           "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
21027                           "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
21028                           "\x2f",
21029                 .plen   = 33,
21030                 .ctext  = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
21031                           "\x77\x09\xac\x74\xef\xd2\x56\xae"
21032                           "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
21033                           "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
21034                           "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
21035                           "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
21036                           "\x39",
21037                 .clen   = 49,
21038         }, {
21039                 .key    = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
21040                           "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
21041                 .klen   = 16,
21042                 .iv     = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
21043                           "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
21044                 .assoc  = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
21045                           "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
21046                 .alen   = 16,
21047                 .ptext  = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
21048                           "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
21049                 .plen   = 16,
21050                 .ctext  = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
21051                           "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
21052                           "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
21053                           "\xde\x20\x59\x77\xc1\x74\x90",
21054                 .clen   = 31,
21055         }, {
21056                 .key    = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
21057                           "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
21058                 .klen   = 16,
21059                 .iv     = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
21060                           "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
21061                 .assoc  = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
21062                           "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
21063                 .alen   = 16,
21064                 .ptext  = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
21065                           "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
21066                 .plen   = 16,
21067                 .ctext  = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
21068                           "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
21069                           "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
21070                           "\xe9\xe0\x17\x45\x70\x12",
21071                 .clen   = 30,
21072         }, {
21073                 .key    = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
21074                           "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
21075                 .klen   = 16,
21076                 .iv     = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
21077                           "\xd5\x07\x58\x59\x72\xd7\xde\x92",
21078                 .assoc  = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
21079                           "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
21080                 .alen   = 16,
21081                 .ptext  = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
21082                           "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
21083                 .plen   = 16,
21084                 .ctext  = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
21085                           "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
21086                           "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
21087                 .clen   = 24,
21088         },
21089 };
21090
21091 /*
21092  * All key wrapping test vectors taken from
21093  * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
21094  *
21095  * Note: as documented in keywrap.c, the ivout for encryption is the first
21096  * semiblock of the ciphertext from the test vector. For decryption, iv is
21097  * the first semiblock of the ciphertext.
21098  */
21099 static const struct cipher_testvec aes_kw_tv_template[] = {
21100         {
21101                 .key    = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
21102                           "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
21103                 .klen   = 16,
21104                 .ptext  = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
21105                           "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
21106                 .ctext  = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
21107                           "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
21108                 .len    = 16,
21109                 .iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
21110                 .generates_iv = true,
21111         }, {
21112                 .key    = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
21113                           "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
21114                           "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
21115                           "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
21116                 .klen   = 32,
21117                 .ptext  = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
21118                           "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
21119                 .ctext  = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
21120                           "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
21121                 .len    = 16,
21122                 .iv_out = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
21123                 .generates_iv = true,
21124         },
21125 };
21126
21127 /*
21128  * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
21129  * test vectors, taken from Appendix B.2.9 and B.2.10:
21130  *     http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
21131  * Only AES-128 is supported at this time.
21132  */
21133 static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
21134         {
21135                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
21136                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
21137                 .klen   = 16,
21138                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
21139                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
21140                 .dtlen  = 16,
21141                 .v      = "\x80\x00\x00\x00\x00\x00\x00\x00"
21142                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21143                 .vlen   = 16,
21144                 .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
21145                           "\x84\x79\x66\x85\xc1\x2f\x76\x41",
21146                 .rlen   = 16,
21147                 .loops  = 1,
21148         }, {
21149                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
21150                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
21151                 .klen   = 16,
21152                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
21153                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
21154                 .dtlen  = 16,
21155                 .v      = "\xc0\x00\x00\x00\x00\x00\x00\x00"
21156                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21157                 .vlen   = 16,
21158                 .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
21159                           "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
21160                 .rlen   = 16,
21161                 .loops  = 1,
21162         }, {
21163                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
21164                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
21165                 .klen   = 16,
21166                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
21167                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
21168                 .dtlen  = 16,
21169                 .v      = "\xe0\x00\x00\x00\x00\x00\x00\x00"
21170                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21171                 .vlen   = 16,
21172                 .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
21173                           "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
21174                 .rlen   = 16,
21175                 .loops  = 1,
21176         }, {
21177                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
21178                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
21179                 .klen   = 16,
21180                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
21181                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
21182                 .dtlen  = 16,
21183                 .v      = "\xf0\x00\x00\x00\x00\x00\x00\x00"
21184                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21185                 .vlen   = 16,
21186                 .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
21187                           "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
21188                 .rlen   = 16,
21189                 .loops  = 1,
21190         }, {
21191                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
21192                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
21193                 .klen   = 16,
21194                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
21195                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
21196                 .dtlen  = 16,
21197                 .v      = "\xf8\x00\x00\x00\x00\x00\x00\x00"
21198                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21199                 .vlen   = 16,
21200                 .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
21201                           "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
21202                 .rlen   = 16,
21203                 .loops  = 1,
21204         }, {    /* Monte Carlo Test */
21205                 .key    = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
21206                           "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
21207                 .klen   = 16,
21208                 .dt     = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
21209                           "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
21210                 .dtlen  = 16,
21211                 .v      = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
21212                           "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
21213                 .vlen   = 16,
21214                 .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
21215                           "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
21216                 .rlen   = 16,
21217                 .loops  = 10000,
21218         },
21219 };
21220
21221 /*
21222  * SP800-90A DRBG Test vectors from
21223  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
21224  *
21225  * Test vectors for DRBG with prediction resistance. All types of DRBGs
21226  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
21227  * w/o personalization string, w/ and w/o additional input string).
21228  */
21229 static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
21230         {
21231                 .entropy = (unsigned char *)
21232                         "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
21233                         "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
21234                         "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
21235                         "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
21236                 .entropylen = 48,
21237                 .entpra = (unsigned char *)
21238                         "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
21239                         "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
21240                         "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
21241                 .entprb = (unsigned char *)
21242                         "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
21243                         "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
21244                         "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
21245                 .entprlen = 32,
21246                 .expected = (unsigned char *)
21247                         "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
21248                         "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
21249                         "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
21250                         "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
21251                         "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
21252                         "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
21253                         "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
21254                         "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
21255                         "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
21256                         "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
21257                         "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
21258                 .expectedlen = 128,
21259                 .addtla = NULL,
21260                 .addtlb = NULL,
21261                 .addtllen = 0,
21262                 .pers = NULL,
21263                 .perslen = 0,
21264         }, {
21265                 .entropy = (unsigned char *)
21266                         "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
21267                         "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
21268                         "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
21269                         "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
21270                 .entropylen = 48,
21271                 .entpra = (unsigned char *)
21272                         "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
21273                         "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
21274                         "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
21275                 .entprb = (unsigned char *)
21276                         "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
21277                         "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
21278                         "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
21279                 .entprlen = 32,
21280                 .expected = (unsigned char *)
21281                         "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
21282                         "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
21283                         "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
21284                         "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
21285                         "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
21286                         "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
21287                         "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
21288                         "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
21289                         "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
21290                         "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
21291                         "\x50\x47\xa3\x63\x81\x16\xaf\x19",
21292                 .expectedlen = 128,
21293                 .addtla = (unsigned char *)
21294                         "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
21295                         "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
21296                         "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
21297                 .addtlb = (unsigned char *)
21298                         "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
21299                         "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
21300                         "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
21301                 .addtllen = 32,
21302                 .pers = NULL,
21303                 .perslen = 0,
21304         }, {
21305                 .entropy = (unsigned char *)
21306                         "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
21307                         "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
21308                         "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
21309                         "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
21310                 .entropylen = 48,
21311                 .entpra = (unsigned char *)
21312                         "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
21313                         "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
21314                         "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
21315                 .entprb = (unsigned char *)
21316                         "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
21317                         "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
21318                         "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
21319                 .entprlen = 32,
21320                 .expected = (unsigned char *)
21321                         "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
21322                         "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
21323                         "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
21324                         "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
21325                         "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
21326                         "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
21327                         "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
21328                         "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
21329                         "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
21330                         "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
21331                         "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
21332                 .expectedlen = 128,
21333                 .addtla = NULL,
21334                 .addtlb = NULL,
21335                 .addtllen = 0,
21336                 .pers = (unsigned char *)
21337                         "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
21338                         "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
21339                         "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
21340                 .perslen = 32,
21341         }, {
21342                 .entropy = (unsigned char *)
21343                         "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
21344                         "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
21345                         "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
21346                         "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
21347                 .entropylen = 48,
21348                 .entpra = (unsigned char *)
21349                         "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
21350                         "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
21351                         "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
21352                 .entprb = (unsigned char *)
21353                         "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
21354                         "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
21355                         "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
21356                 .entprlen = 32,
21357                 .expected = (unsigned char *)
21358                         "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
21359                         "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
21360                         "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
21361                         "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
21362                         "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
21363                         "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
21364                         "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
21365                         "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
21366                         "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
21367                         "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
21368                         "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
21369                 .expectedlen = 128,
21370                 .addtla = (unsigned char *)
21371                         "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
21372                         "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
21373                         "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
21374                 .addtlb = (unsigned char *)
21375                         "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
21376                         "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
21377                         "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
21378                 .addtllen = 32,
21379                 .pers = (unsigned char *)
21380                         "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
21381                         "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
21382                         "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
21383                 .perslen = 32,
21384         },
21385 };
21386
21387 static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
21388         {
21389                 .entropy = (unsigned char *)
21390                         "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
21391                         "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
21392                         "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
21393                         "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
21394                 .entropylen = 48,
21395                 .entpra = (unsigned char *)
21396                         "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
21397                         "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
21398                         "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
21399                 .entprb = (unsigned char *)
21400                         "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
21401                         "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
21402                         "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
21403                 .entprlen = 32,
21404                 .expected = (unsigned char *)
21405                         "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
21406                         "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
21407                         "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
21408                         "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
21409                         "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
21410                         "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
21411                         "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
21412                         "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
21413                         "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
21414                         "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
21415                         "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
21416                 .expectedlen = 128,
21417                 .addtla = NULL,
21418                 .addtlb = NULL,
21419                 .addtllen = 0,
21420                 .pers = NULL,
21421                 .perslen = 0,
21422         }, {
21423                 .entropy = (unsigned char *)
21424                         "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
21425                         "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
21426                         "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
21427                         "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
21428                 .entropylen = 48,
21429                 .entpra = (unsigned char *)
21430                         "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
21431                         "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
21432                         "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
21433                 .entprb = (unsigned char *)
21434                         "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
21435                         "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
21436                         "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
21437                 .entprlen = 32,
21438                 .expected = (unsigned char *)
21439                         "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
21440                         "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
21441                         "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
21442                         "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
21443                         "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
21444                         "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
21445                         "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
21446                         "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
21447                         "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
21448                         "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
21449                         "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
21450                 .expectedlen = 128,
21451                 .addtla = (unsigned char *)
21452                         "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
21453                         "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
21454                         "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
21455                 .addtlb = (unsigned char *)
21456                         "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
21457                         "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
21458                         "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
21459                 .addtllen = 32,
21460                 .pers = NULL,
21461                 .perslen = 0,
21462         }, {
21463                 .entropy = (unsigned char *)
21464                         "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
21465                         "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
21466                         "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
21467                         "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
21468                 .entropylen = 48,
21469                 .entpra = (unsigned char *)
21470                         "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
21471                         "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
21472                         "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
21473                 .entprb = (unsigned char *)
21474                         "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
21475                         "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
21476                         "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
21477                 .entprlen = 32,
21478                 .expected = (unsigned char *)
21479                         "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
21480                         "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
21481                         "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
21482                         "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
21483                         "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
21484                         "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
21485                         "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
21486                         "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
21487                         "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
21488                         "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
21489                         "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
21490                 .expectedlen = 128,
21491                 .addtla = NULL,
21492                 .addtlb = NULL,
21493                 .addtllen = 0,
21494                 .pers = (unsigned char *)
21495                         "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
21496                         "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
21497                         "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
21498                 .perslen = 32,
21499         }, {
21500                 .entropy = (unsigned char *)
21501                         "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
21502                         "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
21503                         "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
21504                         "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
21505                 .entropylen = 48,
21506                 .entpra = (unsigned char *)
21507                         "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
21508                         "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
21509                         "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
21510                 .entprb = (unsigned char *)
21511                         "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
21512                         "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
21513                         "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
21514                 .entprlen = 32,
21515                 .expected = (unsigned char *)
21516                         "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
21517                         "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
21518                         "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
21519                         "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
21520                         "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
21521                         "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
21522                         "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
21523                         "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
21524                         "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
21525                         "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
21526                         "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
21527                 .expectedlen = 128,
21528                 .addtla = (unsigned char *)
21529                         "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
21530                         "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
21531                         "\x86\x88\x55\x28\xc1\x69\xdd\x76",
21532                 .addtlb = (unsigned char *)
21533                         "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
21534                         "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
21535                         "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
21536                 .addtllen = 32,
21537                 .pers = (unsigned char *)
21538                         "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
21539                         "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
21540                         "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
21541                 .perslen = 32,
21542         },
21543 };
21544
21545 static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
21546         {
21547                 .entropy = (unsigned char *)
21548                         "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
21549                         "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
21550                 .entropylen = 24,
21551                 .entpra = (unsigned char *)
21552                         "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
21553                         "\xb4\xec\x80\xb1",
21554                 .entprb = (unsigned char *)
21555                         "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
21556                         "\x28\x07\xeb\xc2",
21557                 .entprlen = 16,
21558                 .expected = (unsigned char *)
21559                         "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
21560                         "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
21561                         "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
21562                         "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
21563                         "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
21564                         "\x8a\xf1\x23\xa8",
21565                 .expectedlen = 64,
21566                 .addtla = NULL,
21567                 .addtlb = NULL,
21568                 .addtllen = 0,
21569                 .pers = NULL,
21570                 .perslen = 0,
21571         }, {
21572                 .entropy = (unsigned char *)
21573                         "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
21574                         "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
21575                 .entropylen = 24,
21576                 .entpra = (unsigned char *)
21577                         "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
21578                         "\x67\xd1\x08\xf8",
21579                 .entprb = (unsigned char *)
21580                         "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
21581                         "\xd4\xba\x04\x58",
21582                 .entprlen = 16,
21583                 .expected = (unsigned char *)
21584                         "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
21585                         "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
21586                         "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
21587                         "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
21588                         "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
21589                         "\xc1\x02\x41\x82",
21590                 .expectedlen = 64,
21591                 .addtla = (unsigned char *)
21592                         "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
21593                         "\xeb\xb3\x01\x76",
21594                 .addtlb = (unsigned char *)
21595                         "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
21596                         "\xd0\x7f\xcc\x43",
21597                 .addtllen = 16,
21598                 .pers = NULL,
21599                 .perslen = 0,
21600         }, {
21601                 .entropy = (unsigned char *)
21602                         "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
21603                         "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
21604                 .entropylen = 24,
21605                 .entpra = (unsigned char *)
21606                         "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
21607                         "\xc3\x0f\xe3\xb0",
21608                 .entprb = (unsigned char *)
21609                         "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
21610                         "\xd6\x9c\x9d\xe8",
21611                 .entprlen = 16,
21612                 .expected = (unsigned char *)
21613                         "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
21614                         "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
21615                         "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
21616                         "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
21617                         "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
21618                         "\x72\x82\x0c\xcf",
21619                 .expectedlen = 64,
21620                 .addtla = NULL,
21621                 .addtlb = NULL,
21622                 .addtllen = 0,
21623                 .pers = (unsigned char *)
21624                         "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
21625                         "\x21\x52\xb3\xad",
21626                 .perslen = 16,
21627         }, {
21628                 .entropy = (unsigned char *)
21629                         "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
21630                         "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
21631                 .entropylen = 24,
21632                 .entpra = (unsigned char *)
21633                         "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
21634                         "\xc4\x2c\xe8\x10",
21635                 .entprb = (unsigned char *)
21636                         "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
21637                         "\x08\xf7\xa5\x01",
21638                 .entprlen = 16,
21639                 .expected = (unsigned char *)
21640                         "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
21641                         "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
21642                         "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
21643                         "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
21644                         "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
21645                         "\x23\xc5\x1f\x68",
21646                 .expectedlen = 64,
21647                 .addtla = (unsigned char *)
21648                         "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
21649                         "\x23\x6d\xad\x1d",
21650                 .addtlb = (unsigned char *)
21651                         "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
21652                         "\xbc\x59\x31\x8c",
21653                 .addtllen = 16,
21654                 .pers = (unsigned char *)
21655                         "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
21656                         "\x37\x3c\x5c\x0b",
21657                 .perslen = 16,
21658         },
21659 };
21660
21661 /*
21662  * SP800-90A DRBG Test vectors from
21663  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
21664  *
21665  * Test vectors for DRBG without prediction resistance. All types of DRBGs
21666  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
21667  * w/o personalization string, w/ and w/o additional input string).
21668  */
21669 static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
21670         {
21671                 .entropy = (unsigned char *)
21672                         "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
21673                         "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
21674                         "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
21675                         "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
21676                 .entropylen = 48,
21677                 .expected = (unsigned char *)
21678                         "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
21679                         "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
21680                         "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
21681                         "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
21682                         "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
21683                         "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
21684                         "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
21685                         "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
21686                         "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
21687                         "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
21688                         "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
21689                 .expectedlen = 128,
21690                 .addtla = NULL,
21691                 .addtlb = NULL,
21692                 .addtllen = 0,
21693                 .pers = NULL,
21694                 .perslen = 0,
21695         }, {
21696                 .entropy = (unsigned char *)
21697                         "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
21698                         "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
21699                         "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
21700                         "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
21701                 .entropylen = 48,
21702                 .expected = (unsigned char *)
21703                         "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
21704                         "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
21705                         "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
21706                         "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
21707                         "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
21708                         "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
21709                         "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
21710                         "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
21711                         "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
21712                         "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
21713                         "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
21714                 .expectedlen = 128,
21715                 .addtla = (unsigned char *)
21716                         "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
21717                         "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
21718                         "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
21719                 .addtlb = (unsigned char *)
21720                         "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
21721                         "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
21722                         "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
21723                 .addtllen = 32,
21724                 .pers = NULL,
21725                 .perslen = 0,
21726         }, {
21727                 .entropy = (unsigned char *)
21728                         "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
21729                         "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
21730                         "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
21731                         "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
21732                 .entropylen = 48,
21733                 .expected = (unsigned char *)
21734                         "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
21735                         "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
21736                         "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
21737                         "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
21738                         "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
21739                         "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
21740                         "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
21741                         "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
21742                         "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
21743                         "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
21744                         "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
21745                 .expectedlen = 128,
21746                 .addtla = NULL,
21747                 .addtlb = NULL,
21748                 .addtllen = 0,
21749                 .pers = (unsigned char *)
21750                         "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
21751                         "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
21752                         "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
21753                 .perslen = 32,
21754         }, {
21755                 .entropy = (unsigned char *)
21756                         "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
21757                         "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
21758                         "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
21759                         "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
21760                 .entropylen = 48,
21761                 .expected = (unsigned char *)
21762                         "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
21763                         "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
21764                         "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
21765                         "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
21766                         "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
21767                         "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
21768                         "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
21769                         "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
21770                         "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
21771                         "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
21772                         "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
21773                 .expectedlen = 128,
21774                 .addtla = (unsigned char *)
21775                         "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
21776                         "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
21777                         "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
21778                 .addtlb = (unsigned char *)
21779                         "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
21780                         "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
21781                         "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
21782                 .addtllen = 32,
21783                 .pers = (unsigned char *)
21784                         "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
21785                         "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
21786                         "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
21787                 .perslen = 32,
21788         },
21789 };
21790
21791 static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
21792         {
21793                 .entropy = (unsigned char *)
21794                         "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
21795                         "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
21796                         "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
21797                         "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
21798                 .entropylen = 48,
21799                 .expected = (unsigned char *)
21800                         "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
21801                         "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
21802                         "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
21803                         "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
21804                         "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
21805                         "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
21806                         "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
21807                         "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
21808                         "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
21809                         "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
21810                         "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
21811                 .expectedlen = 128,
21812                 .addtla = NULL,
21813                 .addtlb = NULL,
21814                 .addtllen = 0,
21815                 .pers = NULL,
21816                 .perslen = 0,
21817         }, {
21818                 .entropy = (unsigned char *)
21819                         "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
21820                         "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
21821                         "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
21822                         "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
21823                 .entropylen = 48,
21824                 .expected = (unsigned char *)
21825                         "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
21826                         "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
21827                         "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
21828                         "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
21829                         "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
21830                         "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
21831                         "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
21832                         "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
21833                         "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
21834                         "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
21835                         "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
21836                 .expectedlen = 128,
21837                 .addtla = (unsigned char *)
21838                         "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
21839                         "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
21840                         "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
21841                 .addtlb = (unsigned char *)
21842                         "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
21843                         "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
21844                         "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
21845                 .addtllen = 32,
21846                 .pers = NULL,
21847                 .perslen = 0,
21848         }, {
21849                 .entropy = (unsigned char *)
21850                         "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
21851                         "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
21852                         "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
21853                         "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
21854                 .entropylen = 48,
21855                 .expected = (unsigned char *)
21856                         "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
21857                         "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
21858                         "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
21859                         "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
21860                         "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
21861                         "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
21862                         "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
21863                         "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
21864                         "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
21865                         "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
21866                         "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
21867                 .expectedlen = 128,
21868                 .addtla = NULL,
21869                 .addtlb = NULL,
21870                 .addtllen = 0,
21871                 .pers = (unsigned char *)
21872                         "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
21873                         "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
21874                         "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
21875                 .perslen = 32,
21876         }, {
21877                 .entropy = (unsigned char *)
21878                         "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
21879                         "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
21880                         "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
21881                         "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
21882                 .entropylen = 48,
21883                 .expected = (unsigned char *)
21884                         "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
21885                         "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
21886                         "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
21887                         "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
21888                         "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
21889                         "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
21890                         "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
21891                         "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
21892                         "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
21893                         "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
21894                         "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
21895                 .expectedlen = 128,
21896                 .addtla = (unsigned char *)
21897                         "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
21898                         "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
21899                         "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
21900                 .addtlb = (unsigned char *)
21901                         "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
21902                         "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
21903                         "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
21904                 .addtllen = 32,
21905                 .pers = (unsigned char *)
21906                         "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
21907                         "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
21908                         "\x36\x60\x3b\xca\x37\xc9\xee\x29",
21909                 .perslen = 32,
21910         },
21911 };
21912
21913 static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
21914         {
21915                 .entropy = (unsigned char *)
21916                         "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
21917                         "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
21918                         "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
21919                         "\xac\x9b\xbb\x00",
21920                 .entropylen = 40,
21921                 .expected = (unsigned char *)
21922                         "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
21923                         "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
21924                         "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
21925                         "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
21926                         "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
21927                         "\x9a\x9d\xf1\x0d",
21928                 .expectedlen = 64,
21929                 .addtla = NULL,
21930                 .addtlb = NULL,
21931                 .addtllen = 0,
21932                 .pers = NULL,
21933                 .perslen = 0,
21934         },
21935 };
21936
21937 static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
21938         {
21939                 .entropy = (unsigned char *)
21940                         "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
21941                         "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
21942                         "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
21943                         "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
21944                 .entropylen = 48,
21945                 .expected = (unsigned char *)
21946                         "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
21947                         "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
21948                         "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
21949                         "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
21950                         "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
21951                         "\xb4\xf0\x7e\x1d",
21952                 .expectedlen = 64,
21953                 .addtla = NULL,
21954                 .addtlb = NULL,
21955                 .addtllen = 0,
21956                 .pers = NULL,
21957                 .perslen = 0,
21958         },
21959 };
21960
21961 static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
21962         {
21963                 .entropy = (unsigned char *)
21964                         "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
21965                         "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
21966                 .entropylen = 24,
21967                 .expected = (unsigned char *)
21968                         "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
21969                         "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
21970                         "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
21971                         "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
21972                         "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
21973                         "\xcb\x2d\xd6\xb0",
21974                 .expectedlen = 64,
21975                 .addtla = NULL,
21976                 .addtlb = NULL,
21977                 .addtllen = 0,
21978                 .pers = NULL,
21979                 .perslen = 0,
21980         }, {
21981                 .entropy = (unsigned char *)
21982                         "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
21983                         "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
21984                 .entropylen = 24,
21985                 .expected = (unsigned char *)
21986                         "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
21987                         "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
21988                         "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
21989                         "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
21990                         "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
21991                         "\xc3\xdf\xb3\x81",
21992                 .expectedlen = 64,
21993                 .addtla = (unsigned char *)
21994                         "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
21995                         "\x91\x4d\x81\x56",
21996                 .addtlb = (unsigned char *)
21997                         "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
21998                         "\x4a\x55\xd1\xc6",
21999                 .addtllen = 16,
22000                 .pers = NULL,
22001                 .perslen = 0,
22002         }, {
22003                 .entropy = (unsigned char *)
22004                         "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
22005                         "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
22006                 .entropylen = 24,
22007                 .expected = (unsigned char *)
22008                         "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
22009                         "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
22010                         "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
22011                         "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
22012                         "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
22013                         "\x34\x30\x0c\x3d",
22014                 .expectedlen = 64,
22015                 .addtla = NULL,
22016                 .addtlb = NULL,
22017                 .addtllen = 0,
22018                 .pers = (unsigned char *)
22019                         "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
22020                         "\x0b\xc6\x97\x54",
22021                 .perslen = 16,
22022         }, {
22023                 .entropy = (unsigned char *)
22024                         "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
22025                         "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
22026                 .entropylen = 24,
22027                 .expected = (unsigned char *)
22028                         "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
22029                         "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
22030                         "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
22031                         "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
22032                         "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
22033                         "\x2b\x49\x1e\x5c",
22034                 .expectedlen = 64,
22035                 .addtla = (unsigned char *)
22036                         "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
22037                         "\x44\x85\xe7\xfe",
22038                 .addtlb = (unsigned char *)
22039                         "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
22040                         "\x82\x16\x62\x7f",
22041                 .addtllen = 16,
22042                 .pers = (unsigned char *)
22043                         "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
22044                         "\x8e\xcf\xe0\x02",
22045                 .perslen = 16,
22046         },
22047 };
22048
22049 /* Cast5 test vectors from RFC 2144 */
22050 static const struct cipher_testvec cast5_tv_template[] = {
22051         {
22052                 .key    = "\x01\x23\x45\x67\x12\x34\x56\x78"
22053                           "\x23\x45\x67\x89\x34\x56\x78\x9a",
22054                 .klen   = 16,
22055                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
22056                 .ctext  = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
22057                 .len    = 8,
22058         }, {
22059                 .key    = "\x01\x23\x45\x67\x12\x34\x56\x78"
22060                           "\x23\x45",
22061                 .klen   = 10,
22062                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
22063                 .ctext  = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
22064                 .len    = 8,
22065         }, {
22066                 .key    = "\x01\x23\x45\x67\x12",
22067                 .klen   = 5,
22068                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
22069                 .ctext  = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
22070                 .len    = 8,
22071         }, { /* Generated from TF test vectors */
22072                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
22073                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
22074                 .klen   = 16,
22075                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
22076                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
22077                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
22078                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
22079                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
22080                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
22081                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
22082                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
22083                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
22084                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
22085                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
22086                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
22087                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
22088                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
22089                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
22090                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
22091                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
22092                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
22093                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
22094                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
22095                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
22096                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
22097                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
22098                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
22099                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
22100                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
22101                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
22102                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
22103                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
22104                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
22105                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
22106                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
22107                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
22108                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
22109                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
22110                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
22111                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
22112                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
22113                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
22114                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
22115                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
22116                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
22117                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
22118                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
22119                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
22120                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
22121                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
22122                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
22123                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
22124                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
22125                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
22126                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
22127                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
22128                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
22129                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
22130                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
22131                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
22132                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
22133                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
22134                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
22135                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
22136                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
22137                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
22138                 .ctext  = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
22139                           "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
22140                           "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
22141                           "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
22142                           "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
22143                           "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
22144                           "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
22145                           "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
22146                           "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
22147                           "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
22148                           "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
22149                           "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
22150                           "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
22151                           "\xED\x34\x35\x78\x6B\x91\xC9\x32"
22152                           "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
22153                           "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
22154                           "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
22155                           "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
22156                           "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
22157                           "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
22158                           "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
22159                           "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
22160                           "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
22161                           "\x78\x75\x37\x55\xC1\xF5\x90\x40"
22162                           "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
22163                           "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
22164                           "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
22165                           "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
22166                           "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
22167                           "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
22168                           "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
22169                           "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
22170                           "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
22171                           "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
22172                           "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
22173                           "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
22174                           "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
22175                           "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
22176                           "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
22177                           "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
22178                           "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
22179                           "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
22180                           "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
22181                           "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
22182                           "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
22183                           "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
22184                           "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
22185                           "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
22186                           "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
22187                           "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
22188                           "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
22189                           "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
22190                           "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
22191                           "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
22192                           "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
22193                           "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
22194                           "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
22195                           "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
22196                           "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
22197                           "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
22198                           "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
22199                           "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
22200                 .len    = 496,
22201         },
22202 };
22203
22204 static const struct cipher_testvec cast5_cbc_tv_template[] = {
22205         { /* Generated from TF test vectors */
22206                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
22207                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
22208                 .klen   = 16,
22209                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
22210                 .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
22211                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
22212                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
22213                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
22214                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
22215                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
22216                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
22217                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
22218                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
22219                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
22220                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
22221                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
22222                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
22223                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
22224                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
22225                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
22226                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
22227                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
22228                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
22229                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
22230                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
22231                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
22232                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
22233                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
22234                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
22235                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
22236                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
22237                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
22238                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
22239                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
22240                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
22241                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
22242                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
22243                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
22244                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
22245                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
22246                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
22247                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
22248                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
22249                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
22250                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
22251                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
22252                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
22253                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
22254                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
22255                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
22256                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
22257                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
22258                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
22259                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
22260                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
22261                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
22262                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
22263                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
22264                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
22265                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
22266                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
22267                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
22268                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
22269                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
22270                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
22271                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
22272                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
22273                 .ctext  = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
22274                           "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
22275                           "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
22276                           "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
22277                           "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
22278                           "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
22279                           "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
22280                           "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
22281                           "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
22282                           "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
22283                           "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
22284                           "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
22285                           "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
22286                           "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
22287                           "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
22288                           "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
22289                           "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
22290                           "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
22291                           "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
22292                           "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
22293                           "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
22294                           "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
22295                           "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
22296                           "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
22297                           "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
22298                           "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
22299                           "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
22300                           "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
22301                           "\x90\x12\x37\x49\x27\x98\x69\x18"
22302                           "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
22303                           "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
22304                           "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
22305                           "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
22306                           "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
22307                           "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
22308                           "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
22309                           "\x03\x55\x0E\x02\x41\x4A\x45\x06"
22310                           "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
22311                           "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
22312                           "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
22313                           "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
22314                           "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
22315                           "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
22316                           "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
22317                           "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
22318                           "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
22319                           "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
22320                           "\x11\xB4\x18\x17\x1A\x65\x92\x56"
22321                           "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
22322                           "\x1A\x01\x22\x45\x17\x62\x52\x6C"
22323                           "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
22324                           "\x32\x66\x6F\x23\x7F\x94\x36\x88"
22325                           "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
22326                           "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
22327                           "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
22328                           "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
22329                           "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
22330                           "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
22331                           "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
22332                           "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
22333                           "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
22334                           "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
22335                 .len    = 496,
22336         },
22337 };
22338
22339 static const struct cipher_testvec cast5_ctr_tv_template[] = {
22340         { /* Generated from TF test vectors */
22341                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
22342                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
22343                 .klen   = 16,
22344                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
22345                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
22346                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
22347                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
22348                           "\x3A",
22349                 .ctext  = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
22350                           "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
22351                           "\x0C",
22352                 .len    = 17,
22353         }, { /* Generated from TF test vectors */
22354                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
22355                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
22356                 .klen   = 16,
22357                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
22358                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
22359                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
22360                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
22361                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
22362                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
22363                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
22364                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
22365                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
22366                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
22367                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
22368                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
22369                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
22370                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
22371                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
22372                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
22373                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
22374                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
22375                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
22376                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
22377                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
22378                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
22379                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
22380                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
22381                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
22382                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
22383                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
22384                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
22385                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
22386                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
22387                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
22388                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
22389                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
22390                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
22391                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
22392                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
22393                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
22394                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
22395                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
22396                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
22397                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
22398                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
22399                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
22400                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
22401                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
22402                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
22403                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
22404                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
22405                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
22406                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
22407                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
22408                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
22409                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
22410                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
22411                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
22412                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
22413                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
22414                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
22415                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
22416                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
22417                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
22418                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
22419                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
22420                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
22421                 .ctext  = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
22422                           "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
22423                           "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
22424                           "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
22425                           "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
22426                           "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
22427                           "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
22428                           "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
22429                           "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
22430                           "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
22431                           "\x88\x18\x52\x56\x48\x58\xD1\x6B"
22432                           "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
22433                           "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
22434                           "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
22435                           "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
22436                           "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
22437                           "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
22438                           "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
22439                           "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
22440                           "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
22441                           "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
22442                           "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
22443                           "\x44\x67\x90\x20\xAC\x41\xDF\x43"
22444                           "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
22445                           "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
22446                           "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
22447                           "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
22448                           "\xAE\x59\x0F\x07\x88\x79\x53\x26"
22449                           "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
22450                           "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
22451                           "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
22452                           "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
22453                           "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
22454                           "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
22455                           "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
22456                           "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
22457                           "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
22458                           "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
22459                           "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
22460                           "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
22461                           "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
22462                           "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
22463                           "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
22464                           "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
22465                           "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
22466                           "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
22467                           "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
22468                           "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
22469                           "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
22470                           "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
22471                           "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
22472                           "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
22473                           "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
22474                           "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
22475                           "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
22476                           "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
22477                           "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
22478                           "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
22479                           "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
22480                           "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
22481                           "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
22482                           "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
22483                 .len    = 496,
22484         },
22485 };
22486
22487 /*
22488  * ARC4 test vectors from OpenSSL
22489  */
22490 static const struct cipher_testvec arc4_tv_template[] = {
22491         {
22492                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
22493                 .klen   = 8,
22494                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
22495                 .ctext  = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
22496                 .len    = 8,
22497         }, {
22498                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
22499                 .klen   = 8,
22500                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
22501                 .ctext  = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
22502                 .len    = 8,
22503         }, {
22504                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
22505                 .klen   = 8,
22506                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
22507                 .ctext  = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
22508                 .len    = 8,
22509         }, {
22510                 .key    = "\xef\x01\x23\x45",
22511                 .klen   = 4,
22512                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
22513                           "\x00\x00\x00\x00\x00\x00\x00\x00"
22514                           "\x00\x00\x00\x00",
22515                 .ctext  = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
22516                           "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
22517                           "\x36\xb6\x78\x58",
22518                 .len    = 20,
22519         }, {
22520                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
22521                 .klen   = 8,
22522                 .ptext  = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
22523                           "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
22524                           "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
22525                           "\x12\x34\x56\x78",
22526                 .ctext  = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
22527                           "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
22528                           "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
22529                           "\x40\x01\x1e\xcf",
22530                 .len    = 28,
22531         }, {
22532                 .key    = "\xef\x01\x23\x45",
22533                 .klen   = 4,
22534                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
22535                           "\x00\x00",
22536                 .ctext  = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
22537                           "\xbd\x61",
22538                 .len    = 10,
22539         }, {
22540                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
22541                         "\x00\x00\x00\x00\x00\x00\x00\x00",
22542                 .klen   = 16,
22543                 .ptext  = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
22544                 .ctext  = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
22545                 .len    = 8,
22546         },
22547 };
22548
22549 /*
22550  * TEA test vectors
22551  */
22552 static const struct cipher_testvec tea_tv_template[] = {
22553         {
22554                 .key    = zeroed_string,
22555                 .klen   = 16,
22556                 .ptext  = zeroed_string,
22557                 .ctext  = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
22558                 .len    = 8,
22559         }, {
22560                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
22561                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
22562                 .klen   = 16,
22563                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
22564                 .ctext  = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
22565                 .len    = 8,
22566         }, {
22567                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
22568                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
22569                 .klen   = 16,
22570                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
22571                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
22572                 .ctext  = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
22573                           "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
22574                 .len    = 16,
22575         }, {
22576                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
22577                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
22578                 .klen   = 16,
22579                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
22580                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
22581                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
22582                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
22583                 .ctext  = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
22584                           "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
22585                           "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
22586                           "\x07\x89\x73\xc2\x45\x92\xc6\x90",
22587                 .len    = 32,
22588         }
22589 };
22590
22591 /*
22592  * XTEA test vectors
22593  */
22594 static const struct cipher_testvec xtea_tv_template[] = {
22595         {
22596                 .key    = zeroed_string,
22597                 .klen   = 16,
22598                 .ptext  = zeroed_string,
22599                 .ctext  = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
22600                 .len    = 8,
22601         }, {
22602                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
22603                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
22604                 .klen   = 16,
22605                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
22606                 .ctext  = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
22607                 .len    = 8,
22608         }, {
22609                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
22610                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
22611                 .klen   = 16,
22612                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
22613                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
22614                 .ctext  = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
22615                           "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
22616                 .len    = 16,
22617         }, {
22618                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
22619                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
22620                 .klen   = 16,
22621                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
22622                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
22623                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
22624                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
22625                 .ctext  = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
22626                           "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
22627                           "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
22628                           "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
22629                 .len    = 32,
22630         }
22631 };
22632
22633 /*
22634  * KHAZAD test vectors.
22635  */
22636 static const struct cipher_testvec khazad_tv_template[] = {
22637         {
22638                 .key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
22639                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22640                 .klen   = 16,
22641                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
22642                 .ctext  = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
22643                 .len    = 8,
22644         }, {
22645                 .key    = "\x38\x38\x38\x38\x38\x38\x38\x38"
22646                           "\x38\x38\x38\x38\x38\x38\x38\x38",
22647                 .klen   = 16,
22648                 .ptext  = "\x38\x38\x38\x38\x38\x38\x38\x38",
22649                 .ctext  = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
22650                 .len    = 8,
22651         }, {
22652                 .key    = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
22653                         "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
22654                 .klen   = 16,
22655                 .ptext  = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
22656                 .ctext  = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
22657                 .len    = 8,
22658         }, {
22659                 .key    = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
22660                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
22661                 .klen   = 16,
22662                 .ptext  = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
22663                 .ctext  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
22664                 .len    = 8,
22665         }, {
22666                 .key    = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
22667                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
22668                 .klen   = 16,
22669                 .ptext  = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
22670                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
22671                 .ctext  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
22672                         "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
22673                 .len    = 16,
22674         },
22675 };
22676
22677 /*
22678  * Anubis test vectors.
22679  */
22680
22681 static const struct cipher_testvec anubis_tv_template[] = {
22682         {
22683                 .key    = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
22684                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
22685                 .klen   = 16,
22686                 .ptext  = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
22687                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
22688                 .ctext  = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
22689                           "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
22690                 .len    = 16,
22691         }, {
22692
22693                 .key    = "\x03\x03\x03\x03\x03\x03\x03\x03"
22694                           "\x03\x03\x03\x03\x03\x03\x03\x03"
22695                           "\x03\x03\x03\x03",
22696                 .klen   = 20,
22697                 .ptext  = "\x03\x03\x03\x03\x03\x03\x03\x03"
22698                           "\x03\x03\x03\x03\x03\x03\x03\x03",
22699                 .ctext  = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
22700                           "\x87\x41\x6f\x82\x0a\x98\x64\xae",
22701                 .len    = 16,
22702         }, {
22703                 .key    = "\x24\x24\x24\x24\x24\x24\x24\x24"
22704                           "\x24\x24\x24\x24\x24\x24\x24\x24"
22705                           "\x24\x24\x24\x24\x24\x24\x24\x24"
22706                           "\x24\x24\x24\x24",
22707                 .klen   = 28,
22708                 .ptext  = "\x24\x24\x24\x24\x24\x24\x24\x24"
22709                           "\x24\x24\x24\x24\x24\x24\x24\x24",
22710                 .ctext  = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
22711                           "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
22712                 .len    = 16,
22713         }, {
22714                 .key    = "\x25\x25\x25\x25\x25\x25\x25\x25"
22715                           "\x25\x25\x25\x25\x25\x25\x25\x25"
22716                           "\x25\x25\x25\x25\x25\x25\x25\x25"
22717                           "\x25\x25\x25\x25\x25\x25\x25\x25",
22718                 .klen   = 32,
22719                 .ptext  = "\x25\x25\x25\x25\x25\x25\x25\x25"
22720                           "\x25\x25\x25\x25\x25\x25\x25\x25",
22721                 .ctext  = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
22722                         "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
22723                 .len    = 16,
22724         }, {
22725                 .key    = "\x35\x35\x35\x35\x35\x35\x35\x35"
22726                           "\x35\x35\x35\x35\x35\x35\x35\x35"
22727                           "\x35\x35\x35\x35\x35\x35\x35\x35"
22728                           "\x35\x35\x35\x35\x35\x35\x35\x35"
22729                           "\x35\x35\x35\x35\x35\x35\x35\x35",
22730                 .klen   = 40,
22731                 .ptext  = "\x35\x35\x35\x35\x35\x35\x35\x35"
22732                           "\x35\x35\x35\x35\x35\x35\x35\x35",
22733                 .ctext  = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
22734                           "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
22735                 .len    = 16,
22736         },
22737 };
22738
22739 static const struct cipher_testvec anubis_cbc_tv_template[] = {
22740         {
22741                 .key    = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
22742                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
22743                 .klen   = 16,
22744                 .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
22745                           "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
22746                 .ptext  = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
22747                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
22748                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
22749                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
22750                 .ctext  = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
22751                           "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
22752                           "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
22753                           "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
22754                 .len    = 32,
22755         }, {
22756                 .key    = "\x35\x35\x35\x35\x35\x35\x35\x35"
22757                           "\x35\x35\x35\x35\x35\x35\x35\x35"
22758                           "\x35\x35\x35\x35\x35\x35\x35\x35"
22759                           "\x35\x35\x35\x35\x35\x35\x35\x35"
22760                           "\x35\x35\x35\x35\x35\x35\x35\x35",
22761                 .klen   = 40,
22762                 .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
22763                           "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
22764                 .ptext  = "\x35\x35\x35\x35\x35\x35\x35\x35"
22765                           "\x35\x35\x35\x35\x35\x35\x35\x35"
22766                           "\x35\x35\x35\x35\x35\x35\x35\x35"
22767                           "\x35\x35\x35\x35\x35\x35\x35\x35",
22768                 .ctext  = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
22769                           "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
22770                           "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
22771                           "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
22772                 .len    = 32,
22773         },
22774 };
22775
22776 /*
22777  * XETA test vectors
22778  */
22779 static const struct cipher_testvec xeta_tv_template[] = {
22780         {
22781                 .key    = zeroed_string,
22782                 .klen   = 16,
22783                 .ptext  = zeroed_string,
22784                 .ctext  = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
22785                 .len    = 8,
22786         }, {
22787                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
22788                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
22789                 .klen   = 16,
22790                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
22791                 .ctext  = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
22792                 .len    = 8,
22793         }, {
22794                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
22795                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
22796                 .klen   = 16,
22797                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
22798                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
22799                 .ctext  = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
22800                           "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
22801                 .len    = 16,
22802         }, {
22803                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
22804                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
22805                 .klen   = 16,
22806                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
22807                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
22808                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
22809                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
22810                 .ctext  = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
22811                           "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
22812                           "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
22813                           "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
22814                 .len    = 32,
22815         }
22816 };
22817
22818 /*
22819  * FCrypt test vectors
22820  */
22821 static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
22822         { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
22823                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
22824                 .klen   = 8,
22825                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
22826                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
22827                 .ctext  = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
22828                 .len    = 8,
22829         }, {
22830                 .key    = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
22831                 .klen   = 8,
22832                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
22833                 .ptext  = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
22834                 .ctext  = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
22835                 .len    = 8,
22836         }, { /* From Arla */
22837                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
22838                 .klen   = 8,
22839                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
22840                 .ptext  = "The quick brown fox jumps over the lazy dogs.\0\0",
22841                 .ctext  = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
22842                           "\xee\xac\x98\x62\x44\x51\xe4\x84"
22843                           "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
22844                           "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
22845                           "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
22846                           "\xf8\x91\x3c\xac\x44\x22\x92\xef",
22847                 .len    = 48,
22848         }, {
22849                 .key    = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
22850                 .klen   = 8,
22851                 .iv     = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
22852                 .ptext  = "The quick brown fox jumps over the lazy dogs.\0\0",
22853                 .ctext  = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
22854                           "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
22855                           "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
22856                           "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
22857                           "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
22858                           "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
22859                 .len    = 48,
22860         }
22861 };
22862
22863 /*
22864  * CAMELLIA test vectors.
22865  */
22866 static const struct cipher_testvec camellia_tv_template[] = {
22867         {
22868                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
22869                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
22870                 .klen   = 16,
22871                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
22872                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
22873                 .ctext  = "\x67\x67\x31\x38\x54\x96\x69\x73"
22874                           "\x08\x57\x06\x56\x48\xea\xbe\x43",
22875                 .len    = 16,
22876         }, {
22877                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
22878                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
22879                           "\x00\x11\x22\x33\x44\x55\x66\x77",
22880                 .klen   = 24,
22881                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
22882                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
22883                 .ctext  = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
22884                           "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
22885                 .len    = 16,
22886         }, {
22887                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
22888                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
22889                           "\x00\x11\x22\x33\x44\x55\x66\x77"
22890                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
22891                 .klen   = 32,
22892                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
22893                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
22894                 .ctext  = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
22895                           "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
22896                 .len    = 16,
22897         }, { /* Generated with Crypto++ */
22898                 .key    = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
22899                           "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
22900                           "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
22901                           "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
22902                 .klen   = 32,
22903                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
22904                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
22905                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
22906                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
22907                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
22908                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
22909                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
22910                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
22911                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
22912                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
22913                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
22914                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
22915                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
22916                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
22917                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
22918                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
22919                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
22920                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
22921                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
22922                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
22923                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
22924                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
22925                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
22926                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
22927                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
22928                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
22929                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
22930                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
22931                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
22932                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
22933                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
22934                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
22935                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
22936                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
22937                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
22938                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
22939                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
22940                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
22941                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
22942                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
22943                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
22944                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
22945                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
22946                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
22947                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
22948                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
22949                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
22950                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
22951                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
22952                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
22953                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
22954                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
22955                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
22956                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
22957                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
22958                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
22959                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
22960                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
22961                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
22962                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
22963                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
22964                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
22965                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
22966                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
22967                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
22968                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
22969                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
22970                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
22971                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
22972                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
22973                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
22974                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
22975                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
22976                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
22977                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
22978                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
22979                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
22980                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
22981                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
22982                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
22983                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
22984                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
22985                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
22986                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
22987                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
22988                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
22989                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
22990                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
22991                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
22992                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
22993                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
22994                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
22995                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
22996                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
22997                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
22998                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
22999                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
23000                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
23001                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
23002                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
23003                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
23004                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
23005                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
23006                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
23007                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
23008                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
23009                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
23010                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
23011                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
23012                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
23013                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
23014                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
23015                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
23016                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
23017                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
23018                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
23019                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
23020                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
23021                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
23022                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
23023                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
23024                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
23025                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
23026                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
23027                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
23028                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
23029                 .ctext  = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
23030                           "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
23031                           "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
23032                           "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
23033                           "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
23034                           "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
23035                           "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
23036                           "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
23037                           "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
23038                           "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
23039                           "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
23040                           "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
23041                           "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
23042                           "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
23043                           "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
23044                           "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
23045                           "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
23046                           "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
23047                           "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
23048                           "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
23049                           "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
23050                           "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
23051                           "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
23052                           "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
23053                           "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
23054                           "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
23055                           "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
23056                           "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
23057                           "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
23058                           "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
23059                           "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
23060                           "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
23061                           "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
23062                           "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
23063                           "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
23064                           "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
23065                           "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
23066                           "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
23067                           "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
23068                           "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
23069                           "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
23070                           "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
23071                           "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
23072                           "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
23073                           "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
23074                           "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
23075                           "\x83\x06\xAB\x82\x99\x01\x16\x1A"
23076                           "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
23077                           "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
23078                           "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
23079                           "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
23080                           "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
23081                           "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
23082                           "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
23083                           "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
23084                           "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
23085                           "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
23086                           "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
23087                           "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
23088                           "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
23089                           "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
23090                           "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
23091                           "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
23092                           "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
23093                           "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
23094                           "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
23095                           "\xED\x28\x39\xE9\x63\xED\x41\x70"
23096                           "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
23097                           "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
23098                           "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
23099                           "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
23100                           "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
23101                           "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
23102                           "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
23103                           "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
23104                           "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
23105                           "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
23106                           "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
23107                           "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
23108                           "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
23109                           "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
23110                           "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
23111                           "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
23112                           "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
23113                           "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
23114                           "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
23115                           "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
23116                           "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
23117                           "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
23118                           "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
23119                           "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
23120                           "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
23121                           "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
23122                           "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
23123                           "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
23124                           "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
23125                           "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
23126                           "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
23127                           "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
23128                           "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
23129                           "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
23130                           "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
23131                           "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
23132                           "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
23133                           "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
23134                           "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
23135                           "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
23136                           "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
23137                           "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
23138                           "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
23139                           "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
23140                           "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
23141                           "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
23142                           "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
23143                           "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
23144                           "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
23145                           "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
23146                           "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
23147                           "\x31\x93\x51\x1C\x63\x97\x70\xB0"
23148                           "\x99\x78\x83\x13\xFD\xCF\x53\x81"
23149                           "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
23150                           "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
23151                           "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
23152                           "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
23153                           "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
23154                           "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
23155                 .len    = 1008,
23156         },
23157 };
23158
23159 static const struct cipher_testvec camellia_cbc_tv_template[] = {
23160         {
23161                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
23162                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
23163                 .klen   = 16,
23164                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
23165                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
23166                 .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
23167                           "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
23168                 .ptext  = "Single block msg",
23169                 .ctext  = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
23170                           "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
23171                 .len    = 16,
23172         }, {
23173                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
23174                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
23175                 .klen   = 16,
23176                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
23177                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
23178                 .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
23179                           "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
23180                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
23181                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23182                           "\x10\x11\x12\x13\x14\x15\x16\x17"
23183                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
23184                 .ctext  = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
23185                           "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
23186                           "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
23187                           "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
23188                 .len    = 32,
23189         }, { /* Generated with Crypto++ */
23190                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23191                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
23192                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
23193                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
23194                 .klen   = 32,
23195                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
23196                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
23197                 .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
23198                           "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
23199                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23200                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23201                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23202                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23203                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23204                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23205                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23206                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23207                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23208                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23209                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23210                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23211                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23212                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23213                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23214                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23215                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23216                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23217                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23218                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23219                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23220                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23221                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23222                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23223                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23224                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23225                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23226                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23227                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23228                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23229                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23230                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23231                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23232                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23233                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23234                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23235                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23236                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23237                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23238                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23239                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23240                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23241                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23242                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23243                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23244                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23245                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23246                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23247                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23248                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23249                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23250                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23251                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23252                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23253                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23254                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23255                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23256                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23257                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23258                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23259                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23260                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
23261                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
23262                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
23263                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
23264                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
23265                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
23266                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
23267                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
23268                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
23269                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
23270                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
23271                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
23272                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
23273                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
23274                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
23275                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
23276                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
23277                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
23278                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
23279                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
23280                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
23281                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
23282                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
23283                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
23284                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
23285                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
23286                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
23287                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
23288                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
23289                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
23290                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
23291                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
23292                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
23293                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
23294                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
23295                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
23296                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
23297                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
23298                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
23299                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
23300                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
23301                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
23302                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
23303                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
23304                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
23305                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
23306                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
23307                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
23308                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
23309                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
23310                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
23311                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
23312                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
23313                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
23314                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
23315                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
23316                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
23317                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
23318                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
23319                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
23320                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
23321                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
23322                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
23323                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
23324                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
23325                 .ctext  = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
23326                           "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
23327                           "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
23328                           "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
23329                           "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
23330                           "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
23331                           "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
23332                           "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
23333                           "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
23334                           "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
23335                           "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
23336                           "\x37\x49\x88\xA4\xEF\x91\x21\x47"
23337                           "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
23338                           "\x28\x90\x77\x46\xD8\xD2\x35\x16"
23339                           "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
23340                           "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
23341                           "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
23342                           "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
23343                           "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
23344                           "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
23345                           "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
23346                           "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
23347                           "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
23348                           "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
23349                           "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
23350                           "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
23351                           "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
23352                           "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
23353                           "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
23354                           "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
23355                           "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
23356                           "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
23357                           "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
23358                           "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
23359                           "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
23360                           "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
23361                           "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
23362                           "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
23363                           "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
23364                           "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
23365                           "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
23366                           "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
23367                           "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
23368                           "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
23369                           "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
23370                           "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
23371                           "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
23372                           "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
23373                           "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
23374                           "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
23375                           "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
23376                           "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
23377                           "\x38\xB8\x48\x36\x66\x4E\x20\x43"
23378                           "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
23379                           "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
23380                           "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
23381                           "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
23382                           "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
23383                           "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
23384                           "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
23385                           "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
23386                           "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
23387                           "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
23388                           "\x21\x41\x56\x72\x13\xE1\x86\x07"
23389                           "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
23390                           "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
23391                           "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
23392                           "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
23393                           "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
23394                           "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
23395                           "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
23396                           "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
23397                           "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
23398                           "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
23399                           "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
23400                           "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
23401                           "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
23402                           "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
23403                           "\xBE\x31\x31\x96\x8B\x40\x18\x75"
23404                           "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
23405                           "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
23406                           "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
23407                           "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
23408                           "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
23409                           "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
23410                           "\x09\xB0\x43\x96\x4A\x64\x80\x40"
23411                           "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
23412                           "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
23413                           "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
23414                           "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
23415                           "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
23416                           "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
23417                           "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
23418                           "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
23419                           "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
23420                           "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
23421                           "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
23422                           "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
23423                           "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
23424                           "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
23425                           "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
23426                           "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
23427                           "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
23428                           "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
23429                           "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
23430                           "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
23431                           "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
23432                           "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
23433                           "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
23434                           "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
23435                           "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
23436                           "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
23437                           "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
23438                           "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
23439                           "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
23440                           "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
23441                           "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
23442                           "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
23443                           "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
23444                           "\x80\xE7\x29\xDC\x23\x55\x98\x54"
23445                           "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
23446                           "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
23447                           "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
23448                           "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
23449                           "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
23450                           "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
23451                 .len    = 1008,
23452         },
23453 };
23454
23455 static const struct cipher_testvec camellia_ctr_tv_template[] = {
23456         { /* Generated with Crypto++ */
23457                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23458                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
23459                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
23460                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
23461                 .klen   = 32,
23462                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
23463                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
23464                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
23465                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
23466                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23467                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23468                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23469                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23470                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23471                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23472                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23473                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23474                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23475                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23476                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23477                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23478                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23479                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23480                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23481                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23482                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23483                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23484                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23485                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23486                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23487                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23488                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23489                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23490                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23491                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23492                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23493                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23494                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23495                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23496                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23497                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23498                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23499                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23500                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23501                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23502                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23503                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23504                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23505                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23506                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23507                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23508                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23509                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23510                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23511                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23512                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23513                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23514                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23515                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23516                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23517                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23518                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23519                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23520                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23521                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23522                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23523                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23524                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23525                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23526                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23527                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23528                 .ctext  = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
23529                           "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
23530                           "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
23531                           "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
23532                           "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
23533                           "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
23534                           "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
23535                           "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
23536                           "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
23537                           "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
23538                           "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
23539                           "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
23540                           "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
23541                           "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
23542                           "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
23543                           "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
23544                           "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
23545                           "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
23546                           "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
23547                           "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
23548                           "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
23549                           "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
23550                           "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
23551                           "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
23552                           "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
23553                           "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
23554                           "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
23555                           "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
23556                           "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
23557                           "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
23558                           "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
23559                           "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
23560                           "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
23561                           "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
23562                           "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
23563                           "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
23564                           "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
23565                           "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
23566                           "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
23567                           "\x79\xA2\x99\x28\x93\x1B\x00\x57"
23568                           "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
23569                           "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
23570                           "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
23571                           "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
23572                           "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
23573                           "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
23574                           "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
23575                           "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
23576                           "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
23577                           "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
23578                           "\x76\x44\x45\xF3\x24\x11\x57\x98"
23579                           "\x9A\x86\xB4\x12\x80\x28\x86\x20"
23580                           "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
23581                           "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
23582                           "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
23583                           "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
23584                           "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
23585                           "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
23586                           "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
23587                           "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
23588                           "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
23589                           "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
23590                 .len    = 496,
23591         }, { /* Generated with Crypto++ */
23592                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23593                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
23594                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
23595                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
23596                 .klen   = 32,
23597                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
23598                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
23599                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
23600                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
23601                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23602                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23603                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23604                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23605                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23606                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23607                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23608                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23609                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23610                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23611                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23612                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23613                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23614                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23615                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23616                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23617                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23618                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23619                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23620                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23621                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23622                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23623                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23624                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23625                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23626                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23627                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23628                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23629                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23630                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23631                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23632                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23633                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23634                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23635                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23636                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23637                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23638                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23639                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23640                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23641                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23642                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23643                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23644                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23645                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23646                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23647                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23648                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23649                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23650                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23651                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23652                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23653                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23654                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23655                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23656                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23657                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23658                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23659                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23660                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23661                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23662                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
23663                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
23664                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
23665                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
23666                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
23667                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
23668                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
23669                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
23670                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
23671                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
23672                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
23673                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
23674                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
23675                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
23676                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
23677                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
23678                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
23679                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
23680                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
23681                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
23682                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
23683                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
23684                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
23685                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
23686                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
23687                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
23688                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
23689                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
23690                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
23691                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
23692                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
23693                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
23694                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
23695                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
23696                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
23697                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
23698                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
23699                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
23700                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
23701                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
23702                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
23703                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
23704                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
23705                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
23706                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
23707                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
23708                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
23709                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
23710                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
23711                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
23712                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
23713                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
23714                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
23715                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
23716                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
23717                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
23718                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
23719                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
23720                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
23721                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
23722                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
23723                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
23724                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
23725                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
23726                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
23727                           "\xE4\x7B\x12",
23728                 .ctext  = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
23729                           "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
23730                           "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
23731                           "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
23732                           "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
23733                           "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
23734                           "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
23735                           "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
23736                           "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
23737                           "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
23738                           "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
23739                           "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
23740                           "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
23741                           "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
23742                           "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
23743                           "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
23744                           "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
23745                           "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
23746                           "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
23747                           "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
23748                           "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
23749                           "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
23750                           "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
23751                           "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
23752                           "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
23753                           "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
23754                           "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
23755                           "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
23756                           "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
23757                           "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
23758                           "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
23759                           "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
23760                           "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
23761                           "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
23762                           "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
23763                           "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
23764                           "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
23765                           "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
23766                           "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
23767                           "\x79\xA2\x99\x28\x93\x1B\x00\x57"
23768                           "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
23769                           "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
23770                           "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
23771                           "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
23772                           "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
23773                           "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
23774                           "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
23775                           "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
23776                           "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
23777                           "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
23778                           "\x76\x44\x45\xF3\x24\x11\x57\x98"
23779                           "\x9A\x86\xB4\x12\x80\x28\x86\x20"
23780                           "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
23781                           "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
23782                           "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
23783                           "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
23784                           "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
23785                           "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
23786                           "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
23787                           "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
23788                           "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
23789                           "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
23790                           "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
23791                           "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
23792                           "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
23793                           "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
23794                           "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
23795                           "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
23796                           "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
23797                           "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
23798                           "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
23799                           "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
23800                           "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
23801                           "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
23802                           "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
23803                           "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
23804                           "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
23805                           "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
23806                           "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
23807                           "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
23808                           "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
23809                           "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
23810                           "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
23811                           "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
23812                           "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
23813                           "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
23814                           "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
23815                           "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
23816                           "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
23817                           "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
23818                           "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
23819                           "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
23820                           "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
23821                           "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
23822                           "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
23823                           "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
23824                           "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
23825                           "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
23826                           "\x00\x70\x12\x56\x56\x50\xAD\x14"
23827                           "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
23828                           "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
23829                           "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
23830                           "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
23831                           "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
23832                           "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
23833                           "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
23834                           "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
23835                           "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
23836                           "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
23837                           "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
23838                           "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
23839                           "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
23840                           "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
23841                           "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
23842                           "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
23843                           "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
23844                           "\x40\x48\x19\x73\x7C\x78\x64\x0B"
23845                           "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
23846                           "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
23847                           "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
23848                           "\x74\x28\x9D\x05\x30\x20\x62\x41"
23849                           "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
23850                           "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
23851                           "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
23852                           "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
23853                           "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
23854                           "\xF1\x6B\xD9",
23855                 .len    = 1011,
23856         }, { /* Generated with Crypto++ */
23857                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23858                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
23859                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
23860                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
23861                 .klen   = 32,
23862                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
23863                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
23864                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
23865                           "\x00\x00\x00\x00\x00\x00\x00\x3C",
23866                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23867                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23868                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23869                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23870                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23871                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23872                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23873                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23874                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23875                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23876                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23877                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23878                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23879                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23880                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23881                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23882                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23883                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23884                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23885                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23886                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23887                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23888                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23889                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23890                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23891                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23892                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23893                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23894                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23895                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23896                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23897                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23898                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23899                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23900                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23901                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23902                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23903                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23904                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23905                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23906                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23907                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23908                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23909                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23910                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23911                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23912                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23913                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23914                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23915                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23916                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23917                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23918                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23919                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23920                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23921                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23922                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23923                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23924                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23925                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23926                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23927                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
23928                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
23929                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
23930                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
23931                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
23932                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
23933                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
23934                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
23935                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
23936                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
23937                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
23938                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
23939                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
23940                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
23941                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
23942                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
23943                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
23944                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
23945                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
23946                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
23947                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
23948                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
23949                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
23950                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
23951                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
23952                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
23953                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
23954                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
23955                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
23956                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
23957                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
23958                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
23959                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
23960                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
23961                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
23962                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
23963                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
23964                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
23965                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
23966                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
23967                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
23968                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
23969                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
23970                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
23971                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
23972                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
23973                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
23974                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
23975                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
23976                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
23977                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
23978                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
23979                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
23980                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
23981                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
23982                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
23983                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
23984                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
23985                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
23986                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
23987                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
23988                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
23989                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
23990                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
23991                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
23992                 .ctext  = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
23993                           "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
23994                           "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
23995                           "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
23996                           "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
23997                           "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
23998                           "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
23999                           "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
24000                           "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
24001                           "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
24002                           "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
24003                           "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
24004                           "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
24005                           "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
24006                           "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
24007                           "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
24008                           "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
24009                           "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
24010                           "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
24011                           "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
24012                           "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
24013                           "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
24014                           "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
24015                           "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
24016                           "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
24017                           "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
24018                           "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
24019                           "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
24020                           "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
24021                           "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
24022                           "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
24023                           "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
24024                           "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
24025                           "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
24026                           "\x93\x78\x86\x05\x69\x46\xD0\xC5"
24027                           "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
24028                           "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
24029                           "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
24030                           "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
24031                           "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
24032                           "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
24033                           "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
24034                           "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
24035                           "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
24036                           "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
24037                           "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
24038                           "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
24039                           "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
24040                           "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
24041                           "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
24042                           "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
24043                           "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
24044                           "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
24045                           "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
24046                           "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
24047                           "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
24048                           "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
24049                           "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
24050                           "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
24051                           "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
24052                           "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
24053                           "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
24054                           "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
24055                           "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
24056                           "\x3F\x23\x69\x63\x56\x96\x45\xD6"
24057                           "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
24058                           "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
24059                           "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
24060                           "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
24061                           "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
24062                           "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
24063                           "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
24064                           "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
24065                           "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
24066                           "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
24067                           "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
24068                           "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
24069                           "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
24070                           "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
24071                           "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
24072                           "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
24073                           "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
24074                           "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
24075                           "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
24076                           "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
24077                           "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
24078                           "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
24079                           "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
24080                           "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
24081                           "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
24082                           "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
24083                           "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
24084                           "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
24085                           "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
24086                           "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
24087                           "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
24088                           "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
24089                           "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
24090                           "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
24091                           "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
24092                           "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
24093                           "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
24094                           "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
24095                           "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
24096                           "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
24097                           "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
24098                           "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
24099                           "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
24100                           "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
24101                           "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
24102                           "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
24103                           "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
24104                           "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
24105                           "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
24106                           "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
24107                           "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
24108                           "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
24109                           "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
24110                           "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
24111                           "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
24112                           "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
24113                           "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
24114                           "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
24115                           "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
24116                           "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
24117                           "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
24118                 .len    = 1008,
24119         },
24120 };
24121
24122 static const struct cipher_testvec camellia_lrw_tv_template[] = {
24123         /* Generated from AES-LRW test vectors */
24124         {
24125                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
24126                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
24127                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
24128                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
24129                 .klen   = 32,
24130                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24131                           "\x00\x00\x00\x00\x00\x00\x00\x01",
24132                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
24133                           "\x38\x39\x41\x42\x43\x44\x45\x46",
24134                 .ctext  = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
24135                           "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
24136                 .len    = 16,
24137         }, {
24138                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
24139                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
24140                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
24141                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
24142                 .klen   = 32,
24143                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24144                           "\x00\x00\x00\x00\x00\x00\x00\x02",
24145                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
24146                           "\x38\x39\x41\x42\x43\x44\x45\x46",
24147                 .ctext  = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
24148                           "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
24149                 .len    = 16,
24150         }, {
24151                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
24152                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
24153                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
24154                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
24155                 .klen   = 32,
24156                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24157                           "\x00\x00\x00\x02\x00\x00\x00\x00",
24158                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
24159                           "\x38\x39\x41\x42\x43\x44\x45\x46",
24160                 .ctext  = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
24161                           "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
24162                 .len    = 16,
24163         }, {
24164                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
24165                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
24166                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
24167                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
24168                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
24169                 .klen   = 40,
24170                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24171                           "\x00\x00\x00\x00\x00\x00\x00\x01",
24172                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
24173                           "\x38\x39\x41\x42\x43\x44\x45\x46",
24174                 .ctext  = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
24175                           "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
24176                 .len    = 16,
24177         }, {
24178                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
24179                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
24180                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
24181                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
24182                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
24183                 .klen   = 40,
24184                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24185                           "\x00\x00\x00\x02\x00\x00\x00\x00",
24186                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
24187                           "\x38\x39\x41\x42\x43\x44\x45\x46",
24188                 .ctext  = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
24189                           "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
24190                 .len    = 16,
24191         }, {
24192                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
24193                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
24194                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
24195                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
24196                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
24197                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
24198                 .klen   = 48,
24199                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24200                           "\x00\x00\x00\x00\x00\x00\x00\x01",
24201                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
24202                           "\x38\x39\x41\x42\x43\x44\x45\x46",
24203                 .ctext  = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
24204                           "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
24205                 .len    = 16,
24206         }, {
24207                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
24208                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
24209                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
24210                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
24211                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
24212                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
24213                 .klen   = 48,
24214                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24215                           "\x00\x00\x00\x02\x00\x00\x00\x00",
24216                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
24217                           "\x38\x39\x41\x42\x43\x44\x45\x46",
24218                 .ctext  = "\x04\xab\x28\x37\x31\x7a\x26\xab"
24219                           "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
24220                 .len    = 16,
24221         }, {
24222                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
24223                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
24224                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
24225                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
24226                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
24227                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
24228                 .klen   = 48,
24229                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24230                           "\x00\x00\x00\x00\x00\x00\x00\x01",
24231                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
24232                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
24233                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
24234                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
24235                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
24236                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
24237                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
24238                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
24239                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
24240                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
24241                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
24242                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
24243                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
24244                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
24245                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
24246                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
24247                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
24248                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
24249                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
24250                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
24251                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
24252                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
24253                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
24254                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
24255                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
24256                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
24257                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
24258                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
24259                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
24260                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
24261                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
24262                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
24263                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
24264                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
24265                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
24266                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
24267                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
24268                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
24269                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
24270                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
24271                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
24272                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
24273                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
24274                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
24275                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
24276                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
24277                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
24278                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
24279                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
24280                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
24281                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
24282                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
24283                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
24284                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
24285                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
24286                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
24287                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
24288                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
24289                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
24290                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
24291                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
24292                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
24293                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
24294                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
24295                 .ctext  = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
24296                           "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
24297                           "\x67\x76\xac\x2c\xd2\x63\x18\x93"
24298                           "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
24299                           "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
24300                           "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
24301                           "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
24302                           "\x62\xdd\x78\x81\xea\x1d\xef\x04"
24303                           "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
24304                           "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
24305                           "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
24306                           "\x40\x41\x69\xaa\x71\xc0\x37\xec"
24307                           "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
24308                           "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
24309                           "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
24310                           "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
24311                           "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
24312                           "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
24313                           "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
24314                           "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
24315                           "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
24316                           "\x42\x08\x40\x82\x06\x1c\x2d\x55"
24317                           "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
24318                           "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
24319                           "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
24320                           "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
24321                           "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
24322                           "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
24323                           "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
24324                           "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
24325                           "\xed\x14\xa9\x57\x19\x63\x40\x04"
24326                           "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
24327                           "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
24328                           "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
24329                           "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
24330                           "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
24331                           "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
24332                           "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
24333                           "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
24334                           "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
24335                           "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
24336                           "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
24337                           "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
24338                           "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
24339                           "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
24340                           "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
24341                           "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
24342                           "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
24343                           "\x35\xa5\x83\x04\x84\x01\x99\x56"
24344                           "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
24345                           "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
24346                           "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
24347                           "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
24348                           "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
24349                           "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
24350                           "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
24351                           "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
24352                           "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
24353                           "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
24354                           "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
24355                           "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
24356                           "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
24357                           "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
24358                           "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
24359                 .len    = 512,
24360         },
24361 };
24362
24363 static const struct cipher_testvec camellia_xts_tv_template[] = {
24364         /* Generated from AES-XTS test vectors */
24365         {
24366                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
24367                           "\x00\x00\x00\x00\x00\x00\x00\x00"
24368                           "\x00\x00\x00\x00\x00\x00\x00\x00"
24369                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24370                 .klen   = 32,
24371                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24372                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24373                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
24374                           "\x00\x00\x00\x00\x00\x00\x00\x00"
24375                           "\x00\x00\x00\x00\x00\x00\x00\x00"
24376                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24377                 .ctext  = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
24378                           "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
24379                           "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
24380                           "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
24381                 .len    = 32,
24382         }, {
24383                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
24384                           "\x11\x11\x11\x11\x11\x11\x11\x11"
24385                           "\x22\x22\x22\x22\x22\x22\x22\x22"
24386                           "\x22\x22\x22\x22\x22\x22\x22\x22",
24387                 .klen   = 32,
24388                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
24389                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24390                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
24391                           "\x44\x44\x44\x44\x44\x44\x44\x44"
24392                           "\x44\x44\x44\x44\x44\x44\x44\x44"
24393                           "\x44\x44\x44\x44\x44\x44\x44\x44",
24394                 .ctext  = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
24395                           "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
24396                           "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
24397                           "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
24398                 .len    = 32,
24399         }, {
24400                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
24401                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
24402                           "\x22\x22\x22\x22\x22\x22\x22\x22"
24403                           "\x22\x22\x22\x22\x22\x22\x22\x22",
24404                 .klen   = 32,
24405                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
24406                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24407                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
24408                           "\x44\x44\x44\x44\x44\x44\x44\x44"
24409                           "\x44\x44\x44\x44\x44\x44\x44\x44"
24410                           "\x44\x44\x44\x44\x44\x44\x44\x44",
24411                 .ctext  = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
24412                           "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
24413                           "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
24414                           "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
24415                 .len    = 32,
24416         }, {
24417                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
24418                           "\x23\x53\x60\x28\x74\x71\x35\x26"
24419                           "\x31\x41\x59\x26\x53\x58\x97\x93"
24420                           "\x23\x84\x62\x64\x33\x83\x27\x95",
24421                 .klen   = 32,
24422                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
24423                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24424                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
24425                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24426                           "\x10\x11\x12\x13\x14\x15\x16\x17"
24427                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
24428                           "\x20\x21\x22\x23\x24\x25\x26\x27"
24429                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
24430                           "\x30\x31\x32\x33\x34\x35\x36\x37"
24431                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
24432                           "\x40\x41\x42\x43\x44\x45\x46\x47"
24433                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
24434                           "\x50\x51\x52\x53\x54\x55\x56\x57"
24435                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
24436                           "\x60\x61\x62\x63\x64\x65\x66\x67"
24437                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
24438                           "\x70\x71\x72\x73\x74\x75\x76\x77"
24439                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
24440                           "\x80\x81\x82\x83\x84\x85\x86\x87"
24441                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24442                           "\x90\x91\x92\x93\x94\x95\x96\x97"
24443                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
24444                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
24445                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
24446                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
24447                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
24448                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
24449                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
24450                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
24451                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
24452                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
24453                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
24454                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
24455                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
24456                           "\x00\x01\x02\x03\x04\x05\x06\x07"
24457                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24458                           "\x10\x11\x12\x13\x14\x15\x16\x17"
24459                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
24460                           "\x20\x21\x22\x23\x24\x25\x26\x27"
24461                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
24462                           "\x30\x31\x32\x33\x34\x35\x36\x37"
24463                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
24464                           "\x40\x41\x42\x43\x44\x45\x46\x47"
24465                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
24466                           "\x50\x51\x52\x53\x54\x55\x56\x57"
24467                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
24468                           "\x60\x61\x62\x63\x64\x65\x66\x67"
24469                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
24470                           "\x70\x71\x72\x73\x74\x75\x76\x77"
24471                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
24472                           "\x80\x81\x82\x83\x84\x85\x86\x87"
24473                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24474                           "\x90\x91\x92\x93\x94\x95\x96\x97"
24475                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
24476                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
24477                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
24478                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
24479                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
24480                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
24481                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
24482                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
24483                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
24484                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
24485                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
24486                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
24487                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
24488                 .ctext  = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
24489                           "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
24490                           "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
24491                           "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
24492                           "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
24493                           "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
24494                           "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
24495                           "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
24496                           "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
24497                           "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
24498                           "\x08\xda\x76\x00\x65\xcf\x7b\x31"
24499                           "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
24500                           "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
24501                           "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
24502                           "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
24503                           "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
24504                           "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
24505                           "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
24506                           "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
24507                           "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
24508                           "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
24509                           "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
24510                           "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
24511                           "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
24512                           "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
24513                           "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
24514                           "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
24515                           "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
24516                           "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
24517                           "\x16\x31\xb2\x47\x91\x67\xaa\x28"
24518                           "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
24519                           "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
24520                           "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
24521                           "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
24522                           "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
24523                           "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
24524                           "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
24525                           "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
24526                           "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
24527                           "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
24528                           "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
24529                           "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
24530                           "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
24531                           "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
24532                           "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
24533                           "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
24534                           "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
24535                           "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
24536                           "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
24537                           "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
24538                           "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
24539                           "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
24540                           "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
24541                           "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
24542                           "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
24543                           "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
24544                           "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
24545                           "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
24546                           "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
24547                           "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
24548                           "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
24549                           "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
24550                           "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
24551                           "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
24552                 .len    = 512,
24553         }, {
24554                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
24555                           "\x23\x53\x60\x28\x74\x71\x35\x26"
24556                           "\x62\x49\x77\x57\x24\x70\x93\x69"
24557                           "\x99\x59\x57\x49\x66\x96\x76\x27"
24558                           "\x31\x41\x59\x26\x53\x58\x97\x93"
24559                           "\x23\x84\x62\x64\x33\x83\x27\x95"
24560                           "\x02\x88\x41\x97\x16\x93\x99\x37"
24561                           "\x51\x05\x82\x09\x74\x94\x45\x92",
24562                 .klen   = 64,
24563                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
24564                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24565                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
24566                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24567                           "\x10\x11\x12\x13\x14\x15\x16\x17"
24568                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
24569                           "\x20\x21\x22\x23\x24\x25\x26\x27"
24570                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
24571                           "\x30\x31\x32\x33\x34\x35\x36\x37"
24572                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
24573                           "\x40\x41\x42\x43\x44\x45\x46\x47"
24574                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
24575                           "\x50\x51\x52\x53\x54\x55\x56\x57"
24576                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
24577                           "\x60\x61\x62\x63\x64\x65\x66\x67"
24578                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
24579                           "\x70\x71\x72\x73\x74\x75\x76\x77"
24580                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
24581                           "\x80\x81\x82\x83\x84\x85\x86\x87"
24582                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24583                           "\x90\x91\x92\x93\x94\x95\x96\x97"
24584                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
24585                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
24586                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
24587                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
24588                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
24589                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
24590                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
24591                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
24592                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
24593                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
24594                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
24595                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
24596                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
24597                           "\x00\x01\x02\x03\x04\x05\x06\x07"
24598                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24599                           "\x10\x11\x12\x13\x14\x15\x16\x17"
24600                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
24601                           "\x20\x21\x22\x23\x24\x25\x26\x27"
24602                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
24603                           "\x30\x31\x32\x33\x34\x35\x36\x37"
24604                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
24605                           "\x40\x41\x42\x43\x44\x45\x46\x47"
24606                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
24607                           "\x50\x51\x52\x53\x54\x55\x56\x57"
24608                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
24609                           "\x60\x61\x62\x63\x64\x65\x66\x67"
24610                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
24611                           "\x70\x71\x72\x73\x74\x75\x76\x77"
24612                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
24613                           "\x80\x81\x82\x83\x84\x85\x86\x87"
24614                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24615                           "\x90\x91\x92\x93\x94\x95\x96\x97"
24616                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
24617                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
24618                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
24619                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
24620                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
24621                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
24622                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
24623                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
24624                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
24625                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
24626                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
24627                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
24628                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
24629                 .ctext  = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
24630                           "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
24631                           "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
24632                           "\xf1\x74\xac\x96\x05\x7b\x32\xca"
24633                           "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
24634                           "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
24635                           "\x97\x07\x82\xf0\x07\x12\x38\x0a"
24636                           "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
24637                           "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
24638                           "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
24639                           "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
24640                           "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
24641                           "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
24642                           "\x41\x82\x0c\x45\x39\x35\xa8\x75"
24643                           "\x03\x29\x01\x84\x8c\xab\x48\xbe"
24644                           "\x11\x56\x22\x67\xb7\x67\x1a\x09"
24645                           "\xa1\x72\x25\x41\x3c\x39\x65\x80"
24646                           "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
24647                           "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
24648                           "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
24649                           "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
24650                           "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
24651                           "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
24652                           "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
24653                           "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
24654                           "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
24655                           "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
24656                           "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
24657                           "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
24658                           "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
24659                           "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
24660                           "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
24661                           "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
24662                           "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
24663                           "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
24664                           "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
24665                           "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
24666                           "\xef\x38\x52\x18\x0e\x29\x7e\xef"
24667                           "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
24668                           "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
24669                           "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
24670                           "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
24671                           "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
24672                           "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
24673                           "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
24674                           "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
24675                           "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
24676                           "\x21\x17\xf8\x59\x15\x24\x64\x22"
24677                           "\x57\x48\x80\xd5\x3d\x92\x30\x07"
24678                           "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
24679                           "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
24680                           "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
24681                           "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
24682                           "\x6b\x84\xf3\x00\xba\x52\x05\x02"
24683                           "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
24684                           "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
24685                           "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
24686                           "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
24687                           "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
24688                           "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
24689                           "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
24690                           "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
24691                           "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
24692                           "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
24693                 .len    = 512,
24694         },
24695 };
24696
24697 /*
24698  * SEED test vectors
24699  */
24700 static const struct cipher_testvec seed_tv_template[] = {
24701         {
24702                 .key    = zeroed_string,
24703                 .klen   = 16,
24704                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
24705                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
24706                 .ctext  = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
24707                           "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
24708                 .len    = 16,
24709         }, {
24710                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
24711                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
24712                 .klen   = 16,
24713                 .ptext  = zeroed_string,
24714                 .ctext  = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
24715                           "\x84\x48\x35\x97\xe4\x37\x0f\x43",
24716                 .len    = 16,
24717         }, {
24718                 .key    = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
24719                           "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
24720                 .klen   = 16,
24721                 .ptext  = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
24722                           "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
24723                 .ctext  = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
24724                           "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
24725                 .len    = 16,
24726         }, {
24727                 .key    = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
24728                           "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
24729                 .klen   = 16,
24730                 .ptext  = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
24731                           "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
24732                 .ctext  = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
24733                           "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
24734                 .len    = 16,
24735         }
24736 };
24737
24738 static const struct cipher_testvec salsa20_stream_tv_template[] = {
24739         /*
24740         * Testvectors from verified.test-vectors submitted to ECRYPT.
24741         * They are truncated to size 39, 64, 111, 129 to test a variety
24742         * of input length.
24743         */
24744         { /* Set 3, vector 0 */
24745                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
24746                         "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
24747                 .klen   = 16,
24748                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
24749                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
24750                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24751                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24752                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24753                         "\x00\x00\x00\x00\x00\x00\x00",
24754                 .ctext  = "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
24755                          "\x68\x02\x41\x0C\x68\x86\x88\x89"
24756                          "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
24757                          "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
24758                          "\x58\x3F\x52\x79\x70\xEB\xC1",
24759                 .len    = 39,
24760         }, { /* Set 5, vector 0 */
24761                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
24762                         "\x00\x00\x00\x00\x00\x00\x00\x00",
24763                 .klen   = 16,
24764                 .iv     = "\x80\x00\x00\x00\x00\x00\x00\x00",
24765                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
24766                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24767                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24768                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24769                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24770                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24771                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24772                         "\x00\x00\x00\x00\x00\x00\x00\x00",
24773                 .ctext  = "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
24774                          "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
24775                          "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
24776                          "\x46\x26\xBF\x44\x3F\x21\x97\x76"
24777                          "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
24778                          "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
24779                          "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
24780                          "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
24781                 .len    = 64,
24782         }, { /* Set 3, vector 27 */
24783                 .key    = "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
24784                         "\x23\x24\x25\x26\x27\x28\x29\x2A"
24785                         "\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
24786                         "\x33\x34\x35\x36\x37\x38\x39\x3A",
24787                 .klen   = 32,
24788                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
24789                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
24790                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24791                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24792                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24793                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24794                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24795                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24796                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24797                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24798                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24799                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24800                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24801                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24802                         "\x00\x00\x00\x00\x00\x00\x00",
24803                 .ctext  = "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
24804                          "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
24805                          "\x87\xD9\x47\xF8\x28\x91\x35\x98"
24806                          "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
24807                          "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
24808                          "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
24809                          "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
24810                          "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
24811                          "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
24812                          "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
24813                          "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
24814                          "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
24815                          "\x95\x46\x45\x54\xE9\x75\x03\x08"
24816                          "\x44\xAF\xE5\x8A\x81\x12\x09",
24817                 .len    = 111,
24818         }, { /* Set 5, vector 27 */
24819                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
24820                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24821                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24822                         "\x00\x00\x00\x00\x00\x00\x00\x00",
24823                 .klen   = 32,
24824                 .iv     = "\x00\x00\x00\x10\x00\x00\x00\x00",
24825                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
24826                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24827                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24828                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24829                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24830                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24831                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24832                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24833                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24834                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24835                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24836                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24837                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24838                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24839                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24840                         "\x00\x00\x00\x00\x00\x00\x00\x00"
24841                         "\x00",
24842                 .ctext  = "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
24843                          "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
24844                          "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
24845                          "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
24846                          "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
24847                          "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
24848                          "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
24849                          "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
24850                          "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
24851                          "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
24852                          "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
24853                          "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
24854                          "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
24855                          "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
24856                          "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
24857                          "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
24858                          "\x5A",
24859                 .len    = 129,
24860         }, { /* large test vector generated using Crypto++ */
24861                 .key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
24862                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24863                         "\x10\x11\x12\x13\x14\x15\x16\x17"
24864                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
24865                 .klen = 32,
24866                 .iv =   "\x00\x00\x00\x00\x00\x00\x00\x00"
24867                         "\x00\x00\x00\x00\x00\x00\x00\x00",
24868                 .ptext =
24869                         "\x00\x01\x02\x03\x04\x05\x06\x07"
24870                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24871                         "\x10\x11\x12\x13\x14\x15\x16\x17"
24872                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
24873                         "\x20\x21\x22\x23\x24\x25\x26\x27"
24874                         "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
24875                         "\x30\x31\x32\x33\x34\x35\x36\x37"
24876                         "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
24877                         "\x40\x41\x42\x43\x44\x45\x46\x47"
24878                         "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
24879                         "\x50\x51\x52\x53\x54\x55\x56\x57"
24880                         "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
24881                         "\x60\x61\x62\x63\x64\x65\x66\x67"
24882                         "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
24883                         "\x70\x71\x72\x73\x74\x75\x76\x77"
24884                         "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
24885                         "\x80\x81\x82\x83\x84\x85\x86\x87"
24886                         "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24887                         "\x90\x91\x92\x93\x94\x95\x96\x97"
24888                         "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
24889                         "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
24890                         "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
24891                         "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
24892                         "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
24893                         "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
24894                         "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
24895                         "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
24896                         "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
24897                         "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
24898                         "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
24899                         "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
24900                         "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
24901                         "\x00\x03\x06\x09\x0c\x0f\x12\x15"
24902                         "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
24903                         "\x30\x33\x36\x39\x3c\x3f\x42\x45"
24904                         "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
24905                         "\x60\x63\x66\x69\x6c\x6f\x72\x75"
24906                         "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
24907                         "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
24908                         "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
24909                         "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
24910                         "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
24911                         "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
24912                         "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
24913                         "\x20\x23\x26\x29\x2c\x2f\x32\x35"
24914                         "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
24915                         "\x50\x53\x56\x59\x5c\x5f\x62\x65"
24916                         "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
24917                         "\x80\x83\x86\x89\x8c\x8f\x92\x95"
24918                         "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
24919                         "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
24920                         "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
24921                         "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
24922                         "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
24923                         "\x10\x13\x16\x19\x1c\x1f\x22\x25"
24924                         "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
24925                         "\x40\x43\x46\x49\x4c\x4f\x52\x55"
24926                         "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
24927                         "\x70\x73\x76\x79\x7c\x7f\x82\x85"
24928                         "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
24929                         "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
24930                         "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
24931                         "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
24932                         "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
24933                         "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
24934                         "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
24935                         "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
24936                         "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
24937                         "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
24938                         "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
24939                         "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
24940                         "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
24941                         "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
24942                         "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
24943                         "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
24944                         "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
24945                         "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
24946                         "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
24947                         "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
24948                         "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
24949                         "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
24950                         "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
24951                         "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
24952                         "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
24953                         "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
24954                         "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
24955                         "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
24956                         "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
24957                         "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
24958                         "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
24959                         "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
24960                         "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
24961                         "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
24962                         "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
24963                         "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
24964                         "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
24965                         "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
24966                         "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
24967                         "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
24968                         "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
24969                         "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
24970                         "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
24971                         "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
24972                         "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
24973                         "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
24974                         "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
24975                         "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
24976                         "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
24977                         "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
24978                         "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
24979                         "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
24980                         "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
24981                         "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
24982                         "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
24983                         "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
24984                         "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
24985                         "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
24986                         "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
24987                         "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
24988                         "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
24989                         "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
24990                         "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
24991                         "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
24992                         "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
24993                         "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
24994                         "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
24995                         "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
24996                         "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
24997                         "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
24998                         "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
24999                         "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
25000                         "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
25001                         "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
25002                         "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
25003                         "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
25004                         "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
25005                         "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
25006                         "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
25007                         "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
25008                         "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
25009                         "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
25010                         "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
25011                         "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
25012                         "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
25013                         "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
25014                         "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
25015                         "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
25016                         "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
25017                         "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
25018                         "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
25019                         "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
25020                         "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
25021                         "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
25022                         "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
25023                         "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
25024                         "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
25025                         "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
25026                         "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
25027                         "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
25028                         "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
25029                         "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
25030                         "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
25031                         "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
25032                         "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
25033                         "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
25034                         "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
25035                         "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
25036                         "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
25037                         "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
25038                         "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
25039                         "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
25040                         "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
25041                         "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
25042                         "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
25043                         "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
25044                         "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
25045                         "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
25046                         "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
25047                         "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
25048                         "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
25049                         "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
25050                         "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
25051                         "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
25052                         "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
25053                         "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
25054                         "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
25055                         "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
25056                         "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
25057                         "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
25058                         "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
25059                         "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
25060                         "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
25061                         "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
25062                         "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
25063                         "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
25064                         "\x38\x45\x52\x5f\x6c\x79\x86\x93"
25065                         "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
25066                         "\x08\x15\x22\x2f\x3c\x49\x56\x63"
25067                         "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
25068                         "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
25069                         "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
25070                         "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
25071                         "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
25072                         "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
25073                         "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
25074                         "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
25075                         "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
25076                         "\x18\x25\x32\x3f\x4c\x59\x66\x73"
25077                         "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
25078                         "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
25079                         "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
25080                         "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
25081                         "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
25082                         "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
25083                         "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
25084                         "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
25085                         "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
25086                         "\x28\x35\x42\x4f\x5c\x69\x76\x83"
25087                         "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
25088                         "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
25089                         "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
25090                         "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
25091                         "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
25092                         "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
25093                         "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
25094                         "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
25095                         "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
25096                         "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
25097                         "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
25098                         "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
25099                         "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
25100                         "\x48\x57\x66\x75\x84\x93\xa2\xb1"
25101                         "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
25102                         "\x38\x47\x56\x65\x74\x83\x92\xa1"
25103                         "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
25104                         "\x28\x37\x46\x55\x64\x73\x82\x91"
25105                         "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
25106                         "\x18\x27\x36\x45\x54\x63\x72\x81"
25107                         "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
25108                         "\x08\x17\x26\x35\x44\x53\x62\x71"
25109                         "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
25110                         "\xf8\x07\x16\x25\x34\x43\x52\x61"
25111                         "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
25112                         "\xe8\xf7\x06\x15\x24\x33\x42\x51"
25113                         "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
25114                         "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
25115                         "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
25116                         "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
25117                         "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
25118                         "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
25119                         "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
25120                         "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
25121                         "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
25122                         "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
25123                         "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
25124                         "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
25125                         "\x00\x11\x22\x33\x44\x55\x66\x77"
25126                         "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
25127                         "\x10\x21\x32\x43\x54\x65\x76\x87"
25128                         "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
25129                         "\x20\x31\x42\x53\x64\x75\x86\x97"
25130                         "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
25131                         "\x30\x41\x52\x63\x74\x85\x96\xa7"
25132                         "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
25133                         "\x40\x51\x62\x73\x84\x95\xa6\xb7"
25134                         "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
25135                         "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
25136                         "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
25137                         "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
25138                         "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
25139                         "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
25140                         "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
25141                         "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
25142                         "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
25143                         "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
25144                         "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
25145                         "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
25146                         "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
25147                         "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
25148                         "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
25149                         "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
25150                         "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
25151                         "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
25152                         "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
25153                         "\xe0\xf1\x02\x13\x24\x35\x46\x57"
25154                         "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
25155                         "\xf0\x01\x12\x23\x34\x45\x56\x67"
25156                         "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
25157                         "\x00\x13\x26\x39\x4c\x5f\x72\x85"
25158                         "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
25159                         "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
25160                         "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
25161                         "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
25162                         "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
25163                         "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
25164                         "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
25165                         "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
25166                         "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
25167                         "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
25168                         "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
25169                         "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
25170                         "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
25171                         "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
25172                         "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
25173                         "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
25174                         "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
25175                         "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
25176                         "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
25177                         "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
25178                         "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
25179                         "\x10\x23\x36\x49\x5c\x6f\x82\x95"
25180                         "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
25181                         "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
25182                         "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
25183                         "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
25184                         "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
25185                         "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
25186                         "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
25187                         "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
25188                         "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
25189                         "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
25190                         "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
25191                         "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
25192                         "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
25193                         "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
25194                         "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
25195                         "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
25196                         "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
25197                         "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
25198                         "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
25199                         "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
25200                         "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
25201                         "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
25202                         "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
25203                         "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
25204                         "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
25205                         "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
25206                         "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
25207                         "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
25208                         "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
25209                         "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
25210                         "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
25211                         "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
25212                         "\x18\x2d\x42\x57\x6c\x81\x96\xab"
25213                         "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
25214                         "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
25215                         "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
25216                         "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
25217                         "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
25218                         "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
25219                         "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
25220                         "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
25221                         "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
25222                         "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
25223                         "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
25224                         "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
25225                         "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
25226                         "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
25227                         "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
25228                         "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
25229                         "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
25230                         "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
25231                         "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
25232                         "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
25233                         "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
25234                         "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
25235                         "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
25236                         "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
25237                         "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
25238                         "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
25239                         "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
25240                         "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
25241                         "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
25242                         "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
25243                         "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
25244                         "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
25245                         "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
25246                         "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
25247                         "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
25248                         "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
25249                         "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
25250                         "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
25251                         "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
25252                         "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
25253                         "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
25254                         "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
25255                         "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
25256                         "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
25257                         "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
25258                         "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
25259                         "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
25260                         "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
25261                         "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
25262                         "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
25263                         "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
25264                         "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
25265                         "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
25266                         "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
25267                         "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
25268                         "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
25269                         "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
25270                         "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
25271                         "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
25272                         "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
25273                         "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
25274                         "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
25275                         "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
25276                         "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
25277                         "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
25278                         "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
25279                         "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
25280                         "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
25281                         "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
25282                         "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
25283                         "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
25284                         "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
25285                         "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
25286                         "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
25287                         "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
25288                         "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
25289                         "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
25290                         "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
25291                         "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
25292                         "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
25293                         "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
25294                         "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
25295                         "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
25296                         "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
25297                         "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
25298                         "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
25299                         "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
25300                         "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
25301                         "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
25302                         "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
25303                         "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
25304                         "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
25305                         "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
25306                         "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
25307                         "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
25308                         "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
25309                         "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
25310                         "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
25311                         "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
25312                         "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
25313                         "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
25314                         "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
25315                         "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
25316                         "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
25317                         "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
25318                         "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
25319                         "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
25320                         "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
25321                         "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
25322                         "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
25323                         "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
25324                         "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
25325                         "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
25326                         "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
25327                         "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
25328                         "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
25329                         "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
25330                         "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
25331                         "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
25332                         "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
25333                         "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
25334                         "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
25335                         "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
25336                         "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
25337                         "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
25338                         "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
25339                         "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
25340                         "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
25341                         "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
25342                         "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
25343                         "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
25344                         "\x78\x95\xb2\xcf\xec\x09\x26\x43"
25345                         "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
25346                         "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
25347                         "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
25348                         "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
25349                         "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
25350                         "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
25351                         "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
25352                         "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
25353                         "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
25354                         "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
25355                         "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
25356                         "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
25357                         "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
25358                         "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
25359                         "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
25360                         "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
25361                         "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
25362                         "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
25363                         "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
25364                         "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
25365                         "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
25366                         "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
25367                         "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
25368                         "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
25369                         "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
25370                         "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
25371                         "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
25372                         "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
25373                         "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
25374                         "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
25375                         "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
25376                         "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
25377                         "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
25378                         "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
25379                         "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
25380                         "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
25381                         "\x00\x21\x42\x63",
25382                 .ctext =
25383                         "\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
25384                         "\x4c\x13\xf2\x77\x18\x60\x65\x5e"
25385                         "\x29\x01\xce\x98\x55\x53\xf9\x0c"
25386                         "\x2a\x08\xd5\x09\xb3\x57\x55\x56"
25387                         "\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
25388                         "\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
25389                         "\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
25390                         "\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
25391                         "\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
25392                         "\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
25393                         "\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
25394                         "\xbb\xde\x56\x86\xab\x65\x21\x30"
25395                         "\x00\x84\x65\x24\xa5\x7d\x85\xb4"
25396                         "\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
25397                         "\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
25398                         "\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
25399                         "\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
25400                         "\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
25401                         "\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
25402                         "\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
25403                         "\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
25404                         "\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
25405                         "\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
25406                         "\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
25407                         "\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
25408                         "\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
25409                         "\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
25410                         "\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
25411                         "\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
25412                         "\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
25413                         "\x45\xff\x3f\xce\x55\xf6\x95\x10"
25414                         "\x08\x77\x10\x43\xc6\xf3\x09\xe5"
25415                         "\x68\xe7\x3c\xad\x00\x52\x45\x0d"
25416                         "\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
25417                         "\xe6\x25\xae\x98\x12\x8e\x19\x9c"
25418                         "\x81\x68\xb1\x11\xf6\x69\xda\xe3"
25419                         "\x62\x08\x18\x7a\x25\x49\x28\xac"
25420                         "\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
25421                         "\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
25422                         "\x98\xf3\x02\x68\x55\x03\x7f\x8a"
25423                         "\xe5\x94\x0c\x32\x5c\x07\x82\x63"
25424                         "\xaf\x6f\x91\x40\x84\x8e\x52\x25"
25425                         "\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
25426                         "\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
25427                         "\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
25428                         "\x15\x47\xc7\x50\x40\x6d\x91\xc5"
25429                         "\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
25430                         "\x33\xee\x14\x19\x22\x52\x89\xa7"
25431                         "\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
25432                         "\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
25433                         "\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
25434                         "\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
25435                         "\xca\x88\x63\x3d\x02\x58\x6b\xa9"
25436                         "\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
25437                         "\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
25438                         "\x04\x07\x08\x52\xe6\xc0\xda\x93"
25439                         "\x74\x7d\x93\x99\x5d\x78\x68\xa6"
25440                         "\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
25441                         "\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
25442                         "\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
25443                         "\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
25444                         "\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
25445                         "\x54\x26\x72\x9e\x61\xfa\x86\xcf"
25446                         "\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
25447                         "\x5a\x90\xae\x75\x0a\x74\x18\x89"
25448                         "\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
25449                         "\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
25450                         "\xe8\xfe\x63\x95\x80\x07\xb4\x26"
25451                         "\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
25452                         "\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
25453                         "\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
25454                         "\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
25455                         "\x33\xe6\x69\xf4\x45\x25\x86\x3a"
25456                         "\x22\x94\x4f\x00\x23\x6a\x44\xc2"
25457                         "\x49\x97\x33\xab\x36\x14\x0a\x70"
25458                         "\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
25459                         "\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
25460                         "\x94\xf4\x41\x49\xba\x5f\x7b\x07"
25461                         "\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
25462                         "\xc2\x2e\x37\x40\x49\xc3\x38\x16"
25463                         "\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
25464                         "\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
25465                         "\x47\x13\x28\x73\x3c\xbb\x00\x90"
25466                         "\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
25467                         "\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
25468                         "\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
25469                         "\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
25470                         "\xad\x04\x07\xae\x22\x90\x4a\x93"
25471                         "\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
25472                         "\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
25473                         "\x2a\x3d\x45\xfe\x03\x61\x10\x85"
25474                         "\x17\x69\xa6\x78\xcc\x6c\x87\x49"
25475                         "\x53\xf9\x80\x10\xde\x80\xa2\x41"
25476                         "\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
25477                         "\x00\x71\x51\x06\xa7\xbd\xfb\xef"
25478                         "\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
25479                         "\x66\xb0\x49\x23\xc4\x47\x10\x0e"
25480                         "\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
25481                         "\xde\xff\x07\x44\xdd\x56\x1b\xad"
25482                         "\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
25483                         "\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
25484                         "\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
25485                         "\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
25486                         "\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
25487                         "\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
25488                         "\x07\x37\x91\x9f\xfd\x67\x50\x3a"
25489                         "\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
25490                         "\xf9\xe5\x39\xa3\x31\xac\x07\x36"
25491                         "\x23\xf8\x66\x18\x14\x28\x34\x0f"
25492                         "\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
25493                         "\x01\x41\xb2\x75\x8d\xcb\x96\x85"
25494                         "\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
25495                         "\x44\x1f\xc0\x14\x22\x75\x61\xe8"
25496                         "\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
25497                         "\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
25498                         "\x57\x50\xdb\x17\x41\x65\x4d\xa3"
25499                         "\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
25500                         "\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
25501                         "\x13\x3b\xfa\x29\xda\x9e\x54\x64"
25502                         "\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
25503                         "\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
25504                         "\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
25505                         "\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
25506                         "\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
25507                         "\xca\x8e\x61\x87\xde\xad\x80\xd2"
25508                         "\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
25509                         "\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
25510                         "\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
25511                         "\x97\x8a\x19\x89\x44\x40\xc0\xa6"
25512                         "\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
25513                         "\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
25514                         "\x28\x99\xad\x2c\x76\xa3\x78\xc2"
25515                         "\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
25516                         "\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
25517                         "\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
25518                         "\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
25519                         "\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
25520                         "\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
25521                         "\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
25522                         "\x13\x36\x79\x80\x53\xe8\xd3\xa6"
25523                         "\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
25524                         "\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
25525                         "\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
25526                         "\xac\x26\x80\x14\x1d\xc8\x3a\x35"
25527                         "\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
25528                         "\x35\x58\x79\x8e\x0f\x66\xea\xaf"
25529                         "\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
25530                         "\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
25531                         "\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
25532                         "\x54\xda\x24\x6a\xc4\x41\x65\x46"
25533                         "\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
25534                         "\x2c\x91\xa7\xee\xc4\x81\x07\x86"
25535                         "\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
25536                         "\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
25537                         "\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
25538                         "\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
25539                         "\xbd\x43\xea\x15\x23\x7f\xb9\xac"
25540                         "\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
25541                         "\xf3\x19\x31\xbb\x4a\x74\x84\x17"
25542                         "\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
25543                         "\x80\x38\x15\x52\xcb\x6f\xea\xe5"
25544                         "\x73\x9c\xd9\x24\x69\xc6\x95\x32"
25545                         "\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
25546                         "\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
25547                         "\x31\xdd\x93\x75\x78\x8a\x2c\x94"
25548                         "\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
25549                         "\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
25550                         "\xef\xcc\xa7\xec\xab\x43\x09\x18"
25551                         "\xd3\xab\x68\xd1\x07\x99\x44\x47"
25552                         "\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
25553                         "\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
25554                         "\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
25555                         "\x02\x7c\x86\x54\xbc\x88\xaf\x75"
25556                         "\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
25557                         "\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
25558                         "\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
25559                         "\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
25560                         "\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
25561                         "\x71\x6e\x9f\x58\x15\x67\x72\x87"
25562                         "\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
25563                         "\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
25564                         "\xba\x41\x54\xac\xf0\xfc\x59\x12"
25565                         "\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
25566                         "\x62\x8d\x83\x2c\x03\xbe\x05\x76"
25567                         "\x2e\x53\x49\x97\x94\x33\xae\x40"
25568                         "\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
25569                         "\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
25570                         "\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
25571                         "\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
25572                         "\xce\x87\xad\xcc\x72\x05\x00\x29"
25573                         "\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
25574                         "\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
25575                         "\x5c\x50\x79\x2a\x56\x56\x71\x8c"
25576                         "\xac\xc0\x79\x50\x69\xca\x59\x32"
25577                         "\x65\xf2\x54\xe4\x52\x38\x76\xd1"
25578                         "\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
25579                         "\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
25580                         "\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
25581                         "\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
25582                         "\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
25583                         "\x05\x68\x6b\xab\xe3\x41\x49\xed"
25584                         "\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
25585                         "\x59\xc9\x26\x8b\xef\x30\x4c\x88"
25586                         "\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
25587                         "\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
25588                         "\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
25589                         "\xc0\x12\x23\x5f\x5a\x78\x86\x43"
25590                         "\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
25591                         "\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
25592                         "\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
25593                         "\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
25594                         "\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
25595                         "\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
25596                         "\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
25597                         "\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
25598                         "\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
25599                         "\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
25600                         "\xaf\xf1\x85\x75\x7d\x03\x61\x68"
25601                         "\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
25602                         "\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
25603                         "\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
25604                         "\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
25605                         "\x85\x75\xe6\x43\xf6\x87\x08\x68"
25606                         "\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
25607                         "\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
25608                         "\x33\x47\x80\x45\x56\xa3\xa7\xd7"
25609                         "\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
25610                         "\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
25611                         "\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
25612                         "\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
25613                         "\xaf\x55\xeb\x22\xac\x93\x68\x32"
25614                         "\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
25615                         "\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
25616                         "\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
25617                         "\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
25618                         "\x78\xf1\x2d\x50\x12\x77\xa8\x60"
25619                         "\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
25620                         "\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
25621                         "\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
25622                         "\x11\x16\x8f\xa2\xec\x47\xbe\xac"
25623                         "\x56\x01\x26\x56\xb1\x8c\xb2\x10"
25624                         "\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
25625                         "\x63\xf1\x69\x20\x4f\x13\x12\x1f"
25626                         "\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
25627                         "\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
25628                         "\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
25629                         "\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
25630                         "\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
25631                         "\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
25632                         "\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
25633                         "\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
25634                         "\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
25635                         "\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
25636                         "\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
25637                         "\x38\x55\xab\x33\x26\xef\x9f\x43"
25638                         "\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
25639                         "\x58\x09\x09\x1b\xc3\x65\x46\x46"
25640                         "\x1d\xa7\x94\x18\x23\x50\x2c\xca"
25641                         "\x2c\x55\x19\x97\x01\x9d\x93\x3b"
25642                         "\x63\x86\xf2\x03\x67\x45\xd2\x72"
25643                         "\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
25644                         "\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
25645                         "\x2b\x82\x39\xbd\x69\x54\xed\x62"
25646                         "\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
25647                         "\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
25648                         "\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
25649                         "\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
25650                         "\x98\x65\x85\xd1\x93\x53\xd3\x7b"
25651                         "\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
25652                         "\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
25653                         "\x84\x74\x15\x65\xb7\xf7\x51\xaf"
25654                         "\x55\xad\xa4\xd1\x22\x54\x70\x94"
25655                         "\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
25656                         "\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
25657                         "\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
25658                         "\x62\x36\x43\xb2\x82\x15\x75\x50"
25659                         "\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
25660                         "\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
25661                         "\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
25662                         "\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
25663                         "\x83\xcb\x72\xd0\x33\x79\x00\x2d"
25664                         "\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
25665                         "\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
25666                         "\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
25667                         "\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
25668                         "\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
25669                         "\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
25670                         "\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
25671                         "\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
25672                         "\xe9\xfd\x59\x14\x36\x49\x40\x6d"
25673                         "\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
25674                         "\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
25675                         "\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
25676                         "\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
25677                         "\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
25678                         "\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
25679                         "\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
25680                         "\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
25681                         "\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
25682                         "\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
25683                         "\x29\x06\x9d\xa4\x51\x3a\x10\x63"
25684                         "\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
25685                         "\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
25686                         "\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
25687                         "\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
25688                         "\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
25689                         "\x37\xa9\x64\x08\x4d\x94\x5a\x88"
25690                         "\xca\x35\xce\x81\x02\xe3\x1f\x1b"
25691                         "\x89\x1a\x77\x85\xe3\x41\x6d\x32"
25692                         "\x42\x19\x23\x7d\xc8\x73\xee\x25"
25693                         "\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
25694                         "\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
25695                         "\x82\x36\x6a\x0c\x46\x22\x15\xe9"
25696                         "\xff\x72\x41\x91\x91\x7d\x3a\xb7"
25697                         "\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
25698                         "\x67\x15\x20\x11\xd6\xb2\x55\x7b"
25699                         "\xdb\x87\xee\xef\x55\x89\x2a\x59"
25700                         "\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
25701                         "\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
25702                         "\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
25703                         "\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
25704                         "\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
25705                         "\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
25706                         "\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
25707                         "\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
25708                         "\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
25709                         "\xae\xab\x86\x09\x89\xc9\xc2\x40"
25710                         "\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
25711                         "\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
25712                         "\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
25713                         "\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
25714                         "\xe3\xb1\x18\x45\x67\xf9\x22\x38"
25715                         "\x95\xd9\x34\x34\x86\xc6\x41\x94"
25716                         "\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
25717                         "\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
25718                         "\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
25719                         "\x09\x90\x0c\xa2\x65\x0c\xad\x74"
25720                         "\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
25721                         "\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
25722                         "\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
25723                         "\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
25724                         "\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
25725                         "\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
25726                         "\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
25727                         "\xa7\x33\x34\x86\xca\xe4\x96\x23"
25728                         "\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
25729                         "\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
25730                         "\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
25731                         "\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
25732                         "\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
25733                         "\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
25734                         "\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
25735                         "\xde\x59\xec\x71\xeb\x89\xbb\xd0"
25736                         "\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
25737                         "\xc3\x1c\xa1\x10\x77\x53\x98\xef"
25738                         "\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
25739                         "\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
25740                         "\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
25741                         "\x68\xc8\x7f\x51\x22\x42\xef\x49"
25742                         "\xa4\x55\xb6\x36\xac\x09\xc7\x31"
25743                         "\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
25744                         "\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
25745                         "\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
25746                         "\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
25747                         "\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
25748                         "\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
25749                         "\x73\x2e\x71\x79\x16\x06\x63\x28"
25750                         "\x09\x15\xd8\x89\x38\x38\x3d\xb5"
25751                         "\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
25752                         "\xc8\xca\xef\xf9\x27\xd8\x07\x86"
25753                         "\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
25754                         "\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
25755                         "\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
25756                         "\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
25757                         "\x87\x26\xec\x61\x2c\xb4\x0f\x89"
25758                         "\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
25759                         "\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
25760                         "\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
25761                         "\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
25762                         "\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
25763                         "\x94\x98\xe4\x12\x93\x4c\x92\xe0"
25764                         "\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
25765                         "\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
25766                         "\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
25767                         "\x19\x07\xaf\x90\x62\x5c\x68\x98"
25768                         "\x48\x16\x11\x02\x9d\xee\xb4\x9b"
25769                         "\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
25770                         "\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
25771                         "\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
25772                         "\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
25773                         "\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
25774                         "\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
25775                         "\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
25776                         "\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
25777                         "\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
25778                         "\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
25779                         "\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
25780                         "\xef\x2f\xce\x72\xe5\x24\x60\xc1"
25781                         "\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
25782                         "\x21\x33\x44\xfe\x7f\x35\x32\x93"
25783                         "\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
25784                         "\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
25785                         "\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
25786                         "\x64\xf0\x48\xe5\x57\x99\xee\x75"
25787                         "\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
25788                         "\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
25789                         "\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
25790                         "\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
25791                         "\x58\xa0\x58\x7d\x33\xe0\x22\x39"
25792                         "\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
25793                         "\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
25794                         "\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
25795                         "\x0c\x32\x4b\xb5\x49\x28\xab\x85"
25796                         "\x2f\x8e\x01\x36\x38\x52\xd0\xba"
25797                         "\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
25798                         "\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
25799                         "\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
25800                         "\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
25801                         "\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
25802                         "\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
25803                         "\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
25804                         "\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
25805                         "\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
25806                         "\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
25807                         "\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
25808                         "\x81\xe1\x86\x89\x3e\x56\x10\x3c"
25809                         "\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
25810                         "\x53\xec\xa7\x89\xee\xc8\x56\xb5"
25811                         "\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
25812                         "\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
25813                         "\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
25814                         "\x56\xf5\x4e\x01\x35\x27\x45\x77"
25815                         "\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
25816                         "\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
25817                         "\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
25818                         "\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
25819                         "\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
25820                         "\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
25821                         "\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
25822                         "\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
25823                         "\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
25824                         "\x23\xab\x23\x3c\xb2\x10\xa0\x53"
25825                         "\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
25826                         "\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
25827                         "\x0f\xd2\x98\x88\x81\x8b\x45\x67"
25828                         "\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
25829                         "\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
25830                         "\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
25831                         "\x87\x8f\x03\x21\x28\x95\x0c\x89"
25832                         "\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
25833                         "\x2f\x57\x6e\x18\x42\x19\x54\x0c"
25834                         "\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
25835                         "\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
25836                         "\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
25837                         "\x1b\x31\x05\xe1\x06\x92\xe7\xda"
25838                         "\x85\x73\x78\x45\x20\x7f\xae\x13"
25839                         "\x7c\x33\x06\x22\xf4\x83\xf9\x35"
25840                         "\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
25841                         "\xce\x8a\xba\xda\xbe\x28\x08\xf7"
25842                         "\xe2\x14\x8c\x71\xea\x72\xf9\x33"
25843                         "\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
25844                         "\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
25845                         "\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
25846                         "\x14\x1f\x6c\x68\x98\x39\x89\x7a"
25847                         "\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
25848                         "\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
25849                         "\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
25850                         "\x80\x99\xae\xbc\xca\xae\x0f\x2f"
25851                         "\x65\x43\x34\x8e\x7e\xac\xd3\x93"
25852                         "\x2f\xac\x6d\x14\x3d\x02\x07\x70"
25853                         "\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
25854                         "\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
25855                         "\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
25856                         "\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
25857                         "\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
25858                         "\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
25859                         "\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
25860                         "\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
25861                         "\x14\x89\x5e\x70\x5a\x99\x92\xcd"
25862                         "\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
25863                         "\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
25864                         "\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
25865                         "\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
25866                         "\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
25867                         "\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
25868                         "\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
25869                         "\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
25870                         "\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
25871                         "\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
25872                         "\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
25873                         "\x30\xbc\x22\x81\x7d\x93\x12\xe4"
25874                         "\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
25875                         "\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
25876                         "\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
25877                         "\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
25878                         "\x6e\x12\x17\x72\x63\x57\xc7\xba"
25879                         "\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
25880                         "\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
25881                         "\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
25882                         "\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
25883                         "\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
25884                         "\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
25885                         "\x0c\x24\x43\x31\x40\x57\xf1\x72"
25886                         "\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
25887                         "\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
25888                         "\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
25889                         "\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
25890                         "\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
25891                         "\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
25892                         "\x28\x72\x23\xa0\xc2\xad\xad\x1c"
25893                         "\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
25894                         "\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
25895                         "\xaf\xdf\x11\x95",
25896                 .len    = 4100,
25897         },
25898 };
25899
25900 static const struct cipher_testvec chacha20_tv_template[] = {
25901         { /* RFC7539 A.2. Test Vector #1 */
25902                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
25903                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25904                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25905                           "\x00\x00\x00\x00\x00\x00\x00\x00",
25906                 .klen   = 32,
25907                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
25908                           "\x00\x00\x00\x00\x00\x00\x00\x00",
25909                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
25910                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25911                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25912                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25913                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25914                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25915                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25916                           "\x00\x00\x00\x00\x00\x00\x00\x00",
25917                 .ctext  = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
25918                           "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
25919                           "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
25920                           "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
25921                           "\xda\x41\x59\x7c\x51\x57\x48\x8d"
25922                           "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
25923                           "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
25924                           "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
25925                 .len    = 64,
25926         }, { /* RFC7539 A.2. Test Vector #2 */
25927                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
25928                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25929                           "\x00\x00\x00\x00\x00\x00\x00\x00"
25930                           "\x00\x00\x00\x00\x00\x00\x00\x01",
25931                 .klen   = 32,
25932                 .iv     = "\x01\x00\x00\x00\x00\x00\x00\x00"
25933                           "\x00\x00\x00\x00\x00\x00\x00\x02",
25934                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
25935                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
25936                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
25937                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
25938                           "\x64\x65\x64\x20\x62\x79\x20\x74"
25939                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
25940                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
25941                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
25942                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
25943                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
25944                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
25945                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
25946                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
25947                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
25948                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
25949                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
25950                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
25951                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
25952                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
25953                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
25954                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
25955                           "\x45\x54\x46\x20\x61\x63\x74\x69"
25956                           "\x76\x69\x74\x79\x20\x69\x73\x20"
25957                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
25958                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
25959                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
25960                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
25961                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
25962                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
25963                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
25964                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
25965                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
25966                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
25967                           "\x54\x46\x20\x73\x65\x73\x73\x69"
25968                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
25969                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
25970                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
25971                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
25972                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
25973                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
25974                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
25975                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
25976                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
25977                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
25978                           "\x20\x77\x68\x69\x63\x68\x20\x61"
25979                           "\x72\x65\x20\x61\x64\x64\x72\x65"
25980                           "\x73\x73\x65\x64\x20\x74\x6f",
25981                 .ctext  = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
25982                           "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
25983                           "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
25984                           "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
25985                           "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
25986                           "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
25987                           "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
25988                           "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
25989                           "\x40\x42\xe0\x27\x85\xec\xec\xfa"
25990                           "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
25991                           "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
25992                           "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
25993                           "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
25994                           "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
25995                           "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
25996                           "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
25997                           "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
25998                           "\xd6\x62\xab\x05\x26\x91\xca\x66"
25999                           "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
26000                           "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
26001                           "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
26002                           "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
26003                           "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
26004                           "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
26005                           "\x08\x71\xcd\xac\x63\x89\x39\xe2"
26006                           "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
26007                           "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
26008                           "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
26009                           "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
26010                           "\x37\x20\xfc\x88\xdc\x95\xed\x84"
26011                           "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
26012                           "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
26013                           "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
26014                           "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
26015                           "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
26016                           "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
26017                           "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
26018                           "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
26019                           "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
26020                           "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
26021                           "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
26022                           "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
26023                           "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
26024                           "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
26025                           "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
26026                           "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
26027                           "\xc4\xfd\x80\x6c\x22\xf2\x21",
26028                 .len    = 375,
26029
26030         }, { /* RFC7539 A.2. Test Vector #3 */
26031                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
26032                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
26033                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
26034                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
26035                 .klen   = 32,
26036                 .iv     = "\x2a\x00\x00\x00\x00\x00\x00\x00"
26037                           "\x00\x00\x00\x00\x00\x00\x00\x02",
26038                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
26039                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
26040                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
26041                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
26042                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
26043                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
26044                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
26045                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
26046                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
26047                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
26048                           "\x65\x72\x65\x20\x74\x68\x65\x20"
26049                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
26050                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
26051                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
26052                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
26053                           "\x74\x67\x72\x61\x62\x65\x2e",
26054                 .ctext  = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
26055                           "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
26056                           "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
26057                           "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
26058                           "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
26059                           "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
26060                           "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
26061                           "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
26062                           "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
26063                           "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
26064                           "\x1a\x55\x32\x05\x57\x16\xea\xd6"
26065                           "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
26066                           "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
26067                           "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
26068                           "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
26069                           "\x75\x7a\x79\x7a\xc1\x88\xd1",
26070                 .len    = 127,
26071         }, { /* Self-made test vector for long data */
26072                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
26073                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
26074                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
26075                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
26076                 .klen   = 32,
26077                 .iv     = "\x1c\x00\x00\x00\x00\x00\x00\x00"
26078                           "\x00\x00\x00\x00\x00\x00\x00\x01",
26079                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
26080                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
26081                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
26082                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
26083                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
26084                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
26085                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
26086                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
26087                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
26088                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
26089                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
26090                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
26091                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
26092                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
26093                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
26094                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
26095                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
26096                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
26097                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
26098                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
26099                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
26100                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
26101                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
26102                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
26103                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
26104                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
26105                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
26106                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
26107                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
26108                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
26109                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
26110                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
26111                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
26112                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
26113                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
26114                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
26115                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
26116                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
26117                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
26118                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
26119                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
26120                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
26121                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
26122                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
26123                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
26124                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
26125                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
26126                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
26127                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
26128                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
26129                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
26130                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
26131                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
26132                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
26133                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
26134                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
26135                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
26136                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
26137                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
26138                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
26139                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
26140                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
26141                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
26142                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
26143                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
26144                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
26145                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
26146                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
26147                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
26148                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
26149                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
26150                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
26151                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
26152                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
26153                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
26154                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
26155                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
26156                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
26157                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
26158                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
26159                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
26160                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
26161                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
26162                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
26163                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
26164                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
26165                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
26166                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
26167                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
26168                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
26169                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
26170                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
26171                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
26172                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
26173                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
26174                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
26175                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
26176                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
26177                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
26178                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
26179                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
26180                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
26181                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
26182                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
26183                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
26184                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
26185                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
26186                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
26187                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
26188                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
26189                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
26190                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
26191                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
26192                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
26193                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
26194                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
26195                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
26196                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
26197                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
26198                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
26199                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
26200                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
26201                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
26202                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
26203                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
26204                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
26205                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
26206                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
26207                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
26208                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
26209                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
26210                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
26211                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
26212                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
26213                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
26214                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
26215                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
26216                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
26217                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
26218                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
26219                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
26220                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
26221                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
26222                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
26223                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
26224                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
26225                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
26226                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
26227                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
26228                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
26229                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
26230                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
26231                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
26232                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
26233                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
26234                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
26235                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
26236                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
26237                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
26238                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
26239                           "\x72",
26240                 .ctext  = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
26241                           "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
26242                           "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
26243                           "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
26244                           "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
26245                           "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
26246                           "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
26247                           "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
26248                           "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
26249                           "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
26250                           "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
26251                           "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
26252                           "\x33\x4a\x71\x15\xfe\xee\x12\x54"
26253                           "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
26254                           "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
26255                           "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
26256                           "\x57\x0e\x94\x17\x26\x39\xbb\x54"
26257                           "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
26258                           "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
26259                           "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
26260                           "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
26261                           "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
26262                           "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
26263                           "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
26264                           "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
26265                           "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
26266                           "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
26267                           "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
26268                           "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
26269                           "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
26270                           "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
26271                           "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
26272                           "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
26273                           "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
26274                           "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
26275                           "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
26276                           "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
26277                           "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
26278                           "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
26279                           "\xae\xe7\x61\x32\xef\x41\x6c\x75"
26280                           "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
26281                           "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
26282                           "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
26283                           "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
26284                           "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
26285                           "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
26286                           "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
26287                           "\xc1\x22\xf3\x79\xae\x95\x78\x66"
26288                           "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
26289                           "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
26290                           "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
26291                           "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
26292                           "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
26293                           "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
26294                           "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
26295                           "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
26296                           "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
26297                           "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
26298                           "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
26299                           "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
26300                           "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
26301                           "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
26302                           "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
26303                           "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
26304                           "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
26305                           "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
26306                           "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
26307                           "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
26308                           "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
26309                           "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
26310                           "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
26311                           "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
26312                           "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
26313                           "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
26314                           "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
26315                           "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
26316                           "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
26317                           "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
26318                           "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
26319                           "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
26320                           "\x54\x1c\x34\x72\xde\x0c\x68\x39"
26321                           "\x9d\x32\xa5\x75\x92\x13\x32\xea"
26322                           "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
26323                           "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
26324                           "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
26325                           "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
26326                           "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
26327                           "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
26328                           "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
26329                           "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
26330                           "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
26331                           "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
26332                           "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
26333                           "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
26334                           "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
26335                           "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
26336                           "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
26337                           "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
26338                           "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
26339                           "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
26340                           "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
26341                           "\x79\x61\x23\xe0\xa2\x99\x73\x55"
26342                           "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
26343                           "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
26344                           "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
26345                           "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
26346                           "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
26347                           "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
26348                           "\x48\x56\xaa\x85\x22\xd8\x36\xed"
26349                           "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
26350                           "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
26351                           "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
26352                           "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
26353                           "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
26354                           "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
26355                           "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
26356                           "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
26357                           "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
26358                           "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
26359                           "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
26360                           "\xec\x83\x92\x99\x87\x47\xe0\x7c"
26361                           "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
26362                           "\x98\xb0\x87\xb6\x86\x13\x64\x33"
26363                           "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
26364                           "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
26365                           "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
26366                           "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
26367                           "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
26368                           "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
26369                           "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
26370                           "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
26371                           "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
26372                           "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
26373                           "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
26374                           "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
26375                           "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
26376                           "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
26377                           "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
26378                           "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
26379                           "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
26380                           "\x5f\xae\x25\x84\x22\x90\x5f\x26"
26381                           "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
26382                           "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
26383                           "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
26384                           "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
26385                           "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
26386                           "\x74\x06\x89\x0e\x90\xeb\x85\xff"
26387                           "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
26388                           "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
26389                           "\x02\x85\x68\xd0\x03\x12\xde\x92"
26390                           "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
26391                           "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
26392                           "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
26393                           "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
26394                           "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
26395                           "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
26396                           "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
26397                           "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
26398                           "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
26399                           "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
26400                           "\x98",
26401                 .len    = 1281,
26402         },
26403 };
26404
26405 static const struct cipher_testvec xchacha20_tv_template[] = {
26406         { /* from libsodium test/default/xchacha20.c */
26407                 .key    = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
26408                           "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
26409                           "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
26410                           "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
26411                 .klen   = 32,
26412                 .iv     = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
26413                           "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
26414                           "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
26415                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26416                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
26417                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26418                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26419                           "\x00\x00\x00\x00\x00",
26420                 .ctext  = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
26421                           "\x04\xef\x90\xe7\x12\xce\x6e\x75"
26422                           "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
26423                           "\x60\xf0\x13\x73\x9c",
26424                 .len    = 29,
26425         }, { /* from libsodium test/default/xchacha20.c */
26426                 .key    = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
26427                           "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
26428                           "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
26429                           "\x22\x35\xea\xaf\x60\x1d\x62\x32",
26430                 .klen   = 32,
26431                 .iv     = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
26432                           "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
26433                           "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
26434                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26435                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
26436                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26437                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26438                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26439                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26440                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26441                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26442                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26443                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26444                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26445                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26446                           "\x00\x00\x00",
26447                 .ctext  = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
26448                           "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
26449                           "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
26450                           "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
26451                           "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
26452                           "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
26453                           "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
26454                           "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
26455                           "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
26456                           "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
26457                           "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
26458                           "\x09\x7c\xfc",
26459                 .len    = 91,
26460         }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
26461                 to the nonce, zero-padded the stream position from 4 to 8 bytes,
26462                 and recomputed the ciphertext using libsodium's XChaCha20 */
26463                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
26464                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26465                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26466                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26467                 .klen   = 32,
26468                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26469                           "\x00\x00\x00\x00\x67\xc6\x69\x73"
26470                           "\x51\xff\x4a\xec\x29\xcd\xba\xab"
26471                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26472                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
26473                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26474                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26475                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26476                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26477                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26478                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26479                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26480                 .ctext  = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
26481                           "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
26482                           "\xad\x80\x11\x11\x1d\x4c\x16\x18"
26483                           "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
26484                           "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
26485                           "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
26486                           "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
26487                           "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
26488                 .len    = 64,
26489         }, { /* Derived from a ChaCha20 test vector, via the process above */
26490                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
26491                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26492                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26493                           "\x00\x00\x00\x00\x00\x00\x00\x01",
26494                 .klen   = 32,
26495                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26496                           "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
26497                           "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
26498                           "\x01\x00\x00\x00\x00\x00\x00\x00",
26499                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
26500                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
26501                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
26502                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
26503                           "\x64\x65\x64\x20\x62\x79\x20\x74"
26504                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
26505                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
26506                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
26507                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
26508                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
26509                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
26510                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
26511                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
26512                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
26513                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
26514                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
26515                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
26516                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
26517                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
26518                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
26519                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
26520                           "\x45\x54\x46\x20\x61\x63\x74\x69"
26521                           "\x76\x69\x74\x79\x20\x69\x73\x20"
26522                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
26523                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
26524                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
26525                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
26526                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
26527                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
26528                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
26529                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
26530                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
26531                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
26532                           "\x54\x46\x20\x73\x65\x73\x73\x69"
26533                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
26534                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
26535                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
26536                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
26537                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
26538                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
26539                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
26540                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
26541                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
26542                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
26543                           "\x20\x77\x68\x69\x63\x68\x20\x61"
26544                           "\x72\x65\x20\x61\x64\x64\x72\x65"
26545                           "\x73\x73\x65\x64\x20\x74\x6f",
26546                 .ctext  = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
26547                           "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
26548                           "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
26549                           "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
26550                           "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
26551                           "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
26552                           "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
26553                           "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
26554                           "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
26555                           "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
26556                           "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
26557                           "\xa4\x36\x51\x92\x22\x87\xff\x26"
26558                           "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
26559                           "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
26560                           "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
26561                           "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
26562                           "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
26563                           "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
26564                           "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
26565                           "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
26566                           "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
26567                           "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
26568                           "\x91\xab\x55\x63\xf0\xde\x3a\x94"
26569                           "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
26570                           "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
26571                           "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
26572                           "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
26573                           "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
26574                           "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
26575                           "\x64\x36\x35\x61\xb6\x34\x60\xf7"
26576                           "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
26577                           "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
26578                           "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
26579                           "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
26580                           "\x8a\x04\x18\x49\xfc\x77\x11\x50"
26581                           "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
26582                           "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
26583                           "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
26584                           "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
26585                           "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
26586                           "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
26587                           "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
26588                           "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
26589                           "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
26590                           "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
26591                           "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
26592                           "\x12\x8d\x7b\x61\xe5\x1f\x98",
26593                 .len    = 375,
26594
26595         }, { /* Derived from a ChaCha20 test vector, via the process above */
26596                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
26597                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
26598                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
26599                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
26600                 .klen   = 32,
26601                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26602                           "\x00\x00\x00\x02\x76\x5a\x2e\x63"
26603                           "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
26604                           "\x2a\x00\x00\x00\x00\x00\x00\x00",
26605                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
26606                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
26607                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
26608                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
26609                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
26610                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
26611                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
26612                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
26613                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
26614                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
26615                           "\x65\x72\x65\x20\x74\x68\x65\x20"
26616                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
26617                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
26618                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
26619                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
26620                           "\x74\x67\x72\x61\x62\x65\x2e",
26621                 .ctext  = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
26622                           "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
26623                           "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
26624                           "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
26625                           "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
26626                           "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
26627                           "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
26628                           "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
26629                           "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
26630                           "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
26631                           "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
26632                           "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
26633                           "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
26634                           "\x27\x79\x67\x24\xa6\x87\xc2\x11"
26635                           "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
26636                           "\x99\xf1\x82\x25\x4f\x8d\x07",
26637                 .len    = 127,
26638         }, { /* Derived from a ChaCha20 test vector, via the process above */
26639                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
26640                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
26641                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
26642                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
26643                 .klen   = 32,
26644                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26645                           "\x00\x00\x00\x01\x31\x58\xa3\x5a"
26646                           "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
26647                           "\x1c\x00\x00\x00\x00\x00\x00\x00",
26648                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
26649                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
26650                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
26651                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
26652                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
26653                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
26654                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
26655                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
26656                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
26657                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
26658                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
26659                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
26660                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
26661                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
26662                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
26663                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
26664                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
26665                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
26666                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
26667                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
26668                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
26669                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
26670                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
26671                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
26672                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
26673                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
26674                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
26675                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
26676                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
26677                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
26678                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
26679                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
26680                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
26681                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
26682                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
26683                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
26684                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
26685                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
26686                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
26687                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
26688                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
26689                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
26690                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
26691                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
26692                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
26693                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
26694                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
26695                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
26696                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
26697                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
26698                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
26699                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
26700                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
26701                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
26702                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
26703                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
26704                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
26705                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
26706                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
26707                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
26708                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
26709                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
26710                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
26711                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
26712                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
26713                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
26714                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
26715                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
26716                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
26717                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
26718                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
26719                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
26720                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
26721                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
26722                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
26723                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
26724                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
26725                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
26726                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
26727                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
26728                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
26729                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
26730                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
26731                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
26732                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
26733                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
26734                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
26735                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
26736                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
26737                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
26738                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
26739                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
26740                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
26741                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
26742                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
26743                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
26744                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
26745                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
26746                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
26747                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
26748                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
26749                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
26750                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
26751                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
26752                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
26753                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
26754                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
26755                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
26756                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
26757                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
26758                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
26759                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
26760                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
26761                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
26762                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
26763                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
26764                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
26765                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
26766                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
26767                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
26768                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
26769                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
26770                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
26771                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
26772                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
26773                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
26774                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
26775                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
26776                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
26777                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
26778                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
26779                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
26780                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
26781                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
26782                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
26783                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
26784                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
26785                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
26786                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
26787                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
26788                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
26789                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
26790                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
26791                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
26792                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
26793                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
26794                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
26795                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
26796                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
26797                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
26798                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
26799                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
26800                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
26801                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
26802                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
26803                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
26804                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
26805                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
26806                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
26807                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
26808                           "\x72",
26809                 .ctext  = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
26810                           "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
26811                           "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
26812                           "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
26813                           "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
26814                           "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
26815                           "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
26816                           "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
26817                           "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
26818                           "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
26819                           "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
26820                           "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
26821                           "\xab\xf2\x31\x34\x16\xad\xc8\x17"
26822                           "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
26823                           "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
26824                           "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
26825                           "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
26826                           "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
26827                           "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
26828                           "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
26829                           "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
26830                           "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
26831                           "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
26832                           "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
26833                           "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
26834                           "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
26835                           "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
26836                           "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
26837                           "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
26838                           "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
26839                           "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
26840                           "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
26841                           "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
26842                           "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
26843                           "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
26844                           "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
26845                           "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
26846                           "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
26847                           "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
26848                           "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
26849                           "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
26850                           "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
26851                           "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
26852                           "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
26853                           "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
26854                           "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
26855                           "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
26856                           "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
26857                           "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
26858                           "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
26859                           "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
26860                           "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
26861                           "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
26862                           "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
26863                           "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
26864                           "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
26865                           "\x07\x62\x10\x79\x68\x50\xf1\x7e"
26866                           "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
26867                           "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
26868                           "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
26869                           "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
26870                           "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
26871                           "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
26872                           "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
26873                           "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
26874                           "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
26875                           "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
26876                           "\xca\x88\xf6\x37\xbd\x73\x51\x70"
26877                           "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
26878                           "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
26879                           "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
26880                           "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
26881                           "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
26882                           "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
26883                           "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
26884                           "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
26885                           "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
26886                           "\x34\x66\xad\x37\x2d\x5e\x52\xda"
26887                           "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
26888                           "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
26889                           "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
26890                           "\x8c\x89\x21\x34\x55\x27\xb2\x76"
26891                           "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
26892                           "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
26893                           "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
26894                           "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
26895                           "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
26896                           "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
26897                           "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
26898                           "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
26899                           "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
26900                           "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
26901                           "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
26902                           "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
26903                           "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
26904                           "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
26905                           "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
26906                           "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
26907                           "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
26908                           "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
26909                           "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
26910                           "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
26911                           "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
26912                           "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
26913                           "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
26914                           "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
26915                           "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
26916                           "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
26917                           "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
26918                           "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
26919                           "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
26920                           "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
26921                           "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
26922                           "\x37\x04\x65\x96\x99\x7a\x28\x0f"
26923                           "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
26924                           "\x40\x19\x95\x61\xe8\x59\x40\x1f"
26925                           "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
26926                           "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
26927                           "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
26928                           "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
26929                           "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
26930                           "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
26931                           "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
26932                           "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
26933                           "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
26934                           "\xc3\x75\x48\x64\x58\x98\x67\x84"
26935                           "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
26936                           "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
26937                           "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
26938                           "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
26939                           "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
26940                           "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
26941                           "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
26942                           "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
26943                           "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
26944                           "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
26945                           "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
26946                           "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
26947                           "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
26948                           "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
26949                           "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
26950                           "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
26951                           "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
26952                           "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
26953                           "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
26954                           "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
26955                           "\x89\x1c\x3b\xca\x83\x61\x77\x68"
26956                           "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
26957                           "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
26958                           "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
26959                           "\xed\x05\x4b\x7b\x73\x71\x90\x59"
26960                           "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
26961                           "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
26962                           "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
26963                           "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
26964                           "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
26965                           "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
26966                           "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
26967                           "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
26968                           "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
26969                           "\x11",
26970                 .len    = 1281,
26971         }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
26972                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
26973                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26974                           "\x90\x91\x92\x93\x94\x95\x96\x97"
26975                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
26976                 .klen   = 32,
26977                 .iv     = "\x40\x41\x42\x43\x44\x45\x46\x47"
26978                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26979                           "\x50\x51\x52\x53\x54\x55\x56\x58"
26980                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26981                 .ptext  = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
26982                           "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
26983                           "\x75\x6e\x63\x65\x64\x20\x22\x64"
26984                           "\x6f\x6c\x65\x22\x29\x20\x69\x73"
26985                           "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
26986                           "\x6f\x77\x6e\x20\x61\x73\x20\x74"
26987                           "\x68\x65\x20\x41\x73\x69\x61\x74"
26988                           "\x69\x63\x20\x77\x69\x6c\x64\x20"
26989                           "\x64\x6f\x67\x2c\x20\x72\x65\x64"
26990                           "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
26991                           "\x64\x20\x77\x68\x69\x73\x74\x6c"
26992                           "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
26993                           "\x20\x49\x74\x20\x69\x73\x20\x61"
26994                           "\x62\x6f\x75\x74\x20\x74\x68\x65"
26995                           "\x20\x73\x69\x7a\x65\x20\x6f\x66"
26996                           "\x20\x61\x20\x47\x65\x72\x6d\x61"
26997                           "\x6e\x20\x73\x68\x65\x70\x68\x65"
26998                           "\x72\x64\x20\x62\x75\x74\x20\x6c"
26999                           "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
27000                           "\x65\x20\x6c\x69\x6b\x65\x20\x61"
27001                           "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
27002                           "\x67\x67\x65\x64\x20\x66\x6f\x78"
27003                           "\x2e\x20\x54\x68\x69\x73\x20\x68"
27004                           "\x69\x67\x68\x6c\x79\x20\x65\x6c"
27005                           "\x75\x73\x69\x76\x65\x20\x61\x6e"
27006                           "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
27007                           "\x64\x20\x6a\x75\x6d\x70\x65\x72"
27008                           "\x20\x69\x73\x20\x63\x6c\x61\x73"
27009                           "\x73\x69\x66\x69\x65\x64\x20\x77"
27010                           "\x69\x74\x68\x20\x77\x6f\x6c\x76"
27011                           "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
27012                           "\x74\x65\x73\x2c\x20\x6a\x61\x63"
27013                           "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
27014                           "\x64\x20\x66\x6f\x78\x65\x73\x20"
27015                           "\x69\x6e\x20\x74\x68\x65\x20\x74"
27016                           "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
27017                           "\x20\x66\x61\x6d\x69\x6c\x79\x20"
27018                           "\x43\x61\x6e\x69\x64\x61\x65\x2e",
27019                 .ctext  = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
27020                           "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
27021                           "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
27022                           "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
27023                           "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
27024                           "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
27025                           "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
27026                           "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
27027                           "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
27028                           "\x73\x10\x61\x27\x77\x01\x09\x3a"
27029                           "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
27030                           "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
27031                           "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
27032                           "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
27033                           "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
27034                           "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
27035                           "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
27036                           "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
27037                           "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
27038                           "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
27039                           "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
27040                           "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
27041                           "\xf2\x45\x75\x99\x85\x23\x85\xc6"
27042                           "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
27043                           "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
27044                           "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
27045                           "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
27046                           "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
27047                           "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
27048                           "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
27049                           "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
27050                           "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
27051                           "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
27052                           "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
27053                           "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
27054                           "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
27055                           "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
27056                           "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
27057                 .len    = 304,
27058         }
27059 };
27060
27061 /*
27062  * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
27063  * XChaCha12, using a modified libsodium.
27064  */
27065 static const struct cipher_testvec xchacha12_tv_template[] = {
27066         {
27067                 .key    = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
27068                           "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
27069                           "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
27070                           "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
27071                 .klen   = 32,
27072                 .iv     = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
27073                           "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
27074                           "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
27075                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27076                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
27077                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27078                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27079                           "\x00\x00\x00\x00\x00",
27080                 .ctext  = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
27081                           "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
27082                           "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
27083                           "\x3a\xfb\x18\xae\x1b",
27084                 .len    = 29,
27085         }, {
27086                 .key    = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
27087                           "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
27088                           "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
27089                           "\x22\x35\xea\xaf\x60\x1d\x62\x32",
27090                 .klen   = 32,
27091                 .iv     = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
27092                           "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
27093                           "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
27094                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27095                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
27096                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27097                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27098                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27099                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27100                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27101                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27102                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27103                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27104                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27105                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27106                           "\x00\x00\x00",
27107                 .ctext  = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
27108                           "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
27109                           "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
27110                           "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
27111                           "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
27112                           "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
27113                           "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
27114                           "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
27115                           "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
27116                           "\xf0\xde\x01\xef\xc5\x65\x79\x23"
27117                           "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
27118                           "\x54\x5b\x0e",
27119                 .len    = 91,
27120         }, {
27121                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
27122                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27123                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27124                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27125                 .klen   = 32,
27126                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27127                           "\x00\x00\x00\x00\x67\xc6\x69\x73"
27128                           "\x51\xff\x4a\xec\x29\xcd\xba\xab"
27129                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27130                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
27131                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27132                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27133                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27134                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27135                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27136                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27137                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27138                 .ctext  = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
27139                           "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
27140                           "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
27141                           "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
27142                           "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
27143                           "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
27144                           "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
27145                           "\x4c\x25\xe7\x86\x26\x42\xca\x44",
27146                 .len    = 64,
27147         }, {
27148                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
27149                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27150                           "\x00\x00\x00\x00\x00\x00\x00\x00"
27151                           "\x00\x00\x00\x00\x00\x00\x00\x01",
27152                 .klen   = 32,
27153                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27154                           "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
27155                           "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
27156                           "\x01\x00\x00\x00\x00\x00\x00\x00",
27157                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
27158                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
27159                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
27160                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
27161                           "\x64\x65\x64\x20\x62\x79\x20\x74"
27162                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
27163                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
27164                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
27165                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
27166                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
27167                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
27168                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
27169                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
27170                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
27171                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
27172                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
27173                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
27174                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
27175                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
27176                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
27177                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
27178                           "\x45\x54\x46\x20\x61\x63\x74\x69"
27179                           "\x76\x69\x74\x79\x20\x69\x73\x20"
27180                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
27181                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
27182                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
27183                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
27184                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
27185                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
27186                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
27187                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
27188                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
27189                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
27190                           "\x54\x46\x20\x73\x65\x73\x73\x69"
27191                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
27192                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
27193                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
27194                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
27195                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
27196                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
27197                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
27198                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
27199                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
27200                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
27201                           "\x20\x77\x68\x69\x63\x68\x20\x61"
27202                           "\x72\x65\x20\x61\x64\x64\x72\x65"
27203                           "\x73\x73\x65\x64\x20\x74\x6f",
27204                 .ctext  = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
27205                           "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
27206                           "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
27207                           "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
27208                           "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
27209                           "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
27210                           "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
27211                           "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
27212                           "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
27213                           "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
27214                           "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
27215                           "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
27216                           "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
27217                           "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
27218                           "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
27219                           "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
27220                           "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
27221                           "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
27222                           "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
27223                           "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
27224                           "\x75\x10\x95\x35\x81\x7e\x26\xe6"
27225                           "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
27226                           "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
27227                           "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
27228                           "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
27229                           "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
27230                           "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
27231                           "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
27232                           "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
27233                           "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
27234                           "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
27235                           "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
27236                           "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
27237                           "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
27238                           "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
27239                           "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
27240                           "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
27241                           "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
27242                           "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
27243                           "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
27244                           "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
27245                           "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
27246                           "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
27247                           "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
27248                           "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
27249                           "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
27250                           "\xda\x4e\xc9\xab\x9b\x8a\x7b",
27251
27252                 .len    = 375,
27253
27254         }, {
27255                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
27256                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
27257                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
27258                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
27259                 .klen   = 32,
27260                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27261                           "\x00\x00\x00\x02\x76\x5a\x2e\x63"
27262                           "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
27263                           "\x2a\x00\x00\x00\x00\x00\x00\x00",
27264                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
27265                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
27266                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
27267                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
27268                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
27269                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
27270                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
27271                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
27272                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
27273                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
27274                           "\x65\x72\x65\x20\x74\x68\x65\x20"
27275                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
27276                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
27277                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
27278                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
27279                           "\x74\x67\x72\x61\x62\x65\x2e",
27280                 .ctext  = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
27281                           "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
27282                           "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
27283                           "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
27284                           "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
27285                           "\x20\x82\x26\x72\xae\x64\x1b\x7e"
27286                           "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
27287                           "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
27288                           "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
27289                           "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
27290                           "\x27\xab\xb8\x62\x46\x22\x30\x48"
27291                           "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
27292                           "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
27293                           "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
27294                           "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
27295                           "\x25\x76\x37\xe6\x3c\x67\x5b",
27296                 .len    = 127,
27297         }, {
27298                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
27299                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
27300                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
27301                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
27302                 .klen   = 32,
27303                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
27304                           "\x00\x00\x00\x01\x31\x58\xa3\x5a"
27305                           "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
27306                           "\x1c\x00\x00\x00\x00\x00\x00\x00",
27307                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
27308                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
27309                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
27310                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
27311                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
27312                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
27313                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
27314                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
27315                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
27316                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
27317                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
27318                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
27319                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
27320                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
27321                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
27322                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
27323                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
27324                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
27325                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
27326                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
27327                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
27328                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
27329                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
27330                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
27331                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
27332                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
27333                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
27334                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
27335                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
27336                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
27337                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
27338                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
27339                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
27340                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
27341                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
27342                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
27343                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
27344                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
27345                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
27346                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
27347                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
27348                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
27349                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
27350                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
27351                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
27352                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
27353                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
27354                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
27355                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
27356                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
27357                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
27358                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
27359                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
27360                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
27361                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
27362                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
27363                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
27364                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
27365                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
27366                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
27367                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
27368                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
27369                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
27370                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
27371                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
27372                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
27373                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
27374                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
27375                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
27376                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
27377                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
27378                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
27379                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
27380                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
27381                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
27382                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
27383                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
27384                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
27385                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
27386                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
27387                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
27388                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
27389                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
27390                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
27391                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
27392                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
27393                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
27394                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
27395                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
27396                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
27397                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
27398                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
27399                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
27400                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
27401                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
27402                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
27403                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
27404                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
27405                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
27406                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
27407                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
27408                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
27409                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
27410                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
27411                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
27412                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
27413                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
27414                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
27415                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
27416                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
27417                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
27418                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
27419                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
27420                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
27421                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
27422                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
27423                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
27424                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
27425                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
27426                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
27427                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
27428                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
27429                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
27430                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
27431                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
27432                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
27433                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
27434                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
27435                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
27436                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
27437                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
27438                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
27439                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
27440                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
27441                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
27442                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
27443                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
27444                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
27445                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
27446                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
27447                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
27448                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
27449                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
27450                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
27451                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
27452                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
27453                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
27454                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
27455                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
27456                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
27457                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
27458                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
27459                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
27460                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
27461                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
27462                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
27463                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
27464                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
27465                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
27466                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
27467                           "\x72",
27468                 .ctext  = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
27469                           "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
27470                           "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
27471                           "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
27472                           "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
27473                           "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
27474                           "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
27475                           "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
27476                           "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
27477                           "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
27478                           "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
27479                           "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
27480                           "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
27481                           "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
27482                           "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
27483                           "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
27484                           "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
27485                           "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
27486                           "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
27487                           "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
27488                           "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
27489                           "\x95\x13\x99\x3d\x71\xbd\x32\x92"
27490                           "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
27491                           "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
27492                           "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
27493                           "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
27494                           "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
27495                           "\xc5\xc1\x78\x78\x53\x28\xad\xed"
27496                           "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
27497                           "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
27498                           "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
27499                           "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
27500                           "\xce\xf3\x55\x45\x6c\x84\x27\xba"
27501                           "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
27502                           "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
27503                           "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
27504                           "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
27505                           "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
27506                           "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
27507                           "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
27508                           "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
27509                           "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
27510                           "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
27511                           "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
27512                           "\x90\x95\x85\x0b\x96\xe9\xee\x35"
27513                           "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
27514                           "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
27515                           "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
27516                           "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
27517                           "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
27518                           "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
27519                           "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
27520                           "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
27521                           "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
27522                           "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
27523                           "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
27524                           "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
27525                           "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
27526                           "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
27527                           "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
27528                           "\xff\x71\x04\x87\x87\x21\xc4\xb8"
27529                           "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
27530                           "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
27531                           "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
27532                           "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
27533                           "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
27534                           "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
27535                           "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
27536                           "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
27537                           "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
27538                           "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
27539                           "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
27540                           "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
27541                           "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
27542                           "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
27543                           "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
27544                           "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
27545                           "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
27546                           "\xd2\x96\x2d\x18\x64\x98\x33\x78"
27547                           "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
27548                           "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
27549                           "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
27550                           "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
27551                           "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
27552                           "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
27553                           "\x68\x38\x22\x30\xd8\x2e\x00\x98"
27554                           "\x85\x16\x06\x56\xb4\x81\x74\x20"
27555                           "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
27556                           "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
27557                           "\x57\x26\x71\x07\xad\xaa\x71\x9f"
27558                           "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
27559                           "\x82\x6e\x08\x05\x37\x04\xee\x25"
27560                           "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
27561                           "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
27562                           "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
27563                           "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
27564                           "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
27565                           "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
27566                           "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
27567                           "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
27568                           "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
27569                           "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
27570                           "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
27571                           "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
27572                           "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
27573                           "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
27574                           "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
27575                           "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
27576                           "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
27577                           "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
27578                           "\x18\xc9\x26\x82\x56\xd2\x11\x05"
27579                           "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
27580                           "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
27581                           "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
27582                           "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
27583                           "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
27584                           "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
27585                           "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
27586                           "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
27587                           "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
27588                           "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
27589                           "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
27590                           "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
27591                           "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
27592                           "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
27593                           "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
27594                           "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
27595                           "\x26\x19\x10\x36\xa6\xf3\x14\x79"
27596                           "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
27597                           "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
27598                           "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
27599                           "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
27600                           "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
27601                           "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
27602                           "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
27603                           "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
27604                           "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
27605                           "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
27606                           "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
27607                           "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
27608                           "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
27609                           "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
27610                           "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
27611                           "\x95\x35\x00\x76\xae\x42\xf7\x50"
27612                           "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
27613                           "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
27614                           "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
27615                           "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
27616                           "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
27617                           "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
27618                           "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
27619                           "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
27620                           "\xae\x17\x50\xab\x29\x08\xda\xcc"
27621                           "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
27622                           "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
27623                           "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
27624                           "\x25\x18\x40\x2d\x62\x25\x02\x71"
27625                           "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
27626                           "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
27627                           "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
27628                           "\x5b",
27629                 .len    = 1281,
27630         }, {
27631                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
27632                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
27633                           "\x90\x91\x92\x93\x94\x95\x96\x97"
27634                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
27635                 .klen   = 32,
27636                 .iv     = "\x40\x41\x42\x43\x44\x45\x46\x47"
27637                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
27638                           "\x50\x51\x52\x53\x54\x55\x56\x58"
27639                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27640                 .ptext  = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
27641                           "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
27642                           "\x75\x6e\x63\x65\x64\x20\x22\x64"
27643                           "\x6f\x6c\x65\x22\x29\x20\x69\x73"
27644                           "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
27645                           "\x6f\x77\x6e\x20\x61\x73\x20\x74"
27646                           "\x68\x65\x20\x41\x73\x69\x61\x74"
27647                           "\x69\x63\x20\x77\x69\x6c\x64\x20"
27648                           "\x64\x6f\x67\x2c\x20\x72\x65\x64"
27649                           "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
27650                           "\x64\x20\x77\x68\x69\x73\x74\x6c"
27651                           "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
27652                           "\x20\x49\x74\x20\x69\x73\x20\x61"
27653                           "\x62\x6f\x75\x74\x20\x74\x68\x65"
27654                           "\x20\x73\x69\x7a\x65\x20\x6f\x66"
27655                           "\x20\x61\x20\x47\x65\x72\x6d\x61"
27656                           "\x6e\x20\x73\x68\x65\x70\x68\x65"
27657                           "\x72\x64\x20\x62\x75\x74\x20\x6c"
27658                           "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
27659                           "\x65\x20\x6c\x69\x6b\x65\x20\x61"
27660                           "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
27661                           "\x67\x67\x65\x64\x20\x66\x6f\x78"
27662                           "\x2e\x20\x54\x68\x69\x73\x20\x68"
27663                           "\x69\x67\x68\x6c\x79\x20\x65\x6c"
27664                           "\x75\x73\x69\x76\x65\x20\x61\x6e"
27665                           "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
27666                           "\x64\x20\x6a\x75\x6d\x70\x65\x72"
27667                           "\x20\x69\x73\x20\x63\x6c\x61\x73"
27668                           "\x73\x69\x66\x69\x65\x64\x20\x77"
27669                           "\x69\x74\x68\x20\x77\x6f\x6c\x76"
27670                           "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
27671                           "\x74\x65\x73\x2c\x20\x6a\x61\x63"
27672                           "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
27673                           "\x64\x20\x66\x6f\x78\x65\x73\x20"
27674                           "\x69\x6e\x20\x74\x68\x65\x20\x74"
27675                           "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
27676                           "\x20\x66\x61\x6d\x69\x6c\x79\x20"
27677                           "\x43\x61\x6e\x69\x64\x61\x65\x2e",
27678                 .ctext  = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
27679                           "\xee\x34\xc0\x39\xd6\x23\x43\x94"
27680                           "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
27681                           "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
27682                           "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
27683                           "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
27684                           "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
27685                           "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
27686                           "\x02\x64\x43\x49\xc6\xb2\x59\x59"
27687                           "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
27688                           "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
27689                           "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
27690                           "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
27691                           "\x71\x8c\x08\x48\x33\x20\x29\x81"
27692                           "\xea\x01\x25\x20\xc3\xda\xe6\xee"
27693                           "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
27694                           "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
27695                           "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
27696                           "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
27697                           "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
27698                           "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
27699                           "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
27700                           "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
27701                           "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
27702                           "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
27703                           "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
27704                           "\x13\x27\x3f\x31\x03\x63\x30\x26"
27705                           "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
27706                           "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
27707                           "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
27708                           "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
27709                           "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
27710                           "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
27711                           "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
27712                           "\x08\x05\x36\x76\xaf\x12\x7a\x42"
27713                           "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
27714                           "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
27715                           "\x50\x70\x44\x29\x6d\x6e\x62\x68",
27716                 .len    = 304,
27717         }
27718 };
27719
27720 /* Adiantum test vectors from https://github.com/google/adiantum */
27721 static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
27722         {
27723                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
27724                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
27725                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
27726                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
27727                 .klen   = 32,
27728                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
27729                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
27730                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
27731                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
27732                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
27733                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
27734                 .ctext  = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
27735                           "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
27736                 .len    = 16,
27737         }, {
27738                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
27739                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
27740                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
27741                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
27742                 .klen   = 32,
27743                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
27744                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
27745                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
27746                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
27747                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
27748                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
27749                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
27750                           "\x43\x5a\x46\x06\x94\x2d\xf2",
27751                 .ctext  = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
27752                           "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
27753                           "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
27754                           "\xc9\x18\x7b\xbe\x18\x60\x50",
27755                 .len    = 31,
27756         }, {
27757                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
27758                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
27759                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
27760                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
27761                 .klen   = 32,
27762                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
27763                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
27764                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
27765                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
27766                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
27767                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
27768                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
27769                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
27770                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
27771                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
27772                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
27773                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
27774                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
27775                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
27776                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
27777                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
27778                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
27779                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
27780                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
27781                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
27782                 .ctext  = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
27783                           "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
27784                           "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
27785                           "\x21\x48\xa0\xb8\x65\x48\x27\x48"
27786                           "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
27787                           "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
27788                           "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
27789                           "\x51\x56\x63\xfa\x7c\x28\x85\x49"
27790                           "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
27791                           "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
27792                           "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
27793                           "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
27794                           "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
27795                           "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
27796                           "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
27797                           "\x8d\xde\x34\x86\x78\x60\x75\x8d",
27798                 .len    = 128,
27799         }, {
27800                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
27801                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
27802                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
27803                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
27804                 .klen   = 32,
27805                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
27806                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
27807                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
27808                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
27809                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
27810                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
27811                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
27812                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
27813                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
27814                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
27815                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
27816                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
27817                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
27818                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
27819                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
27820                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
27821                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
27822                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
27823                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
27824                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
27825                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
27826                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
27827                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
27828                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
27829                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
27830                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
27831                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
27832                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
27833                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
27834                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
27835                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
27836                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
27837                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
27838                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
27839                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
27840                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
27841                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
27842                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
27843                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
27844                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
27845                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
27846                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
27847                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
27848                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
27849                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
27850                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
27851                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
27852                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
27853                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
27854                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
27855                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
27856                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
27857                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
27858                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
27859                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
27860                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
27861                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
27862                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
27863                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
27864                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
27865                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
27866                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
27867                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
27868                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
27869                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
27870                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
27871                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
27872                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
27873                 .ctext  = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
27874                           "\xc5\x11\x36\x62\x13\x92\xe6\x73"
27875                           "\x29\x79\xde\xa1\x00\x3e\x08\x64"
27876                           "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
27877                           "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
27878                           "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
27879                           "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
27880                           "\xe4\xee\x39\x63\x42\x65\xa3\x88"
27881                           "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
27882                           "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
27883                           "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
27884                           "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
27885                           "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
27886                           "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
27887                           "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
27888                           "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
27889                           "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
27890                           "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
27891                           "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
27892                           "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
27893                           "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
27894                           "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
27895                           "\xf8\x51\x80\x39\x14\x05\x12\xdb"
27896                           "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
27897                           "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
27898                           "\x58\x05\x49\x7d\xe6\x92\x77\x70"
27899                           "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
27900                           "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
27901                           "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
27902                           "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
27903                           "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
27904                           "\x90\x62\xb2\x28\x99\x86\xf5\x44"
27905                           "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
27906                           "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
27907                           "\xab\xe1\x9b\x45\xba\x66\xda\xee"
27908                           "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
27909                           "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
27910                           "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
27911                           "\x11\x34\x61\x94\x35\xfe\xf2\x99"
27912                           "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
27913                           "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
27914                           "\x78\x74\x10\x50\x29\x63\x28\xea"
27915                           "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
27916                           "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
27917                           "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
27918                           "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
27919                           "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
27920                           "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
27921                           "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
27922                           "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
27923                           "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
27924                           "\x94\x74\xea\x6e\xb3\x09\x47\x01"
27925                           "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
27926                           "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
27927                           "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
27928                           "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
27929                           "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
27930                           "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
27931                           "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
27932                           "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
27933                           "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
27934                           "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
27935                           "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
27936                           "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
27937                 .len    = 512,
27938         }, {
27939                 .key    = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
27940                           "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
27941                           "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
27942                           "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
27943                 .klen   = 32,
27944                 .iv     = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
27945                           "\x88\x76\x65\xb4\x1a\x29\x27\x12"
27946                           "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
27947                           "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
27948                 .ptext  = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
27949                           "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
27950                           "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
27951                           "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
27952                           "\x38\x24\x62\xdb\x65\x82\x10\x7f"
27953                           "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
27954                           "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
27955                           "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
27956                           "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
27957                           "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
27958                           "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
27959                           "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
27960                           "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
27961                           "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
27962                           "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
27963                           "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
27964                           "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
27965                           "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
27966                           "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
27967                           "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
27968                           "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
27969                           "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
27970                           "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
27971                           "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
27972                           "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
27973                           "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
27974                           "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
27975                           "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
27976                           "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
27977                           "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
27978                           "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
27979                           "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
27980                           "\x28\x04\x4c\xff\x98\x20\x08\x10"
27981                           "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
27982                           "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
27983                           "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
27984                           "\x24\x62\xcf\x17\x36\x84\xc0\x72"
27985                           "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
27986                           "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
27987                           "\x71\x73\x08\x4e\x22\x31\xfd\x88"
27988                           "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
27989                           "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
27990                           "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
27991                           "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
27992                           "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
27993                           "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
27994                           "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
27995                           "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
27996                           "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
27997                           "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
27998                           "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
27999                           "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
28000                           "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
28001                           "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
28002                           "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
28003                           "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
28004                           "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
28005                           "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
28006                           "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
28007                           "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
28008                           "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
28009                           "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
28010                           "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
28011                           "\x85\x12\xca\x61\x65\xd1\x66\xd8"
28012                           "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
28013                           "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
28014                           "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
28015                           "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
28016                           "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
28017                           "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
28018                           "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
28019                           "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
28020                           "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
28021                           "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
28022                           "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
28023                           "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
28024                           "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
28025                           "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
28026                           "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
28027                           "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
28028                           "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
28029                           "\x16\xcb\xae\x7d\x38\x21\x67\x74"
28030                           "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
28031                           "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
28032                           "\xa8\x88\x27\x86\x44\x75\x5b\x29"
28033                           "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
28034                           "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
28035                           "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
28036                           "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
28037                           "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
28038                           "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
28039                           "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
28040                           "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
28041                           "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
28042                           "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
28043                           "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
28044                           "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
28045                           "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
28046                           "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
28047                           "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
28048                           "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
28049                           "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
28050                           "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
28051                           "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
28052                           "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
28053                           "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
28054                           "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
28055                           "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
28056                           "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
28057                           "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
28058                           "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
28059                           "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
28060                           "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
28061                           "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
28062                           "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
28063                           "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
28064                           "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
28065                           "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
28066                           "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
28067                           "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
28068                           "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
28069                           "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
28070                           "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
28071                           "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
28072                           "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
28073                           "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
28074                           "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
28075                           "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
28076                           "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
28077                           "\x55\x9a\xe0\x09\x21\xac\x61\x85"
28078                           "\x4b\x20\x95\x73\x63\x26\xe3\x83"
28079                           "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
28080                           "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
28081                           "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
28082                           "\x98\x09\x11\xb7\x00\x06\x24\x5a"
28083                           "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
28084                           "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
28085                           "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
28086                           "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
28087                           "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
28088                           "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
28089                           "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
28090                           "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
28091                           "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
28092                           "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
28093                           "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
28094                           "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
28095                           "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
28096                           "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
28097                           "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
28098                           "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
28099                           "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
28100                           "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
28101                           "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
28102                           "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
28103                           "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
28104                           "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
28105                           "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
28106                           "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
28107                           "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
28108                           "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
28109                           "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
28110                           "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
28111                           "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
28112                           "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
28113                           "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
28114                           "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
28115                           "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
28116                           "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
28117                           "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
28118                           "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
28119                           "\x62\x96\x79\x0c\x81\x05\x41\xf2"
28120                           "\x07\x20\x26\xe5\x8e\x10\x54\x03"
28121                           "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
28122                           "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
28123                           "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
28124                           "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
28125                           "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
28126                           "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
28127                           "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
28128                           "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
28129                           "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
28130                           "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
28131                           "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
28132                           "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
28133                           "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
28134                           "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
28135                           "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
28136                           "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
28137                           "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
28138                           "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
28139                           "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
28140                 .ctext  = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
28141                           "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
28142                           "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
28143                           "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
28144                           "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
28145                           "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
28146                           "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
28147                           "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
28148                           "\x15\x15\xab\xbd\x22\x94\xf7\xce"
28149                           "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
28150                           "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
28151                           "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
28152                           "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
28153                           "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
28154                           "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
28155                           "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
28156                           "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
28157                           "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
28158                           "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
28159                           "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
28160                           "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
28161                           "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
28162                           "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
28163                           "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
28164                           "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
28165                           "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
28166                           "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
28167                           "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
28168                           "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
28169                           "\xec\x88\x33\x0d\x15\x10\x82\x66"
28170                           "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
28171                           "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
28172                           "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
28173                           "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
28174                           "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
28175                           "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
28176                           "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
28177                           "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
28178                           "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
28179                           "\x00\x01\x8d\x5a\x10\x82\x39\x78"
28180                           "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
28181                           "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
28182                           "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
28183                           "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
28184                           "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
28185                           "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
28186                           "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
28187                           "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
28188                           "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
28189                           "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
28190                           "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
28191                           "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
28192                           "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
28193                           "\xce\x17\x84\x68\x45\x39\x2c\x25"
28194                           "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
28195                           "\x47\x51\x7b\x9d\x54\x84\x98\x04"
28196                           "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
28197                           "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
28198                           "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
28199                           "\x39\x72\x44\x87\x51\xc5\x73\xe4"
28200                           "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
28201                           "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
28202                           "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
28203                           "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
28204                           "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
28205                           "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
28206                           "\xad\x91\x01\x4e\x14\x42\x34\x2c"
28207                           "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
28208                           "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
28209                           "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
28210                           "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
28211                           "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
28212                           "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
28213                           "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
28214                           "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
28215                           "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
28216                           "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
28217                           "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
28218                           "\x09\x84\x42\xab\x00\xe2\x58\xc3"
28219                           "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
28220                           "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
28221                           "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
28222                           "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
28223                           "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
28224                           "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
28225                           "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
28226                           "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
28227                           "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
28228                           "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
28229                           "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
28230                           "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
28231                           "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
28232                           "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
28233                           "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
28234                           "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
28235                           "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
28236                           "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
28237                           "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
28238                           "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
28239                           "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
28240                           "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
28241                           "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
28242                           "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
28243                           "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
28244                           "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
28245                           "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
28246                           "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
28247                           "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
28248                           "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
28249                           "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
28250                           "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
28251                           "\x48\x23\x70\x46\xf3\x87\xa7\x91"
28252                           "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
28253                           "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
28254                           "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
28255                           "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
28256                           "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
28257                           "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
28258                           "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
28259                           "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
28260                           "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
28261                           "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
28262                           "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
28263                           "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
28264                           "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
28265                           "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
28266                           "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
28267                           "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
28268                           "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
28269                           "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
28270                           "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
28271                           "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
28272                           "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
28273                           "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
28274                           "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
28275                           "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
28276                           "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
28277                           "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
28278                           "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
28279                           "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
28280                           "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
28281                           "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
28282                           "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
28283                           "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
28284                           "\x41\x65\x21\x47\xf9\xb1\x06\xec"
28285                           "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
28286                           "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
28287                           "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
28288                           "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
28289                           "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
28290                           "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
28291                           "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
28292                           "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
28293                           "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
28294                           "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
28295                           "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
28296                           "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
28297                           "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
28298                           "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
28299                           "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
28300                           "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
28301                           "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
28302                           "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
28303                           "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
28304                           "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
28305                           "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
28306                           "\x64\x25\x56\xb5\x03\x8e\x29\x85"
28307                           "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
28308                           "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
28309                           "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
28310                           "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
28311                           "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
28312                           "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
28313                           "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
28314                           "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
28315                           "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
28316                           "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
28317                           "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
28318                           "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
28319                           "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
28320                           "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
28321                           "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
28322                           "\x25\x16\x95\x87\x92\xc7\x46\x3f"
28323                           "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
28324                           "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
28325                           "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
28326                           "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
28327                           "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
28328                           "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
28329                           "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
28330                           "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
28331                           "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
28332                 .len    = 1536,
28333         }, {
28334                 .key    = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
28335                           "\x70\x47\x8c\xea\x87\x30\x1d\x58"
28336                           "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
28337                           "\x56\x95\x83\x98\x38\x80\x84\x8a",
28338                 .klen   = 32,
28339                 .iv     = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
28340                           "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
28341                           "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
28342                           "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
28343                 .ptext  = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
28344                           "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
28345                           "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
28346                           "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
28347                           "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
28348                           "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
28349                           "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
28350                           "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
28351                           "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
28352                           "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
28353                           "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
28354                           "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
28355                           "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
28356                           "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
28357                           "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
28358                           "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
28359                           "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
28360                           "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
28361                           "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
28362                           "\x35\x21\x66\x78\x3d\xb6\x65\x83"
28363                           "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
28364                           "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
28365                           "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
28366                           "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
28367                           "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
28368                           "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
28369                           "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
28370                           "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
28371                           "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
28372                           "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
28373                           "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
28374                           "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
28375                           "\x96\x87\xc9\x34\x02\x26\xde\x20"
28376                           "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
28377                           "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
28378                           "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
28379                           "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
28380                           "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
28381                           "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
28382                           "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
28383                           "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
28384                           "\x85\xfd\x22\x08\x00\xae\x72\x10"
28385                           "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
28386                           "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
28387                           "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
28388                           "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
28389                           "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
28390                           "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
28391                           "\x93\x45\x38\x95\xb9\x69\xe9\x62"
28392                           "\x21\x73\xbd\x81\x73\xac\x15\x74"
28393                           "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
28394                           "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
28395                           "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
28396                           "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
28397                           "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
28398                           "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
28399                           "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
28400                           "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
28401                           "\x24\x43\xb3\x0e\xba\xad\x63\x63"
28402                           "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
28403                           "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
28404                           "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
28405                           "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
28406                           "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
28407                           "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
28408                           "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
28409                           "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
28410                           "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
28411                           "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
28412                           "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
28413                           "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
28414                           "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
28415                           "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
28416                           "\x9d\x46\xae\x67\x00\x3b\x40\x94"
28417                           "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
28418                           "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
28419                           "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
28420                           "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
28421                           "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
28422                           "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
28423                           "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
28424                           "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
28425                           "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
28426                           "\x76\xca\x9f\x56\xae\x04\x2e\x75"
28427                           "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
28428                           "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
28429                           "\x08\x67\x02\x01\xe3\x64\x82\xee"
28430                           "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
28431                           "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
28432                           "\x85\x48\xb6\x97\x97\x02\x43\x1f"
28433                           "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
28434                           "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
28435                           "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
28436                           "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
28437                           "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
28438                           "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
28439                           "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
28440                           "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
28441                           "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
28442                           "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
28443                           "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
28444                           "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
28445                           "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
28446                           "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
28447                           "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
28448                           "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
28449                           "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
28450                           "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
28451                           "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
28452                           "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
28453                           "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
28454                           "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
28455                           "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
28456                           "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
28457                           "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
28458                           "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
28459                           "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
28460                           "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
28461                           "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
28462                           "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
28463                           "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
28464                           "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
28465                           "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
28466                           "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
28467                           "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
28468                           "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
28469                           "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
28470                           "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
28471                           "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
28472                           "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
28473                           "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
28474                           "\x36\x12\x35\x28\x64\x12\xe7\xbb"
28475                           "\x50\xac\x45\x15\x7b\x16\x23\x5e"
28476                           "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
28477                           "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
28478                           "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
28479                           "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
28480                           "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
28481                           "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
28482                           "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
28483                           "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
28484                           "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
28485                           "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
28486                           "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
28487                           "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
28488                           "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
28489                           "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
28490                           "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
28491                           "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
28492                           "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
28493                           "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
28494                           "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
28495                           "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
28496                           "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
28497                           "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
28498                           "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
28499                           "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
28500                           "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
28501                           "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
28502                           "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
28503                           "\x7d\x65\x57\x65\x98\xff\x8b\x02"
28504                           "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
28505                           "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
28506                           "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
28507                           "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
28508                           "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
28509                           "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
28510                           "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
28511                           "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
28512                           "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
28513                           "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
28514                           "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
28515                           "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
28516                           "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
28517                           "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
28518                           "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
28519                           "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
28520                           "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
28521                           "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
28522                           "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
28523                           "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
28524                           "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
28525                           "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
28526                           "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
28527                           "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
28528                           "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
28529                           "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
28530                           "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
28531                           "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
28532                           "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
28533                           "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
28534                           "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
28535                           "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
28536                           "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
28537                           "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
28538                           "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
28539                           "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
28540                           "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
28541                           "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
28542                           "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
28543                           "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
28544                           "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
28545                           "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
28546                           "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
28547                           "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
28548                           "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
28549                           "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
28550                           "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
28551                           "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
28552                           "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
28553                           "\x53\xf1\x61\x97\x63\x52\x38\x86"
28554                           "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
28555                           "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
28556                           "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
28557                           "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
28558                           "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
28559                           "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
28560                           "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
28561                           "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
28562                           "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
28563                           "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
28564                           "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
28565                           "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
28566                           "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
28567                           "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
28568                           "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
28569                           "\x48\xb9\x27\x62\x00\x12\xc5\x03"
28570                           "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
28571                           "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
28572                           "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
28573                           "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
28574                           "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
28575                           "\x99\xd5\xff\x34\x93\x8f\x31\x45"
28576                           "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
28577                           "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
28578                           "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
28579                           "\x26\xec\x3a\x64\xc4\xab\x74\x97"
28580                           "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
28581                           "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
28582                           "\x68\x50\x22\x16\x96\x2f\xc4\x23"
28583                           "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
28584                           "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
28585                           "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
28586                           "\x20\x89\xef\x44\x22\x38\x3c\x14"
28587                           "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
28588                           "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
28589                           "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
28590                           "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
28591                           "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
28592                           "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
28593                           "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
28594                           "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
28595                           "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
28596                           "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
28597                           "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
28598                           "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
28599                           "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
28600                           "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
28601                           "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
28602                           "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
28603                           "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
28604                           "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
28605                           "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
28606                           "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
28607                           "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
28608                           "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
28609                           "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
28610                           "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
28611                           "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
28612                           "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
28613                           "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
28614                           "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
28615                           "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
28616                           "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
28617                           "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
28618                           "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
28619                           "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
28620                           "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
28621                           "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
28622                           "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
28623                           "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
28624                           "\x60\x81\x75\x29\x9e\xce\x2a\x70"
28625                           "\x28\x0c\x87\xe5\x46\x73\x76\x66"
28626                           "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
28627                           "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
28628                           "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
28629                           "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
28630                           "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
28631                           "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
28632                           "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
28633                           "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
28634                           "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
28635                           "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
28636                           "\xf1\x11\x02\x64\x09\x25\x7c\x26"
28637                           "\xee\xad\x50\x68\x31\x26\x16\x0f"
28638                           "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
28639                           "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
28640                           "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
28641                           "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
28642                           "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
28643                           "\x40\x12\x43\x31\xb8\x12\xe0\x95"
28644                           "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
28645                           "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
28646                           "\xab\x03\xda\x41\xab\xc5\x4e\x33"
28647                           "\x5a\x63\x94\x90\x22\x72\x54\x26"
28648                           "\x93\x65\x99\x45\x55\xd3\x55\x56"
28649                           "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
28650                           "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
28651                           "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
28652                           "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
28653                           "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
28654                           "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
28655                           "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
28656                           "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
28657                           "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
28658                           "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
28659                           "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
28660                           "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
28661                           "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
28662                           "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
28663                           "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
28664                           "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
28665                           "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
28666                           "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
28667                           "\xad\x6e\x83\x90\x21\x10\xb8\x07"
28668                           "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
28669                           "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
28670                           "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
28671                           "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
28672                           "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
28673                           "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
28674                           "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
28675                           "\x02\x5a\x20\x4d\x43\x08\x71\x49"
28676                           "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
28677                           "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
28678                           "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
28679                           "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
28680                           "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
28681                           "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
28682                           "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
28683                           "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
28684                           "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
28685                           "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
28686                           "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
28687                           "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
28688                           "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
28689                           "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
28690                           "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
28691                           "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
28692                           "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
28693                           "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
28694                           "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
28695                           "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
28696                           "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
28697                           "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
28698                           "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
28699                           "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
28700                           "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
28701                           "\x08\x48\xfd\x9b\x47\x41\x10\xae"
28702                           "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
28703                           "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
28704                           "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
28705                           "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
28706                           "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
28707                           "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
28708                           "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
28709                           "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
28710                           "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
28711                           "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
28712                           "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
28713                           "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
28714                           "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
28715                           "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
28716                           "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
28717                           "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
28718                           "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
28719                           "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
28720                           "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
28721                           "\x54\x14\x91\x12\x41\x41\x54\xa2"
28722                           "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
28723                           "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
28724                           "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
28725                           "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
28726                           "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
28727                           "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
28728                           "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
28729                           "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
28730                           "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
28731                           "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
28732                           "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
28733                           "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
28734                           "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
28735                           "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
28736                           "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
28737                           "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
28738                           "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
28739                           "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
28740                           "\x58\xec\x70\x4f\x40\x25\x2b\xba"
28741                           "\x96\x59\xac\x34\x45\x29\xc6\x57"
28742                           "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
28743                           "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
28744                           "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
28745                           "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
28746                           "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
28747                           "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
28748                           "\xea\xa5\x56\x02\x5b\x93\x13\x46"
28749                           "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
28750                           "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
28751                           "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
28752                           "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
28753                           "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
28754                           "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
28755                           "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
28756                           "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
28757                           "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
28758                           "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
28759                           "\xad\x57\xae\x98\x83\xd5\x92\x4e"
28760                           "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
28761                           "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
28762                           "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
28763                           "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
28764                           "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
28765                           "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
28766                           "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
28767                           "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
28768                           "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
28769                           "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
28770                           "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
28771                           "\x32\x06\x3f\x12\x23\x19\x22\x82"
28772                           "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
28773                           "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
28774                           "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
28775                           "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
28776                           "\x35\x79\x84\x78\x06\x68\x97\x30"
28777                           "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
28778                           "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
28779                           "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
28780                           "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
28781                           "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
28782                           "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
28783                           "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
28784                           "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
28785                           "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
28786                           "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
28787                           "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
28788                           "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
28789                           "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
28790                           "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
28791                           "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
28792                           "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
28793                           "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
28794                           "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
28795                           "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
28796                           "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
28797                           "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
28798                           "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
28799                           "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
28800                           "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
28801                           "\x13\xa7\x47\x89\x62\xa3\x03\x19"
28802                           "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
28803                           "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
28804                           "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
28805                           "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
28806                           "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
28807                           "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
28808                           "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
28809                           "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
28810                           "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
28811                           "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
28812                           "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
28813                           "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
28814                           "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
28815                           "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
28816                           "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
28817                           "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
28818                           "\x20\xa9\x37\x78\x32\x03\x60\xcc"
28819                           "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
28820                           "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
28821                           "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
28822                           "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
28823                           "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
28824                           "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
28825                           "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
28826                           "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
28827                           "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
28828                           "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
28829                           "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
28830                           "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
28831                           "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
28832                           "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
28833                           "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
28834                           "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
28835                           "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
28836                           "\x12\xab\x95\x66\xec\x09\x64\xea"
28837                           "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
28838                           "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
28839                           "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
28840                           "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
28841                           "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
28842                           "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
28843                           "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
28844                           "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
28845                           "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
28846                           "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
28847                           "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
28848                           "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
28849                           "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
28850                           "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
28851                           "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
28852                           "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
28853                           "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
28854                           "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
28855                 .ctext  = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
28856                           "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
28857                           "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
28858                           "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
28859                           "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
28860                           "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
28861                           "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
28862                           "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
28863                           "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
28864                           "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
28865                           "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
28866                           "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
28867                           "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
28868                           "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
28869                           "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
28870                           "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
28871                           "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
28872                           "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
28873                           "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
28874                           "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
28875                           "\xc5\x97\x18\x04\xab\x8c\x38\x56"
28876                           "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
28877                           "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
28878                           "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
28879                           "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
28880                           "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
28881                           "\x11\x35\xee\x29\xa4\x90\xfc\x46"
28882                           "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
28883                           "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
28884                           "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
28885                           "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
28886                           "\x42\x89\x28\x27\xe6\xec\x50\xb7"
28887                           "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
28888                           "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
28889                           "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
28890                           "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
28891                           "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
28892                           "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
28893                           "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
28894                           "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
28895                           "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
28896                           "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
28897                           "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
28898                           "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
28899                           "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
28900                           "\x1d\x1c\x08\x65\x80\x69\xae\x24"
28901                           "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
28902                           "\xce\x39\x07\xe6\x69\x94\x5a\x75"
28903                           "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
28904                           "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
28905                           "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
28906                           "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
28907                           "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
28908                           "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
28909                           "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
28910                           "\xae\x27\xbc\x93\x96\xab\xb6\x02"
28911                           "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
28912                           "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
28913                           "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
28914                           "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
28915                           "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
28916                           "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
28917                           "\x7d\x60\x87\x11\x06\x83\x25\xe3"
28918                           "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
28919                           "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
28920                           "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
28921                           "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
28922                           "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
28923                           "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
28924                           "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
28925                           "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
28926                           "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
28927                           "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
28928                           "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
28929                           "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
28930                           "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
28931                           "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
28932                           "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
28933                           "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
28934                           "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
28935                           "\xed\x73\xdb\xc1\x70\xda\xde\x67"
28936                           "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
28937                           "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
28938                           "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
28939                           "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
28940                           "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
28941                           "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
28942                           "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
28943                           "\xc4\x12\x70\x5a\x37\x83\x49\xac"
28944                           "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
28945                           "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
28946                           "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
28947                           "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
28948                           "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
28949                           "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
28950                           "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
28951                           "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
28952                           "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
28953                           "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
28954                           "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
28955                           "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
28956                           "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
28957                           "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
28958                           "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
28959                           "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
28960                           "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
28961                           "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
28962                           "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
28963                           "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
28964                           "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
28965                           "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
28966                           "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
28967                           "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
28968                           "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
28969                           "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
28970                           "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
28971                           "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
28972                           "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
28973                           "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
28974                           "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
28975                           "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
28976                           "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
28977                           "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
28978                           "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
28979                           "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
28980                           "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
28981                           "\x25\x87\x45\x4c\x07\xa7\x15\x99"
28982                           "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
28983                           "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
28984                           "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
28985                           "\x95\x25\x55\x33\x41\x5b\x8d\x75"
28986                           "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
28987                           "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
28988                           "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
28989                           "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
28990                           "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
28991                           "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
28992                           "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
28993                           "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
28994                           "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
28995                           "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
28996                           "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
28997                           "\x32\x78\xa9\xf6\x03\x98\x18\xed"
28998                           "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
28999                           "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
29000                           "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
29001                           "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
29002                           "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
29003                           "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
29004                           "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
29005                           "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
29006                           "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
29007                           "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
29008                           "\x54\x76\xaa\x58\xae\x87\x23\x93"
29009                           "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
29010                           "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
29011                           "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
29012                           "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
29013                           "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
29014                           "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
29015                           "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
29016                           "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
29017                           "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
29018                           "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
29019                           "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
29020                           "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
29021                           "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
29022                           "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
29023                           "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
29024                           "\x03\x01\xce\xbb\x58\xff\xee\x74"
29025                           "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
29026                           "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
29027                           "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
29028                           "\x27\xc3\x51\x50\xa0\x02\x73\x00"
29029                           "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
29030                           "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
29031                           "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
29032                           "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
29033                           "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
29034                           "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
29035                           "\xe9\x60\x82\x77\x44\x3f\x89\x23"
29036                           "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
29037                           "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
29038                           "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
29039                           "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
29040                           "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
29041                           "\x63\x36\xa8\x02\x54\x93\xb0\xba"
29042                           "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
29043                           "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
29044                           "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
29045                           "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
29046                           "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
29047                           "\x96\x94\xf2\x67\x57\x23\x9c\x29"
29048                           "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
29049                           "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
29050                           "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
29051                           "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
29052                           "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
29053                           "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
29054                           "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
29055                           "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
29056                           "\x02\xdc\x15\x87\x48\x16\x26\x18"
29057                           "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
29058                           "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
29059                           "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
29060                           "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
29061                           "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
29062                           "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
29063                           "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
29064                           "\x72\xee\x34\xbe\x41\x90\xd4\x07"
29065                           "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
29066                           "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
29067                           "\xe8\x71\xce\xa8\x73\x77\x82\x74"
29068                           "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
29069                           "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
29070                           "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
29071                           "\xae\x96\x09\xbf\x47\xae\x7d\x12"
29072                           "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
29073                           "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
29074                           "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
29075                           "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
29076                           "\x82\xef\x31\x85\x8e\x38\x56\xff"
29077                           "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
29078                           "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
29079                           "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
29080                           "\xdc\x83\x81\x3c\x24\x28\x87\x08"
29081                           "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
29082                           "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
29083                           "\x93\x45\x5d\x45\x64\x59\x16\x3f"
29084                           "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
29085                           "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
29086                           "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
29087                           "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
29088                           "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
29089                           "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
29090                           "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
29091                           "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
29092                           "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
29093                           "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
29094                           "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
29095                           "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
29096                           "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
29097                           "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
29098                           "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
29099                           "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
29100                           "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
29101                           "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
29102                           "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
29103                           "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
29104                           "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
29105                           "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
29106                           "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
29107                           "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
29108                           "\xed\x87\xb8\x74\x98\x0d\x16\x86"
29109                           "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
29110                           "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
29111                           "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
29112                           "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
29113                           "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
29114                           "\x61\x78\x60\xd5\x81\x70\xa4\x11"
29115                           "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
29116                           "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
29117                           "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
29118                           "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
29119                           "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
29120                           "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
29121                           "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
29122                           "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
29123                           "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
29124                           "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
29125                           "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
29126                           "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
29127                           "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
29128                           "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
29129                           "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
29130                           "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
29131                           "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
29132                           "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
29133                           "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
29134                           "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
29135                           "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
29136                           "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
29137                           "\x86\xda\x71\xfb\x72\xab\x87\x0f"
29138                           "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
29139                           "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
29140                           "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
29141                           "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
29142                           "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
29143                           "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
29144                           "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
29145                           "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
29146                           "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
29147                           "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
29148                           "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
29149                           "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
29150                           "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
29151                           "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
29152                           "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
29153                           "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
29154                           "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
29155                           "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
29156                           "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
29157                           "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
29158                           "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
29159                           "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
29160                           "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
29161                           "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
29162                           "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
29163                           "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
29164                           "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
29165                           "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
29166                           "\x70\x0c\x72\x80\x64\x94\x67\xad"
29167                           "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
29168                           "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
29169                           "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
29170                           "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
29171                           "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
29172                           "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
29173                           "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
29174                           "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
29175                           "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
29176                           "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
29177                           "\xa1\x6e\x73\x62\x96\x73\x56\x66"
29178                           "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
29179                           "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
29180                           "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
29181                           "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
29182                           "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
29183                           "\x03\x41\x19\x5b\x31\xf3\x48\x83"
29184                           "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
29185                           "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
29186                           "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
29187                           "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
29188                           "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
29189                           "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
29190                           "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
29191                           "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
29192                           "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
29193                           "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
29194                           "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
29195                           "\xed\x2a\x70\x79\x39\xcf\x36\x72"
29196                           "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
29197                           "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
29198                           "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
29199                           "\x3b\x74\x29\x63\xda\x23\xbc\x43"
29200                           "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
29201                           "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
29202                           "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
29203                           "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
29204                           "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
29205                           "\xa9\x13\x11\x60\x19\x23\xc7\x35"
29206                           "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
29207                           "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
29208                           "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
29209                           "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
29210                           "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
29211                           "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
29212                           "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
29213                           "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
29214                           "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
29215                           "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
29216                           "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
29217                           "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
29218                           "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
29219                           "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
29220                           "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
29221                           "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
29222                           "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
29223                           "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
29224                           "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
29225                           "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
29226                           "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
29227                           "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
29228                           "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
29229                           "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
29230                           "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
29231                           "\x87\x24\xa9\xe9\x87\xde\x75\x77"
29232                           "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
29233                           "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
29234                           "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
29235                           "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
29236                           "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
29237                           "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
29238                           "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
29239                           "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
29240                           "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
29241                           "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
29242                           "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
29243                           "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
29244                           "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
29245                           "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
29246                           "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
29247                           "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
29248                           "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
29249                           "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
29250                           "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
29251                           "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
29252                           "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
29253                           "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
29254                           "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
29255                           "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
29256                           "\xdc\x66\xad\xe4\x54\xff\x09\xef"
29257                           "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
29258                           "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
29259                           "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
29260                           "\x51\x0c\x0f\x84\x26\x75\x69\x23"
29261                           "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
29262                           "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
29263                           "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
29264                           "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
29265                           "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
29266                           "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
29267                           "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
29268                           "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
29269                           "\x6b\x55\x85\x47\xbb\x90\xba\x69"
29270                           "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
29271                           "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
29272                           "\x09\x76\x51\x83\x0a\x46\x19\x61"
29273                           "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
29274                           "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
29275                           "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
29276                           "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
29277                           "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
29278                           "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
29279                           "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
29280                           "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
29281                           "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
29282                           "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
29283                           "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
29284                           "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
29285                           "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
29286                           "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
29287                           "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
29288                           "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
29289                           "\x24\x24\x51\x22\x1e\xad\xef\x2f"
29290                           "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
29291                           "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
29292                           "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
29293                           "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
29294                           "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
29295                           "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
29296                           "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
29297                           "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
29298                           "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
29299                           "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
29300                           "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
29301                           "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
29302                           "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
29303                           "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
29304                           "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
29305                           "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
29306                           "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
29307                           "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
29308                           "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
29309                           "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
29310                           "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
29311                           "\x42\xff\x4e\x57\xde\x0c\x67\x45"
29312                           "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
29313                           "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
29314                           "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
29315                           "\xf8\x87\x0e\x14\x19\x81\x23\x53"
29316                           "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
29317                           "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
29318                           "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
29319                           "\x73\xde\x5e\x90\xce\x6c\x85\x43"
29320                           "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
29321                           "\xb8\x05\x80\x81\xf6\x22\x30\xad"
29322                           "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
29323                           "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
29324                           "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
29325                           "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
29326                           "\xb7\x73\x14\x69\xef\xf8\x28\x43"
29327                           "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
29328                           "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
29329                           "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
29330                           "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
29331                           "\x4d\xb1\x17\x40\x02\x84\xed\x53"
29332                           "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
29333                           "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
29334                           "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
29335                           "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
29336                           "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
29337                           "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
29338                           "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
29339                           "\x90\xe9\x60\x64\xfa\x52\x87\x37"
29340                           "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
29341                           "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
29342                           "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
29343                           "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
29344                           "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
29345                           "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
29346                           "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
29347                           "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
29348                           "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
29349                           "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
29350                           "\xb6\x86\x9e\x13\x78\x34\x36\x85"
29351                           "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
29352                           "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
29353                           "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
29354                           "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
29355                           "\x13\xdd\x9e\x20\x51\x18\x73\x37"
29356                           "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
29357                           "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
29358                           "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
29359                           "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
29360                           "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
29361                           "\x66\x2a\xac\x59\xb3\x73\x86\xae"
29362                           "\x6d\x85\x97\x37\x68\xef\xa7\x85"
29363                           "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
29364                           "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
29365                           "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
29366                           "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
29367                 .len    = 4096,
29368         }
29369 };
29370
29371 /* Adiantum with XChaCha20 instead of XChaCha12 */
29372 /* Test vectors from https://github.com/google/adiantum */
29373 static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
29374         {
29375                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
29376                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
29377                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
29378                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
29379                 .klen   = 32,
29380                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
29381                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
29382                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
29383                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
29384                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
29385                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
29386                 .ctext  = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
29387                           "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
29388                 .len    = 16,
29389         }, {
29390                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
29391                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
29392                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
29393                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
29394                 .klen   = 32,
29395                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
29396                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
29397                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
29398                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
29399                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
29400                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
29401                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
29402                           "\x43\x5a\x46\x06\x94\x2d\xf2",
29403                 .ctext  = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
29404                           "\x0e\x14\x42\x5f\x00\x74\x09\x36"
29405                           "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
29406                           "\x0c\x04\x91\x14\x91\xe9\x37",
29407                 .len    = 31,
29408         }, {
29409                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
29410                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
29411                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
29412                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
29413                 .klen   = 32,
29414                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
29415                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
29416                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
29417                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
29418                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
29419                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
29420                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
29421                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
29422                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
29423                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
29424                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
29425                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
29426                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
29427                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
29428                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
29429                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
29430                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
29431                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
29432                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
29433                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
29434                 .ctext  = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
29435                           "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
29436                           "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
29437                           "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
29438                           "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
29439                           "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
29440                           "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
29441                           "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
29442                           "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
29443                           "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
29444                           "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
29445                           "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
29446                           "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
29447                           "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
29448                           "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
29449                           "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
29450                 .len    = 128,
29451         }, {
29452                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
29453                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
29454                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
29455                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
29456                 .klen   = 32,
29457                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
29458                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
29459                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
29460                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
29461                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
29462                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
29463                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
29464                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
29465                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
29466                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
29467                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
29468                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
29469                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
29470                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
29471                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
29472                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
29473                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
29474                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
29475                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
29476                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
29477                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
29478                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
29479                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
29480                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
29481                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
29482                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
29483                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
29484                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
29485                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
29486                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
29487                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
29488                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
29489                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
29490                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
29491                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
29492                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
29493                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
29494                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
29495                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
29496                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
29497                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
29498                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
29499                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
29500                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
29501                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
29502                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
29503                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
29504                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
29505                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
29506                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
29507                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
29508                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
29509                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
29510                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
29511                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
29512                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
29513                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
29514                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
29515                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
29516                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
29517                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
29518                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
29519                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
29520                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
29521                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
29522                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
29523                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
29524                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
29525                 .ctext  = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
29526                           "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
29527                           "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
29528                           "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
29529                           "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
29530                           "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
29531                           "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
29532                           "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
29533                           "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
29534                           "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
29535                           "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
29536                           "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
29537                           "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
29538                           "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
29539                           "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
29540                           "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
29541                           "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
29542                           "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
29543                           "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
29544                           "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
29545                           "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
29546                           "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
29547                           "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
29548                           "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
29549                           "\x26\x39\x95\x07\xad\x7a\xc9\x69"
29550                           "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
29551                           "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
29552                           "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
29553                           "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
29554                           "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
29555                           "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
29556                           "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
29557                           "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
29558                           "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
29559                           "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
29560                           "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
29561                           "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
29562                           "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
29563                           "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
29564                           "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
29565                           "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
29566                           "\x34\x42\xe5\xae\x45\x13\x63\xfe"
29567                           "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
29568                           "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
29569                           "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
29570                           "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
29571                           "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
29572                           "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
29573                           "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
29574                           "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
29575                           "\x65\xa8\xac\xea\x8d\x68\x46\x34"
29576                           "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
29577                           "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
29578                           "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
29579                           "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
29580                           "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
29581                           "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
29582                           "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
29583                           "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
29584                           "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
29585                           "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
29586                           "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
29587                           "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
29588                           "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
29589                 .len    = 512,
29590         }, {
29591                 .key    = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
29592                           "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
29593                           "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
29594                           "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
29595                 .klen   = 32,
29596                 .iv     = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
29597                           "\x88\x76\x65\xb4\x1a\x29\x27\x12"
29598                           "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
29599                           "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
29600                 .ptext  = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
29601                           "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
29602                           "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
29603                           "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
29604                           "\x38\x24\x62\xdb\x65\x82\x10\x7f"
29605                           "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
29606                           "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
29607                           "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
29608                           "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
29609                           "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
29610                           "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
29611                           "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
29612                           "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
29613                           "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
29614                           "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
29615                           "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
29616                           "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
29617                           "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
29618                           "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
29619                           "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
29620                           "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
29621                           "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
29622                           "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
29623                           "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
29624                           "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
29625                           "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
29626                           "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
29627                           "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
29628                           "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
29629                           "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
29630                           "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
29631                           "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
29632                           "\x28\x04\x4c\xff\x98\x20\x08\x10"
29633                           "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
29634                           "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
29635                           "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
29636                           "\x24\x62\xcf\x17\x36\x84\xc0\x72"
29637                           "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
29638                           "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
29639                           "\x71\x73\x08\x4e\x22\x31\xfd\x88"
29640                           "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
29641                           "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
29642                           "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
29643                           "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
29644                           "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
29645                           "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
29646                           "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
29647                           "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
29648                           "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
29649                           "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
29650                           "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
29651                           "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
29652                           "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
29653                           "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
29654                           "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
29655                           "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
29656                           "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
29657                           "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
29658                           "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
29659                           "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
29660                           "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
29661                           "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
29662                           "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
29663                           "\x85\x12\xca\x61\x65\xd1\x66\xd8"
29664                           "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
29665                           "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
29666                           "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
29667                           "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
29668                           "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
29669                           "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
29670                           "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
29671                           "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
29672                           "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
29673                           "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
29674                           "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
29675                           "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
29676                           "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
29677                           "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
29678                           "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
29679                           "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
29680                           "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
29681                           "\x16\xcb\xae\x7d\x38\x21\x67\x74"
29682                           "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
29683                           "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
29684                           "\xa8\x88\x27\x86\x44\x75\x5b\x29"
29685                           "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
29686                           "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
29687                           "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
29688                           "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
29689                           "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
29690                           "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
29691                           "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
29692                           "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
29693                           "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
29694                           "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
29695                           "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
29696                           "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
29697                           "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
29698                           "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
29699                           "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
29700                           "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
29701                           "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
29702                           "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
29703                           "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
29704                           "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
29705                           "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
29706                           "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
29707                           "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
29708                           "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
29709                           "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
29710                           "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
29711                           "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
29712                           "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
29713                           "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
29714                           "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
29715                           "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
29716                           "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
29717                           "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
29718                           "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
29719                           "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
29720                           "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
29721                           "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
29722                           "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
29723                           "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
29724                           "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
29725                           "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
29726                           "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
29727                           "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
29728                           "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
29729                           "\x55\x9a\xe0\x09\x21\xac\x61\x85"
29730                           "\x4b\x20\x95\x73\x63\x26\xe3\x83"
29731                           "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
29732                           "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
29733                           "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
29734                           "\x98\x09\x11\xb7\x00\x06\x24\x5a"
29735                           "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
29736                           "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
29737                           "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
29738                           "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
29739                           "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
29740                           "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
29741                           "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
29742                           "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
29743                           "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
29744                           "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
29745                           "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
29746                           "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
29747                           "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
29748                           "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
29749                           "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
29750                           "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
29751                           "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
29752                           "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
29753                           "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
29754                           "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
29755                           "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
29756                           "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
29757                           "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
29758                           "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
29759                           "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
29760                           "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
29761                           "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
29762                           "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
29763                           "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
29764                           "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
29765                           "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
29766                           "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
29767                           "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
29768                           "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
29769                           "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
29770                           "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
29771                           "\x62\x96\x79\x0c\x81\x05\x41\xf2"
29772                           "\x07\x20\x26\xe5\x8e\x10\x54\x03"
29773                           "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
29774                           "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
29775                           "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
29776                           "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
29777                           "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
29778                           "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
29779                           "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
29780                           "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
29781                           "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
29782                           "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
29783                           "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
29784                           "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
29785                           "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
29786                           "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
29787                           "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
29788                           "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
29789                           "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
29790                           "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
29791                           "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
29792                 .ctext  = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
29793                           "\x71\x28\x98\x61\xe5\x2c\x45\x49"
29794                           "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
29795                           "\xbe\x05\x02\x35\xc1\x18\x61\x28"
29796                           "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
29797                           "\x14\x80\x88\x56\xcf\x98\x32\xcc"
29798                           "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
29799                           "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
29800                           "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
29801                           "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
29802                           "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
29803                           "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
29804                           "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
29805                           "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
29806                           "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
29807                           "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
29808                           "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
29809                           "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
29810                           "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
29811                           "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
29812                           "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
29813                           "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
29814                           "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
29815                           "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
29816                           "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
29817                           "\x35\x17\x51\x06\x19\x82\x9d\x44"
29818                           "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
29819                           "\x95\x63\xc3\xf0\x91\x73\x77\x44"
29820                           "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
29821                           "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
29822                           "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
29823                           "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
29824                           "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
29825                           "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
29826                           "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
29827                           "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
29828                           "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
29829                           "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
29830                           "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
29831                           "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
29832                           "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
29833                           "\x9a\x14\xab\x08\xc2\x67\x59\x30"
29834                           "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
29835                           "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
29836                           "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
29837                           "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
29838                           "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
29839                           "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
29840                           "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
29841                           "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
29842                           "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
29843                           "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
29844                           "\x73\x23\x27\x71\x85\x04\x07\x59"
29845                           "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
29846                           "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
29847                           "\x21\x5b\x22\x25\x61\x01\x96\xce"
29848                           "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
29849                           "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
29850                           "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
29851                           "\xae\x89\x30\xa3\xc1\x65\x41\x67"
29852                           "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
29853                           "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
29854                           "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
29855                           "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
29856                           "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
29857                           "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
29858                           "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
29859                           "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
29860                           "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
29861                           "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
29862                           "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
29863                           "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
29864                           "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
29865                           "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
29866                           "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
29867                           "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
29868                           "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
29869                           "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
29870                           "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
29871                           "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
29872                           "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
29873                           "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
29874                           "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
29875                           "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
29876                           "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
29877                           "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
29878                           "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
29879                           "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
29880                           "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
29881                           "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
29882                           "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
29883                           "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
29884                           "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
29885                           "\x90\xda\x98\x98\x81\x04\x1c\x4d"
29886                           "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
29887                           "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
29888                           "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
29889                           "\x04\x59\x51\xbb\x17\x03\xc0\x07"
29890                           "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
29891                           "\xbc\x60\x86\x3b\x68\x91\x67\x14"
29892                           "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
29893                           "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
29894                           "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
29895                           "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
29896                           "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
29897                           "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
29898                           "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
29899                           "\x02\x98\xee\x83\xca\x4c\x94\xa3"
29900                           "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
29901                           "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
29902                           "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
29903                           "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
29904                           "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
29905                           "\xad\xf0\x38\x49\x88\x78\x73\xcd"
29906                           "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
29907                           "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
29908                           "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
29909                           "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
29910                           "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
29911                           "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
29912                           "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
29913                           "\x08\x42\xef\x07\x03\xb7\xa3\xea"
29914                           "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
29915                           "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
29916                           "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
29917                           "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
29918                           "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
29919                           "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
29920                           "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
29921                           "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
29922                           "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
29923                           "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
29924                           "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
29925                           "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
29926                           "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
29927                           "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
29928                           "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
29929                           "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
29930                           "\x80\xae\x2d\xda\x85\x90\x69\x3c"
29931                           "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
29932                           "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
29933                           "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
29934                           "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
29935                           "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
29936                           "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
29937                           "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
29938                           "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
29939                           "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
29940                           "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
29941                           "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
29942                           "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
29943                           "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
29944                           "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
29945                           "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
29946                           "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
29947                           "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
29948                           "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
29949                           "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
29950                           "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
29951                           "\x67\x04\x70\x86\x0a\x71\x69\x34"
29952                           "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
29953                           "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
29954                           "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
29955                           "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
29956                           "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
29957                           "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
29958                           "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
29959                           "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
29960                           "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
29961                           "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
29962                           "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
29963                           "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
29964                           "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
29965                           "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
29966                           "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
29967                           "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
29968                           "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
29969                           "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
29970                           "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
29971                           "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
29972                           "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
29973                           "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
29974                           "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
29975                           "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
29976                           "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
29977                           "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
29978                           "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
29979                           "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
29980                           "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
29981                           "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
29982                           "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
29983                           "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
29984                 .len    = 1536,
29985         }, {
29986                 .key    = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
29987                           "\x70\x47\x8c\xea\x87\x30\x1d\x58"
29988                           "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
29989                           "\x56\x95\x83\x98\x38\x80\x84\x8a",
29990                 .klen   = 32,
29991                 .iv     = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
29992                           "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
29993                           "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
29994                           "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
29995                 .ptext  = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
29996                           "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
29997                           "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
29998                           "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
29999                           "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
30000                           "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
30001                           "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
30002                           "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
30003                           "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
30004                           "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
30005                           "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
30006                           "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
30007                           "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
30008                           "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
30009                           "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
30010                           "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
30011                           "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
30012                           "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
30013                           "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
30014                           "\x35\x21\x66\x78\x3d\xb6\x65\x83"
30015                           "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
30016                           "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
30017                           "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
30018                           "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
30019                           "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
30020                           "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
30021                           "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
30022                           "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
30023                           "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
30024                           "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
30025                           "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
30026                           "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
30027                           "\x96\x87\xc9\x34\x02\x26\xde\x20"
30028                           "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
30029                           "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
30030                           "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
30031                           "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
30032                           "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
30033                           "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
30034                           "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
30035                           "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
30036                           "\x85\xfd\x22\x08\x00\xae\x72\x10"
30037                           "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
30038                           "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
30039                           "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
30040                           "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
30041                           "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
30042                           "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
30043                           "\x93\x45\x38\x95\xb9\x69\xe9\x62"
30044                           "\x21\x73\xbd\x81\x73\xac\x15\x74"
30045                           "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
30046                           "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
30047                           "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
30048                           "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
30049                           "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
30050                           "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
30051                           "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
30052                           "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
30053                           "\x24\x43\xb3\x0e\xba\xad\x63\x63"
30054                           "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
30055                           "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
30056                           "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
30057                           "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
30058                           "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
30059                           "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
30060                           "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
30061                           "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
30062                           "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
30063                           "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
30064                           "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
30065                           "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
30066                           "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
30067                           "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
30068                           "\x9d\x46\xae\x67\x00\x3b\x40\x94"
30069                           "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
30070                           "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
30071                           "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
30072                           "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
30073                           "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
30074                           "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
30075                           "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
30076                           "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
30077                           "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
30078                           "\x76\xca\x9f\x56\xae\x04\x2e\x75"
30079                           "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
30080                           "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
30081                           "\x08\x67\x02\x01\xe3\x64\x82\xee"
30082                           "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
30083                           "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
30084                           "\x85\x48\xb6\x97\x97\x02\x43\x1f"
30085                           "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
30086                           "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
30087                           "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
30088                           "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
30089                           "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
30090                           "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
30091                           "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
30092                           "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
30093                           "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
30094                           "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
30095                           "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
30096                           "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
30097                           "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
30098                           "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
30099                           "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
30100                           "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
30101                           "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
30102                           "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
30103                           "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
30104                           "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
30105                           "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
30106                           "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
30107                           "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
30108                           "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
30109                           "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
30110                           "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
30111                           "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
30112                           "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
30113                           "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
30114                           "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
30115                           "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
30116                           "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
30117                           "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
30118                           "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
30119                           "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
30120                           "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
30121                           "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
30122                           "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
30123                           "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
30124                           "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
30125                           "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
30126                           "\x36\x12\x35\x28\x64\x12\xe7\xbb"
30127                           "\x50\xac\x45\x15\x7b\x16\x23\x5e"
30128                           "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
30129                           "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
30130                           "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
30131                           "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
30132                           "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
30133                           "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
30134                           "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
30135                           "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
30136                           "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
30137                           "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
30138                           "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
30139                           "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
30140                           "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
30141                           "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
30142                           "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
30143                           "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
30144                           "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
30145                           "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
30146                           "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
30147                           "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
30148                           "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
30149                           "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
30150                           "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
30151                           "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
30152                           "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
30153                           "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
30154                           "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
30155                           "\x7d\x65\x57\x65\x98\xff\x8b\x02"
30156                           "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
30157                           "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
30158                           "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
30159                           "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
30160                           "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
30161                           "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
30162                           "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
30163                           "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
30164                           "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
30165                           "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
30166                           "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
30167                           "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
30168                           "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
30169                           "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
30170                           "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
30171                           "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
30172                           "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
30173                           "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
30174                           "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
30175                           "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
30176                           "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
30177                           "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
30178                           "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
30179                           "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
30180                           "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
30181                           "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
30182                           "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
30183                           "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
30184                           "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
30185                           "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
30186                           "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
30187                           "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
30188                           "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
30189                           "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
30190                           "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
30191                           "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
30192                           "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
30193                           "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
30194                           "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
30195                           "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
30196                           "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
30197                           "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
30198                           "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
30199                           "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
30200                           "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
30201                           "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
30202                           "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
30203                           "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
30204                           "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
30205                           "\x53\xf1\x61\x97\x63\x52\x38\x86"
30206                           "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
30207                           "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
30208                           "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
30209                           "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
30210                           "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
30211                           "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
30212                           "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
30213                           "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
30214                           "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
30215                           "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
30216                           "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
30217                           "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
30218                           "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
30219                           "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
30220                           "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
30221                           "\x48\xb9\x27\x62\x00\x12\xc5\x03"
30222                           "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
30223                           "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
30224                           "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
30225                           "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
30226                           "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
30227                           "\x99\xd5\xff\x34\x93\x8f\x31\x45"
30228                           "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
30229                           "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
30230                           "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
30231                           "\x26\xec\x3a\x64\xc4\xab\x74\x97"
30232                           "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
30233                           "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
30234                           "\x68\x50\x22\x16\x96\x2f\xc4\x23"
30235                           "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
30236                           "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
30237                           "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
30238                           "\x20\x89\xef\x44\x22\x38\x3c\x14"
30239                           "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
30240                           "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
30241                           "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
30242                           "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
30243                           "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
30244                           "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
30245                           "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
30246                           "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
30247                           "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
30248                           "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
30249                           "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
30250                           "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
30251                           "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
30252                           "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
30253                           "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
30254                           "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
30255                           "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
30256                           "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
30257                           "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
30258                           "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
30259                           "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
30260                           "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
30261                           "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
30262                           "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
30263                           "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
30264                           "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
30265                           "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
30266                           "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
30267                           "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
30268                           "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
30269                           "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
30270                           "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
30271                           "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
30272                           "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
30273                           "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
30274                           "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
30275                           "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
30276                           "\x60\x81\x75\x29\x9e\xce\x2a\x70"
30277                           "\x28\x0c\x87\xe5\x46\x73\x76\x66"
30278                           "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
30279                           "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
30280                           "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
30281                           "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
30282                           "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
30283                           "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
30284                           "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
30285                           "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
30286                           "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
30287                           "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
30288                           "\xf1\x11\x02\x64\x09\x25\x7c\x26"
30289                           "\xee\xad\x50\x68\x31\x26\x16\x0f"
30290                           "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
30291                           "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
30292                           "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
30293                           "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
30294                           "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
30295                           "\x40\x12\x43\x31\xb8\x12\xe0\x95"
30296                           "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
30297                           "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
30298                           "\xab\x03\xda\x41\xab\xc5\x4e\x33"
30299                           "\x5a\x63\x94\x90\x22\x72\x54\x26"
30300                           "\x93\x65\x99\x45\x55\xd3\x55\x56"
30301                           "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
30302                           "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
30303                           "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
30304                           "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
30305                           "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
30306                           "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
30307                           "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
30308                           "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
30309                           "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
30310                           "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
30311                           "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
30312                           "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
30313                           "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
30314                           "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
30315                           "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
30316                           "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
30317                           "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
30318                           "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
30319                           "\xad\x6e\x83\x90\x21\x10\xb8\x07"
30320                           "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
30321                           "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
30322                           "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
30323                           "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
30324                           "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
30325                           "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
30326                           "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
30327                           "\x02\x5a\x20\x4d\x43\x08\x71\x49"
30328                           "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
30329                           "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
30330                           "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
30331                           "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
30332                           "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
30333                           "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
30334                           "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
30335                           "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
30336                           "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
30337                           "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
30338                           "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
30339                           "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
30340                           "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
30341                           "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
30342                           "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
30343                           "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
30344                           "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
30345                           "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
30346                           "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
30347                           "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
30348                           "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
30349                           "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
30350                           "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
30351                           "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
30352                           "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
30353                           "\x08\x48\xfd\x9b\x47\x41\x10\xae"
30354                           "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
30355                           "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
30356                           "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
30357                           "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
30358                           "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
30359                           "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
30360                           "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
30361                           "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
30362                           "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
30363                           "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
30364                           "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
30365                           "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
30366                           "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
30367                           "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
30368                           "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
30369                           "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
30370                           "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
30371                           "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
30372                           "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
30373                           "\x54\x14\x91\x12\x41\x41\x54\xa2"
30374                           "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
30375                           "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
30376                           "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
30377                           "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
30378                           "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
30379                           "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
30380                           "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
30381                           "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
30382                           "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
30383                           "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
30384                           "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
30385                           "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
30386                           "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
30387                           "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
30388                           "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
30389                           "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
30390                           "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
30391                           "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
30392                           "\x58\xec\x70\x4f\x40\x25\x2b\xba"
30393                           "\x96\x59\xac\x34\x45\x29\xc6\x57"
30394                           "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
30395                           "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
30396                           "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
30397                           "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
30398                           "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
30399                           "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
30400                           "\xea\xa5\x56\x02\x5b\x93\x13\x46"
30401                           "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
30402                           "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
30403                           "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
30404                           "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
30405                           "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
30406                           "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
30407                           "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
30408                           "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
30409                           "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
30410                           "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
30411                           "\xad\x57\xae\x98\x83\xd5\x92\x4e"
30412                           "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
30413                           "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
30414                           "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
30415                           "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
30416                           "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
30417                           "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
30418                           "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
30419                           "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
30420                           "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
30421                           "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
30422                           "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
30423                           "\x32\x06\x3f\x12\x23\x19\x22\x82"
30424                           "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
30425                           "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
30426                           "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
30427                           "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
30428                           "\x35\x79\x84\x78\x06\x68\x97\x30"
30429                           "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
30430                           "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
30431                           "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
30432                           "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
30433                           "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
30434                           "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
30435                           "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
30436                           "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
30437                           "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
30438                           "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
30439                           "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
30440                           "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
30441                           "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
30442                           "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
30443                           "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
30444                           "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
30445                           "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
30446                           "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
30447                           "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
30448                           "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
30449                           "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
30450                           "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
30451                           "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
30452                           "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
30453                           "\x13\xa7\x47\x89\x62\xa3\x03\x19"
30454                           "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
30455                           "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
30456                           "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
30457                           "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
30458                           "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
30459                           "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
30460                           "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
30461                           "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
30462                           "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
30463                           "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
30464                           "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
30465                           "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
30466                           "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
30467                           "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
30468                           "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
30469                           "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
30470                           "\x20\xa9\x37\x78\x32\x03\x60\xcc"
30471                           "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
30472                           "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
30473                           "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
30474                           "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
30475                           "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
30476                           "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
30477                           "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
30478                           "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
30479                           "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
30480                           "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
30481                           "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
30482                           "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
30483                           "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
30484                           "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
30485                           "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
30486                           "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
30487                           "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
30488                           "\x12\xab\x95\x66\xec\x09\x64\xea"
30489                           "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
30490                           "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
30491                           "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
30492                           "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
30493                           "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
30494                           "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
30495                           "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
30496                           "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
30497                           "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
30498                           "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
30499                           "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
30500                           "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
30501                           "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
30502                           "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
30503                           "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
30504                           "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
30505                           "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
30506                           "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
30507                 .ctext  = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
30508                           "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
30509                           "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
30510                           "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
30511                           "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
30512                           "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
30513                           "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
30514                           "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
30515                           "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
30516                           "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
30517                           "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
30518                           "\x86\xac\x06\x97\x70\x42\xec\x3a"
30519                           "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
30520                           "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
30521                           "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
30522                           "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
30523                           "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
30524                           "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
30525                           "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
30526                           "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
30527                           "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
30528                           "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
30529                           "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
30530                           "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
30531                           "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
30532                           "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
30533                           "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
30534                           "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
30535                           "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
30536                           "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
30537                           "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
30538                           "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
30539                           "\x78\x1e\x29\xef\x12\x54\x16\x28"
30540                           "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
30541                           "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
30542                           "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
30543                           "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
30544                           "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
30545                           "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
30546                           "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
30547                           "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
30548                           "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
30549                           "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
30550                           "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
30551                           "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
30552                           "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
30553                           "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
30554                           "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
30555                           "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
30556                           "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
30557                           "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
30558                           "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
30559                           "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
30560                           "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
30561                           "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
30562                           "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
30563                           "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
30564                           "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
30565                           "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
30566                           "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
30567                           "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
30568                           "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
30569                           "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
30570                           "\x38\x90\x06\x18\x84\xf2\xfa\x81"
30571                           "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
30572                           "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
30573                           "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
30574                           "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
30575                           "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
30576                           "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
30577                           "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
30578                           "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
30579                           "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
30580                           "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
30581                           "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
30582                           "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
30583                           "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
30584                           "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
30585                           "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
30586                           "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
30587                           "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
30588                           "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
30589                           "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
30590                           "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
30591                           "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
30592                           "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
30593                           "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
30594                           "\x65\x1a\x03\x48\x12\x66\x50\x3e"
30595                           "\x0e\x5d\x60\x29\x44\x69\x90\xee"
30596                           "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
30597                           "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
30598                           "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
30599                           "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
30600                           "\xb0\xab\x73\x61\x40\x39\xac\x11"
30601                           "\x55\x27\x51\x5f\x11\xef\xb1\x23"
30602                           "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
30603                           "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
30604                           "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
30605                           "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
30606                           "\x83\x40\x0c\x98\x67\xba\x7c\x93"
30607                           "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
30608                           "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
30609                           "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
30610                           "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
30611                           "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
30612                           "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
30613                           "\xdd\x37\x35\x78\x09\x28\x29\x4a"
30614                           "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
30615                           "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
30616                           "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
30617                           "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
30618                           "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
30619                           "\x64\x09\xf3\xee\x05\x42\x34\x93"
30620                           "\x38\xa8\x60\xea\x1d\x95\x90\x65"
30621                           "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
30622                           "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
30623                           "\x45\x73\xce\x54\x4e\xb1\x75\x26"
30624                           "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
30625                           "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
30626                           "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
30627                           "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
30628                           "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
30629                           "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
30630                           "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
30631                           "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
30632                           "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
30633                           "\x99\x40\x90\xd5\x7d\x73\x56\xef"
30634                           "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
30635                           "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
30636                           "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
30637                           "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
30638                           "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
30639                           "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
30640                           "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
30641                           "\x4e\x50\x97\xd4\x94\x58\x67\x57"
30642                           "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
30643                           "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
30644                           "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
30645                           "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
30646                           "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
30647                           "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
30648                           "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
30649                           "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
30650                           "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
30651                           "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
30652                           "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
30653                           "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
30654                           "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
30655                           "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
30656                           "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
30657                           "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
30658                           "\x5b\x94\x12\x33\x78\x85\x90\x84"
30659                           "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
30660                           "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
30661                           "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
30662                           "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
30663                           "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
30664                           "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
30665                           "\x55\x76\x09\xf5\x8a\x09\x91\x93"
30666                           "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
30667                           "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
30668                           "\x1e\x90\x74\x6d\x93\x52\x61\x81"
30669                           "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
30670                           "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
30671                           "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
30672                           "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
30673                           "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
30674                           "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
30675                           "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
30676                           "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
30677                           "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
30678                           "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
30679                           "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
30680                           "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
30681                           "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
30682                           "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
30683                           "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
30684                           "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
30685                           "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
30686                           "\x5f\x93\x83\x39\xda\xb4\x22\x17"
30687                           "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
30688                           "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
30689                           "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
30690                           "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
30691                           "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
30692                           "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
30693                           "\x97\x60\x54\xa3\x52\x31\x78\x57"
30694                           "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
30695                           "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
30696                           "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
30697                           "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
30698                           "\x92\x90\xde\x01\x97\x81\x46\x87"
30699                           "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
30700                           "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
30701                           "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
30702                           "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
30703                           "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
30704                           "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
30705                           "\x67\xe6\x32\xee\xad\xbf\x60\x07"
30706                           "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
30707                           "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
30708                           "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
30709                           "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
30710                           "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
30711                           "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
30712                           "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
30713                           "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
30714                           "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
30715                           "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
30716                           "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
30717                           "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
30718                           "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
30719                           "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
30720                           "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
30721                           "\xaf\x7e\x94\x57\x19\x07\x06\x74"
30722                           "\x57\x5b\x62\x61\x99\x20\xe7\x95"
30723                           "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
30724                           "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
30725                           "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
30726                           "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
30727                           "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
30728                           "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
30729                           "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
30730                           "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
30731                           "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
30732                           "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
30733                           "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
30734                           "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
30735                           "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
30736                           "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
30737                           "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
30738                           "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
30739                           "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
30740                           "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
30741                           "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
30742                           "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
30743                           "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
30744                           "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
30745                           "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
30746                           "\x49\x00\x00\x31\x0f\xa8\x24\x67"
30747                           "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
30748                           "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
30749                           "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
30750                           "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
30751                           "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
30752                           "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
30753                           "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
30754                           "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
30755                           "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
30756                           "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
30757                           "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
30758                           "\x23\x79\x99\x5f\x34\xad\x9f\x41"
30759                           "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
30760                           "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
30761                           "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
30762                           "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
30763                           "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
30764                           "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
30765                           "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
30766                           "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
30767                           "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
30768                           "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
30769                           "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
30770                           "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
30771                           "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
30772                           "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
30773                           "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
30774                           "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
30775                           "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
30776                           "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
30777                           "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
30778                           "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
30779                           "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
30780                           "\x91\x41\x48\xaa\x65\xdb\x34\x72"
30781                           "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
30782                           "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
30783                           "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
30784                           "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
30785                           "\x89\x8b\x27\x70\xae\xa1\x90\x28"
30786                           "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
30787                           "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
30788                           "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
30789                           "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
30790                           "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
30791                           "\xec\x10\x74\xc5\xb6\x53\x09\x93"
30792                           "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
30793                           "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
30794                           "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
30795                           "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
30796                           "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
30797                           "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
30798                           "\x27\x17\x78\x03\xd4\xda\xe4\x73"
30799                           "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
30800                           "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
30801                           "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
30802                           "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
30803                           "\x06\x03\xe0\x76\xff\x19\x1a\x16"
30804                           "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
30805                           "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
30806                           "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
30807                           "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
30808                           "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
30809                           "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
30810                           "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
30811                           "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
30812                           "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
30813                           "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
30814                           "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
30815                           "\x82\x10\xd6\x29\x58\x83\x50\x3c"
30816                           "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
30817                           "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
30818                           "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
30819                           "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
30820                           "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
30821                           "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
30822                           "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
30823                           "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
30824                           "\x66\x34\xb3\x9f\x52\x37\x98\x10"
30825                           "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
30826                           "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
30827                           "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
30828                           "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
30829                           "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
30830                           "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
30831                           "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
30832                           "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
30833                           "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
30834                           "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
30835                           "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
30836                           "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
30837                           "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
30838                           "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
30839                           "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
30840                           "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
30841                           "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
30842                           "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
30843                           "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
30844                           "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
30845                           "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
30846                           "\xa7\xff\x10\x19\x5e\xef\x46\x54"
30847                           "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
30848                           "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
30849                           "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
30850                           "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
30851                           "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
30852                           "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
30853                           "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
30854                           "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
30855                           "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
30856                           "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
30857                           "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
30858                           "\xb1\x03\x06\x23\x65\x37\x33\x92"
30859                           "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
30860                           "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
30861                           "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
30862                           "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
30863                           "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
30864                           "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
30865                           "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
30866                           "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
30867                           "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
30868                           "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
30869                           "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
30870                           "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
30871                           "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
30872                           "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
30873                           "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
30874                           "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
30875                           "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
30876                           "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
30877                           "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
30878                           "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
30879                           "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
30880                           "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
30881                           "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
30882                           "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
30883                           "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
30884                           "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
30885                           "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
30886                           "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
30887                           "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
30888                           "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
30889                           "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
30890                           "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
30891                           "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
30892                           "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
30893                           "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
30894                           "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
30895                           "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
30896                           "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
30897                           "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
30898                           "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
30899                           "\xa5\x45\x75\x12\x01\x40\xff\x3e"
30900                           "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
30901                           "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
30902                           "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
30903                           "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
30904                           "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
30905                           "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
30906                           "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
30907                           "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
30908                           "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
30909                           "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
30910                           "\x12\x26\x68\x12\x25\x0b\x08\x61"
30911                           "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
30912                           "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
30913                           "\x25\x06\xa2\x08\x69\x09\xd9\x09"
30914                           "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
30915                           "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
30916                           "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
30917                           "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
30918                           "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
30919                           "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
30920                           "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
30921                           "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
30922                           "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
30923                           "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
30924                           "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
30925                           "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
30926                           "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
30927                           "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
30928                           "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
30929                           "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
30930                           "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
30931                           "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
30932                           "\xc2\xde\x27\x58\x69\xf9\x07\xca"
30933                           "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
30934                           "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
30935                           "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
30936                           "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
30937                           "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
30938                           "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
30939                           "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
30940                           "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
30941                           "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
30942                           "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
30943                           "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
30944                           "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
30945                           "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
30946                           "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
30947                           "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
30948                           "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
30949                           "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
30950                           "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
30951                           "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
30952                           "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
30953                           "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
30954                           "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
30955                           "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
30956                           "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
30957                           "\xd9\x79\xde\x93\x37\x93\x92\x46"
30958                           "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
30959                           "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
30960                           "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
30961                           "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
30962                           "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
30963                           "\xc8\xae\x92\x29\xce\x71\xd0\xba"
30964                           "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
30965                           "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
30966                           "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
30967                           "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
30968                           "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
30969                           "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
30970                           "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
30971                           "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
30972                           "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
30973                           "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
30974                           "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
30975                           "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
30976                           "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
30977                           "\x93\x81\x38\x47\xc0\x83\x21\xa3"
30978                           "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
30979                           "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
30980                           "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
30981                           "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
30982                           "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
30983                           "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
30984                           "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
30985                           "\x01\xda\xfb\xc4\x85\x26\x85\x31"
30986                           "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
30987                           "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
30988                           "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
30989                           "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
30990                           "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
30991                           "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
30992                           "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
30993                           "\xd9\x27\x34\x53\x9c\x52\x00\x94"
30994                           "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
30995                           "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
30996                           "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
30997                           "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
30998                           "\x34\x97\x32\xd5\x11\x02\x06\x45"
30999                           "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
31000                           "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
31001                           "\x60\x50\x66\x79\xbb\x45\x21\xc4"
31002                           "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
31003                           "\x6b\x20\xef\xac\x16\x74\xe9\x23"
31004                           "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
31005                           "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
31006                           "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
31007                           "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
31008                           "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
31009                           "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
31010                           "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
31011                           "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
31012                           "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
31013                           "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
31014                           "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
31015                           "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
31016                           "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
31017                           "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
31018                           "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
31019                 .len    = 4096,
31020         }
31021 };
31022
31023 /*
31024  * CTS (Cipher Text Stealing) mode tests
31025  */
31026 static const struct cipher_testvec cts_mode_tv_template[] = {
31027         { /* from rfc3962 */
31028                 .klen   = 16,
31029                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
31030                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
31031                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
31032                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
31033                           "\x20",
31034                 .len    = 17,
31035                 .ctext  = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
31036                           "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
31037                           "\x97",
31038         }, {
31039                 .klen   = 16,
31040                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
31041                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
31042                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
31043                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
31044                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
31045                           "\x20\x47\x61\x75\x27\x73\x20",
31046                 .len    = 31,
31047                 .ctext  = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
31048                           "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
31049                           "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
31050                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
31051         }, {
31052                 .klen   = 16,
31053                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
31054                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
31055                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
31056                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
31057                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
31058                           "\x20\x47\x61\x75\x27\x73\x20\x43",
31059                 .len    = 32,
31060                 .ctext  = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
31061                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
31062                           "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
31063                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
31064         }, {
31065                 .klen   = 16,
31066                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
31067                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
31068                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
31069                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
31070                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
31071                           "\x20\x47\x61\x75\x27\x73\x20\x43"
31072                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
31073                           "\x70\x6c\x65\x61\x73\x65\x2c",
31074                 .len    = 47,
31075                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
31076                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
31077                           "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
31078                           "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
31079                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
31080                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
31081         }, {
31082                 .klen   = 16,
31083                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
31084                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
31085                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
31086                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
31087                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
31088                           "\x20\x47\x61\x75\x27\x73\x20\x43"
31089                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
31090                           "\x70\x6c\x65\x61\x73\x65\x2c\x20",
31091                 .len    = 48,
31092                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
31093                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
31094                           "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
31095                           "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
31096                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
31097                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
31098         }, {
31099                 .klen   = 16,
31100                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
31101                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
31102                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
31103                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
31104                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
31105                           "\x20\x47\x61\x75\x27\x73\x20\x43"
31106                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
31107                           "\x70\x6c\x65\x61\x73\x65\x2c\x20"
31108                           "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
31109                           "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
31110                 .len    = 64,
31111                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
31112                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
31113                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
31114                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
31115                           "\x48\x07\xef\xe8\x36\xee\x89\xa5"
31116                           "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
31117                           "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
31118                           "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
31119         }
31120 };
31121
31122 /*
31123  * Compression stuff.
31124  */
31125 #define COMP_BUF_SIZE           512
31126
31127 struct comp_testvec {
31128         int inlen, outlen;
31129         char input[COMP_BUF_SIZE];
31130         char output[COMP_BUF_SIZE];
31131 };
31132
31133 /*
31134  * Deflate test vectors (null-terminated strings).
31135  * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
31136  */
31137
31138 static const struct comp_testvec deflate_comp_tv_template[] = {
31139         {
31140                 .inlen  = 70,
31141                 .outlen = 38,
31142                 .input  = "Join us now and share the software "
31143                         "Join us now and share the software ",
31144                 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
31145                           "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
31146                           "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
31147                           "\x48\x55\x28\xce\x4f\x2b\x29\x07"
31148                           "\x71\xbc\x08\x2b\x01\x00",
31149         }, {
31150                 .inlen  = 191,
31151                 .outlen = 122,
31152                 .input  = "This document describes a compression method based on the DEFLATE"
31153                         "compression algorithm.  This document defines the application of "
31154                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
31155                 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
31156                           "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
31157                           "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
31158                           "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
31159                           "\x68\x12\x51\xae\x76\x67\xd6\x27"
31160                           "\x19\x88\x1a\xde\x85\xab\x21\xf2"
31161                           "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
31162                           "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
31163                           "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
31164                           "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
31165                           "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
31166                           "\x52\x37\xed\x0e\x52\x6b\x59\x02"
31167                           "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
31168                           "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
31169                           "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
31170                           "\xfa\x02",
31171         },
31172 };
31173
31174 static const struct comp_testvec deflate_decomp_tv_template[] = {
31175         {
31176                 .inlen  = 122,
31177                 .outlen = 191,
31178                 .input  = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
31179                           "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
31180                           "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
31181                           "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
31182                           "\x68\x12\x51\xae\x76\x67\xd6\x27"
31183                           "\x19\x88\x1a\xde\x85\xab\x21\xf2"
31184                           "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
31185                           "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
31186                           "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
31187                           "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
31188                           "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
31189                           "\x52\x37\xed\x0e\x52\x6b\x59\x02"
31190                           "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
31191                           "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
31192                           "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
31193                           "\xfa\x02",
31194                 .output = "This document describes a compression method based on the DEFLATE"
31195                         "compression algorithm.  This document defines the application of "
31196                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
31197         }, {
31198                 .inlen  = 38,
31199                 .outlen = 70,
31200                 .input  = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
31201                           "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
31202                           "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
31203                           "\x48\x55\x28\xce\x4f\x2b\x29\x07"
31204                           "\x71\xbc\x08\x2b\x01\x00",
31205                 .output = "Join us now and share the software "
31206                         "Join us now and share the software ",
31207         },
31208 };
31209
31210 static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
31211         {
31212                 .inlen  = 70,
31213                 .outlen = 44,
31214                 .input  = "Join us now and share the software "
31215                         "Join us now and share the software ",
31216                 .output = "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
31217                           "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
31218                           "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
31219                           "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
31220                           "\x29\x07\x71\xbc\x08\x2b\x01\x00"
31221                           "\x7c\x65\x19\x3d",
31222         }, {
31223                 .inlen  = 191,
31224                 .outlen = 129,
31225                 .input  = "This document describes a compression method based on the DEFLATE"
31226                         "compression algorithm.  This document defines the application of "
31227                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
31228                 .output = "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
31229                           "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
31230                           "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
31231                           "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
31232                           "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
31233                           "\xee\x20\x9f\x64\x20\x6a\x78\x17"
31234                           "\xae\x86\xc8\x23\x74\x59\x78\x80"
31235                           "\x10\xb4\xb4\xce\x63\x88\x56\x14"
31236                           "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
31237                           "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
31238                           "\xae\x51\x7e\x69\x17\x4b\x65\x02"
31239                           "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
31240                           "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
31241                           "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
31242                           "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
31243                           "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
31244                           "\x4e",
31245         },
31246 };
31247
31248 static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
31249         {
31250                 .inlen  = 128,
31251                 .outlen = 191,
31252                 .input  = "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
31253                           "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
31254                           "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
31255                           "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
31256                           "\xef\x49\x68\x12\x51\xae\x76\x67"
31257                           "\xd6\x27\x19\x88\x1a\xde\x85\xab"
31258                           "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
31259                           "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
31260                           "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
31261                           "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
31262                           "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
31263                           "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
31264                           "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
31265                           "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
31266                           "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
31267                           "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
31268                 .output = "This document describes a compression method based on the DEFLATE"
31269                         "compression algorithm.  This document defines the application of "
31270                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
31271         }, {
31272                 .inlen  = 44,
31273                 .outlen = 70,
31274                 .input  = "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
31275                           "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
31276                           "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
31277                           "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
31278                           "\x29\x07\x71\xbc\x08\x2b\x01\x00"
31279                           "\x7c\x65\x19\x3d",
31280                 .output = "Join us now and share the software "
31281                         "Join us now and share the software ",
31282         },
31283 };
31284
31285 /*
31286  * LZO test vectors (null-terminated strings).
31287  */
31288 static const struct comp_testvec lzo_comp_tv_template[] = {
31289         {
31290                 .inlen  = 70,
31291                 .outlen = 57,
31292                 .input  = "Join us now and share the software "
31293                         "Join us now and share the software ",
31294                 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
31295                           "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
31296                           "\x64\x20\x73\x68\x61\x72\x65\x20"
31297                           "\x74\x68\x65\x20\x73\x6f\x66\x74"
31298                           "\x77\x70\x01\x32\x88\x00\x0c\x65"
31299                           "\x20\x74\x68\x65\x20\x73\x6f\x66"
31300                           "\x74\x77\x61\x72\x65\x20\x11\x00"
31301                           "\x00",
31302         }, {
31303                 .inlen  = 159,
31304                 .outlen = 131,
31305                 .input  = "This document describes a compression method based on the LZO "
31306                         "compression algorithm.  This document defines the application of "
31307                         "the LZO algorithm used in UBIFS.",
31308                 .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
31309                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
31310                           "\x64\x65\x73\x63\x72\x69\x62\x65"
31311                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
31312                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
31313                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
31314                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
31315                           "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
31316                           "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
31317                           "\x72\x69\x74\x68\x6d\x2e\x20\x20"
31318                           "\x2e\x54\x01\x03\x66\x69\x6e\x65"
31319                           "\x73\x20\x74\x06\x05\x61\x70\x70"
31320                           "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
31321                           "\x66\x88\x02\x60\x09\x27\xf0\x00"
31322                           "\x0c\x20\x75\x73\x65\x64\x20\x69"
31323                           "\x6e\x20\x55\x42\x49\x46\x53\x2e"
31324                           "\x11\x00\x00",
31325         },
31326 };
31327
31328 static const struct comp_testvec lzo_decomp_tv_template[] = {
31329         {
31330                 .inlen  = 133,
31331                 .outlen = 159,
31332                 .input  = "\x00\x2b\x54\x68\x69\x73\x20\x64"
31333                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
31334                           "\x64\x65\x73\x63\x72\x69\x62\x65"
31335                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
31336                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
31337                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
31338                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
31339                           "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
31340                           "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
31341                           "\x69\x74\x68\x6d\x2e\x20\x20\x54"
31342                           "\x68\x69\x73\x2a\x54\x01\x02\x66"
31343                           "\x69\x6e\x65\x73\x94\x06\x05\x61"
31344                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
31345                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
31346                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
31347                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
31348                           "\x53\x2e\x11\x00\x00",
31349                 .output = "This document describes a compression method based on the LZO "
31350                         "compression algorithm.  This document defines the application of "
31351                         "the LZO algorithm used in UBIFS.",
31352         }, {
31353                 .inlen  = 46,
31354                 .outlen = 70,
31355                 .input  = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
31356                           "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
31357                           "\x64\x20\x73\x68\x61\x72\x65\x20"
31358                           "\x74\x68\x65\x20\x73\x6f\x66\x74"
31359                           "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
31360                           "\x3d\x88\x00\x11\x00\x00",
31361                 .output = "Join us now and share the software "
31362                         "Join us now and share the software ",
31363         },
31364 };
31365
31366 static const struct comp_testvec lzorle_comp_tv_template[] = {
31367         {
31368                 .inlen  = 70,
31369                 .outlen = 59,
31370                 .input  = "Join us now and share the software "
31371                         "Join us now and share the software ",
31372                 .output = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
31373                           "\x20\x75\x73\x20\x6e\x6f\x77\x20"
31374                           "\x61\x6e\x64\x20\x73\x68\x61\x72"
31375                           "\x65\x20\x74\x68\x65\x20\x73\x6f"
31376                           "\x66\x74\x77\x70\x01\x32\x88\x00"
31377                           "\x0c\x65\x20\x74\x68\x65\x20\x73"
31378                           "\x6f\x66\x74\x77\x61\x72\x65\x20"
31379                           "\x11\x00\x00",
31380         }, {
31381                 .inlen  = 159,
31382                 .outlen = 133,
31383                 .input  = "This document describes a compression method based on the LZO "
31384                         "compression algorithm.  This document defines the application of "
31385                         "the LZO algorithm used in UBIFS.",
31386                 .output = "\x11\x01\x00\x2c\x54\x68\x69\x73"
31387                           "\x20\x64\x6f\x63\x75\x6d\x65\x6e"
31388                           "\x74\x20\x64\x65\x73\x63\x72\x69"
31389                           "\x62\x65\x73\x20\x61\x20\x63\x6f"
31390                           "\x6d\x70\x72\x65\x73\x73\x69\x6f"
31391                           "\x6e\x20\x6d\x65\x74\x68\x6f\x64"
31392                           "\x20\x62\x61\x73\x65\x64\x20\x6f"
31393                           "\x6e\x20\x74\x68\x65\x20\x4c\x5a"
31394                           "\x4f\x20\x2a\x8c\x00\x09\x61\x6c"
31395                           "\x67\x6f\x72\x69\x74\x68\x6d\x2e"
31396                           "\x20\x20\x2e\x54\x01\x03\x66\x69"
31397                           "\x6e\x65\x73\x20\x74\x06\x05\x61"
31398                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
31399                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
31400                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
31401                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
31402                           "\x53\x2e\x11\x00\x00",
31403         },
31404 };
31405
31406 static const struct comp_testvec lzorle_decomp_tv_template[] = {
31407         {
31408                 .inlen  = 133,
31409                 .outlen = 159,
31410                 .input  = "\x00\x2b\x54\x68\x69\x73\x20\x64"
31411                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
31412                           "\x64\x65\x73\x63\x72\x69\x62\x65"
31413                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
31414                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
31415                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
31416                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
31417                           "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
31418                           "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
31419                           "\x69\x74\x68\x6d\x2e\x20\x20\x54"
31420                           "\x68\x69\x73\x2a\x54\x01\x02\x66"
31421                           "\x69\x6e\x65\x73\x94\x06\x05\x61"
31422                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
31423                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
31424                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
31425                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
31426                           "\x53\x2e\x11\x00\x00",
31427                 .output = "This document describes a compression method based on the LZO "
31428                         "compression algorithm.  This document defines the application of "
31429                         "the LZO algorithm used in UBIFS.",
31430         }, {
31431                 .inlen  = 59,
31432                 .outlen = 70,
31433                 .input  = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
31434                           "\x20\x75\x73\x20\x6e\x6f\x77\x20"
31435                           "\x61\x6e\x64\x20\x73\x68\x61\x72"
31436                           "\x65\x20\x74\x68\x65\x20\x73\x6f"
31437                           "\x66\x74\x77\x70\x01\x32\x88\x00"
31438                           "\x0c\x65\x20\x74\x68\x65\x20\x73"
31439                           "\x6f\x66\x74\x77\x61\x72\x65\x20"
31440                           "\x11\x00\x00",
31441                 .output = "Join us now and share the software "
31442                         "Join us now and share the software ",
31443         },
31444 };
31445
31446 /*
31447  * Michael MIC test vectors from IEEE 802.11i
31448  */
31449 #define MICHAEL_MIC_TEST_VECTORS 6
31450
31451 static const struct hash_testvec michael_mic_tv_template[] = {
31452         {
31453                 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
31454                 .ksize = 8,
31455                 .plaintext = zeroed_string,
31456                 .psize = 0,
31457                 .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
31458         },
31459         {
31460                 .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
31461                 .ksize = 8,
31462                 .plaintext = "M",
31463                 .psize = 1,
31464                 .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
31465         },
31466         {
31467                 .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
31468                 .ksize = 8,
31469                 .plaintext = "Mi",
31470                 .psize = 2,
31471                 .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
31472         },
31473         {
31474                 .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
31475                 .ksize = 8,
31476                 .plaintext = "Mic",
31477                 .psize = 3,
31478                 .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
31479         },
31480         {
31481                 .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
31482                 .ksize = 8,
31483                 .plaintext = "Mich",
31484                 .psize = 4,
31485                 .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
31486         },
31487         {
31488                 .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
31489                 .ksize = 8,
31490                 .plaintext = "Michael",
31491                 .psize = 7,
31492                 .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
31493         }
31494 };
31495
31496 /*
31497  * CRC32 test vectors
31498  */
31499 static const struct hash_testvec crc32_tv_template[] = {
31500         {
31501                 .psize = 0,
31502                 .digest = "\x00\x00\x00\x00",
31503         },
31504         {
31505                 .plaintext = "abcdefg",
31506                 .psize = 7,
31507                 .digest = "\xd8\xb5\x46\xac",
31508         },
31509         {
31510                 .key = "\x87\xa9\xcb\xed",
31511                 .ksize = 4,
31512                 .psize = 0,
31513                 .digest = "\x87\xa9\xcb\xed",
31514         },
31515         {
31516                 .key = "\xff\xff\xff\xff",
31517                 .ksize = 4,
31518                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
31519                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
31520                              "\x11\x12\x13\x14\x15\x16\x17\x18"
31521                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
31522                              "\x21\x22\x23\x24\x25\x26\x27\x28",
31523                 .psize = 40,
31524                 .digest = "\x3a\xdf\x4b\xb0",
31525         },
31526         {
31527                 .key = "\xff\xff\xff\xff",
31528                 .ksize = 4,
31529                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31530                              "\x31\x32\x33\x34\x35\x36\x37\x38"
31531                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31532                              "\x41\x42\x43\x44\x45\x46\x47\x48"
31533                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
31534                 .psize = 40,
31535                 .digest = "\xa9\x7a\x7f\x7b",
31536         },
31537         {
31538                 .key = "\xff\xff\xff\xff",
31539                 .ksize = 4,
31540                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
31541                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31542                              "\x61\x62\x63\x64\x65\x66\x67\x68"
31543                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31544                              "\x71\x72\x73\x74\x75\x76\x77\x78",
31545                 .psize = 40,
31546                 .digest = "\xba\xd3\xf8\x1c",
31547         },
31548         {
31549                 .key = "\xff\xff\xff\xff",
31550                 .ksize = 4,
31551                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31552                              "\x81\x82\x83\x84\x85\x86\x87\x88"
31553                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31554                              "\x91\x92\x93\x94\x95\x96\x97\x98"
31555                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
31556                 .psize = 40,
31557                 .digest = "\xa8\xa9\xc2\x02",
31558         },
31559         {
31560                 .key = "\xff\xff\xff\xff",
31561                 .ksize = 4,
31562                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
31563                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
31564                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
31565                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
31566                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
31567                 .psize = 40,
31568                 .digest = "\x27\xf0\x57\xe2",
31569         },
31570         {
31571                 .key = "\xff\xff\xff\xff",
31572                 .ksize = 4,
31573                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
31574                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
31575                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
31576                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
31577                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
31578                 .psize = 40,
31579                 .digest = "\x49\x78\x10\x08",
31580         },
31581         {
31582                 .key = "\x80\xea\xd3\xf1",
31583                 .ksize = 4,
31584                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31585                              "\x31\x32\x33\x34\x35\x36\x37\x38"
31586                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31587                              "\x41\x42\x43\x44\x45\x46\x47\x48"
31588                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
31589                 .psize = 40,
31590                 .digest = "\x9a\xb1\xdc\xf0",
31591         },
31592         {
31593                 .key = "\xf3\x4a\x1d\x5d",
31594                 .ksize = 4,
31595                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
31596                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31597                              "\x61\x62\x63\x64\x65\x66\x67\x68"
31598                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31599                              "\x71\x72\x73\x74\x75\x76\x77\x78",
31600                 .psize = 40,
31601                 .digest = "\xb4\x97\xcc\xd4",
31602         },
31603         {
31604                 .key = "\x2e\x80\x04\x59",
31605                 .ksize = 4,
31606                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31607                              "\x81\x82\x83\x84\x85\x86\x87\x88"
31608                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31609                              "\x91\x92\x93\x94\x95\x96\x97\x98"
31610                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
31611                 .psize = 40,
31612                 .digest = "\x67\x9b\xfa\x79",
31613         },
31614         {
31615                 .key = "\xa6\xcc\x19\x85",
31616                 .ksize = 4,
31617                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
31618                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
31619                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
31620                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
31621                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
31622                 .psize = 40,
31623                 .digest = "\x24\xb5\x16\xef",
31624         },
31625         {
31626                 .key = "\x41\xfc\xfe\x2d",
31627                 .ksize = 4,
31628                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
31629                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
31630                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
31631                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
31632                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
31633                 .psize = 40,
31634                 .digest = "\x15\x94\x80\x39",
31635         },
31636         {
31637                 .key = "\xff\xff\xff\xff",
31638                 .ksize = 4,
31639                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
31640                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
31641                              "\x11\x12\x13\x14\x15\x16\x17\x18"
31642                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
31643                              "\x21\x22\x23\x24\x25\x26\x27\x28"
31644                              "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31645                              "\x31\x32\x33\x34\x35\x36\x37\x38"
31646                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31647                              "\x41\x42\x43\x44\x45\x46\x47\x48"
31648                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
31649                              "\x51\x52\x53\x54\x55\x56\x57\x58"
31650                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31651                              "\x61\x62\x63\x64\x65\x66\x67\x68"
31652                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31653                              "\x71\x72\x73\x74\x75\x76\x77\x78"
31654                              "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31655                              "\x81\x82\x83\x84\x85\x86\x87\x88"
31656                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31657                              "\x91\x92\x93\x94\x95\x96\x97\x98"
31658                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
31659                              "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
31660                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
31661                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
31662                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
31663                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
31664                              "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
31665                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
31666                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
31667                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
31668                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
31669                 .psize = 240,
31670                 .digest = "\x6c\xc6\x56\xde",
31671         }, {
31672                 .key = "\xff\xff\xff\xff",
31673                 .ksize = 4,
31674                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
31675                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
31676                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
31677                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
31678                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
31679                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
31680                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
31681                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
31682                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
31683                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
31684                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
31685                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
31686                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
31687                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
31688                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
31689                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
31690                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
31691                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
31692                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
31693                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
31694                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
31695                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
31696                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
31697                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
31698                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
31699                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
31700                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
31701                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
31702                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
31703                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
31704                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
31705                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
31706                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
31707                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
31708                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
31709                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
31710                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
31711                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
31712                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
31713                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
31714                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
31715                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
31716                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
31717                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
31718                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
31719                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
31720                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
31721                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
31722                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
31723                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
31724                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
31725                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
31726                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
31727                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
31728                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
31729                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
31730                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
31731                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
31732                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
31733                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
31734                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
31735                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
31736                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
31737                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
31738                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
31739                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
31740                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
31741                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
31742                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
31743                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
31744                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
31745                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
31746                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
31747                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
31748                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
31749                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
31750                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
31751                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
31752                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
31753                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
31754                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
31755                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
31756                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
31757                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
31758                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
31759                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
31760                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
31761                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
31762                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
31763                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
31764                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
31765                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
31766                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
31767                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
31768                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
31769                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
31770                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
31771                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
31772                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
31773                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
31774                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
31775                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
31776                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
31777                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
31778                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
31779                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
31780                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
31781                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
31782                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
31783                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
31784                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
31785                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
31786                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
31787                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
31788                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
31789                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
31790                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
31791                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
31792                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
31793                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
31794                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
31795                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
31796                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
31797                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
31798                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
31799                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
31800                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
31801                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
31802                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
31803                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
31804                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
31805                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
31806                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
31807                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
31808                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
31809                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
31810                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
31811                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
31812                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
31813                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
31814                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
31815                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
31816                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
31817                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
31818                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
31819                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
31820                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
31821                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
31822                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
31823                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
31824                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
31825                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
31826                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
31827                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
31828                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
31829                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
31830                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
31831                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
31832                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
31833                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
31834                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
31835                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
31836                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
31837                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
31838                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
31839                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
31840                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
31841                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
31842                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
31843                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
31844                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
31845                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
31846                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
31847                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
31848                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
31849                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
31850                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
31851                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
31852                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
31853                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
31854                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
31855                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
31856                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
31857                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
31858                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
31859                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
31860                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
31861                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
31862                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
31863                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
31864                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
31865                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
31866                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
31867                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
31868                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
31869                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
31870                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
31871                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
31872                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
31873                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
31874                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
31875                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
31876                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
31877                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
31878                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
31879                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
31880                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
31881                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
31882                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
31883                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
31884                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
31885                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
31886                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
31887                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
31888                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
31889                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
31890                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
31891                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
31892                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
31893                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
31894                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
31895                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
31896                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
31897                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
31898                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
31899                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
31900                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
31901                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
31902                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
31903                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
31904                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
31905                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
31906                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
31907                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
31908                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
31909                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
31910                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
31911                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
31912                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
31913                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
31914                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
31915                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
31916                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
31917                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
31918                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
31919                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
31920                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
31921                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
31922                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
31923                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
31924                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
31925                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
31926                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
31927                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
31928                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
31929                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
31930                 .psize = 2048,
31931                 .digest = "\xfb\x3a\x7a\xda",
31932         }
31933 };
31934
31935 /*
31936  * CRC32C test vectors
31937  */
31938 static const struct hash_testvec crc32c_tv_template[] = {
31939         {
31940                 .psize = 0,
31941                 .digest = "\x00\x00\x00\x00",
31942         },
31943         {
31944                 .plaintext = "abcdefg",
31945                 .psize = 7,
31946                 .digest = "\x41\xf4\x27\xe6",
31947         },
31948         {
31949                 .key = "\x87\xa9\xcb\xed",
31950                 .ksize = 4,
31951                 .psize = 0,
31952                 .digest = "\x78\x56\x34\x12",
31953         },
31954         {
31955                 .key = "\xff\xff\xff\xff",
31956                 .ksize = 4,
31957                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
31958                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
31959                              "\x11\x12\x13\x14\x15\x16\x17\x18"
31960                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
31961                              "\x21\x22\x23\x24\x25\x26\x27\x28",
31962                 .psize = 40,
31963                 .digest = "\x7f\x15\x2c\x0e",
31964         },
31965         {
31966                 .key = "\xff\xff\xff\xff",
31967                 .ksize = 4,
31968                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31969                              "\x31\x32\x33\x34\x35\x36\x37\x38"
31970                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31971                              "\x41\x42\x43\x44\x45\x46\x47\x48"
31972                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
31973                 .psize = 40,
31974                 .digest = "\xf6\xeb\x80\xe9",
31975         },
31976         {
31977                 .key = "\xff\xff\xff\xff",
31978                 .ksize = 4,
31979                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
31980                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31981                              "\x61\x62\x63\x64\x65\x66\x67\x68"
31982                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31983                              "\x71\x72\x73\x74\x75\x76\x77\x78",
31984                 .psize = 40,
31985                 .digest = "\xed\xbd\x74\xde",
31986         },
31987         {
31988                 .key = "\xff\xff\xff\xff",
31989                 .ksize = 4,
31990                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31991                              "\x81\x82\x83\x84\x85\x86\x87\x88"
31992                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31993                              "\x91\x92\x93\x94\x95\x96\x97\x98"
31994                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
31995                 .psize = 40,
31996                 .digest = "\x62\xc8\x79\xd5",
31997         },
31998         {
31999                 .key = "\xff\xff\xff\xff",
32000                 .ksize = 4,
32001                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
32002                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
32003                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
32004                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
32005                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
32006                 .psize = 40,
32007                 .digest = "\xd0\x9a\x97\xba",
32008         },
32009         {
32010                 .key = "\xff\xff\xff\xff",
32011                 .ksize = 4,
32012                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
32013                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
32014                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
32015                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
32016                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
32017                 .psize = 40,
32018                 .digest = "\x13\xd9\x29\x2b",
32019         },
32020         {
32021                 .key = "\x80\xea\xd3\xf1",
32022                 .ksize = 4,
32023                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
32024                              "\x31\x32\x33\x34\x35\x36\x37\x38"
32025                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
32026                              "\x41\x42\x43\x44\x45\x46\x47\x48"
32027                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
32028                 .psize = 40,
32029                 .digest = "\x0c\xb5\xe2\xa2",
32030         },
32031         {
32032                 .key = "\xf3\x4a\x1d\x5d",
32033                 .ksize = 4,
32034                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
32035                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
32036                              "\x61\x62\x63\x64\x65\x66\x67\x68"
32037                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
32038                              "\x71\x72\x73\x74\x75\x76\x77\x78",
32039                 .psize = 40,
32040                 .digest = "\xd1\x7f\xfb\xa6",
32041         },
32042         {
32043                 .key = "\x2e\x80\x04\x59",
32044                 .ksize = 4,
32045                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
32046                              "\x81\x82\x83\x84\x85\x86\x87\x88"
32047                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
32048                              "\x91\x92\x93\x94\x95\x96\x97\x98"
32049                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
32050                 .psize = 40,
32051                 .digest = "\x59\x33\xe6\x7a",
32052         },
32053         {
32054                 .key = "\xa6\xcc\x19\x85",
32055                 .ksize = 4,
32056                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
32057                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
32058                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
32059                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
32060                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
32061                 .psize = 40,
32062                 .digest = "\xbe\x03\x01\xd2",
32063         },
32064         {
32065                 .key = "\x41\xfc\xfe\x2d",
32066                 .ksize = 4,
32067                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
32068                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
32069                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
32070                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
32071                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
32072                 .psize = 40,
32073                 .digest = "\x75\xd3\xc5\x24",
32074         },
32075         {
32076                 .key = "\xff\xff\xff\xff",
32077                 .ksize = 4,
32078                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
32079                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
32080                              "\x11\x12\x13\x14\x15\x16\x17\x18"
32081                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
32082                              "\x21\x22\x23\x24\x25\x26\x27\x28"
32083                              "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
32084                              "\x31\x32\x33\x34\x35\x36\x37\x38"
32085                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
32086                              "\x41\x42\x43\x44\x45\x46\x47\x48"
32087                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
32088                              "\x51\x52\x53\x54\x55\x56\x57\x58"
32089                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
32090                              "\x61\x62\x63\x64\x65\x66\x67\x68"
32091                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
32092                              "\x71\x72\x73\x74\x75\x76\x77\x78"
32093                              "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
32094                              "\x81\x82\x83\x84\x85\x86\x87\x88"
32095                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
32096                              "\x91\x92\x93\x94\x95\x96\x97\x98"
32097                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
32098                              "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
32099                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
32100                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
32101                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
32102                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
32103                              "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
32104                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
32105                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
32106                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
32107                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
32108                 .psize = 240,
32109                 .digest = "\x75\xd3\xc5\x24",
32110         }, {
32111                 .key = "\xff\xff\xff\xff",
32112                 .ksize = 4,
32113                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
32114                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
32115                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
32116                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
32117                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
32118                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
32119                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
32120                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
32121                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
32122                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
32123                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
32124                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
32125                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
32126                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
32127                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
32128                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
32129                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
32130                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
32131                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
32132                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
32133                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
32134                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
32135                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
32136                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
32137                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
32138                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
32139                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
32140                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
32141                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
32142                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
32143                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
32144                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
32145                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
32146                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
32147                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
32148                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
32149                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
32150                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
32151                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
32152                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
32153                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
32154                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
32155                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
32156                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
32157                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
32158                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
32159                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
32160                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
32161                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
32162                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
32163                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
32164                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
32165                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
32166                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
32167                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
32168                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
32169                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
32170                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
32171                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
32172                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
32173                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
32174                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
32175                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
32176                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
32177                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
32178                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
32179                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
32180                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
32181                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
32182                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
32183                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
32184                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
32185                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
32186                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
32187                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
32188                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
32189                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
32190                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
32191                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
32192                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
32193                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
32194                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
32195                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
32196                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
32197                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
32198                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
32199                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
32200                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
32201                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
32202                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
32203                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
32204                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
32205                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
32206                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
32207                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
32208                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
32209                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
32210                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
32211                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
32212                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
32213                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
32214                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
32215                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
32216                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
32217                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
32218                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
32219                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
32220                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
32221                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
32222                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
32223                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
32224                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
32225                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
32226                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
32227                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
32228                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
32229                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
32230                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
32231                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
32232                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
32233                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
32234                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
32235                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
32236                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
32237                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
32238                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
32239                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
32240                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
32241                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
32242                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
32243                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
32244                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
32245                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
32246                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
32247                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
32248                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
32249                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
32250                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
32251                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
32252                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
32253                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
32254                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
32255                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
32256                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
32257                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
32258                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
32259                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
32260                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
32261                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
32262                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
32263                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
32264                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
32265                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
32266                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
32267                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
32268                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
32269                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
32270                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
32271                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
32272                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
32273                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
32274                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
32275                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
32276                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
32277                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
32278                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
32279                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
32280                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
32281                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
32282                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
32283                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
32284                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
32285                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
32286                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
32287                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
32288                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
32289                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
32290                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
32291                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
32292                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
32293                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
32294                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
32295                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
32296                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
32297                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
32298                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
32299                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
32300                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
32301                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
32302                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
32303                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
32304                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
32305                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
32306                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
32307                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
32308                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
32309                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
32310                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
32311                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
32312                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
32313                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
32314                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
32315                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
32316                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
32317                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
32318                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
32319                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
32320                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
32321                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
32322                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
32323                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
32324                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
32325                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
32326                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
32327                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
32328                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
32329                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
32330                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
32331                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
32332                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
32333                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
32334                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
32335                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
32336                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
32337                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
32338                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
32339                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
32340                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
32341                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
32342                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
32343                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
32344                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
32345                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
32346                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
32347                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
32348                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
32349                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
32350                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
32351                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
32352                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
32353                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
32354                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
32355                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
32356                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
32357                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
32358                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
32359                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
32360                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
32361                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
32362                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
32363                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
32364                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
32365                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
32366                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
32367                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
32368                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
32369                 .psize = 2048,
32370                 .digest = "\xec\x26\x4d\x95",
32371         }
32372 };
32373
32374 static const struct hash_testvec xxhash64_tv_template[] = {
32375         {
32376                 .psize = 0,
32377                 .digest = "\x99\xe9\xd8\x51\x37\xdb\x46\xef",
32378         },
32379         {
32380                 .plaintext = "\x40",
32381                 .psize = 1,
32382                 .digest = "\x20\x5c\x91\xaa\x88\xeb\x59\xd0",
32383         },
32384         {
32385                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
32386                              "\x88\xc7\x9a\x09\x1a\x9b",
32387                 .psize = 14,
32388                 .digest = "\xa8\xe8\x2b\xa9\x92\xa1\x37\x4a",
32389         },
32390         {
32391                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
32392                              "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
32393                              "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
32394                              "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
32395                              "\x31\x65\x05\xbb\x31\xae\x51\x11"
32396                              "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
32397                              "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
32398                              "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
32399                              "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
32400                              "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
32401                              "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
32402                              "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
32403                              "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
32404                              "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
32405                              "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
32406                              "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
32407                              "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
32408                              "\x43\x99\x4d\x81\x85\xae\x82\x00"
32409                              "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
32410                              "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
32411                              "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
32412                              "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
32413                              "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
32414                              "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
32415                              "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
32416                              "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
32417                              "\x12\x02\x0c\xdb\x94\x00\x38\x95"
32418                              "\xed\xfd\x08\xf7\xe8\x04",
32419                 .psize = 222,
32420                 .digest = "\x41\xfc\xd4\x29\xfe\xe7\x85\x17",
32421         },
32422         {
32423                 .psize = 0,
32424                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
32425                 .ksize = 8,
32426                 .digest = "\xef\x17\x9b\x92\xa2\xfd\x75\xac",
32427         },
32428
32429         {
32430                 .plaintext = "\x40",
32431                 .psize = 1,
32432                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
32433                 .ksize = 8,
32434                 .digest = "\xd1\x70\x4f\x14\x02\xc4\x9e\x71",
32435         },
32436         {
32437                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
32438                              "\x88\xc7\x9a\x09\x1a\x9b",
32439                 .psize = 14,
32440                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
32441                 .ksize = 8,
32442                 .digest = "\xa4\xcd\xfe\x8e\x37\xe2\x1c\x64"
32443         },
32444         {
32445                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
32446                              "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
32447                              "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
32448                              "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
32449                              "\x31\x65\x05\xbb\x31\xae\x51\x11"
32450                              "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
32451                              "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
32452                              "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
32453                              "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
32454                              "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
32455                              "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
32456                              "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
32457                              "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
32458                              "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
32459                              "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
32460                              "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
32461                              "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
32462                              "\x43\x99\x4d\x81\x85\xae\x82\x00"
32463                              "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
32464                              "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
32465                              "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
32466                              "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
32467                              "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
32468                              "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
32469                              "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
32470                              "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
32471                              "\x12\x02\x0c\xdb\x94\x00\x38\x95"
32472                              "\xed\xfd\x08\xf7\xe8\x04",
32473                 .psize = 222,
32474                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
32475                 .ksize = 8,
32476                 .digest = "\x58\xbc\x55\xf2\x42\x81\x5c\xf0"
32477         },
32478 };
32479
32480 static const struct comp_testvec lz4_comp_tv_template[] = {
32481         {
32482                 .inlen  = 255,
32483                 .outlen = 218,
32484                 .input  = "LZ4 is lossless compression algorithm, providing"
32485                          " compression speed at 400 MB/s per core, scalable "
32486                          "with multi-cores CPU. It features an extremely fast "
32487                          "decoder, with speed in multiple GB/s per core, "
32488                          "typically reaching RAM speed limits on multi-core "
32489                          "systems.",
32490                 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
32491                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
32492                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
32493                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
32494                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
32495                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
32496                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
32497                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
32498                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
32499                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
32500                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
32501                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
32502                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
32503                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
32504                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
32505                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
32506                           "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
32507
32508         },
32509 };
32510
32511 static const struct comp_testvec lz4_decomp_tv_template[] = {
32512         {
32513                 .inlen  = 218,
32514                 .outlen = 255,
32515                 .input  = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
32516                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
32517                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
32518                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
32519                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
32520                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
32521                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
32522                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
32523                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
32524                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
32525                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
32526                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
32527                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
32528                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
32529                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
32530                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
32531                           "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
32532                 .output = "LZ4 is lossless compression algorithm, providing"
32533                          " compression speed at 400 MB/s per core, scalable "
32534                          "with multi-cores CPU. It features an extremely fast "
32535                          "decoder, with speed in multiple GB/s per core, "
32536                          "typically reaching RAM speed limits on multi-core "
32537                          "systems.",
32538         },
32539 };
32540
32541 static const struct comp_testvec lz4hc_comp_tv_template[] = {
32542         {
32543                 .inlen  = 255,
32544                 .outlen = 216,
32545                 .input  = "LZ4 is lossless compression algorithm, providing"
32546                          " compression speed at 400 MB/s per core, scalable "
32547                          "with multi-cores CPU. It features an extremely fast "
32548                          "decoder, with speed in multiple GB/s per core, "
32549                          "typically reaching RAM speed limits on multi-core "
32550                          "systems.",
32551                 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
32552                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
32553                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
32554                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
32555                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
32556                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
32557                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
32558                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
32559                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
32560                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
32561                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
32562                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
32563                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
32564                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
32565                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
32566                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
32567                           "\x73\x79\x73\x74\x65\x6d\x73\x2e",
32568
32569         },
32570 };
32571
32572 static const struct comp_testvec lz4hc_decomp_tv_template[] = {
32573         {
32574                 .inlen  = 216,
32575                 .outlen = 255,
32576                 .input  = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
32577                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
32578                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
32579                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
32580                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
32581                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
32582                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
32583                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
32584                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
32585                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
32586                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
32587                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
32588                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
32589                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
32590                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
32591                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
32592                           "\x73\x79\x73\x74\x65\x6d\x73\x2e",
32593                 .output = "LZ4 is lossless compression algorithm, providing"
32594                          " compression speed at 400 MB/s per core, scalable "
32595                          "with multi-cores CPU. It features an extremely fast "
32596                          "decoder, with speed in multiple GB/s per core, "
32597                          "typically reaching RAM speed limits on multi-core "
32598                          "systems.",
32599         },
32600 };
32601
32602 static const struct comp_testvec zstd_comp_tv_template[] = {
32603         {
32604                 .inlen  = 68,
32605                 .outlen = 39,
32606                 .input  = "The algorithm is zstd. "
32607                           "The algorithm is zstd. "
32608                           "The algorithm is zstd.",
32609                 .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
32610                           "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
32611                           "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
32612                           ,
32613         },
32614         {
32615                 .inlen  = 244,
32616                 .outlen = 151,
32617                 .input  = "zstd, short for Zstandard, is a fast lossless "
32618                           "compression algorithm, targeting real-time "
32619                           "compression scenarios at zlib-level and better "
32620                           "compression ratios. The zstd compression library "
32621                           "provides in-memory compression and decompression "
32622                           "functions.",
32623                 .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
32624                           "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
32625                           "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
32626                           "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
32627                           "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
32628                           "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
32629                           "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
32630                           "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
32631                           "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
32632                           "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
32633                           "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
32634                           "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
32635         },
32636 };
32637
32638 static const struct comp_testvec zstd_decomp_tv_template[] = {
32639         {
32640                 .inlen  = 43,
32641                 .outlen = 68,
32642                 .input  = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
32643                           "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
32644                           "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
32645                           "\x6b\xf4\x13\x35",
32646                 .output = "The algorithm is zstd. "
32647                           "The algorithm is zstd. "
32648                           "The algorithm is zstd.",
32649         },
32650         {
32651                 .inlen  = 155,
32652                 .outlen = 244,
32653                 .input  = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
32654                           "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
32655                           "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
32656                           "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
32657                           "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
32658                           "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
32659                           "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
32660                           "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
32661                           "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
32662                           "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
32663                           "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
32664                           "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
32665                 .output = "zstd, short for Zstandard, is a fast lossless "
32666                           "compression algorithm, targeting real-time "
32667                           "compression scenarios at zlib-level and better "
32668                           "compression ratios. The zstd compression library "
32669                           "provides in-memory compression and decompression "
32670                           "functions.",
32671         },
32672 };
32673
32674 /* based on aes_cbc_tv_template */
32675 static const struct cipher_testvec essiv_aes_cbc_tv_template[] = {
32676         {
32677                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
32678                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
32679                 .klen   = 16,
32680                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
32681                           "\x00\x00\x00\x00\x00\x00\x00\x00",
32682                 .ptext  = "Single block msg",
32683                 .ctext  = "\xfa\x59\xe7\x5f\x41\x56\x65\xc3"
32684                           "\x36\xca\x6b\x72\x10\x9f\x8c\xd4",
32685                 .len    = 16,
32686         }, {
32687                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
32688                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
32689                 .klen   = 16,
32690                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
32691                           "\x00\x00\x00\x00\x00\x00\x00\x00",
32692                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
32693                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
32694                           "\x10\x11\x12\x13\x14\x15\x16\x17"
32695                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
32696                 .ctext  = "\xc8\x59\x9a\xfe\x79\xe6\x7b\x20"
32697                           "\x06\x7d\x55\x0a\x5e\xc7\xb5\xa7"
32698                           "\x0b\x9c\x80\xd2\x15\xa1\xb8\x6d"
32699                           "\xc6\xab\x7b\x65\xd9\xfd\x88\xeb",
32700                 .len    = 32,
32701         }, {
32702                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
32703                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
32704                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
32705                 .klen   = 24,
32706                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
32707                           "\x00\x00\x00\x00\x00\x00\x00\x00",
32708                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
32709                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
32710                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
32711                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
32712                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
32713                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
32714                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
32715                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
32716                 .ctext  = "\x96\x6d\xa9\x7a\x42\xe6\x01\xc7"
32717                           "\x17\xfc\xa7\x41\xd3\x38\x0b\xe5"
32718                           "\x51\x48\xf7\x7e\x5e\x26\xa9\xfe"
32719                           "\x45\x72\x1c\xd9\xde\xab\xf3\x4d"
32720                           "\x39\x47\xc5\x4f\x97\x3a\x55\x63"
32721                           "\x80\x29\x64\x4c\x33\xe8\x21\x8a"
32722                           "\x6a\xef\x6b\x6a\x8f\x43\xc0\xcb"
32723                           "\xf0\xf3\x6e\x74\x54\x44\x92\x44",
32724                 .len    = 64,
32725         }, {
32726                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
32727                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
32728                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
32729                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
32730                 .klen   = 32,
32731                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
32732                           "\x00\x00\x00\x00\x00\x00\x00\x00",
32733                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
32734                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
32735                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
32736                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
32737                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
32738                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
32739                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
32740                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
32741                 .ctext  = "\x24\x52\xf1\x48\x74\xd0\xa7\x93"
32742                           "\x75\x9b\x63\x46\xc0\x1c\x1e\x17"
32743                           "\x4d\xdc\x5b\x3a\x27\x93\x2a\x63"
32744                           "\xf7\xf1\xc7\xb3\x54\x56\x5b\x50"
32745                           "\xa3\x31\xa5\x8b\xd6\xfd\xb6\x3c"
32746                           "\x8b\xf6\xf2\x45\x05\x0c\xc8\xbb"
32747                           "\x32\x0b\x26\x1c\xe9\x8b\x02\xc0"
32748                           "\xb2\x6f\x37\xa7\x5b\xa8\xa9\x42",
32749                 .len    = 64,
32750         }, {
32751                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
32752                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
32753                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
32754                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
32755                 .klen   = 32,
32756                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
32757                           "\x00\x00\x00\x00\x00\x00\x00\x00",
32758                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
32759                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
32760                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
32761                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
32762                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
32763                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
32764                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
32765                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
32766                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
32767                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
32768                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
32769                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
32770                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
32771                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
32772                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
32773                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
32774                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
32775                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
32776                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
32777                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
32778                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
32779                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
32780                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
32781                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
32782                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
32783                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
32784                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
32785                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
32786                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
32787                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
32788                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
32789                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
32790                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
32791                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
32792                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
32793                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
32794                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
32795                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
32796                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
32797                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
32798                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
32799                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
32800                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
32801                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
32802                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
32803                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
32804                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
32805                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
32806                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
32807                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
32808                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
32809                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
32810                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
32811                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
32812                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
32813                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
32814                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
32815                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
32816                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
32817                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
32818                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
32819                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
32820                 .ctext  = "\x97\x7f\x69\x0f\x0f\x34\xa6\x33"
32821                           "\x66\x49\x7e\xd0\x4d\x1b\xc9\x64"
32822                           "\xf9\x61\x95\x98\x11\x00\x88\xf8"
32823                           "\x2e\x88\x01\x0f\x2b\xe1\xae\x3e"
32824                           "\xfe\xd6\x47\x30\x11\x68\x7d\x99"
32825                           "\xad\x69\x6a\xe8\x41\x5f\x1e\x16"
32826                           "\x00\x3a\x47\xdf\x8e\x7d\x23\x1c"
32827                           "\x19\x5b\x32\x76\x60\x03\x05\xc1"
32828                           "\xa0\xff\xcf\xcc\x74\x39\x46\x63"
32829                           "\xfe\x5f\xa6\x35\xa7\xb4\xc1\xf9"
32830                           "\x4b\x5e\x38\xcc\x8c\xc1\xa2\xcf"
32831                           "\x9a\xc3\xae\x55\x42\x46\x93\xd9"
32832                           "\xbd\x22\xd3\x8a\x19\x96\xc3\xb3"
32833                           "\x7d\x03\x18\xf9\x45\x09\x9c\xc8"
32834                           "\x90\xf3\x22\xb3\x25\x83\x9a\x75"
32835                           "\xbb\x04\x48\x97\x3a\x63\x08\x04"
32836                           "\xa0\x69\xf6\x52\xd4\x89\x93\x69"
32837                           "\xb4\x33\xa2\x16\x58\xec\x4b\x26"
32838                           "\x76\x54\x10\x0b\x6e\x53\x1e\xbc"
32839                           "\x16\x18\x42\xb1\xb1\xd3\x4b\xda"
32840                           "\x06\x9f\x8b\x77\xf7\xab\xd6\xed"
32841                           "\xa3\x1d\x90\xda\x49\x38\x20\xb8"
32842                           "\x6c\xee\xae\x3e\xae\x6c\x03\xb8"
32843                           "\x0b\xed\xc8\xaa\x0e\xc5\x1f\x90"
32844                           "\x60\xe2\xec\x1b\x76\xd0\xcf\xda"
32845                           "\x29\x1b\xb8\x5a\xbc\xf4\xba\x13"
32846                           "\x91\xa6\xcb\x83\x3f\xeb\xe9\x7b"
32847                           "\x03\xba\x40\x9e\xe6\x7a\xb2\x4a"
32848                           "\x73\x49\xfc\xed\xfb\x55\xa4\x24"
32849                           "\xc7\xa4\xd7\x4b\xf5\xf7\x16\x62"
32850                           "\x80\xd3\x19\x31\x52\x25\xa8\x69"
32851                           "\xda\x9a\x87\xf5\xf2\xee\x5d\x61"
32852                           "\xc1\x12\x72\x3e\x52\x26\x45\x3a"
32853                           "\xd8\x9d\x57\xfa\x14\xe2\x9b\x2f"
32854                           "\xd4\xaa\x5e\x31\xf4\x84\x89\xa4"
32855                           "\xe3\x0e\xb0\x58\x41\x75\x6a\xcb"
32856                           "\x30\x01\x98\x90\x15\x80\xf5\x27"
32857                           "\x92\x13\x81\xf0\x1c\x1e\xfc\xb1"
32858                           "\x33\xf7\x63\xb0\x67\xec\x2e\x5c"
32859                           "\x85\xe3\x5b\xd0\x43\x8a\xb8\x5f"
32860                           "\x44\x9f\xec\x19\xc9\x8f\xde\xdf"
32861                           "\x79\xef\xf8\xee\x14\x87\xb3\x34"
32862                           "\x76\x00\x3a\x9b\xc7\xed\xb1\x3d"
32863                           "\xef\x07\xb0\xe4\xfd\x68\x9e\xeb"
32864                           "\xc2\xb4\x1a\x85\x9a\x7d\x11\x88"
32865                           "\xf8\xab\x43\x55\x2b\x8a\x4f\x60"
32866                           "\x85\x9a\xf4\xba\xae\x48\x81\xeb"
32867                           "\x93\x07\x97\x9e\xde\x2a\xfc\x4e"
32868                           "\x31\xde\xaa\x44\xf7\x2a\xc3\xee"
32869                           "\x60\xa2\x98\x2c\x0a\x88\x50\xc5"
32870                           "\x6d\x89\xd3\xe4\xb6\xa7\xf4\xb0"
32871                           "\xcf\x0e\x89\xe3\x5e\x8f\x82\xf4"
32872                           "\x9d\xd1\xa9\x51\x50\x8a\xd2\x18"
32873                           "\x07\xb2\xaa\x3b\x7f\x58\x9b\xf4"
32874                           "\xb7\x24\x39\xd3\x66\x2f\x1e\xc0"
32875                           "\x11\xa3\x56\x56\x2a\x10\x73\xbc"
32876                           "\xe1\x23\xbf\xa9\x37\x07\x9c\xc3"
32877                           "\xb2\xc9\xa8\x1c\x5b\x5c\x58\xa4"
32878                           "\x77\x02\x26\xad\xc3\x40\x11\x53"
32879                           "\x93\x68\x72\xde\x05\x8b\x10\xbc"
32880                           "\xa6\xd4\x1b\xd9\x27\xd8\x16\x12"
32881                           "\x61\x2b\x31\x2a\x44\x87\x96\x58",
32882                 .len    = 496,
32883         },
32884 };
32885
32886 /* based on hmac_sha256_aes_cbc_tv_temp */
32887 static const struct aead_testvec essiv_hmac_sha256_aes_cbc_tv_temp[] = {
32888         {
32889 #ifdef __LITTLE_ENDIAN
32890                 .key    = "\x08\x00"            /* rta length */
32891                           "\x01\x00"            /* rta type */
32892 #else
32893                 .key    = "\x00\x08"            /* rta length */
32894                           "\x00\x01"            /* rta type */
32895 #endif
32896                           "\x00\x00\x00\x10"    /* enc key length */
32897                           "\x00\x00\x00\x00\x00\x00\x00\x00"
32898                           "\x00\x00\x00\x00\x00\x00\x00\x00"
32899                           "\x00\x00\x00\x00\x00\x00\x00\x00"
32900                           "\x00\x00\x00\x00\x00\x00\x00\x00"
32901                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
32902                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
32903                 .klen   = 8 + 32 + 16,
32904                 .iv     = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04"
32905                           "\xbc\x1e\x7e\x35\xb0\x5d\x78\x29",
32906                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
32907                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
32908                 .alen   = 16,
32909                 .ptext  = "Single block msg",
32910                 .plen   = 16,
32911                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
32912                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
32913                           "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
32914                           "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
32915                           "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
32916                           "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
32917                 .clen   = 16 + 32,
32918         }, {
32919 #ifdef __LITTLE_ENDIAN
32920                 .key    = "\x08\x00"            /* rta length */
32921                           "\x01\x00"            /* rta type */
32922 #else
32923                 .key    = "\x00\x08"            /* rta length */
32924                           "\x00\x01"            /* rta type */
32925 #endif
32926                           "\x00\x00\x00\x10"    /* enc key length */
32927                           "\x20\x21\x22\x23\x24\x25\x26\x27"
32928                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
32929                           "\x30\x31\x32\x33\x34\x35\x36\x37"
32930                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
32931                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
32932                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
32933                 .klen   = 8 + 32 + 16,
32934                 .iv     = "\x56\xe8\x14\xa5\x74\x18\x75\x13"
32935                           "\x2f\x79\xe7\xc8\x65\xe3\x48\x45",
32936                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
32937                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
32938                 .alen   = 16,
32939                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
32940                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
32941                           "\x10\x11\x12\x13\x14\x15\x16\x17"
32942                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
32943                 .plen   = 32,
32944                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
32945                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
32946                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
32947                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
32948                           "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
32949                           "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
32950                           "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
32951                           "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
32952                 .clen   = 32 + 32,
32953         }, {
32954 #ifdef __LITTLE_ENDIAN
32955                 .key    = "\x08\x00"            /* rta length */
32956                           "\x01\x00"            /* rta type */
32957 #else
32958                 .key    = "\x00\x08"            /* rta length */
32959                           "\x00\x01"            /* rta type */
32960 #endif
32961                           "\x00\x00\x00\x10"    /* enc key length */
32962                           "\x11\x22\x33\x44\x55\x66\x77\x88"
32963                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
32964                           "\x22\x33\x44\x55\x66\x77\x88\x99"
32965                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
32966                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
32967                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
32968                 .klen   = 8 + 32 + 16,
32969                 .iv     = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9"
32970                           "\xb6\x9f\x8c\x10\xa8\x96\x15\x64",
32971                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
32972                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
32973                 .alen   = 16,
32974                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
32975                 .plen   = 48,
32976                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
32977                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
32978                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
32979                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
32980                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
32981                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
32982                           "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
32983                           "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
32984                           "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
32985                           "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
32986                 .clen   = 48 + 32,
32987         }, {
32988 #ifdef __LITTLE_ENDIAN
32989                 .key    = "\x08\x00"            /* rta length */
32990                           "\x01\x00"            /* rta type */
32991 #else
32992                 .key    = "\x00\x08"            /* rta length */
32993                           "\x00\x01"            /* rta type */
32994 #endif
32995                           "\x00\x00\x00\x10"    /* enc key length */
32996                           "\x11\x22\x33\x44\x55\x66\x77\x88"
32997                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
32998                           "\x22\x33\x44\x55\x66\x77\x88\x99"
32999                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
33000                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
33001                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
33002                 .klen   = 8 + 32 + 16,
33003                 .iv     = "\x13\xe5\xf2\xef\x61\x97\x59\x35"
33004                           "\x9b\x36\x84\x46\x4e\x63\xd1\x41",
33005                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
33006                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
33007                 .alen   = 16,
33008                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
33009                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
33010                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
33011                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
33012                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
33013                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
33014                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
33015                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
33016                 .plen   = 64,
33017                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
33018                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
33019                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
33020                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
33021                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
33022                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
33023                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
33024                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
33025                           "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
33026                           "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
33027                           "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
33028                           "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
33029                 .clen   = 64 + 32,
33030         }, {
33031 #ifdef __LITTLE_ENDIAN
33032                 .key    = "\x08\x00"            /* rta length */
33033                           "\x01\x00"            /* rta type */
33034 #else
33035                 .key    = "\x00\x08"            /* rta length */
33036                           "\x00\x01"            /* rta type */
33037 #endif
33038                           "\x00\x00\x00\x10"    /* enc key length */
33039                           "\x11\x22\x33\x44\x55\x66\x77\x88"
33040                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
33041                           "\x22\x33\x44\x55\x66\x77\x88\x99"
33042                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
33043                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
33044                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
33045                 .klen   = 8 + 32 + 16,
33046                 .iv     = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23"
33047                           "\x81\x7a\x94\x29\xab\xfd\xd2\x2c",
33048                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
33049                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
33050                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
33051                 .alen   = 24,
33052                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
33053                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
33054                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
33055                           "\x10\x11\x12\x13\x14\x15\x16\x17"
33056                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
33057                           "\x20\x21\x22\x23\x24\x25\x26\x27"
33058                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
33059                           "\x30\x31\x32\x33\x34\x35\x36\x37"
33060                           "\x01\x02\x03\x04\x05\x06\x07\x08"
33061                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
33062                 .plen   = 80,
33063                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
33064                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
33065                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
33066                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
33067                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
33068                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
33069                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
33070                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
33071                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
33072                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
33073                           "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
33074                           "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
33075                           "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
33076                           "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
33077                 .clen   = 80 + 32,
33078        }, {
33079 #ifdef __LITTLE_ENDIAN
33080                 .key    = "\x08\x00"            /* rta length */
33081                           "\x01\x00"            /* rta type */
33082 #else
33083                 .key    = "\x00\x08"            /* rta length */
33084                           "\x00\x01"            /* rta type */
33085 #endif
33086                           "\x00\x00\x00\x18"    /* enc key length */
33087                           "\x11\x22\x33\x44\x55\x66\x77\x88"
33088                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
33089                           "\x22\x33\x44\x55\x66\x77\x88\x99"
33090                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
33091                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
33092                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
33093                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
33094                 .klen   = 8 + 32 + 24,
33095                 .iv     = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98"
33096                           "\x38\x2f\xa7\x3d\x4d\x80\x49\xb0",
33097                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
33098                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
33099                 .alen   = 16,
33100                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
33101                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
33102                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
33103                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
33104                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
33105                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
33106                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
33107                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
33108                 .plen   = 64,
33109                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
33110                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
33111                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
33112                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
33113                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
33114                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
33115                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
33116                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
33117                           "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
33118                           "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
33119                           "\xca\x71\x85\x93\xf7\x85\x55\x8b"
33120                           "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
33121                 .clen   = 64 + 32,
33122         }, {
33123 #ifdef __LITTLE_ENDIAN
33124                 .key    = "\x08\x00"            /* rta length */
33125                           "\x01\x00"            /* rta type */
33126 #else
33127                 .key    = "\x00\x08"            /* rta length */
33128                           "\x00\x01"            /* rta type */
33129 #endif
33130                           "\x00\x00\x00\x20"    /* enc key length */
33131                           "\x11\x22\x33\x44\x55\x66\x77\x88"
33132                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
33133                           "\x22\x33\x44\x55\x66\x77\x88\x99"
33134                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
33135                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
33136                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
33137                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
33138                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
33139                 .klen   = 8 + 32 + 32,
33140                 .iv     = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c"
33141                           "\xf9\x75\xaf\xf9\x2f\x60\x3a\x9b",
33142                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
33143                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
33144                 .alen   = 16,
33145                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
33146                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
33147                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
33148                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
33149                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
33150                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
33151                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
33152                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
33153                 .plen   = 64,
33154                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
33155                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
33156                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
33157                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
33158                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
33159                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
33160                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
33161                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
33162                           "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
33163                           "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
33164                           "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
33165                           "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
33166                 .clen   = 64 + 32,
33167         },
33168 };
33169
33170 static const char blake2_ordered_sequence[] =
33171         "\x00\x01\x02\x03\x04\x05\x06\x07"
33172         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
33173         "\x10\x11\x12\x13\x14\x15\x16\x17"
33174         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
33175         "\x20\x21\x22\x23\x24\x25\x26\x27"
33176         "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
33177         "\x30\x31\x32\x33\x34\x35\x36\x37"
33178         "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
33179         "\x40\x41\x42\x43\x44\x45\x46\x47"
33180         "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
33181         "\x50\x51\x52\x53\x54\x55\x56\x57"
33182         "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
33183         "\x60\x61\x62\x63\x64\x65\x66\x67"
33184         "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
33185         "\x70\x71\x72\x73\x74\x75\x76\x77"
33186         "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
33187         "\x80\x81\x82\x83\x84\x85\x86\x87"
33188         "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
33189         "\x90\x91\x92\x93\x94\x95\x96\x97"
33190         "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
33191         "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
33192         "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
33193         "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
33194         "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
33195         "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
33196         "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
33197         "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
33198         "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
33199         "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
33200         "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
33201         "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
33202         "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
33203
33204 static const struct hash_testvec blake2b_160_tv_template[] = {{
33205         .digest = (u8[]){ 0x33, 0x45, 0x52, 0x4a, 0xbf, 0x6b, 0xbe, 0x18,
33206                           0x09, 0x44, 0x92, 0x24, 0xb5, 0x97, 0x2c, 0x41,
33207                           0x79, 0x0b, 0x6c, 0xf2, },
33208 }, {
33209         .plaintext = blake2_ordered_sequence,
33210         .psize = 64,
33211         .digest = (u8[]){ 0x11, 0xcc, 0x66, 0x61, 0xe9, 0x22, 0xb0, 0xe4,
33212                           0x07, 0xe0, 0xa5, 0x72, 0x49, 0xc3, 0x8d, 0x4f,
33213                           0xf7, 0x6d, 0x8e, 0xc8, },
33214 }, {
33215         .ksize = 32,
33216         .key = blake2_ordered_sequence,
33217         .plaintext = blake2_ordered_sequence,
33218         .psize = 1,
33219         .digest = (u8[]){ 0x31, 0xe3, 0xd9, 0xd5, 0x4e, 0x72, 0xd8, 0x0b,
33220                           0x2b, 0x3b, 0xd7, 0x6b, 0x82, 0x7a, 0x1d, 0xfb,
33221                           0x56, 0x2f, 0x79, 0x4c, },
33222 }, {
33223         .ksize = 64,
33224         .key = blake2_ordered_sequence,
33225         .plaintext = blake2_ordered_sequence,
33226         .psize = 7,
33227         .digest = (u8[]){ 0x28, 0x20, 0xd1, 0xbe, 0x7f, 0xcc, 0xc1, 0x62,
33228                           0xd9, 0x0d, 0x9a, 0x4b, 0x47, 0xd1, 0x5e, 0x04,
33229                           0x74, 0x2a, 0x53, 0x17, },
33230 }, {
33231         .ksize = 1,
33232         .key = "B",
33233         .plaintext = blake2_ordered_sequence,
33234         .psize = 15,
33235         .digest = (u8[]){ 0x45, 0xe9, 0x95, 0xb6, 0xc4, 0xe8, 0x22, 0xea,
33236                           0xfe, 0xd2, 0x37, 0xdb, 0x46, 0xbf, 0xf1, 0x25,
33237                           0xd5, 0x03, 0x1d, 0x81, },
33238 }, {
33239         .ksize = 32,
33240         .key = blake2_ordered_sequence,
33241         .plaintext = blake2_ordered_sequence,
33242         .psize = 247,
33243         .digest = (u8[]){ 0x7e, 0xb9, 0xf2, 0x9b, 0x2f, 0xc2, 0x01, 0xd4,
33244                           0xb0, 0x4f, 0x08, 0x2b, 0x8e, 0xbd, 0x06, 0xef,
33245                           0x1c, 0xc4, 0x25, 0x95, },
33246 }, {
33247         .ksize = 64,
33248         .key = blake2_ordered_sequence,
33249         .plaintext = blake2_ordered_sequence,
33250         .psize = 256,
33251         .digest = (u8[]){ 0x6e, 0x35, 0x01, 0x70, 0xbf, 0xb6, 0xc4, 0xba,
33252                           0x33, 0x1b, 0xa6, 0xd3, 0xc2, 0x5d, 0xb4, 0x03,
33253                           0x95, 0xaf, 0x29, 0x16, },
33254 }};
33255
33256 static const struct hash_testvec blake2b_256_tv_template[] = {{
33257         .plaintext = blake2_ordered_sequence,
33258         .psize = 7,
33259         .digest = (u8[]){ 0x9d, 0xf1, 0x4b, 0x72, 0x48, 0x76, 0x4a, 0x86,
33260                           0x91, 0x97, 0xc3, 0x5e, 0x39, 0x2d, 0x2a, 0x6d,
33261                           0x6f, 0xdc, 0x5b, 0x79, 0xd5, 0x97, 0x29, 0x79,
33262                           0x20, 0xfd, 0x3f, 0x14, 0x91, 0xb4, 0x42, 0xd2, },
33263 }, {
33264         .plaintext = blake2_ordered_sequence,
33265         .psize = 256,
33266         .digest = (u8[]){ 0x39, 0xa7, 0xeb, 0x9f, 0xed, 0xc1, 0x9a, 0xab,
33267                           0xc8, 0x34, 0x25, 0xc6, 0x75, 0x5d, 0xd9, 0x0e,
33268                           0x6f, 0x9d, 0x0c, 0x80, 0x49, 0x64, 0xa1, 0xf4,
33269                           0xaa, 0xee, 0xa3, 0xb9, 0xfb, 0x59, 0x98, 0x35, },
33270 }, {
33271         .ksize = 1,
33272         .key = "B",
33273         .digest = (u8[]){ 0xc3, 0x08, 0xb1, 0xbf, 0xe4, 0xf9, 0xbc, 0xb4,
33274                           0x75, 0xaf, 0x3f, 0x59, 0x6e, 0xae, 0xde, 0x6a,
33275                           0xa3, 0x8e, 0xb5, 0x94, 0xad, 0x30, 0xf0, 0x17,
33276                           0x1c, 0xfb, 0xd8, 0x3e, 0x8a, 0xbe, 0xed, 0x9c, },
33277 }, {
33278         .ksize = 64,
33279         .key = blake2_ordered_sequence,
33280         .plaintext = blake2_ordered_sequence,
33281         .psize = 1,
33282         .digest = (u8[]){ 0x34, 0x75, 0x8b, 0x64, 0x71, 0x35, 0x62, 0x82,
33283                           0x97, 0xfb, 0x09, 0xc7, 0x93, 0x0c, 0xd0, 0x4e,
33284                           0x95, 0x28, 0xe5, 0x66, 0x91, 0x12, 0xf5, 0xb1,
33285                           0x31, 0x84, 0x93, 0xe1, 0x4d, 0xe7, 0x7e, 0x55, },
33286 }, {
33287         .ksize = 32,
33288         .key = blake2_ordered_sequence,
33289         .plaintext = blake2_ordered_sequence,
33290         .psize = 15,
33291         .digest = (u8[]){ 0xce, 0x74, 0xa9, 0x2e, 0xe9, 0x40, 0x3d, 0xa2,
33292                           0x11, 0x4a, 0x99, 0x25, 0x7a, 0x34, 0x5d, 0x35,
33293                           0xdf, 0x6a, 0x48, 0x79, 0x2a, 0x93, 0x93, 0xff,
33294                           0x1f, 0x3c, 0x39, 0xd0, 0x71, 0x1f, 0x20, 0x7b, },
33295 }, {
33296         .ksize = 1,
33297         .key = "B",
33298         .plaintext = blake2_ordered_sequence,
33299         .psize = 64,
33300         .digest = (u8[]){ 0x2e, 0x84, 0xdb, 0xa2, 0x5f, 0x0e, 0xe9, 0x52,
33301                           0x79, 0x50, 0x69, 0x9f, 0xf1, 0xfd, 0xfc, 0x9d,
33302                           0x89, 0x83, 0xa9, 0xb6, 0xa4, 0xd5, 0xfa, 0xb5,
33303                           0xbe, 0x35, 0x1a, 0x17, 0x8a, 0x2c, 0x7f, 0x7d, },
33304 }, {
33305         .ksize = 64,
33306         .key = blake2_ordered_sequence,
33307         .plaintext = blake2_ordered_sequence,
33308         .psize = 247,
33309         .digest = (u8[]){ 0x2e, 0x26, 0xf0, 0x09, 0x02, 0x65, 0x90, 0x09,
33310                           0xcc, 0xf5, 0x4c, 0x44, 0x74, 0x0e, 0xa0, 0xa8,
33311                           0x25, 0x4a, 0xda, 0x61, 0x56, 0x95, 0x7d, 0x3f,
33312                           0x6d, 0xc0, 0x43, 0x17, 0x95, 0x89, 0xcd, 0x9d, },
33313 }};
33314
33315 static const struct hash_testvec blake2b_384_tv_template[] = {{
33316         .plaintext = blake2_ordered_sequence,
33317         .psize = 1,
33318         .digest = (u8[]){ 0xcc, 0x01, 0x08, 0x85, 0x36, 0xf7, 0x84, 0xf0,
33319                           0xbb, 0x76, 0x9e, 0x41, 0xc4, 0x95, 0x7b, 0x6d,
33320                           0x0c, 0xde, 0x1f, 0xcc, 0x8c, 0xf1, 0xd9, 0x1f,
33321                           0xc4, 0x77, 0xd4, 0xdd, 0x6e, 0x3f, 0xbf, 0xcd,
33322                           0x43, 0xd1, 0x69, 0x8d, 0x14, 0x6f, 0x34, 0x8b,
33323                           0x2c, 0x36, 0xa3, 0x39, 0x68, 0x2b, 0xec, 0x3f, },
33324 }, {
33325         .plaintext = blake2_ordered_sequence,
33326         .psize = 247,
33327         .digest = (u8[]){ 0xc8, 0xf8, 0xf0, 0xa2, 0x69, 0xfa, 0xcc, 0x4d,
33328                           0x32, 0x5f, 0x13, 0x88, 0xca, 0x71, 0x99, 0x8f,
33329                           0xf7, 0x30, 0x41, 0x5d, 0x6e, 0x34, 0xb7, 0x6e,
33330                           0x3e, 0xd0, 0x46, 0xb6, 0xca, 0x30, 0x66, 0xb2,
33331                           0x6f, 0x0c, 0x35, 0x54, 0x17, 0xcd, 0x26, 0x1b,
33332                           0xef, 0x48, 0x98, 0xe0, 0x56, 0x7c, 0x05, 0xd2, },
33333 }, {
33334         .ksize = 32,
33335         .key = blake2_ordered_sequence,
33336         .digest = (u8[]){ 0x15, 0x09, 0x7a, 0x90, 0x13, 0x23, 0xab, 0x0c,
33337                           0x0b, 0x43, 0x21, 0x9a, 0xb5, 0xc6, 0x0c, 0x2e,
33338                           0x7c, 0x57, 0xfc, 0xcc, 0x4b, 0x0f, 0xf0, 0x57,
33339                           0xb7, 0x9c, 0xe7, 0x0f, 0xe1, 0x57, 0xac, 0x37,
33340                           0x77, 0xd4, 0xf4, 0x2f, 0x03, 0x3b, 0x64, 0x09,
33341                           0x84, 0xa0, 0xb3, 0x24, 0xb7, 0xae, 0x47, 0x5e, },
33342 }, {
33343         .ksize = 1,
33344         .key = "B",
33345         .plaintext = blake2_ordered_sequence,
33346         .psize = 7,
33347         .digest = (u8[]){ 0x0b, 0x82, 0x88, 0xca, 0x05, 0x2f, 0x1b, 0x15,
33348                           0xdc, 0xbb, 0x22, 0x27, 0x11, 0x6b, 0xf4, 0xd1,
33349                           0xe9, 0x8f, 0x1b, 0x0b, 0x58, 0x3f, 0x5e, 0x86,
33350                           0x80, 0x82, 0x6f, 0x8e, 0x54, 0xc1, 0x9f, 0x12,
33351                           0xcf, 0xe9, 0x56, 0xc1, 0xfc, 0x1a, 0x08, 0xb9,
33352                           0x4a, 0x57, 0x0a, 0x76, 0x3c, 0x15, 0x33, 0x18, },
33353 }, {
33354         .ksize = 64,
33355         .key = blake2_ordered_sequence,
33356         .plaintext = blake2_ordered_sequence,
33357         .psize = 15,
33358         .digest = (u8[]){ 0x4a, 0x81, 0x55, 0xb9, 0x79, 0x42, 0x8c, 0xc6,
33359                           0x4f, 0xfe, 0xca, 0x82, 0x3b, 0xb2, 0xf7, 0xbc,
33360                           0x5e, 0xfc, 0xab, 0x09, 0x1c, 0xd6, 0x3b, 0xe1,
33361                           0x50, 0x82, 0x3b, 0xde, 0xc7, 0x06, 0xee, 0x3b,
33362                           0x29, 0xce, 0xe5, 0x68, 0xe0, 0xff, 0xfa, 0xe1,
33363                           0x7a, 0xf1, 0xc0, 0xfe, 0x57, 0xf4, 0x60, 0x49, },
33364 }, {
33365         .ksize = 32,
33366         .key = blake2_ordered_sequence,
33367         .plaintext = blake2_ordered_sequence,
33368         .psize = 64,
33369         .digest = (u8[]){ 0x34, 0xbd, 0xe1, 0x99, 0x43, 0x9f, 0x82, 0x72,
33370                           0xe7, 0xed, 0x94, 0x9e, 0xe1, 0x84, 0xee, 0x82,
33371                           0xfd, 0x26, 0x23, 0xc4, 0x17, 0x8d, 0xf5, 0x04,
33372                           0xeb, 0xb7, 0xbc, 0xb8, 0xf3, 0x68, 0xb7, 0xad,
33373                           0x94, 0x8e, 0x05, 0x3f, 0x8a, 0x5d, 0x8d, 0x81,
33374                           0x3e, 0x88, 0xa7, 0x8c, 0xa2, 0xd5, 0xdc, 0x76, },
33375 }, {
33376         .ksize = 1,
33377         .key = "B",
33378         .plaintext = blake2_ordered_sequence,
33379         .psize = 256,
33380         .digest = (u8[]){ 0x22, 0x14, 0xf4, 0xb0, 0x4c, 0xa8, 0xb5, 0x7d,
33381                           0xa7, 0x5c, 0x04, 0xeb, 0xd8, 0x8d, 0x04, 0x71,
33382                           0xc7, 0x3c, 0xc7, 0x6e, 0x8b, 0x20, 0x36, 0x40,
33383                           0x9d, 0xd0, 0x60, 0xc6, 0xe3, 0x0b, 0x6e, 0x50,
33384                           0xf5, 0xaf, 0xf5, 0xc6, 0x3b, 0xe3, 0x84, 0x6a,
33385                           0x93, 0x1b, 0x12, 0xd6, 0x18, 0x27, 0xba, 0x36, },
33386 }};
33387
33388 static const struct hash_testvec blake2b_512_tv_template[] = {{
33389         .plaintext = blake2_ordered_sequence,
33390         .psize = 15,
33391         .digest = (u8[]){ 0x44, 0x4b, 0x24, 0x0f, 0xe3, 0xed, 0x86, 0xd0,
33392                           0xe2, 0xef, 0x4c, 0xe7, 0xd8, 0x51, 0xed, 0xde,
33393                           0x22, 0x15, 0x55, 0x82, 0xaa, 0x09, 0x14, 0x79,
33394                           0x7b, 0x72, 0x6c, 0xd0, 0x58, 0xb6, 0xf4, 0x59,
33395                           0x32, 0xe0, 0xe1, 0x29, 0x51, 0x68, 0x76, 0x52,
33396                           0x7b, 0x1d, 0xd8, 0x8f, 0xc6, 0x6d, 0x71, 0x19,
33397                           0xf4, 0xab, 0x3b, 0xed, 0x93, 0xa6, 0x1a, 0x0e,
33398                           0x2d, 0x2d, 0x2a, 0xea, 0xc3, 0x36, 0xd9, 0x58, },
33399 }, {
33400         .ksize = 64,
33401         .key = blake2_ordered_sequence,
33402         .digest = (u8[]){ 0x10, 0xeb, 0xb6, 0x77, 0x00, 0xb1, 0x86, 0x8e,
33403                           0xfb, 0x44, 0x17, 0x98, 0x7a, 0xcf, 0x46, 0x90,
33404                           0xae, 0x9d, 0x97, 0x2f, 0xb7, 0xa5, 0x90, 0xc2,
33405                           0xf0, 0x28, 0x71, 0x79, 0x9a, 0xaa, 0x47, 0x86,
33406                           0xb5, 0xe9, 0x96, 0xe8, 0xf0, 0xf4, 0xeb, 0x98,
33407                           0x1f, 0xc2, 0x14, 0xb0, 0x05, 0xf4, 0x2d, 0x2f,
33408                           0xf4, 0x23, 0x34, 0x99, 0x39, 0x16, 0x53, 0xdf,
33409                           0x7a, 0xef, 0xcb, 0xc1, 0x3f, 0xc5, 0x15, 0x68, },
33410 }, {
33411         .ksize = 1,
33412         .key = "B",
33413         .plaintext = blake2_ordered_sequence,
33414         .psize = 1,
33415         .digest = (u8[]){ 0xd2, 0x11, 0x31, 0x29, 0x3f, 0xea, 0xca, 0x72,
33416                           0x21, 0xe4, 0x06, 0x65, 0x05, 0x2a, 0xd1, 0x02,
33417                           0xc0, 0x8d, 0x7b, 0xf1, 0x09, 0x3c, 0xef, 0x88,
33418                           0xe1, 0x68, 0x0c, 0xf1, 0x3b, 0xa4, 0xe3, 0x03,
33419                           0xed, 0xa0, 0xe3, 0x60, 0x58, 0xa0, 0xdb, 0x52,
33420                           0x8a, 0x66, 0x43, 0x09, 0x60, 0x1a, 0xbb, 0x67,
33421                           0xc5, 0x84, 0x31, 0x40, 0xfa, 0xde, 0xc1, 0xd0,
33422                           0xff, 0x3f, 0x4a, 0x69, 0xd9, 0x92, 0x26, 0x86, },
33423 }, {
33424         .ksize = 32,
33425         .key = blake2_ordered_sequence,
33426         .plaintext = blake2_ordered_sequence,
33427         .psize = 7,
33428         .digest = (u8[]){ 0xa3, 0x3e, 0x50, 0xbc, 0xfb, 0xd9, 0xf0, 0x82,
33429                           0xa6, 0xd1, 0xdf, 0xaf, 0x82, 0xd0, 0xcf, 0x84,
33430                           0x9a, 0x25, 0x3c, 0xae, 0x6d, 0xb5, 0xaf, 0x01,
33431                           0xd7, 0xaf, 0xed, 0x50, 0xdc, 0xe2, 0xba, 0xcc,
33432                           0x8c, 0x38, 0xf5, 0x16, 0x89, 0x38, 0x86, 0xce,
33433                           0x68, 0x10, 0x63, 0x64, 0xa5, 0x79, 0x53, 0xb5,
33434                           0x2e, 0x8e, 0xbc, 0x0a, 0xce, 0x95, 0xc0, 0x1e,
33435                           0x69, 0x59, 0x1d, 0x3b, 0xd8, 0x19, 0x90, 0xd7, },
33436 }, {
33437         .ksize = 64,
33438         .key = blake2_ordered_sequence,
33439         .plaintext = blake2_ordered_sequence,
33440         .psize = 64,
33441         .digest = (u8[]){ 0x65, 0x67, 0x6d, 0x80, 0x06, 0x17, 0x97, 0x2f,
33442                           0xbd, 0x87, 0xe4, 0xb9, 0x51, 0x4e, 0x1c, 0x67,
33443                           0x40, 0x2b, 0x7a, 0x33, 0x10, 0x96, 0xd3, 0xbf,
33444                           0xac, 0x22, 0xf1, 0xab, 0xb9, 0x53, 0x74, 0xab,
33445                           0xc9, 0x42, 0xf1, 0x6e, 0x9a, 0xb0, 0xea, 0xd3,
33446                           0x3b, 0x87, 0xc9, 0x19, 0x68, 0xa6, 0xe5, 0x09,
33447                           0xe1, 0x19, 0xff, 0x07, 0x78, 0x7b, 0x3e, 0xf4,
33448                           0x83, 0xe1, 0xdc, 0xdc, 0xcf, 0x6e, 0x30, 0x22, },
33449 }, {
33450         .ksize = 1,
33451         .key = "B",
33452         .plaintext = blake2_ordered_sequence,
33453         .psize = 247,
33454         .digest = (u8[]){ 0xc2, 0x96, 0x2c, 0x6b, 0x84, 0xff, 0xee, 0xea,
33455                           0x9b, 0xb8, 0x55, 0x2d, 0x6b, 0xa5, 0xd5, 0xe5,
33456                           0xbd, 0xb1, 0x54, 0xb6, 0x1e, 0xfb, 0x63, 0x16,
33457                           0x6e, 0x22, 0x04, 0xf0, 0x82, 0x7a, 0xc6, 0x99,
33458                           0xf7, 0x4c, 0xff, 0x93, 0x71, 0x57, 0x64, 0xd0,
33459                           0x08, 0x60, 0x39, 0x98, 0xb8, 0xd2, 0x2b, 0x4e,
33460                           0x81, 0x8d, 0xe4, 0x8f, 0xb2, 0x1e, 0x8f, 0x99,
33461                           0x98, 0xf1, 0x02, 0x9b, 0x4c, 0x7c, 0x97, 0x1a, },
33462 }, {
33463         .ksize = 32,
33464         .key = blake2_ordered_sequence,
33465         .plaintext = blake2_ordered_sequence,
33466         .psize = 256,
33467         .digest = (u8[]){ 0x0f, 0x32, 0x05, 0x09, 0xad, 0x9f, 0x25, 0xf7,
33468                           0xf2, 0x00, 0x71, 0xc9, 0x9f, 0x08, 0x58, 0xd1,
33469                           0x67, 0xc3, 0xa6, 0x2c, 0x0d, 0xe5, 0x7c, 0x15,
33470                           0x35, 0x18, 0x5a, 0x68, 0xc1, 0xca, 0x1c, 0x6e,
33471                           0x0f, 0xc4, 0xf6, 0x0c, 0x43, 0xe1, 0xb4, 0x3d,
33472                           0x28, 0xe4, 0xc7, 0xa1, 0xcf, 0x6b, 0x17, 0x4e,
33473                           0xf1, 0x5b, 0xb5, 0x53, 0xd4, 0xa7, 0xd0, 0x5b,
33474                           0xae, 0x15, 0x81, 0x15, 0xd0, 0x88, 0xa0, 0x3c, },
33475 }};
33476
33477 static const struct hash_testvec blakes2s_128_tv_template[] = {{
33478         .digest = (u8[]){ 0x64, 0x55, 0x0d, 0x6f, 0xfe, 0x2c, 0x0a, 0x01,
33479                           0xa1, 0x4a, 0xba, 0x1e, 0xad, 0xe0, 0x20, 0x0c, },
33480 }, {
33481         .plaintext = blake2_ordered_sequence,
33482         .psize = 64,
33483         .digest = (u8[]){ 0xdc, 0x66, 0xca, 0x8f, 0x03, 0x86, 0x58, 0x01,
33484                           0xb0, 0xff, 0xe0, 0x6e, 0xd8, 0xa1, 0xa9, 0x0e, },
33485 }, {
33486         .ksize = 16,
33487         .key = blake2_ordered_sequence,
33488         .plaintext = blake2_ordered_sequence,
33489         .psize = 1,
33490         .digest = (u8[]){ 0x88, 0x1e, 0x42, 0xe7, 0xbb, 0x35, 0x80, 0x82,
33491                           0x63, 0x7c, 0x0a, 0x0f, 0xd7, 0xec, 0x6c, 0x2f, },
33492 }, {
33493         .ksize = 32,
33494         .key = blake2_ordered_sequence,
33495         .plaintext = blake2_ordered_sequence,
33496         .psize = 7,
33497         .digest = (u8[]){ 0xcf, 0x9e, 0x07, 0x2a, 0xd5, 0x22, 0xf2, 0xcd,
33498                           0xa2, 0xd8, 0x25, 0x21, 0x80, 0x86, 0x73, 0x1c, },
33499 }, {
33500         .ksize = 1,
33501         .key = "B",
33502         .plaintext = blake2_ordered_sequence,
33503         .psize = 15,
33504         .digest = (u8[]){ 0xf6, 0x33, 0x5a, 0x2c, 0x22, 0xa0, 0x64, 0xb2,
33505                           0xb6, 0x3f, 0xeb, 0xbc, 0xd1, 0xc3, 0xe5, 0xb2, },
33506 }, {
33507         .ksize = 16,
33508         .key = blake2_ordered_sequence,
33509         .plaintext = blake2_ordered_sequence,
33510         .psize = 247,
33511         .digest = (u8[]){ 0x72, 0x66, 0x49, 0x60, 0xf9, 0x4a, 0xea, 0xbe,
33512                           0x1f, 0xf4, 0x60, 0xce, 0xb7, 0x81, 0xcb, 0x09, },
33513 }, {
33514         .ksize = 32,
33515         .key = blake2_ordered_sequence,
33516         .plaintext = blake2_ordered_sequence,
33517         .psize = 256,
33518         .digest = (u8[]){ 0xd5, 0xa4, 0x0e, 0xc3, 0x16, 0xc7, 0x51, 0xa6,
33519                           0x3c, 0xd0, 0xd9, 0x11, 0x57, 0xfa, 0x1e, 0xbb, },
33520 }};
33521
33522 static const struct hash_testvec blakes2s_160_tv_template[] = {{
33523         .plaintext = blake2_ordered_sequence,
33524         .psize = 7,
33525         .digest = (u8[]){ 0xb4, 0xf2, 0x03, 0x49, 0x37, 0xed, 0xb1, 0x3e,
33526                           0x5b, 0x2a, 0xca, 0x64, 0x82, 0x74, 0xf6, 0x62,
33527                           0xe3, 0xf2, 0x84, 0xff, },
33528 }, {
33529         .plaintext = blake2_ordered_sequence,
33530         .psize = 256,
33531         .digest = (u8[]){ 0xaa, 0x56, 0x9b, 0xdc, 0x98, 0x17, 0x75, 0xf2,
33532                           0xb3, 0x68, 0x83, 0xb7, 0x9b, 0x8d, 0x48, 0xb1,
33533                           0x9b, 0x2d, 0x35, 0x05, },
33534 }, {
33535         .ksize = 1,
33536         .key = "B",
33537         .digest = (u8[]){ 0x50, 0x16, 0xe7, 0x0c, 0x01, 0xd0, 0xd3, 0xc3,
33538                           0xf4, 0x3e, 0xb1, 0x6e, 0x97, 0xa9, 0x4e, 0xd1,
33539                           0x79, 0x65, 0x32, 0x93, },
33540 }, {
33541         .ksize = 32,
33542         .key = blake2_ordered_sequence,
33543         .plaintext = blake2_ordered_sequence,
33544         .psize = 1,
33545         .digest = (u8[]){ 0x1c, 0x2b, 0xcd, 0x9a, 0x68, 0xca, 0x8c, 0x71,
33546                           0x90, 0x29, 0x6c, 0x54, 0xfa, 0x56, 0x4a, 0xef,
33547                           0xa2, 0x3a, 0x56, 0x9c, },
33548 }, {
33549         .ksize = 16,
33550         .key = blake2_ordered_sequence,
33551         .plaintext = blake2_ordered_sequence,
33552         .psize = 15,
33553         .digest = (u8[]){ 0x36, 0xc3, 0x5f, 0x9a, 0xdc, 0x7e, 0xbf, 0x19,
33554                           0x68, 0xaa, 0xca, 0xd8, 0x81, 0xbf, 0x09, 0x34,
33555                           0x83, 0x39, 0x0f, 0x30, },
33556 }, {
33557         .ksize = 1,
33558         .key = "B",
33559         .plaintext = blake2_ordered_sequence,
33560         .psize = 64,
33561         .digest = (u8[]){ 0x86, 0x80, 0x78, 0xa4, 0x14, 0xec, 0x03, 0xe5,
33562                           0xb6, 0x9a, 0x52, 0x0e, 0x42, 0xee, 0x39, 0x9d,
33563                           0xac, 0xa6, 0x81, 0x63, },
33564 }, {
33565         .ksize = 32,
33566         .key = blake2_ordered_sequence,
33567         .plaintext = blake2_ordered_sequence,
33568         .psize = 247,
33569         .digest = (u8[]){ 0x2d, 0xd8, 0xd2, 0x53, 0x66, 0xfa, 0xa9, 0x01,
33570                           0x1c, 0x9c, 0xaf, 0xa3, 0xe2, 0x9d, 0x9b, 0x10,
33571                           0x0a, 0xf6, 0x73, 0xe8, },
33572 }};
33573
33574 static const struct hash_testvec blakes2s_224_tv_template[] = {{
33575         .plaintext = blake2_ordered_sequence,
33576         .psize = 1,
33577         .digest = (u8[]){ 0x61, 0xb9, 0x4e, 0xc9, 0x46, 0x22, 0xa3, 0x91,
33578                           0xd2, 0xae, 0x42, 0xe6, 0x45, 0x6c, 0x90, 0x12,
33579                           0xd5, 0x80, 0x07, 0x97, 0xb8, 0x86, 0x5a, 0xfc,
33580                           0x48, 0x21, 0x97, 0xbb, },
33581 }, {
33582         .plaintext = blake2_ordered_sequence,
33583         .psize = 247,
33584         .digest = (u8[]){ 0x9e, 0xda, 0xc7, 0x20, 0x2c, 0xd8, 0x48, 0x2e,
33585                           0x31, 0x94, 0xab, 0x46, 0x6d, 0x94, 0xd8, 0xb4,
33586                           0x69, 0xcd, 0xae, 0x19, 0x6d, 0x9e, 0x41, 0xcc,
33587                           0x2b, 0xa4, 0xd5, 0xf6, },
33588 }, {
33589         .ksize = 16,
33590         .key = blake2_ordered_sequence,
33591         .digest = (u8[]){ 0x32, 0xc0, 0xac, 0xf4, 0x3b, 0xd3, 0x07, 0x9f,
33592                           0xbe, 0xfb, 0xfa, 0x4d, 0x6b, 0x4e, 0x56, 0xb3,
33593                           0xaa, 0xd3, 0x27, 0xf6, 0x14, 0xbf, 0xb9, 0x32,
33594                           0xa7, 0x19, 0xfc, 0xb8, },
33595 }, {
33596         .ksize = 1,
33597         .key = "B",
33598         .plaintext = blake2_ordered_sequence,
33599         .psize = 7,
33600         .digest = (u8[]){ 0x73, 0xad, 0x5e, 0x6d, 0xb9, 0x02, 0x8e, 0x76,
33601                           0xf2, 0x66, 0x42, 0x4b, 0x4c, 0xfa, 0x1f, 0xe6,
33602                           0x2e, 0x56, 0x40, 0xe5, 0xa2, 0xb0, 0x3c, 0xe8,
33603                           0x7b, 0x45, 0xfe, 0x05, },
33604 }, {
33605         .ksize = 32,
33606         .key = blake2_ordered_sequence,
33607         .plaintext = blake2_ordered_sequence,
33608         .psize = 15,
33609         .digest = (u8[]){ 0x16, 0x60, 0xfb, 0x92, 0x54, 0xb3, 0x6e, 0x36,
33610                           0x81, 0xf4, 0x16, 0x41, 0xc3, 0x3d, 0xd3, 0x43,
33611                           0x84, 0xed, 0x10, 0x6f, 0x65, 0x80, 0x7a, 0x3e,
33612                           0x25, 0xab, 0xc5, 0x02, },
33613 }, {
33614         .ksize = 16,
33615         .key = blake2_ordered_sequence,
33616         .plaintext = blake2_ordered_sequence,
33617         .psize = 64,
33618         .digest = (u8[]){ 0xca, 0xaa, 0x39, 0x67, 0x9c, 0xf7, 0x6b, 0xc7,
33619                           0xb6, 0x82, 0xca, 0x0e, 0x65, 0x36, 0x5b, 0x7c,
33620                           0x24, 0x00, 0xfa, 0x5f, 0xda, 0x06, 0x91, 0x93,
33621                           0x6a, 0x31, 0x83, 0xb5, },
33622 }, {
33623         .ksize = 1,
33624         .key = "B",
33625         .plaintext = blake2_ordered_sequence,
33626         .psize = 256,
33627         .digest = (u8[]){ 0x90, 0x02, 0x26, 0xb5, 0x06, 0x9c, 0x36, 0x86,
33628                           0x94, 0x91, 0x90, 0x1e, 0x7d, 0x2a, 0x71, 0xb2,
33629                           0x48, 0xb5, 0xe8, 0x16, 0xfd, 0x64, 0x33, 0x45,
33630                           0xb3, 0xd7, 0xec, 0xcc, },
33631 }};
33632
33633 static const struct hash_testvec blakes2s_256_tv_template[] = {{
33634         .plaintext = blake2_ordered_sequence,
33635         .psize = 15,
33636         .digest = (u8[]){ 0xd9, 0x7c, 0x82, 0x8d, 0x81, 0x82, 0xa7, 0x21,
33637                           0x80, 0xa0, 0x6a, 0x78, 0x26, 0x83, 0x30, 0x67,
33638                           0x3f, 0x7c, 0x4e, 0x06, 0x35, 0x94, 0x7c, 0x04,
33639                           0xc0, 0x23, 0x23, 0xfd, 0x45, 0xc0, 0xa5, 0x2d, },
33640 }, {
33641         .ksize = 32,
33642         .key = blake2_ordered_sequence,
33643         .digest = (u8[]){ 0x48, 0xa8, 0x99, 0x7d, 0xa4, 0x07, 0x87, 0x6b,
33644                           0x3d, 0x79, 0xc0, 0xd9, 0x23, 0x25, 0xad, 0x3b,
33645                           0x89, 0xcb, 0xb7, 0x54, 0xd8, 0x6a, 0xb7, 0x1a,
33646                           0xee, 0x04, 0x7a, 0xd3, 0x45, 0xfd, 0x2c, 0x49, },
33647 }, {
33648         .ksize = 1,
33649         .key = "B",
33650         .plaintext = blake2_ordered_sequence,
33651         .psize = 1,
33652         .digest = (u8[]){ 0x22, 0x27, 0xae, 0xaa, 0x6e, 0x81, 0x56, 0x03,
33653                           0xa7, 0xe3, 0xa1, 0x18, 0xa5, 0x9a, 0x2c, 0x18,
33654                           0xf4, 0x63, 0xbc, 0x16, 0x70, 0xf1, 0xe7, 0x4b,
33655                           0x00, 0x6d, 0x66, 0x16, 0xae, 0x9e, 0x74, 0x4e, },
33656 }, {
33657         .ksize = 16,
33658         .key = blake2_ordered_sequence,
33659         .plaintext = blake2_ordered_sequence,
33660         .psize = 7,
33661         .digest = (u8[]){ 0x58, 0x5d, 0xa8, 0x60, 0x1c, 0xa4, 0xd8, 0x03,
33662                           0x86, 0x86, 0x84, 0x64, 0xd7, 0xa0, 0x8e, 0x15,
33663                           0x2f, 0x05, 0xa2, 0x1b, 0xbc, 0xef, 0x7a, 0x34,
33664                           0xb3, 0xc5, 0xbc, 0x4b, 0xf0, 0x32, 0xeb, 0x12, },
33665 }, {
33666         .ksize = 32,
33667         .key = blake2_ordered_sequence,
33668         .plaintext = blake2_ordered_sequence,
33669         .psize = 64,
33670         .digest = (u8[]){ 0x89, 0x75, 0xb0, 0x57, 0x7f, 0xd3, 0x55, 0x66,
33671                           0xd7, 0x50, 0xb3, 0x62, 0xb0, 0x89, 0x7a, 0x26,
33672                           0xc3, 0x99, 0x13, 0x6d, 0xf0, 0x7b, 0xab, 0xab,
33673                           0xbd, 0xe6, 0x20, 0x3f, 0xf2, 0x95, 0x4e, 0xd4, },
33674 }, {
33675         .ksize = 1,
33676         .key = "B",
33677         .plaintext = blake2_ordered_sequence,
33678         .psize = 247,
33679         .digest = (u8[]){ 0x2e, 0x74, 0x1c, 0x1d, 0x03, 0xf4, 0x9d, 0x84,
33680                           0x6f, 0xfc, 0x86, 0x32, 0x92, 0x49, 0x7e, 0x66,
33681                           0xd7, 0xc3, 0x10, 0x88, 0xfe, 0x28, 0xb3, 0xe0,
33682                           0xbf, 0x50, 0x75, 0xad, 0x8e, 0xa4, 0xe6, 0xb2, },
33683 }, {
33684         .ksize = 16,
33685         .key = blake2_ordered_sequence,
33686         .plaintext = blake2_ordered_sequence,
33687         .psize = 256,
33688         .digest = (u8[]){ 0xb9, 0xd2, 0x81, 0x0e, 0x3a, 0xb1, 0x62, 0x9b,
33689                           0xad, 0x44, 0x05, 0xf4, 0x92, 0x2e, 0x99, 0xc1,
33690                           0x4a, 0x47, 0xbb, 0x5b, 0x6f, 0xb2, 0x96, 0xed,
33691                           0xd5, 0x06, 0xb5, 0x3a, 0x7c, 0x7a, 0x65, 0x1d, },
33692 }};
33693
33694 #endif  /* _CRYPTO_TESTMGR_H */