perf build-id: Fix coding style, replace 8 spaces by tabs
[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  * @fips_skip:  Skip the test vector in FIPS mode
37  */
38 struct hash_testvec {
39         const char *key;
40         const char *plaintext;
41         const char *digest;
42         unsigned int psize;
43         unsigned short ksize;
44         int setkey_error;
45         int digest_error;
46         bool fips_skip;
47 };
48
49 /*
50  * cipher_testvec:      structure to describe a symmetric cipher test
51  * @key:        Pointer to key
52  * @klen:       Length of @key in bytes
53  * @iv:         Pointer to IV.  If NULL, an all-zeroes IV is used.
54  * @iv_out:     Pointer to output IV, if applicable for the cipher.
55  * @ptext:      Pointer to plaintext
56  * @ctext:      Pointer to ciphertext
57  * @len:        Length of @ptext and @ctext in bytes
58  * @wk:         Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
59  *              ( e.g. test needs to fail due to a weak key )
60  * @fips_skip:  Skip the test vector in FIPS mode
61  * @generates_iv: Encryption should ignore the given IV, and output @iv_out.
62  *                Decryption takes @iv_out.  Needed for AES Keywrap ("kw(aes)").
63  * @setkey_error: Expected error from setkey()
64  * @crypt_error: Expected error from encrypt() and decrypt()
65  */
66 struct cipher_testvec {
67         const char *key;
68         const char *iv;
69         const char *iv_out;
70         const char *ptext;
71         const char *ctext;
72         unsigned char wk; /* weak key flag */
73         unsigned short klen;
74         unsigned int len;
75         bool fips_skip;
76         bool generates_iv;
77         int setkey_error;
78         int crypt_error;
79 };
80
81 /*
82  * aead_testvec:        structure to describe an AEAD test
83  * @key:        Pointer to key
84  * @iv:         Pointer to IV.  If NULL, an all-zeroes IV is used.
85  * @ptext:      Pointer to plaintext
86  * @assoc:      Pointer to associated data
87  * @ctext:      Pointer to the full authenticated ciphertext.  For AEADs that
88  *              produce a separate "ciphertext" and "authentication tag", these
89  *              two parts are concatenated: ciphertext || tag.
90  * @novrfy:     If set, this is an inauthentic input test: only decryption is
91  *              tested, and it is expected to fail with either -EBADMSG or
92  *              @crypt_error if it is nonzero.
93  * @wk:         Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
94  *              (e.g. setkey() needs to fail due to a weak key)
95  * @klen:       Length of @key in bytes
96  * @plen:       Length of @ptext in bytes
97  * @alen:       Length of @assoc in bytes
98  * @clen:       Length of @ctext in bytes
99  * @setkey_error: Expected error from setkey().  If set, neither encryption nor
100  *                decryption is tested.
101  * @setauthsize_error: Expected error from setauthsize().  If set, neither
102  *                     encryption nor decryption is tested.
103  * @crypt_error: When @novrfy=0, the expected error from encrypt().  When
104  *               @novrfy=1, an optional alternate error code that is acceptable
105  *               for decrypt() to return besides -EBADMSG.
106  */
107 struct aead_testvec {
108         const char *key;
109         const char *iv;
110         const char *ptext;
111         const char *assoc;
112         const char *ctext;
113         unsigned char novrfy;
114         unsigned char wk;
115         unsigned char klen;
116         unsigned int plen;
117         unsigned int clen;
118         unsigned int alen;
119         int setkey_error;
120         int setauthsize_error;
121         int crypt_error;
122 };
123
124 struct cprng_testvec {
125         const char *key;
126         const char *dt;
127         const char *v;
128         const char *result;
129         unsigned char klen;
130         unsigned short dtlen;
131         unsigned short vlen;
132         unsigned short rlen;
133         unsigned short loops;
134 };
135
136 struct drbg_testvec {
137         const unsigned char *entropy;
138         size_t entropylen;
139         const unsigned char *entpra;
140         const unsigned char *entprb;
141         size_t entprlen;
142         const unsigned char *addtla;
143         const unsigned char *addtlb;
144         size_t addtllen;
145         const unsigned char *pers;
146         size_t perslen;
147         const unsigned char *expected;
148         size_t expectedlen;
149 };
150
151 struct akcipher_testvec {
152         const unsigned char *key;
153         const unsigned char *params;
154         const unsigned char *m;
155         const unsigned char *c;
156         unsigned int key_len;
157         unsigned int param_len;
158         unsigned int m_size;
159         unsigned int c_size;
160         bool public_key_vec;
161         bool siggen_sigver_test;
162         enum OID algo;
163 };
164
165 struct kpp_testvec {
166         const unsigned char *secret;
167         const unsigned char *b_secret;
168         const unsigned char *b_public;
169         const unsigned char *expected_a_public;
170         const unsigned char *expected_ss;
171         unsigned short secret_size;
172         unsigned short b_secret_size;
173         unsigned short b_public_size;
174         unsigned short expected_a_public_size;
175         unsigned short expected_ss_size;
176         bool genkey;
177 };
178
179 static const char zeroed_string[48];
180
181 /*
182  * RSA test vectors. Borrowed from openSSL.
183  */
184 static const struct akcipher_testvec rsa_tv_template[] = {
185         {
186 #ifndef CONFIG_CRYPTO_FIPS
187         .key =
188         "\x30\x82\x01\x38" /* sequence of 312 bytes */
189         "\x02\x01\x00" /* version - integer of 1 byte */
190         "\x02\x41" /* modulus - integer of 65 bytes */
191         "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
192         "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
193         "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
194         "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
195         "\xF5"
196         "\x02\x01\x11" /* public key - integer of 1 byte */
197         "\x02\x40" /* private key - integer of 64 bytes */
198         "\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
199         "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
200         "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
201         "\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
202         "\x02\x21" /* prime1 - integer of 33 bytes */
203         "\x00\xD8\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
204         "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x12"
205         "\x0D"
206         "\x02\x21" /* prime2 - integer of 33 bytes */
207         "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
208         "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
209         "\x89"
210         "\x02\x20" /* exponent1 - integer of 32 bytes */
211         "\x59\x0B\x95\x72\xA2\xC2\xA9\xC4\x06\x05\x9D\xC2\xAB\x2F\x1D\xAF"
212         "\xEB\x7E\x8B\x4F\x10\xA7\x54\x9E\x8E\xED\xF5\xB4\xFC\xE0\x9E\x05"
213         "\x02\x21" /* exponent2 - integer of 33 bytes */
214         "\x00\x8E\x3C\x05\x21\xFE\x15\xE0\xEA\x06\xA3\x6F\xF0\xF1\x0C\x99"
215         "\x52\xC3\x5B\x7A\x75\x14\xFD\x32\x38\xB8\x0A\xAD\x52\x98\x62\x8D"
216         "\x51"
217         "\x02\x20" /* coefficient - integer of 32 bytes */
218         "\x36\x3F\xF7\x18\x9D\xA8\xE9\x0B\x1D\x34\x1F\x71\xD0\x9B\x76\xA8"
219         "\xA9\x43\xE1\x1D\x10\xB2\x4D\x24\x9F\x2D\xEA\xFE\xF8\x0C\x18\x26",
220         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
221         .c =
222         "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
223         "\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
224         "\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
225         "\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
226         .key_len = 316,
227         .m_size = 8,
228         .c_size = 64,
229         }, {
230         .key =
231         "\x30\x82\x02\x5B" /* sequence of 603 bytes */
232         "\x02\x01\x00" /* version - integer of 1 byte */
233         "\x02\x81\x81" /* modulus - integer of 129 bytes */
234         "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
235         "\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
236         "\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
237         "\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
238         "\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
239         "\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
240         "\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
241         "\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
242         "\xCB"
243         "\x02\x01\x11" /* public key - integer of 1 byte */
244         "\x02\x81\x81"  /* private key - integer of 129 bytes */
245         "\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
246         "\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
247         "\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
248         "\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
249         "\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
250         "\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
251         "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
252         "\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
253         "\xC1"
254         "\x02\x41" /* prime1 - integer of 65 bytes */
255         "\x00\xEE\xCF\xAE\x81\xB1\xB9\xB3\xC9\x08\x81\x0B\x10\xA1\xB5\x60"
256         "\x01\x99\xEB\x9F\x44\xAE\xF4\xFD\xA4\x93\xB8\x1A\x9E\x3D\x84\xF6"
257         "\x32\x12\x4E\xF0\x23\x6E\x5D\x1E\x3B\x7E\x28\xFA\xE7\xAA\x04\x0A"
258         "\x2D\x5B\x25\x21\x76\x45\x9D\x1F\x39\x75\x41\xBA\x2A\x58\xFB\x65"
259         "\x99"
260         "\x02\x41" /* prime2 - integer of 65 bytes */
261         "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
262         "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
263         "\x86\x98\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
264         "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x15"
265         "\x03"
266         "\x02\x40" /* exponent1 - integer of 64 bytes */
267         "\x54\x49\x4C\xA6\x3E\xBA\x03\x37\xE4\xE2\x40\x23\xFC\xD6\x9A\x5A"
268         "\xEB\x07\xDD\xDC\x01\x83\xA4\xD0\xAC\x9B\x54\xB0\x51\xF2\xB1\x3E"
269         "\xD9\x49\x09\x75\xEA\xB7\x74\x14\xFF\x59\xC1\xF7\x69\x2E\x9A\x2E"
270         "\x20\x2B\x38\xFC\x91\x0A\x47\x41\x74\xAD\xC9\x3C\x1F\x67\xC9\x81"
271         "\x02\x40" /* exponent2 - integer of 64 bytes */
272         "\x47\x1E\x02\x90\xFF\x0A\xF0\x75\x03\x51\xB7\xF8\x78\x86\x4C\xA9"
273         "\x61\xAD\xBD\x3A\x8A\x7E\x99\x1C\x5C\x05\x56\xA9\x4C\x31\x46\xA7"
274         "\xF9\x80\x3F\x8F\x6F\x8A\xE3\x42\xE9\x31\xFD\x8A\xE4\x7A\x22\x0D"
275         "\x1B\x99\xA4\x95\x84\x98\x07\xFE\x39\xF9\x24\x5A\x98\x36\xDA\x3D"
276         "\x02\x41" /* coefficient - integer of 65 bytes */
277         "\x00\xB0\x6C\x4F\xDA\xBB\x63\x01\x19\x8D\x26\x5B\xDB\xAE\x94\x23"
278         "\xB3\x80\xF2\x71\xF7\x34\x53\x88\x50\x93\x07\x7F\xCD\x39\xE2\x11"
279         "\x9F\xC9\x86\x32\x15\x4F\x58\x83\xB1\x67\xA9\x67\xBF\x40\x2B\x4E"
280         "\x9E\x2E\x0F\x96\x56\xE6\x98\xEA\x36\x66\xED\xFB\x25\x79\x80\x39"
281         "\xF7",
282         .key_len = 607,
283         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
284         .c =
285         "\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
286         "\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
287         "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
288         "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
289         "\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
290         "\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
291         "\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
292         "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
293         .m_size = 8,
294         .c_size = 128,
295         }, {
296 #endif
297         .key =
298         "\x30\x82\x04\xA3" /* sequence of 1187 bytes */
299         "\x02\x01\x00" /* version - integer of 1 byte */
300         "\x02\x82\x01\x01\x00" /* modulus - integer of 256 bytes */
301         "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
302         "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
303         "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
304         "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
305         "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
306         "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
307         "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
308         "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
309         "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
310         "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
311         "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
312         "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
313         "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
314         "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
315         "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
316         "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
317         "\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
318         "\x02\x82\x01\x00" /* private key - integer of 256 bytes */
319         "\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
320         "\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
321         "\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
322         "\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
323         "\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
324         "\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
325         "\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
326         "\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
327         "\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
328         "\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
329         "\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
330         "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
331         "\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
332         "\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
333         "\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
334         "\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
335         "\x02\x81\x81" /* prime1 - integer of 129 bytes */
336         "\x00\xFA\xAC\xE1\x37\x5E\x32\x11\x34\xC6\x72\x58\x2D\x91\x06\x3E"
337         "\x77\xE7\x11\x21\xCD\x4A\xF8\xA4\x3F\x0F\xEF\x31\xE3\xF3\x55\xA0"
338         "\xB9\xAC\xB6\xCB\xBB\x41\xD0\x32\x81\x9A\x8F\x7A\x99\x30\x77\x6C"
339         "\x68\x27\xE2\x96\xB5\x72\xC9\xC3\xD4\x42\xAA\xAA\xCA\x95\x8F\xFF"
340         "\xC9\x9B\x52\x34\x30\x1D\xCF\xFE\xCF\x3C\x56\x68\x6E\xEF\xE7\x6C"
341         "\xD7\xFB\x99\xF5\x4A\xA5\x21\x1F\x2B\xEA\x93\xE8\x98\x26\xC4\x6E"
342         "\x42\x21\x5E\xA0\xA1\x2A\x58\x35\xBB\x10\xE7\xBA\x27\x0A\x3B\xB3"
343         "\xAF\xE2\x75\x36\x04\xAC\x56\xA0\xAB\x52\xDE\xCE\xDD\x2C\x28\x77"
344         "\x03"
345         "\x02\x81\x81" /* prime2 - integer of 129 bytes */
346         "\x00\xDF\xB7\x52\xB6\xD7\xC0\xE2\x96\xE7\xC9\xFE\x5D\x71\x5A\xC4"
347         "\x40\x96\x2F\xE5\x87\xEA\xF3\xA5\x77\x11\x67\x3C\x8D\x56\x08\xA7"
348         "\xB5\x67\xFA\x37\xA8\xB8\xCF\x61\xE8\x63\xD8\x38\x06\x21\x2B\x92"
349         "\x09\xA6\x39\x3A\xEA\xA8\xB4\x45\x4B\x36\x10\x4C\xE4\x00\x66\x71"
350         "\x65\xF8\x0B\x94\x59\x4F\x8C\xFD\xD5\x34\xA2\xE7\x62\x84\x0A\xA7"
351         "\xBB\xDB\xD9\x8A\xCD\x05\xE1\xCC\x57\x7B\xF1\xF1\x1F\x11\x9D\xBA"
352         "\x3E\x45\x18\x99\x1B\x41\x64\x43\xEE\x97\x5D\x77\x13\x5B\x74\x69"
353         "\x73\x87\x95\x05\x07\xBE\x45\x07\x17\x7E\x4A\x69\x22\xF3\xDB\x05"
354         "\x39"
355         "\x02\x81\x80" /* exponent1 - integer of 128 bytes */
356         "\x5E\xD8\xDC\xDA\x53\x44\xC4\x67\xE0\x92\x51\x34\xE4\x83\xA5\x4D"
357         "\x3E\xDB\xA7\x9B\x82\xBB\x73\x81\xFC\xE8\x77\x4B\x15\xBE\x17\x73"
358         "\x49\x9B\x5C\x98\xBC\xBD\x26\xEF\x0C\xE9\x2E\xED\x19\x7E\x86\x41"
359         "\x1E\x9E\x48\x81\xDD\x2D\xE4\x6F\xC2\xCD\xCA\x93\x9E\x65\x7E\xD5"
360         "\xEC\x73\xFD\x15\x1B\xA2\xA0\x7A\x0F\x0D\x6E\xB4\x53\x07\x90\x92"
361         "\x64\x3B\x8B\xA9\x33\xB3\xC5\x94\x9B\x4C\x5D\x9C\x7C\x46\xA4\xA5"
362         "\x56\xF4\xF3\xF8\x27\x0A\x7B\x42\x0D\x92\x70\x47\xE7\x42\x51\xA9"
363         "\xC2\x18\xB1\x58\xB1\x50\x91\xB8\x61\x41\xB6\xA9\xCE\xD4\x7C\xBB"
364         "\x02\x81\x80" /* exponent2 - integer of 128 bytes */
365         "\x54\x09\x1F\x0F\x03\xD8\xB6\xC5\x0C\xE8\xB9\x9E\x0C\x38\x96\x43"
366         "\xD4\xA6\xC5\x47\xDB\x20\x0E\xE5\xBD\x29\xD4\x7B\x1A\xF8\x41\x57"
367         "\x49\x69\x9A\x82\xCC\x79\x4A\x43\xEB\x4D\x8B\x2D\xF2\x43\xD5\xA5"
368         "\xBE\x44\xFD\x36\xAC\x8C\x9B\x02\xF7\x9A\x03\xE8\x19\xA6\x61\xAE"
369         "\x76\x10\x93\x77\x41\x04\xAB\x4C\xED\x6A\xCC\x14\x1B\x99\x8D\x0C"
370         "\x6A\x37\x3B\x86\x6C\x51\x37\x5B\x1D\x79\xF2\xA3\x43\x10\xC6\xA7"
371         "\x21\x79\x6D\xF9\xE9\x04\x6A\xE8\x32\xFF\xAE\xFD\x1C\x7B\x8C\x29"
372         "\x13\xA3\x0C\xB2\xAD\xEC\x6C\x0F\x8D\x27\x12\x7B\x48\xB2\xDB\x31"
373         "\x02\x81\x81" /* coefficient - integer of 129 bytes */
374         "\x00\x8D\x1B\x05\xCA\x24\x1F\x0C\x53\x19\x52\x74\x63\x21\xFA\x78"
375         "\x46\x79\xAF\x5C\xDE\x30\xA4\x6C\x20\x38\xE6\x97\x39\xB8\x7A\x70"
376         "\x0D\x8B\x6C\x6D\x13\x74\xD5\x1C\xDE\xA9\xF4\x60\x37\xFE\x68\x77"
377         "\x5E\x0B\x4E\x5E\x03\x31\x30\xDF\xD6\xAE\x85\xD0\x81\xBB\x61\xC7"
378         "\xB1\x04\x5A\xC4\x6D\x56\x1C\xD9\x64\xE7\x85\x7F\x88\x91\xC9\x60"
379         "\x28\x05\xE2\xC6\x24\x8F\xDD\x61\x64\xD8\x09\xDE\x7E\xD3\x4A\x61"
380         "\x1A\xD3\x73\x58\x4B\xD8\xA0\x54\x25\x48\x83\x6F\x82\x6C\xAF\x36"
381         "\x51\x2A\x5D\x14\x2F\x41\x25\x00\xDD\xF8\xF3\x95\xFE\x31\x25\x50"
382         "\x12",
383         .key_len = 1191,
384         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
385         .c =
386         "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
387         "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
388         "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
389         "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
390         "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
391         "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
392         "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
393         "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
394         "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
395         "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
396         "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
397         "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
398         "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
399         "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
400         "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
401         "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
402         .m_size = 8,
403         .c_size = 256,
404         }, {
405         .key =
406         "\x30\x82\x01\x09" /* sequence of 265 bytes */
407         "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
408         "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
409         "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
410         "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
411         "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
412         "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
413         "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
414         "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
415         "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
416         "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
417         "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
418         "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
419         "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
420         "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
421         "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
422         "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
423         "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
424         "\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
425         .key_len = 269,
426         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
427         .c =
428         "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
429         "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
430         "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
431         "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
432         "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
433         "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
434         "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
435         "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
436         "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
437         "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
438         "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
439         "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
440         "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
441         "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
442         "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
443         "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
444         .m_size = 8,
445         .c_size = 256,
446         .public_key_vec = true,
447 #ifndef CONFIG_CRYPTO_FIPS
448         }, {
449         .key =
450         "\x30\x82\x09\x29" /* sequence of 2345 bytes */
451         "\x02\x01\x00" /* version integer of 1 byte */
452         "\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
453         "\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
454         "\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
455         "\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
456         "\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
457         "\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
458         "\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
459         "\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
460         "\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
461         "\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
462         "\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
463         "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
464         "\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
465         "\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
466         "\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
467         "\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
468         "\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
469         "\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
470         "\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
471         "\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
472         "\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
473         "\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
474         "\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
475         "\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
476         "\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
477         "\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
478         "\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
479         "\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
480         "\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
481         "\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
482         "\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
483         "\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
484         "\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
485         "\x9D"
486         "\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
487         "\x02\x82\x02\x00" /* private key integer of 512 bytes */
488         "\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
489         "\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
490         "\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
491         "\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
492         "\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
493         "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
494         "\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
495         "\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
496         "\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
497         "\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
498         "\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
499         "\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
500         "\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
501         "\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
502         "\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
503         "\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
504         "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
505         "\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
506         "\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
507         "\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
508         "\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
509         "\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
510         "\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
511         "\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
512         "\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
513         "\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
514         "\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
515         "\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
516         "\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
517         "\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
518         "\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
519         "\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
520         "\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
521         "\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
522         "\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
523         "\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
524         "\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
525         "\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
526         "\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
527         "\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
528         "\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
529         "\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
530         "\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
531         "\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
532         "\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
533         "\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
534         "\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
535         "\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
536         "\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
537         "\xAB"
538         "\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
539         "\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
540         "\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
541         "\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
542         "\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
543         "\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
544         "\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
545         "\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
546         "\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
547         "\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
548         "\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
549         "\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
550         "\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
551         "\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
552         "\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
553         "\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
554         "\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
555         "\xD7"
556         "\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
557         "\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
558         "\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
559         "\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
560         "\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
561         "\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
562         "\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
563         "\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
564         "\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
565         "\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
566         "\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
567         "\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
568         "\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
569         "\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
570         "\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
571         "\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
572         "\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
573         "\x6F"
574         "\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
575         "\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
576         "\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
577         "\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
578         "\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
579         "\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
580         "\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
581         "\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
582         "\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
583         "\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
584         "\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
585         "\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
586         "\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
587         "\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
588         "\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
589         "\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
590         "\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
591         "\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
592         "\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
593         "\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
594         "\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
595         "\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
596         "\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
597         "\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
598         "\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
599         "\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
600         "\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
601         "\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
602         "\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
603         "\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
604         "\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
605         "\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
606         "\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
607         "\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
608         "\x3D",
609         .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
610         .c =
611         "\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
612         "\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
613         "\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
614         "\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
615         "\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
616         "\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
617         "\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
618         "\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
619         "\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
620         "\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
621         "\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
622         "\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
623         "\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
624         "\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
625         "\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
626         "\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
627         "\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
628         "\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
629         "\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
630         "\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
631         "\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
632         "\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
633         "\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
634         "\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
635         "\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
636         "\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
637         "\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
638         "\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
639         "\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
640         "\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
641         "\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
642         "\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
643         .key_len = 2349,
644         .m_size = 8,
645         .c_size = 512,
646 #endif
647         }
648 };
649
650 /*
651  * ECDSA test vectors.
652  */
653 static const struct akcipher_testvec ecdsa_nist_p192_tv_template[] = {
654         {
655         .key =
656         "\x04\xf7\x46\xf8\x2f\x15\xf6\x22\x8e\xd7\x57\x4f\xcc\xe7\xbb\xc1"
657         "\xd4\x09\x73\xcf\xea\xd0\x15\x07\x3d\xa5\x8a\x8a\x95\x43\xe4\x68"
658         "\xea\xc6\x25\xc1\xc1\x01\x25\x4c\x7e\xc3\x3c\xa6\x04\x0a\xe7\x08"
659         "\x98",
660         .key_len = 49,
661         .params =
662         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
663         "\xce\x3d\x03\x01\x01",
664         .param_len = 21,
665         .m =
666         "\xcd\xb9\xd2\x1c\xb7\x6f\xcd\x44\xb3\xfd\x63\xea\xa3\x66\x7f\xae"
667         "\x63\x85\xe7\x82",
668         .m_size = 20,
669         .algo = OID_id_ecdsa_with_sha1,
670         .c =
671         "\x30\x35\x02\x19\x00\xba\xe5\x93\x83\x6e\xb6\x3b\x63\xa0\x27\x91"
672         "\xc6\xf6\x7f\xc3\x09\xad\x59\xad\x88\x27\xd6\x92\x6b\x02\x18\x10"
673         "\x68\x01\x9d\xba\xce\x83\x08\xef\x95\x52\x7b\xa0\x0f\xe4\x18\x86"
674         "\x80\x6f\xa5\x79\x77\xda\xd0",
675         .c_size = 55,
676         .public_key_vec = true,
677         .siggen_sigver_test = true,
678         }, {
679         .key =
680         "\x04\xb6\x4b\xb1\xd1\xac\xba\x24\x8f\x65\xb2\x60\x00\x90\xbf\xbd"
681         "\x78\x05\x73\xe9\x79\x1d\x6f\x7c\x0b\xd2\xc3\x93\xa7\x28\xe1\x75"
682         "\xf7\xd5\x95\x1d\x28\x10\xc0\x75\x50\x5c\x1a\x4f\x3f\x8f\xa5\xee"
683         "\xa3",
684         .key_len = 49,
685         .params =
686         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
687         "\xce\x3d\x03\x01\x01",
688         .param_len = 21,
689         .m =
690         "\x8d\xd6\xb8\x3e\xe5\xff\x23\xf6\x25\xa2\x43\x42\x74\x45\xa7\x40"
691         "\x3a\xff\x2f\xe1\xd3\xf6\x9f\xe8\x33\xcb\x12\x11",
692         .m_size = 28,
693         .algo = OID_id_ecdsa_with_sha224,
694         .c =
695         "\x30\x34\x02\x18\x5a\x8b\x82\x69\x7e\x8a\x0a\x09\x14\xf8\x11\x2b"
696         "\x55\xdc\xae\x37\x83\x7b\x12\xe6\xb6\x5b\xcb\xd4\x02\x18\x6a\x14"
697         "\x4f\x53\x75\xc8\x02\x48\xeb\xc3\x92\x0f\x1e\x72\xee\xc4\xa3\xe3"
698         "\x5c\x99\xdb\x92\x5b\x36",
699         .c_size = 54,
700         .public_key_vec = true,
701         .siggen_sigver_test = true,
702         }, {
703         .key =
704         "\x04\xe2\x51\x24\x9b\xf7\xb6\x32\x82\x39\x66\x3d\x5b\xec\x3b\xae"
705         "\x0c\xd5\xf2\x67\xd1\xc7\xe1\x02\xe4\xbf\x90\x62\xb8\x55\x75\x56"
706         "\x69\x20\x5e\xcb\x4e\xca\x33\xd6\xcb\x62\x6b\x94\xa9\xa2\xe9\x58"
707         "\x91",
708         .key_len = 49,
709         .params =
710         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
711         "\xce\x3d\x03\x01\x01",
712         .param_len = 21,
713         .m =
714         "\x35\xec\xa1\xa0\x9e\x14\xde\x33\x03\xb6\xf6\xbd\x0c\x2f\xb2\xfd"
715         "\x1f\x27\x82\xa5\xd7\x70\x3f\xef\xa0\x82\x69\x8e\x73\x31\x8e\xd7",
716         .m_size = 32,
717         .algo = OID_id_ecdsa_with_sha256,
718         .c =
719         "\x30\x35\x02\x18\x3f\x72\x3f\x1f\x42\xd2\x3f\x1d\x6b\x1a\x58\x56"
720         "\xf1\x8f\xf7\xfd\x01\x48\xfb\x5f\x72\x2a\xd4\x8f\x02\x19\x00\xb3"
721         "\x69\x43\xfd\x48\x19\x86\xcf\x32\xdd\x41\x74\x6a\x51\xc7\xd9\x7d"
722         "\x3a\x97\xd9\xcd\x1a\x6a\x49",
723         .c_size = 55,
724         .public_key_vec = true,
725         .siggen_sigver_test = true,
726         }, {
727         .key =
728         "\x04\x5a\x13\xfe\x68\x86\x4d\xf4\x17\xc7\xa4\xe5\x8c\x65\x57\xb7"
729         "\x03\x73\x26\x57\xfb\xe5\x58\x40\xd8\xfd\x49\x05\xab\xf1\x66\x1f"
730         "\xe2\x9d\x93\x9e\xc2\x22\x5a\x8b\x4f\xf3\x77\x22\x59\x7e\xa6\x4e"
731         "\x8b",
732         .key_len = 49,
733         .params =
734         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
735         "\xce\x3d\x03\x01\x01",
736         .param_len = 21,
737         .m =
738         "\x9d\x2e\x1a\x8f\xed\x6c\x4b\x61\xae\xac\xd5\x19\x79\xce\x67\xf9"
739         "\xa0\x34\xeb\xb0\x81\xf9\xd9\xdc\x6e\xb3\x5c\xa8\x69\xfc\x8a\x61"
740         "\x39\x81\xfb\xfd\x5c\x30\x6b\xa8\xee\xed\x89\xaf\xa3\x05\xe4\x78",
741         .m_size = 48,
742         .algo = OID_id_ecdsa_with_sha384,
743         .c =
744         "\x30\x35\x02\x19\x00\xf0\xa3\x38\xce\x2b\xf8\x9d\x1a\xcf\x7f\x34"
745         "\xb4\xb4\xe5\xc5\x00\xdd\x15\xbb\xd6\x8c\xa7\x03\x78\x02\x18\x64"
746         "\xbc\x5a\x1f\x82\x96\x61\xd7\xd1\x01\x77\x44\x5d\x53\xa4\x7c\x93"
747         "\x12\x3b\x3b\x28\xfb\x6d\xe1",
748         .c_size = 55,
749         .public_key_vec = true,
750         .siggen_sigver_test = true,
751         }, {
752         .key =
753         "\x04\xd5\xf2\x6e\xc3\x94\x5c\x52\xbc\xdf\x86\x6c\x14\xd1\xca\xea"
754         "\xcc\x72\x3a\x8a\xf6\x7a\x3a\x56\x36\x3b\xca\xc6\x94\x0e\x17\x1d"
755         "\x9e\xa0\x58\x28\xf9\x4b\xe6\xd1\xa5\x44\x91\x35\x0d\xe7\xf5\x11"
756         "\x57",
757         .key_len = 49,
758         .params =
759         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
760         "\xce\x3d\x03\x01\x01",
761         .param_len = 21,
762         .m =
763         "\xd5\x4b\xe9\x36\xda\xd8\x6e\xc0\x50\x03\xbe\x00\x43\xff\xf0\x23"
764         "\xac\xa2\x42\xe7\x37\x77\x79\x52\x8f\x3e\xc0\x16\xc1\xfc\x8c\x67"
765         "\x16\xbc\x8a\x5d\x3b\xd3\x13\xbb\xb6\xc0\x26\x1b\xeb\x33\xcc\x70"
766         "\x4a\xf2\x11\x37\xe8\x1b\xba\x55\xac\x69\xe1\x74\x62\x7c\x6e\xb5",
767         .m_size = 64,
768         .algo = OID_id_ecdsa_with_sha512,
769         .c =
770         "\x30\x35\x02\x19\x00\x88\x5b\x8f\x59\x43\xbf\xcf\xc6\xdd\x3f\x07"
771         "\x87\x12\xa0\xd4\xac\x2b\x11\x2d\x1c\xb6\x06\xc9\x6c\x02\x18\x73"
772         "\xb4\x22\x9a\x98\x73\x3c\x83\xa9\x14\x2a\x5e\xf5\xe5\xfb\x72\x28"
773         "\x6a\xdf\x97\xfd\x82\x76\x24",
774         .c_size = 55,
775         .public_key_vec = true,
776         .siggen_sigver_test = true,
777         },
778 };
779
780 static const struct akcipher_testvec ecdsa_nist_p256_tv_template[] = {
781         {
782         .key =
783         "\x04\xb9\x7b\xbb\xd7\x17\x64\xd2\x7e\xfc\x81\x5d\x87\x06\x83\x41"
784         "\x22\xd6\x9a\xaa\x87\x17\xec\x4f\x63\x55\x2f\x94\xba\xdd\x83\xe9"
785         "\x34\x4b\xf3\xe9\x91\x13\x50\xb6\xcb\xca\x62\x08\xe7\x3b\x09\xdc"
786         "\xc3\x63\x4b\x2d\xb9\x73\x53\xe4\x45\xe6\x7c\xad\xe7\x6b\xb0\xe8"
787         "\xaf",
788         .key_len = 65,
789         .params =
790         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
791         "\xce\x3d\x03\x01\x07",
792         .param_len = 21,
793         .m =
794         "\xc2\x2b\x5f\x91\x78\x34\x26\x09\x42\x8d\x6f\x51\xb2\xc5\xaf\x4c"
795         "\x0b\xde\x6a\x42",
796         .m_size = 20,
797         .algo = OID_id_ecdsa_with_sha1,
798         .c =
799         "\x30\x46\x02\x21\x00\xf9\x25\xce\x9f\x3a\xa6\x35\x81\xcf\xd4\xe7"
800         "\xb7\xf0\x82\x56\x41\xf7\xd4\xad\x8d\x94\x5a\x69\x89\xee\xca\x6a"
801         "\x52\x0e\x48\x4d\xcc\x02\x21\x00\xd7\xe4\xef\x52\x66\xd3\x5b\x9d"
802         "\x8a\xfa\x54\x93\x29\xa7\x70\x86\xf1\x03\x03\xf3\x3b\xe2\x73\xf7"
803         "\xfb\x9d\x8b\xde\xd4\x8d\x6f\xad",
804         .c_size = 72,
805         .public_key_vec = true,
806         .siggen_sigver_test = true,
807         }, {
808         .key =
809         "\x04\x8b\x6d\xc0\x33\x8e\x2d\x8b\x67\xf5\xeb\xc4\x7f\xa0\xf5\xd9"
810         "\x7b\x03\xa5\x78\x9a\xb5\xea\x14\xe4\x23\xd0\xaf\xd7\x0e\x2e\xa0"
811         "\xc9\x8b\xdb\x95\xf8\xb3\xaf\xac\x00\x2c\x2c\x1f\x7a\xfd\x95\x88"
812         "\x43\x13\xbf\xf3\x1c\x05\x1a\x14\x18\x09\x3f\xd6\x28\x3e\xc5\xa0"
813         "\xd4",
814         .key_len = 65,
815         .params =
816         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
817         "\xce\x3d\x03\x01\x07",
818         .param_len = 21,
819         .m =
820         "\x1a\x15\xbc\xa3\xe4\xed\x3a\xb8\x23\x67\xc6\xc4\x34\xf8\x6c\x41"
821         "\x04\x0b\xda\xc5\x77\xfa\x1c\x2d\xe6\x2c\x3b\xe0",
822         .m_size = 28,
823         .algo = OID_id_ecdsa_with_sha224,
824         .c =
825         "\x30\x44\x02\x20\x20\x43\xfa\xc0\x9f\x9d\x7b\xe7\xae\xce\x77\x59"
826         "\x1a\xdb\x59\xd5\x34\x62\x79\xcb\x6a\x91\x67\x2e\x7d\x25\xd8\x25"
827         "\xf5\x81\xd2\x1e\x02\x20\x5f\xf8\x74\xf8\x57\xd0\x5e\x54\x76\x20"
828         "\x4a\x77\x22\xec\xc8\x66\xbf\x50\x05\x58\x39\x0e\x26\x92\xce\xd5"
829         "\x2e\x8b\xde\x5a\x04\x0e",
830         .c_size = 70,
831         .public_key_vec = true,
832         .siggen_sigver_test = true,
833         }, {
834         .key =
835         "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
836         "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
837         "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
838         "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
839         "\xb8",
840         .key_len = 65,
841         .params =
842         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
843         "\xce\x3d\x03\x01\x07",
844         .param_len = 21,
845         .m =
846         "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
847         "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
848         .m_size = 32,
849         .algo = OID_id_ecdsa_with_sha256,
850         .c =
851         "\x30\x45\x02\x20\x08\x31\xfa\x74\x0d\x1d\x21\x5d\x09\xdc\x29\x63"
852         "\xa8\x1a\xad\xfc\xac\x44\xc3\xe8\x24\x11\x2d\xa4\x91\xdc\x02\x67"
853         "\xdc\x0c\xd0\x82\x02\x21\x00\xbd\xff\xce\xee\x42\xc3\x97\xff\xf9"
854         "\xa9\x81\xac\x4a\x50\xd0\x91\x0a\x6e\x1b\xc4\xaf\xe1\x83\xc3\x4f"
855         "\x2a\x65\x35\x23\xe3\x1d\xfa",
856         .c_size = 71,
857         .public_key_vec = true,
858         .siggen_sigver_test = true,
859         }, {
860         .key =
861         "\x04\xc5\xc6\xea\x60\xc9\xce\xad\x02\x8d\xf5\x3e\x24\xe3\x52\x1d"
862         "\x28\x47\x3b\xc3\x6b\xa4\x99\x35\x99\x11\x88\x88\xc8\xf4\xee\x7e"
863         "\x8c\x33\x8f\x41\x03\x24\x46\x2b\x1a\x82\xf9\x9f\xe1\x97\x1b\x00"
864         "\xda\x3b\x24\x41\xf7\x66\x33\x58\x3d\x3a\x81\xad\xcf\x16\xe9\xe2"
865         "\x7c",
866         .key_len = 65,
867         .params =
868         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
869         "\xce\x3d\x03\x01\x07",
870         .param_len = 21,
871         .m =
872         "\x3e\x78\x70\xfb\xcd\x66\xba\x91\xa1\x79\xff\x1e\x1c\x6b\x78\xe6"
873         "\xc0\x81\x3a\x65\x97\x14\x84\x36\x14\x1a\x9a\xb7\xc5\xab\x84\x94"
874         "\x5e\xbb\x1b\x34\x71\xcb\x41\xe1\xf6\xfc\x92\x7b\x34\xbb\x86\xbb",
875         .m_size = 48,
876         .algo = OID_id_ecdsa_with_sha384,
877         .c =
878         "\x30\x46\x02\x21\x00\x8e\xf3\x6f\xdc\xf8\x69\xa6\x2e\xd0\x2e\x95"
879         "\x54\xd1\x95\x64\x93\x08\xb2\x6b\x24\x94\x48\x46\x5e\xf2\xe4\x6c"
880         "\xc7\x94\xb1\xd5\xfe\x02\x21\x00\xeb\xa7\x80\x26\xdc\xf9\x3a\x44"
881         "\x19\xfb\x5f\x92\xf4\xc9\x23\x37\x69\xf4\x3b\x4f\x47\xcf\x9b\x16"
882         "\xc0\x60\x11\x92\xdc\x17\x89\x12",
883         .c_size = 72,
884         .public_key_vec = true,
885         .siggen_sigver_test = true,
886         }, {
887         .key =
888         "\x04\xd7\x27\x46\x49\xf6\x26\x85\x12\x40\x76\x8e\xe2\xe6\x2a\x7a"
889         "\x83\xb1\x4e\x7a\xeb\x3b\x5c\x67\x4a\xb5\xa4\x92\x8c\x69\xff\x38"
890         "\xee\xd9\x4e\x13\x29\x59\xad\xde\x6b\xbb\x45\x31\xee\xfd\xd1\x1b"
891         "\x64\xd3\xb5\xfc\xaf\x9b\x4b\x88\x3b\x0e\xb7\xd6\xdf\xf1\xd5\x92"
892         "\xbf",
893         .key_len = 65,
894         .params =
895         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
896         "\xce\x3d\x03\x01\x07",
897         .param_len = 21,
898         .m =
899         "\x57\xb7\x9e\xe9\x05\x0a\x8c\x1b\xc9\x13\xe5\x4a\x24\xc7\xe2\xe9"
900         "\x43\xc3\xd1\x76\x62\xf4\x98\x1a\x9c\x13\xb0\x20\x1b\xe5\x39\xca"
901         "\x4f\xd9\x85\x34\x95\xa2\x31\xbc\xbb\xde\xdd\x76\xbb\x61\xe3\xcf"
902         "\x9d\xc0\x49\x7a\xf3\x7a\xc4\x7d\xa8\x04\x4b\x8d\xb4\x4d\x5b\xd6",
903         .m_size = 64,
904         .algo = OID_id_ecdsa_with_sha512,
905         .c =
906         "\x30\x45\x02\x21\x00\xb8\x6d\x87\x81\x43\xdf\xfb\x9f\x40\xea\x44"
907         "\x81\x00\x4e\x29\x08\xed\x8c\x73\x30\x6c\x22\xb3\x97\x76\xf6\x04"
908         "\x99\x09\x37\x4d\xfa\x02\x20\x1e\xb9\x75\x31\xf6\x04\xa5\x4d\xf8"
909         "\x00\xdd\xab\xd4\xc0\x2b\xe6\x5c\xad\xc3\x78\x1c\xc2\xc1\x19\x76"
910         "\x31\x79\x4a\xe9\x81\x6a\xee",
911         .c_size = 71,
912         .public_key_vec = true,
913         .siggen_sigver_test = true,
914         },
915 };
916
917 static const struct akcipher_testvec ecdsa_nist_p384_tv_template[] = {
918         {
919         .key = /* secp384r1(sha1) */
920         "\x04\x89\x25\xf3\x97\x88\xcb\xb0\x78\xc5\x72\x9a\x14\x6e\x7a\xb1"
921         "\x5a\xa5\x24\xf1\x95\x06\x9e\x28\xfb\xc4\xb9\xbe\x5a\x0d\xd9\x9f"
922         "\xf3\xd1\x4d\x2d\x07\x99\xbd\xda\xa7\x66\xec\xbb\xea\xba\x79\x42"
923         "\xc9\x34\x89\x6a\xe7\x0b\xc3\xf2\xfe\x32\x30\xbe\xba\xf9\xdf\x7e"
924         "\x4b\x6a\x07\x8e\x26\x66\x3f\x1d\xec\xa2\x57\x91\x51\xdd\x17\x0e"
925         "\x0b\x25\xd6\x80\x5c\x3b\xe6\x1a\x98\x48\x91\x45\x7a\x73\xb0\xc3"
926         "\xf1",
927         .key_len = 97,
928         .params =
929         "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
930         "\x00\x22",
931         .param_len = 18,
932         .m =
933         "\x12\x55\x28\xf0\x77\xd5\xb6\x21\x71\x32\x48\xcd\x28\xa8\x25\x22"
934         "\x3a\x69\xc1\x93",
935         .m_size = 20,
936         .algo = OID_id_ecdsa_with_sha1,
937         .c =
938         "\x30\x66\x02\x31\x00\xf5\x0f\x24\x4c\x07\x93\x6f\x21\x57\x55\x07"
939         "\x20\x43\x30\xde\xa0\x8d\x26\x8e\xae\x63\x3f\xbc\x20\x3a\xc6\xf1"
940         "\x32\x3c\xce\x70\x2b\x78\xf1\x4c\x26\xe6\x5b\x86\xcf\xec\x7c\x7e"
941         "\xd0\x87\xd7\xd7\x6e\x02\x31\x00\xcd\xbb\x7e\x81\x5d\x8f\x63\xc0"
942         "\x5f\x63\xb1\xbe\x5e\x4c\x0e\xa1\xdf\x28\x8c\x1b\xfa\xf9\x95\x88"
943         "\x74\xa0\x0f\xbf\xaf\xc3\x36\x76\x4a\xa1\x59\xf1\x1c\xa4\x58\x26"
944         "\x79\x12\x2a\xb7\xc5\x15\x92\xc5",
945         .c_size = 104,
946         .public_key_vec = true,
947         .siggen_sigver_test = true,
948         }, {
949         .key = /* secp384r1(sha224) */
950         "\x04\x69\x6c\xcf\x62\xee\xd0\x0d\xe5\xb5\x2f\x70\x54\xcf\x26\xa0"
951         "\xd9\x98\x8d\x92\x2a\xab\x9b\x11\xcb\x48\x18\xa1\xa9\x0d\xd5\x18"
952         "\x3e\xe8\x29\x6e\xf6\xe4\xb5\x8e\xc7\x4a\xc2\x5f\x37\x13\x99\x05"
953         "\xb6\xa4\x9d\xf9\xfb\x79\x41\xe7\xd7\x96\x9f\x73\x3b\x39\x43\xdc"
954         "\xda\xf4\x06\xb9\xa5\x29\x01\x9d\x3b\xe1\xd8\x68\x77\x2a\xf4\x50"
955         "\x6b\x93\x99\x6c\x66\x4c\x42\x3f\x65\x60\x6c\x1c\x0b\x93\x9b\x9d"
956         "\xe0",
957         .key_len = 97,
958         .params =
959         "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
960         "\x00\x22",
961         .param_len = 18,
962         .m =
963         "\x12\x80\xb6\xeb\x25\xe2\x3d\xf0\x21\x32\x96\x17\x3a\x38\x39\xfd"
964         "\x1f\x05\x34\x7b\xb8\xf9\x71\x66\x03\x4f\xd5\xe5",
965         .m_size = 28,
966         .algo = OID_id_ecdsa_with_sha224,
967         .c =
968         "\x30\x66\x02\x31\x00\x8a\x51\x84\xce\x13\x1e\xd2\xdc\xec\xcb\xe4"
969         "\x89\x47\xb2\xf7\xbc\x97\xf1\xc8\x72\x26\xcf\x5a\x5e\xc5\xda\xb4"
970         "\xe3\x93\x07\xe0\x99\xc9\x9c\x11\xb8\x10\x01\xc5\x41\x3f\xdd\x15"
971         "\x1b\x68\x2b\x9d\x8b\x02\x31\x00\x8b\x03\x2c\xfc\x1f\xd1\xa9\xa4"
972         "\x4b\x00\x08\x31\x6c\xf5\xd5\xf6\xdf\xd8\x68\xa2\x64\x42\x65\xf3"
973         "\x4d\xd0\xc6\x6e\xb0\xe9\xfc\x14\x9f\x19\xd0\x42\x8b\x93\xc2\x11"
974         "\x88\x2b\x82\x26\x5e\x1c\xda\xfb",
975         .c_size = 104,
976         .public_key_vec = true,
977         .siggen_sigver_test = true,
978         }, {
979         .key = /* secp384r1(sha256) */
980         "\x04\xee\xd6\xda\x3e\x94\x90\x00\x27\xed\xf8\x64\x55\xd6\x51\x9a"
981         "\x1f\x52\x00\x63\x78\xf1\xa9\xfd\x75\x4c\x9e\xb2\x20\x1a\x91\x5a"
982         "\xba\x7a\xa3\xe5\x6c\xb6\x25\x68\x4b\xe8\x13\xa6\x54\x87\x2c\x0e"
983         "\xd0\x83\x95\xbc\xbf\xc5\x28\x4f\x77\x1c\x46\xa6\xf0\xbc\xd4\xa4"
984         "\x8d\xc2\x8f\xb3\x32\x37\x40\xd6\xca\xf8\xae\x07\x34\x52\x39\x52"
985         "\x17\xc3\x34\x29\xd6\x40\xea\x5c\xb9\x3f\xfb\x32\x2e\x12\x33\xbc"
986         "\xab",
987         .key_len = 97,
988         .params =
989         "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
990         "\x00\x22",
991         .param_len = 18,
992         .m =
993         "\xaa\xe7\xfd\x03\x26\xcb\x94\x71\xe4\xce\x0f\xc5\xff\xa6\x29\xa3"
994         "\xe1\xcc\x4c\x35\x4e\xde\xca\x80\xab\x26\x0c\x25\xe6\x68\x11\xc2",
995         .m_size = 32,
996         .algo = OID_id_ecdsa_with_sha256,
997         .c =
998         "\x30\x64\x02\x30\x08\x09\x12\x9d\x6e\x96\x64\xa6\x8e\x3f\x7e\xce"
999         "\x0a\x9b\xaa\x59\xcc\x47\x53\x87\xbc\xbd\x83\x3f\xaf\x06\x3f\x84"
1000         "\x04\xe2\xf9\x67\xb6\xc6\xfc\x70\x2e\x66\x3c\x77\xc8\x8d\x2c\x79"
1001         "\x3a\x8e\x32\xc4\x02\x30\x40\x34\xb8\x90\xa9\x80\xab\x47\x26\xa2"
1002         "\xb0\x89\x42\x0a\xda\xd9\xdd\xce\xbc\xb2\x97\xf4\x9c\xf3\x15\x68"
1003         "\xc0\x75\x3e\x23\x5e\x36\x4f\x8d\xde\x1e\x93\x8d\x95\xbb\x10\x0e"
1004         "\xf4\x1f\x39\xca\x4d\x43",
1005         .c_size = 102,
1006         .public_key_vec = true,
1007         .siggen_sigver_test = true,
1008         }, {
1009         .key = /* secp384r1(sha384) */
1010         "\x04\x3a\x2f\x62\xe7\x1a\xcf\x24\xd0\x0b\x7c\xe0\xed\x46\x0a\x4f"
1011         "\x74\x16\x43\xe9\x1a\x25\x7c\x55\xff\xf0\x29\x68\x66\x20\x91\xf9"
1012         "\xdb\x2b\xf6\xb3\x6c\x54\x01\xca\xc7\x6a\x5c\x0d\xeb\x68\xd9\x3c"
1013         "\xf1\x01\x74\x1f\xf9\x6c\xe5\x5b\x60\xe9\x7f\x5d\xb3\x12\x80\x2a"
1014         "\xd8\x67\x92\xc9\x0e\x4c\x4c\x6b\xa1\xb2\xa8\x1e\xac\x1c\x97\xd9"
1015         "\x21\x67\xe5\x1b\x5a\x52\x31\x68\xd6\xee\xf0\x19\xb0\x55\xed\x89"
1016         "\x9e",
1017         .key_len = 97,
1018         .params =
1019         "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
1020         "\x00\x22",
1021         .param_len = 18,
1022         .m =
1023         "\x8d\xf2\xc0\xe9\xa8\xf3\x8e\x44\xc4\x8c\x1a\xa0\xb8\xd7\x17\xdf"
1024         "\xf2\x37\x1b\xc6\xe3\xf5\x62\xcc\x68\xf5\xd5\x0b\xbf\x73\x2b\xb1"
1025         "\xb0\x4c\x04\x00\x31\xab\xfe\xc8\xd6\x09\xc8\xf2\xea\xd3\x28\xff",
1026         .m_size = 48,
1027         .algo = OID_id_ecdsa_with_sha384,
1028         .c =
1029         "\x30\x66\x02\x31\x00\x9b\x28\x68\xc0\xa1\xea\x8c\x50\xee\x2e\x62"
1030         "\x35\x46\xfa\x00\xd8\x2d\x7a\x91\x5f\x49\x2d\x22\x08\x29\xe6\xfb"
1031         "\xca\x8c\xd6\xb6\xb4\x3b\x1f\x07\x8f\x15\x02\xfe\x1d\xa2\xa4\xc8"
1032         "\xf2\xea\x9d\x11\x1f\x02\x31\x00\xfc\x50\xf6\x43\xbd\x50\x82\x0e"
1033         "\xbf\xe3\x75\x24\x49\xac\xfb\xc8\x71\xcd\x8f\x18\x99\xf0\x0f\x13"
1034         "\x44\x92\x8c\x86\x99\x65\xb3\x97\x96\x17\x04\xc9\x05\x77\xf1\x8e"
1035         "\xab\x8d\x4e\xde\xe6\x6d\x9b\x66",
1036         .c_size = 104,
1037         .public_key_vec = true,
1038         .siggen_sigver_test = true,
1039         }, {
1040         .key = /* secp384r1(sha512) */
1041         "\x04\xb4\xe7\xc1\xeb\x64\x25\x22\x46\xc3\x86\x61\x80\xbe\x1e\x46"
1042         "\xcb\xf6\x05\xc2\xee\x73\x83\xbc\xea\x30\x61\x4d\x40\x05\x41\xf4"
1043         "\x8c\xe3\x0e\x5c\xf0\x50\xf2\x07\x19\xe8\x4f\x25\xbe\xee\x0c\x95"
1044         "\x54\x36\x86\xec\xc2\x20\x75\xf3\x89\xb5\x11\xa1\xb7\xf5\xaf\xbe"
1045         "\x81\xe4\xc3\x39\x06\xbd\xe4\xfe\x68\x1c\x6d\x99\x2b\x1b\x63\xfa"
1046         "\xdf\x42\x5c\xc2\x5a\xc7\x0c\xf4\x15\xf7\x1b\xa3\x2e\xd7\x00\xac"
1047         "\xa3",
1048         .key_len = 97,
1049         .params =
1050         "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
1051         "\x00\x22",
1052         .param_len = 18,
1053         .m =
1054         "\xe8\xb7\x52\x7d\x1a\x44\x20\x05\x53\x6b\x3a\x68\xf2\xe7\x6c\xa1"
1055         "\xae\x9d\x84\xbb\xba\x52\x43\x3e\x2c\x42\x78\x49\xbf\x78\xb2\x71"
1056         "\xeb\xe1\xe0\xe8\x42\x7b\x11\xad\x2b\x99\x05\x1d\x36\xe6\xac\xfc"
1057         "\x55\x73\xf0\x15\x63\x39\xb8\x6a\x6a\xc5\x91\x5b\xca\x6a\xa8\x0e",
1058         .m_size = 64,
1059         .algo = OID_id_ecdsa_with_sha512,
1060         .c =
1061         "\x30\x63\x02\x2f\x1d\x20\x94\x77\xfe\x31\xfa\x4d\xc6\xef\xda\x02"
1062         "\xe7\x0f\x52\x9a\x02\xde\x93\xe8\x83\xe4\x84\x4c\xfc\x6f\x80\xe3"
1063         "\xaf\xb3\xd9\xdc\x2b\x43\x0e\x6a\xb3\x53\x6f\x3e\xb3\xc7\xa8\xb3"
1064         "\x17\x77\xd1\x02\x30\x63\xf6\xf0\x3d\x5f\x5f\x99\x3f\xde\x3a\x3d"
1065         "\x16\xaf\xb4\x52\x6a\xec\x63\xe3\x0c\xec\x50\xdc\xcc\xc4\x6a\x03"
1066         "\x5f\x8d\x7a\xf9\xfb\x34\xe4\x8b\x80\xa5\xb6\xda\x2c\x4e\x45\xcf"
1067         "\x3c\x93\xff\x50\x5d",
1068         .c_size = 101,
1069         .public_key_vec = true,
1070         .siggen_sigver_test = true,
1071         },
1072 };
1073
1074 /*
1075  * EC-RDSA test vectors are generated by gost-engine.
1076  */
1077 static const struct akcipher_testvec ecrdsa_tv_template[] = {
1078         {
1079         .key =
1080         "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
1081         "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
1082         "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
1083         "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
1084         "\x27\xfc",
1085         .key_len = 66,
1086         .params = /* OID_gostCPSignA */
1087         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
1088         "\x07\x01\x01\x02\x02",
1089         .param_len = 21,
1090         .c =
1091         "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
1092         "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
1093         "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
1094         "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
1095         .c_size = 64,
1096         .algo = OID_gost2012PKey256,
1097         .m =
1098         "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
1099         "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
1100         .m_size = 32,
1101         .public_key_vec = true,
1102         .siggen_sigver_test = true,
1103         },
1104         {
1105         .key =
1106         "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
1107         "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
1108         "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
1109         "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
1110         "\xa0\x73",
1111         .key_len = 66,
1112         .params = /* OID_gostCPSignB */
1113         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
1114         "\x07\x01\x01\x02\x02",
1115         .param_len = 21,
1116         .c =
1117         "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
1118         "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
1119         "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
1120         "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
1121         .c_size = 64,
1122         .algo = OID_gost2012PKey256,
1123         .m =
1124         "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
1125         "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
1126         .m_size = 32,
1127         .public_key_vec = true,
1128         .siggen_sigver_test = true,
1129         },
1130         {
1131         .key =
1132         "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
1133         "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
1134         "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
1135         "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
1136         "\xba\x15",
1137         .key_len = 66,
1138         .params = /* OID_gostCPSignC */
1139         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
1140         "\x07\x01\x01\x02\x02",
1141         .param_len = 21,
1142         .c =
1143         "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
1144         "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
1145         "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
1146         "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
1147         .c_size = 64,
1148         .algo = OID_gost2012PKey256,
1149         .m =
1150         "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
1151         "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
1152         .m_size = 32,
1153         .public_key_vec = true,
1154         .siggen_sigver_test = true,
1155         },
1156         {
1157         .key =
1158         "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
1159         "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
1160         "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
1161         "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
1162         "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
1163         "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
1164         "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
1165         "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
1166         "\x9d\x86\x1a",
1167         .key_len = 131,
1168         .params = /* OID_gostTC26Sign512A */
1169         "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
1170         .param_len = 13,
1171         .c =
1172         "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
1173         "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
1174         "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
1175         "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
1176         "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
1177         "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
1178         "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
1179         "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
1180         .c_size = 128,
1181         .algo = OID_gost2012PKey512,
1182         .m =
1183         "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
1184         "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
1185         "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
1186         "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
1187         .m_size = 64,
1188         .public_key_vec = true,
1189         .siggen_sigver_test = true,
1190         },
1191         {
1192         .key =
1193         "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
1194         "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
1195         "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
1196         "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
1197         "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
1198         "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
1199         "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
1200         "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
1201         "\x8e\x78\x48",
1202         .key_len = 131,
1203         .params = /* OID_gostTC26Sign512B */
1204         "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
1205         .param_len = 13,
1206         .c =
1207         "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
1208         "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
1209         "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
1210         "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
1211         "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
1212         "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
1213         "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
1214         "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
1215         .c_size = 128,
1216         .algo = OID_gost2012PKey512,
1217         .m =
1218         "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
1219         "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
1220         "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
1221         "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
1222         .m_size = 64,
1223         .public_key_vec = true,
1224         .siggen_sigver_test = true,
1225         },
1226 };
1227
1228 /*
1229  * PKCS#1 RSA test vectors. Obtained from CAVS testing.
1230  */
1231 static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
1232         {
1233         .key =
1234         "\x30\x82\x04\xa5\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
1235         "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
1236         "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
1237         "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
1238         "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
1239         "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
1240         "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
1241         "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
1242         "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
1243         "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
1244         "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
1245         "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
1246         "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
1247         "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
1248         "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
1249         "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
1250         "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x03\x01\x00"
1251         "\x01\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac"
1252         "\x47\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4"
1253         "\xdc\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b"
1254         "\x12\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd"
1255         "\xef\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71"
1256         "\x9c\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5"
1257         "\x80\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f"
1258         "\x8d\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e"
1259         "\x28\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5"
1260         "\x95\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae"
1261         "\xf1\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52"
1262         "\x4c\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d"
1263         "\xd4\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88"
1264         "\x4e\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9"
1265         "\x7a\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f"
1266         "\xda\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d"
1267         "\x46\xb8\x35\xdf\x41\x02\x81\x81\x00\xe4\x4c\xae\xde\x16\xfd\x9f"
1268         "\x83\x55\x5b\x84\x4a\xcf\x1c\xf1\x37\x95\xad\xca\x29\x7f\x2d\x6e"
1269         "\x32\x81\xa4\x2b\x26\x14\x96\x1d\x40\x05\xec\x0c\xaf\x3f\x2c\x6f"
1270         "\x2c\xe8\xbf\x1d\xee\xd0\xb3\xef\x7c\x5b\x9e\x88\x4f\x2a\x8b\x0e"
1271         "\x4a\xbd\xb7\x8c\xfa\x10\x0e\x3b\xda\x68\xad\x41\x2b\xe4\x96\xfa"
1272         "\x7f\x80\x52\x5f\x07\x9f\x0e\x3b\x5e\x96\x45\x1a\x13\x2b\x94\xce"
1273         "\x1f\x07\x69\x85\x35\xfc\x69\x63\x5b\xf8\xf8\x3f\xce\x9d\x40\x1e"
1274         "\x7c\xad\xfb\x9e\xce\xe0\x01\xf8\xef\x59\x5d\xdc\x00\x79\xab\x8a"
1275         "\x3f\x80\xa2\x76\x32\x94\xa9\xea\x65\x02\x81\x81\x00\xf1\x38\x60"
1276         "\x90\x0d\x0c\x2e\x3d\x34\xe5\x90\xea\x21\x43\x1f\x68\x63\x16\x7b"
1277         "\x25\x8d\xde\x82\x2b\x52\xf8\xa3\xfd\x0f\x39\xe7\xe9\x5e\x32\x75"
1278         "\x15\x7d\xd0\xc9\xce\x06\xe5\xfb\xa9\xcb\x22\xe5\xdb\x49\x09\xf2"
1279         "\xe6\xb7\xa5\xa7\x75\x2e\x91\x2d\x2b\x5d\xf1\x48\x61\x45\x43\xd7"
1280         "\xbd\xfc\x11\x73\xb5\x11\x9f\xb2\x18\x3a\x6f\x36\xa7\xc2\xd3\x18"
1281         "\x4d\xf0\xc5\x1f\x70\x8c\x9b\xc5\x1d\x95\xa8\x5a\x9e\x8c\xb1\x4b"
1282         "\x6a\x2a\x84\x76\x2c\xd8\x4f\x47\xb0\x81\x84\x02\x45\xf0\x85\xf8"
1283         "\x0c\x6d\xa7\x0c\x4d\x2c\xb2\x5b\x81\x70\xfd\x6e\x17\x02\x81\x81"
1284         "\x00\x8d\x07\xc5\xfa\x92\x4f\x48\xcb\xd3\xdd\xfe\x02\x4c\xa1\x7f"
1285         "\x6d\xab\xfc\x38\xe7\x9b\x95\xcf\xfe\x49\x51\xc6\x09\xf7\x2b\xa8"
1286         "\x94\x15\x54\x75\x9d\x88\xb4\x05\x55\xc3\xcd\xd4\x4a\xe4\x08\x53"
1287         "\xc8\x09\xbd\x0c\x4d\x83\x65\x75\x85\xbc\x5e\xf8\x2a\xbd\xe2\x5d"
1288         "\x1d\x16\x0e\xf9\x34\x89\x38\xaf\x34\x36\x6c\x2c\x22\x44\x22\x81"
1289         "\x90\x73\xd9\xea\x3a\xaf\x70\x74\x48\x7c\xc6\xb5\xb0\xdc\xe5\xa9"
1290         "\xa8\x76\x4b\xbc\xf7\x00\xf3\x4c\x22\x0f\x44\x62\x1d\x40\x0a\x57"
1291         "\xe2\x5b\xdd\x7c\x7b\x9a\xad\xda\x70\x52\x21\x8a\x4c\xc2\xc3\x98"
1292         "\x75\x02\x81\x81\x00\xed\x24\x5c\xa2\x21\x81\xa1\x0f\xa1\x2a\x33"
1293         "\x0e\x49\xc7\x00\x60\x92\x51\x6e\x9d\x9b\xdc\x6d\x22\x04\x7e\xd6"
1294         "\x51\x19\x9f\xf6\xe3\x91\x2c\x8f\xb8\xa2\x29\x19\xcc\x47\x31\xdf"
1295         "\xf8\xab\xf0\xd2\x02\x83\xca\x99\x16\xc2\xe2\xc3\x3f\x4b\x99\x83"
1296         "\xcb\x87\x9e\x86\x66\xc2\x3e\x91\x21\x80\x66\xf3\xd6\xc5\xcd\xb6"
1297         "\xbb\x64\xef\x22\xcf\x48\x94\x58\xe7\x7e\xd5\x7c\x34\x1c\xb7\xa2"
1298         "\xd0\x93\xe9\x9f\xb5\x11\x61\xd7\x5f\x37\x0f\x64\x52\x70\x11\x78"
1299         "\xcc\x08\x77\xeb\xf8\x30\x1e\xb4\x9e\x1b\x4a\xc7\xa8\x33\x51\xe0"
1300         "\xed\xdf\x53\xf6\xdf\x02\x81\x81\x00\x86\xd9\x4c\xee\x65\x61\xc1"
1301         "\x19\xa9\xd5\x74\x9b\xd5\xca\xf6\x83\x2b\x06\xb4\x20\xfe\x45\x29"
1302         "\xe8\xe3\xfa\xe1\x4f\x28\x8e\x63\x2f\x74\xc3\x3a\x5c\x9a\xf5\x9e"
1303         "\x0e\x0d\xc5\xfe\xa0\x4c\x00\xce\x7b\xa4\x19\x17\x59\xaf\x13\x3a"
1304         "\x03\x8f\x54\xf5\x60\x39\x2e\xd9\x06\xb3\x7c\xd6\x90\x06\x41\x77"
1305         "\xf3\x93\xe1\x7a\x01\x41\xc1\x8f\xfe\x4c\x88\x39\xdb\xde\x71\x9e"
1306         "\x58\xd1\x49\x50\x80\xb2\x5a\x4f\x69\x8b\xb8\xfe\x63\xd4\x42\x3d"
1307         "\x37\x61\xa8\x4c\xff\xb6\x99\x4c\xf4\x51\xe0\x44\xaa\x69\x79\x3f"
1308         "\x81\xa4\x61\x3d\x26\xe9\x04\x52\x64",
1309         .key_len = 1193,
1310         /*
1311          * m is SHA256 hash of following message:
1312          * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
1313          * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
1314          * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
1315          * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
1316          * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
1317          * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
1318          * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
1319          * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
1320          */
1321         .m =
1322         "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
1323         "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
1324         .m_size = 32,
1325         .c =
1326         "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
1327         "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
1328         "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
1329         "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
1330         "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
1331         "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
1332         "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
1333         "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
1334         "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
1335         "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
1336         "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
1337         "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
1338         "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
1339         "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
1340         "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
1341         "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
1342         .c_size = 256,
1343         .siggen_sigver_test = true,
1344         }
1345 };
1346
1347 static const struct kpp_testvec dh_tv_template[] = {
1348         {
1349         .secret =
1350 #ifdef __LITTLE_ENDIAN
1351         "\x01\x00" /* type */
1352         "\x11\x02" /* len */
1353         "\x00\x01\x00\x00" /* key_size */
1354         "\x00\x01\x00\x00" /* p_size */
1355         "\x01\x00\x00\x00" /* g_size */
1356 #else
1357         "\x00\x01" /* type */
1358         "\x02\x11" /* len */
1359         "\x00\x00\x01\x00" /* key_size */
1360         "\x00\x00\x01\x00" /* p_size */
1361         "\x00\x00\x00\x01" /* g_size */
1362 #endif
1363         /* xa */
1364         "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
1365         "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
1366         "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
1367         "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
1368         "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
1369         "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
1370         "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
1371         "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
1372         "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
1373         "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
1374         "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
1375         "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
1376         "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
1377         "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
1378         "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
1379         "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
1380         /* p */
1381         "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
1382         "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
1383         "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
1384         "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
1385         "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
1386         "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
1387         "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
1388         "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
1389         "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
1390         "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
1391         "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
1392         "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
1393         "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
1394         "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
1395         "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
1396         "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
1397         /* g */
1398         "\x02",
1399         .b_public =
1400         "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
1401         "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
1402         "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
1403         "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
1404         "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
1405         "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
1406         "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
1407         "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
1408         "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
1409         "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
1410         "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
1411         "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
1412         "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
1413         "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
1414         "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
1415         "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
1416         .expected_a_public =
1417         "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
1418         "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
1419         "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
1420         "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
1421         "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
1422         "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
1423         "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
1424         "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
1425         "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
1426         "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
1427         "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
1428         "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
1429         "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
1430         "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
1431         "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
1432         "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
1433         .expected_ss =
1434         "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
1435         "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
1436         "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
1437         "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
1438         "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
1439         "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
1440         "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
1441         "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
1442         "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
1443         "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
1444         "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
1445         "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
1446         "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
1447         "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
1448         "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
1449         "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
1450         .secret_size = 529,
1451         .b_public_size = 256,
1452         .expected_a_public_size = 256,
1453         .expected_ss_size = 256,
1454         },
1455         {
1456         .secret =
1457 #ifdef __LITTLE_ENDIAN
1458         "\x01\x00" /* type */
1459         "\x11\x02" /* len */
1460         "\x00\x01\x00\x00" /* key_size */
1461         "\x00\x01\x00\x00" /* p_size */
1462         "\x01\x00\x00\x00" /* g_size */
1463 #else
1464         "\x00\x01" /* type */
1465         "\x02\x11" /* len */
1466         "\x00\x00\x01\x00" /* key_size */
1467         "\x00\x00\x01\x00" /* p_size */
1468         "\x00\x00\x00\x01" /* g_size */
1469 #endif
1470         /* xa */
1471         "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
1472         "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
1473         "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
1474         "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
1475         "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
1476         "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
1477         "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
1478         "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
1479         "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
1480         "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
1481         "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
1482         "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
1483         "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
1484         "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
1485         "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
1486         "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
1487         /* p */
1488         "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
1489         "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
1490         "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
1491         "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
1492         "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
1493         "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
1494         "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
1495         "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
1496         "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
1497         "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
1498         "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
1499         "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
1500         "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
1501         "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
1502         "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
1503         "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
1504         /* g */
1505         "\x02",
1506         .b_public =
1507         "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
1508         "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
1509         "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
1510         "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
1511         "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
1512         "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
1513         "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
1514         "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
1515         "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
1516         "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
1517         "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
1518         "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
1519         "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
1520         "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
1521         "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
1522         "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
1523         .expected_a_public =
1524         "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
1525         "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
1526         "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
1527         "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
1528         "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
1529         "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
1530         "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
1531         "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
1532         "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
1533         "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
1534         "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
1535         "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
1536         "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
1537         "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
1538         "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
1539         "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
1540         .expected_ss =
1541         "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
1542         "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
1543         "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
1544         "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
1545         "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
1546         "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
1547         "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
1548         "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
1549         "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
1550         "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
1551         "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
1552         "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
1553         "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
1554         "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
1555         "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
1556         "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
1557         .secret_size = 529,
1558         .b_public_size = 256,
1559         .expected_a_public_size = 256,
1560         .expected_ss_size = 256,
1561         }
1562 };
1563
1564 static const struct kpp_testvec ffdhe2048_dh_tv_template[] __maybe_unused = {
1565         {
1566         .secret =
1567 #ifdef __LITTLE_ENDIAN
1568         "\x01\x00" /* type */
1569         "\x10\x01" /* len */
1570         "\x00\x01\x00\x00" /* key_size */
1571         "\x00\x00\x00\x00" /* p_size */
1572         "\x00\x00\x00\x00" /* g_size */
1573 #else
1574         "\x00\x01" /* type */
1575         "\x01\x10" /* len */
1576         "\x00\x00\x01\x00" /* key_size */
1577         "\x00\x00\x00\x00" /* p_size */
1578         "\x00\x00\x00\x00" /* g_size */
1579 #endif
1580         /* xa */
1581         "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
1582         "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
1583         "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
1584         "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
1585         "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
1586         "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
1587         "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
1588         "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
1589         "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
1590         "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
1591         "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
1592         "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
1593         "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
1594         "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
1595         "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
1596         "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
1597         .b_public =
1598         "\x5c\x00\x6f\xda\xfe\x4c\x0c\xc2\x18\xff\xa9\xec\x7a\xbe\x8a\x51"
1599         "\x64\x6b\x57\xf8\xed\xe2\x36\x77\xc1\x23\xbf\x56\xa6\x48\x76\x34"
1600         "\x0e\xf3\x68\x05\x45\x6a\x98\x5b\x9e\x8b\xc0\x11\x29\xcb\x5b\x66"
1601         "\x2d\xc2\xeb\x4c\xf1\x7d\x85\x30\xaa\xd5\xf5\xb8\xd3\x62\x1e\x97"
1602         "\x1e\x34\x18\xf8\x76\x8c\x10\xca\x1f\xe4\x5d\x62\xe1\xbe\x61\xef"
1603         "\xaf\x2c\x8d\x97\x15\xa5\x86\xd5\xd3\x12\x6f\xec\xe2\xa4\xb2\x5a"
1604         "\x35\x1d\xd4\x91\xa6\xef\x13\x09\x65\x9c\x45\xc0\x12\xad\x7f\xee"
1605         "\x93\x5d\xfa\x89\x26\x7d\xae\xee\xea\x8c\xa3\xcf\x04\x2d\xa0\xc7"
1606         "\xd9\x14\x62\xaf\xdf\xa0\x33\xd7\x5e\x83\xa2\xe6\x0e\x0e\x5d\x77"
1607         "\xce\xe6\x72\xe4\xec\x9d\xff\x72\x9f\x38\x95\x19\x96\xba\x4c\xe3"
1608         "\x5f\xb8\x46\x4a\x1d\xe9\x62\x7b\xa8\xdc\xe7\x61\x90\x6b\xb9\xd4"
1609         "\xad\x0b\xa3\x06\xb3\x70\xfa\xea\x2b\xc4\x2c\xde\x43\x37\xf6\x8d"
1610         "\x72\xf0\x86\x9a\xbb\x3b\x8e\x7a\x71\x03\x30\x30\x2a\x5d\xcd\x1e"
1611         "\xe4\xd3\x08\x07\x75\x17\x17\x72\x1e\x77\x6c\x98\x0d\x29\x7f\xac"
1612         "\xe7\xb2\xee\xa9\x1c\x33\x9d\x08\x39\xe1\xd8\x5b\xe5\xbc\x48\xb2"
1613         "\xb6\xdf\xcd\xa0\x42\x06\xcc\xfb\xed\x60\x6f\xbc\x57\xac\x09\x45",
1614         .expected_a_public =
1615         "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
1616         "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
1617         "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
1618         "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
1619         "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
1620         "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
1621         "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
1622         "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
1623         "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
1624         "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
1625         "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
1626         "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
1627         "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
1628         "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
1629         "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
1630         "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
1631         .expected_ss =
1632         "\xf3\x0e\x64\x7b\x66\xd7\x82\x7e\xab\x7e\x4a\xbe\x13\x6f\x43\x3d"
1633         "\xea\x4f\x1f\x8b\x9d\x41\x56\x71\xe1\x06\x96\x02\x68\xfa\x44\x6e"
1634         "\xe7\xf2\x26\xd4\x01\x4a\xf0\x28\x25\x76\xad\xd7\xe0\x17\x74\xfe"
1635         "\xf9\xe1\x6d\xd3\xf7\xc7\xdf\xc0\x62\xa5\xf3\x4e\x1b\x5c\x77\x2a"
1636         "\xfb\x0b\x87\xc3\xde\x1e\xc1\xe0\xd3\x7a\xb8\x02\x02\xec\x9c\x97"
1637         "\xfb\x34\xa0\x20\x10\x23\x87\xb2\x9a\x72\xe3\x3d\xb2\x18\x50\xf3"
1638         "\x6a\xd3\xd3\x19\xc4\x36\xd5\x59\xd6\xd6\xa7\x5c\xc3\xf9\x09\x33"
1639         "\xa1\xf5\xb9\x4b\xf3\x0b\xe1\x4f\x79\x6b\x45\xf2\xec\x8b\xe5\x69"
1640         "\x9f\xc6\x05\x01\xfe\x3a\x13\xfd\x6d\xea\x03\x83\x29\x7c\x7f\xf5"
1641         "\x41\x55\x95\xde\x7e\x62\xae\xaf\x28\xdb\x7c\xa9\x90\x1e\xb2\xb1"
1642         "\x1b\xef\xf1\x2e\xde\x47\xaa\xa8\x92\x9a\x49\x3d\xc0\xe0\x8d\xbb"
1643         "\x0c\x42\x86\xaf\x00\xce\xb0\xab\x22\x7c\xe9\xbe\xb9\x72\x2f\xcf"
1644         "\x5e\x5d\x62\x52\x2a\xd1\xfe\xcc\xa2\xf3\x40\xfd\x01\xa7\x54\x0a"
1645         "\xa1\xfb\x1c\xf2\x44\xa6\x47\x30\x5a\xba\x2a\x05\xff\xd0\x6c\xab"
1646         "\xeb\xe6\x8f\xf6\xd7\x73\xa3\x0e\x6c\x0e\xcf\xfd\x8e\x16\x5d\xe0"
1647         "\x2c\x11\x05\x82\x3c\x22\x16\x6c\x52\x61\xcf\xbb\xff\xf8\x06\xd0",
1648         .secret_size = 272,
1649         .b_public_size = 256,
1650         .expected_a_public_size = 256,
1651         .expected_ss_size = 256,
1652         },
1653         {
1654         .secret =
1655 #ifdef __LITTLE_ENDIAN
1656         "\x01\x00" /* type */
1657         "\x10\x00" /* len */
1658         "\x00\x00\x00\x00" /* key_size */
1659         "\x00\x00\x00\x00" /* p_size */
1660         "\x00\x00\x00\x00", /* g_size */
1661 #else
1662         "\x00\x01" /* type */
1663         "\x00\x10" /* len */
1664         "\x00\x00\x00\x00" /* key_size */
1665         "\x00\x00\x00\x00" /* p_size */
1666         "\x00\x00\x00\x00", /* g_size */
1667 #endif
1668         .b_secret =
1669 #ifdef __LITTLE_ENDIAN
1670         "\x01\x00" /* type */
1671         "\x10\x01" /* len */
1672         "\x00\x01\x00\x00" /* key_size */
1673         "\x00\x00\x00\x00" /* p_size */
1674         "\x00\x00\x00\x00" /* g_size */
1675 #else
1676         "\x00\x01" /* type */
1677         "\x01\x10" /* len */
1678         "\x00\x00\x01\x00" /* key_size */
1679         "\x00\x00\x00\x00" /* p_size */
1680         "\x00\x00\x00\x00" /* g_size */
1681 #endif
1682         /* xa */
1683         "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
1684         "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
1685         "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
1686         "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
1687         "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
1688         "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
1689         "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
1690         "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
1691         "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
1692         "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
1693         "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
1694         "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
1695         "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
1696         "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
1697         "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
1698         "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
1699         .b_public =
1700         "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
1701         "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
1702         "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
1703         "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
1704         "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
1705         "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
1706         "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
1707         "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
1708         "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
1709         "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
1710         "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
1711         "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
1712         "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
1713         "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
1714         "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
1715         "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
1716         .secret_size = 16,
1717         .b_secret_size = 272,
1718         .b_public_size = 256,
1719         .expected_a_public_size = 256,
1720         .expected_ss_size = 256,
1721         .genkey = true,
1722         },
1723 };
1724
1725 static const struct kpp_testvec ffdhe3072_dh_tv_template[] __maybe_unused = {
1726         {
1727         .secret =
1728 #ifdef __LITTLE_ENDIAN
1729         "\x01\x00" /* type */
1730         "\x90\x01" /* len */
1731         "\x80\x01\x00\x00" /* key_size */
1732         "\x00\x00\x00\x00" /* p_size */
1733         "\x00\x00\x00\x00" /* g_size */
1734 #else
1735         "\x00\x01" /* type */
1736         "\x01\x90" /* len */
1737         "\x00\x00\x01\x80" /* key_size */
1738         "\x00\x00\x00\x00" /* p_size */
1739         "\x00\x00\x00\x00" /* g_size */
1740 #endif
1741         /* xa */
1742         "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
1743         "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
1744         "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
1745         "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
1746         "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
1747         "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
1748         "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
1749         "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
1750         "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
1751         "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
1752         "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
1753         "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
1754         "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
1755         "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
1756         "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
1757         "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
1758         "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
1759         "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
1760         "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
1761         "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
1762         "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
1763         "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
1764         "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
1765         "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
1766         .b_public =
1767         "\x73\x40\x8b\xce\xe8\x6a\x1c\x03\x50\x54\x42\x36\x22\xc6\x1d\xe8"
1768         "\xe1\xef\x5c\x89\xa5\x55\xc1\xc4\x1c\xd7\x4f\xee\x5d\xba\x62\x60"
1769         "\xfe\x93\x2f\xfd\x93\x2c\x8f\x70\xc6\x47\x17\x25\xb2\x95\xd7\x7d"
1770         "\x41\x81\x4d\x52\x1c\xbe\x4d\x57\x3e\x26\x51\x28\x03\x8f\x67\xf5"
1771         "\x22\x16\x1c\x67\xf7\x62\xcb\xfd\xa3\xee\x8d\xe0\xfa\x15\x9a\x53"
1772         "\xbe\x7b\x9f\xc0\x12\x7a\xfc\x5e\x77\x2d\x60\x06\xba\x71\xc5\xca"
1773         "\xd7\x26\xaf\x3b\xba\x6f\xd3\xc4\x82\x57\x19\x26\xb0\x16\x7b\xbd"
1774         "\x83\xf2\x21\x03\x79\xff\x0a\x6f\xc5\x7b\x00\x15\xad\x5b\xf4\x42"
1775         "\x1f\xcb\x7f\x3d\x34\x77\x3c\xc3\xe0\x38\xa5\x40\x51\xbe\x6f\xd9"
1776         "\xc9\x77\x9c\xfc\x0d\xc1\x8e\xef\x0f\xaa\x5e\xa8\xbb\x16\x4a\x3e"
1777         "\x26\x55\xae\xc1\xb6\x3e\xfd\x73\xf7\x59\xd2\xe5\x4b\x91\x8e\x28"
1778         "\x77\x1e\x5a\xe2\xcd\xce\x92\x35\xbb\x1e\xbb\xcf\x79\x94\xdf\x31"
1779         "\xde\x31\xa8\x75\xf6\xe0\xaa\x2e\xe9\x4f\x44\xc8\xba\xb9\xab\x80"
1780         "\x29\xa1\xea\x58\x2e\x40\x96\xa0\x1a\xf5\x2c\x38\x47\x43\x5d\x26"
1781         "\x2c\xd8\xad\xea\xd3\xad\xe8\x51\x49\xad\x45\x2b\x25\x7c\xde\xe4"
1782         "\xaf\x03\x2a\x39\x26\x86\x66\x10\xbc\xa8\x71\xda\xe0\xe8\xf1\xdd"
1783         "\x50\xff\x44\xb2\xd3\xc7\xff\x66\x63\xf6\x42\xe3\x97\x9d\x9e\xf4"
1784         "\xa6\x89\xb9\xab\x12\x17\xf2\x85\x56\x9c\x6b\x24\x71\x83\x57\x7d"
1785         "\x3c\x7b\x2b\x88\x92\x19\xd7\x1a\x00\xd5\x38\x94\x43\x60\x4d\xa7"
1786         "\x12\x9e\x0d\xf6\x5c\x9a\xd3\xe2\x9e\xb1\x21\xe8\xe2\x9e\xe9\x1e"
1787         "\x9d\xa5\x94\x95\xa6\x3d\x12\x15\xd8\x8b\xac\xe0\x8c\xde\xe6\x40"
1788         "\x98\xaa\x5e\x55\x4f\x3d\x86\x87\x0d\xe3\xc6\x68\x15\xe6\xde\x17"
1789         "\x78\x21\xc8\x6c\x06\xc7\x94\x56\xb4\xaf\xa2\x35\x0b\x0c\x97\xd7"
1790         "\xa4\x12\xee\xf4\xd2\xef\x80\x28\xb3\xee\xe9\x15\x8b\x01\x32\x79",
1791         .expected_a_public =
1792         "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
1793         "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
1794         "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
1795         "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
1796         "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
1797         "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
1798         "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
1799         "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
1800         "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
1801         "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
1802         "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
1803         "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
1804         "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
1805         "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
1806         "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
1807         "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
1808         "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
1809         "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
1810         "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
1811         "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
1812         "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
1813         "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
1814         "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
1815         "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
1816         .expected_ss =
1817         "\x47\x8e\xb2\x19\x09\xf0\x46\x99\x6b\x41\x86\xf7\x34\xad\xbf\x2a"
1818         "\x18\x1b\x7d\xec\xa9\xb2\x47\x2f\x40\xfb\x9a\x64\x30\x44\xf3\x4c"
1819         "\x01\x67\xad\x57\x5a\xbc\xd4\xc8\xef\x7e\x8a\x14\x74\x1d\x6d\x8c"
1820         "\x7b\xce\xc5\x57\x5f\x95\xe8\x72\xba\xdf\xa3\xcd\x00\xbe\x09\x4c"
1821         "\x06\x72\xe7\x17\xb0\xe5\xe5\xb7\x20\xa5\xcb\xd9\x68\x99\xad\x3f"
1822         "\xde\xf3\xde\x1d\x1c\x00\x74\xd2\xd1\x57\x55\x5d\xce\x76\x0c\xc4"
1823         "\x7a\xc4\x65\x7c\x19\x17\x0a\x09\x66\x7d\x3a\xab\xf7\x61\x3a\xe3"
1824         "\x5b\xac\xcf\x69\xb0\x8b\xee\x5d\x28\x36\xbb\x3f\x74\xce\x6e\x38"
1825         "\x1e\x39\xab\x26\xca\x89\xdc\x58\x59\xcb\x95\xe4\xbc\xd6\x19\x48"
1826         "\xd0\x55\x68\x7b\xb4\x27\x95\x3c\xd9\x58\x10\x4f\x8f\x55\x1c\x3f"
1827         "\x04\xce\x89\x1f\x82\x28\xe9\x48\x17\x47\x8f\xee\xb7\x8f\xeb\xb1"
1828         "\x29\xa8\x23\x18\x73\x33\x9f\x83\x08\xca\xcd\x54\x6e\xca\xec\x78"
1829         "\x7b\x16\x83\x3f\xdb\x0a\xef\xfd\x87\x94\x19\x08\x6e\x6e\x22\x57"
1830         "\xd7\xd2\x79\xf9\xf6\xeb\xe0\x6c\x93\x9d\x95\xfa\x41\x7a\xa9\xd6"
1831         "\x2a\xa3\x26\x9b\x24\x1b\x8b\xa0\xed\x04\xb2\xe4\x6c\x4e\xc4\x3f"
1832         "\x61\xe5\xe0\x4d\x09\x28\xaf\x58\x35\x25\x0b\xd5\x38\x18\x69\x51"
1833         "\x18\x51\x73\x7b\x28\x19\x9f\xe4\x69\xfc\x2c\x25\x08\x99\x8f\x62"
1834         "\x65\x62\xa5\x28\xf1\xf4\xfb\x02\x29\x27\xb0\x5e\xbb\x4f\xf9\x1a"
1835         "\xa7\xc4\x38\x63\x5b\x01\xfe\x00\x66\xe3\x47\x77\x21\x85\x17\xd5"
1836         "\x34\x19\xd3\x87\xab\x44\x62\x08\x59\xb2\x6b\x1f\x21\x0c\x23\x84"
1837         "\xf7\xba\x92\x67\xf9\x16\x85\x6a\xe0\xeb\xe7\x4f\x06\x80\x81\x81"
1838         "\x28\x9c\xe8\x2e\x71\x97\x48\xe0\xd1\xbc\xce\xe9\x42\x2c\x89\xdf"
1839         "\x0b\xa9\xa1\x07\x84\x33\x78\x7f\x49\x2f\x1c\x55\xc3\x7f\xc3\x37"
1840         "\x40\xdf\x13\xf4\xa0\x21\x79\x6e\x3a\xe3\xb8\x23\x9e\x8a\x6e\x9c",
1841         .secret_size = 400,
1842         .b_public_size = 384,
1843         .expected_a_public_size = 384,
1844         .expected_ss_size = 384,
1845         },
1846         {
1847         .secret =
1848 #ifdef __LITTLE_ENDIAN
1849         "\x01\x00" /* type */
1850         "\x10\x00" /* len */
1851         "\x00\x00\x00\x00" /* key_size */
1852         "\x00\x00\x00\x00" /* p_size */
1853         "\x00\x00\x00\x00", /* g_size */
1854 #else
1855         "\x00\x01" /* type */
1856         "\x00\x10" /* len */
1857         "\x00\x00\x00\x00" /* key_size */
1858         "\x00\x00\x00\x00" /* p_size */
1859         "\x00\x00\x00\x00", /* g_size */
1860 #endif
1861         .b_secret =
1862 #ifdef __LITTLE_ENDIAN
1863         "\x01\x00" /* type */
1864         "\x90\x01" /* len */
1865         "\x80\x01\x00\x00" /* key_size */
1866         "\x00\x00\x00\x00" /* p_size */
1867         "\x00\x00\x00\x00" /* g_size */
1868 #else
1869         "\x00\x01" /* type */
1870         "\x01\x90" /* len */
1871         "\x00\x00\x01\x80" /* key_size */
1872         "\x00\x00\x00\x00" /* p_size */
1873         "\x00\x00\x00\x00" /* g_size */
1874 #endif
1875         /* xa */
1876         "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
1877         "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
1878         "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
1879         "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
1880         "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
1881         "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
1882         "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
1883         "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
1884         "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
1885         "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
1886         "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
1887         "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
1888         "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
1889         "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
1890         "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
1891         "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
1892         "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
1893         "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
1894         "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
1895         "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
1896         "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
1897         "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
1898         "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
1899         "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
1900         .b_public =
1901         "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
1902         "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
1903         "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
1904         "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
1905         "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
1906         "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
1907         "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
1908         "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
1909         "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
1910         "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
1911         "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
1912         "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
1913         "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
1914         "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
1915         "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
1916         "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
1917         "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
1918         "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
1919         "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
1920         "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
1921         "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
1922         "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
1923         "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
1924         "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
1925         .secret_size = 16,
1926         .b_secret_size = 400,
1927         .b_public_size = 384,
1928         .expected_a_public_size = 384,
1929         .expected_ss_size = 384,
1930         .genkey = true,
1931         },
1932 };
1933
1934 static const struct kpp_testvec ffdhe4096_dh_tv_template[] __maybe_unused = {
1935         {
1936         .secret =
1937 #ifdef __LITTLE_ENDIAN
1938         "\x01\x00" /* type */
1939         "\x10\x02" /* len */
1940         "\x00\x02\x00\x00" /* key_size */
1941         "\x00\x00\x00\x00" /* p_size */
1942         "\x00\x00\x00\x00" /* g_size */
1943 #else
1944         "\x00\x01" /* type */
1945         "\x02\x10" /* len */
1946         "\x00\x00\x02\x00" /* key_size */
1947         "\x00\x00\x00\x00" /* p_size */
1948         "\x00\x00\x00\x00" /* g_size */
1949 #endif
1950         /* xa */
1951         "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
1952         "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
1953         "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
1954         "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
1955         "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
1956         "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
1957         "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
1958         "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
1959         "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
1960         "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
1961         "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
1962         "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
1963         "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
1964         "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
1965         "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
1966         "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
1967         "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
1968         "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
1969         "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
1970         "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
1971         "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
1972         "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
1973         "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
1974         "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
1975         "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
1976         "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
1977         "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
1978         "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
1979         "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
1980         "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
1981         "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
1982         "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
1983         .b_public =
1984         "\x24\x38\x02\x02\x2f\xeb\x54\xdd\x73\x21\x91\x4a\xd8\xa4\x0a\xbf"
1985         "\xf4\xf5\x9a\x45\xb5\xcd\x42\xa3\x57\xcc\x65\x4a\x23\x2e\xee\x59"
1986         "\xba\x6f\x14\x89\xae\x2e\x14\x0a\x72\x77\x23\x7f\x6c\x2e\xba\x52"
1987         "\x3f\x71\xbf\xe4\x60\x03\x16\xaa\x61\xf5\x80\x1d\x8a\x45\x9e\x53"
1988         "\x7b\x07\xd9\x7e\xfe\xaf\xcb\xda\xff\x20\x71\xba\x89\x39\x75\xc3"
1989         "\xb3\x65\x0c\xb1\xa7\xfa\x4a\xe7\xe0\x85\xc5\x4e\x91\x47\x41\xf4"
1990         "\xdd\xcd\xc5\x3d\x17\x12\xed\xee\xc0\x31\xb1\xaf\xc1\xd5\x3c\x07"
1991         "\xa1\x5a\xc4\x05\x45\xe3\x10\x0c\xc3\x14\xae\x65\xca\x40\xae\x31"
1992         "\x5c\x13\x0d\x32\x85\xa7\x6e\xf4\x5e\x29\x3d\x4e\xd3\xd7\x49\x58"
1993         "\xe1\x73\xbb\x0a\x7b\xd6\x13\xea\x49\xd7\x20\x3d\x31\xaa\x77\xab"
1994         "\x21\x74\xe9\x2f\xe9\x5e\xbe\x2f\xb4\xa2\x79\xf2\xbc\xcc\x51\x94"
1995         "\xd2\x1d\xb2\xe6\xc5\x39\x66\xd7\xe5\x46\x75\x53\x76\xed\x49\xea"
1996         "\x3b\xdd\x01\x27\xdb\x83\xa5\x9f\xd2\xee\xc8\xde\x9e\xde\xd2\xe7"
1997         "\x99\xad\x9c\xe0\x71\x66\x29\xd8\x0d\xfe\xdc\xd1\xbc\xc7\x9a\xbe"
1998         "\x8b\x26\x46\x57\xb6\x79\xfa\xad\x8b\x45\x2e\xb5\xe5\x89\x34\x01"
1999         "\x93\x00\x9d\xe9\x58\x74\x8b\xda\x07\x92\xb5\x01\x4a\xe1\x44\x36"
2000         "\xc7\x6c\xde\xc8\x7a\x17\xd0\xde\xee\x68\x92\xb5\xde\x21\x2b\x1c"
2001         "\xbc\x65\x30\x1e\xae\x15\x3d\x9a\xaf\x20\xa3\xc4\x21\x70\xfb\x2f"
2002         "\x36\x72\x31\xc0\xe8\x85\xdf\xc5\x50\x4c\x90\x10\x32\xa4\xc7\xee"
2003         "\x59\x5a\x21\xf4\xf1\x33\xcf\xbe\xac\x67\xb1\x40\x7c\x0b\x3f\x64"
2004         "\xe5\xd2\x2d\xb7\x7d\x0f\xce\xf7\x9b\x05\xee\x37\x61\xd2\x61\x9e"
2005         "\x1a\x80\x2e\x79\xe6\x1b\x25\xb3\x61\x3d\x53\xe7\xe5\x97\x9a\xc2"
2006         "\x39\xb1\xe3\x91\xc6\xee\x96\x2e\xa9\xb4\xb8\xad\xd8\x04\x3e\x11"
2007         "\x31\x67\xb8\x6a\xcb\x6e\x1a\x4c\x7f\x74\xc7\x1f\x09\xd1\xd0\x6b"
2008         "\x17\xde\xea\xe8\x0b\xe6\x6a\xee\x2f\xe3\x5b\x9c\x59\x5d\x00\x57"
2009         "\xbf\x24\x25\xba\x22\x34\xb9\xc5\x3c\xc4\x57\x26\xd0\x6d\x89\xee"
2010         "\x67\x79\x3c\x70\xf9\xc3\xb4\x30\xf0\x2e\xca\xfa\x74\x00\xd1\x00"
2011         "\x6d\x03\x97\xd5\x08\x3f\x0b\x8e\xb8\x1d\xa3\x91\x7f\xa9\x3a\xf0"
2012         "\x37\x57\x46\x87\x82\xa3\xb5\x8f\x51\xaa\xc7\x7b\xfe\x86\x26\xb9"
2013         "\xfa\xe6\x1e\xee\x92\x9d\x3a\xed\x5b\x5e\x3f\xe5\xca\x5e\x13\x01"
2014         "\xdd\x4c\x8d\x85\xf0\x60\x61\xb7\x60\x24\x83\x9f\xbe\x72\x21\x81"
2015         "\x55\x7e\x7e\x6d\xf3\x28\xc8\x77\x5a\xae\x5a\x32\x86\xd5\x61\xad",
2016         .expected_a_public =
2017         "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
2018         "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
2019         "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
2020         "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
2021         "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
2022         "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
2023         "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
2024         "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
2025         "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
2026         "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
2027         "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
2028         "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
2029         "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
2030         "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
2031         "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
2032         "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
2033         "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
2034         "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
2035         "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
2036         "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
2037         "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
2038         "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
2039         "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
2040         "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
2041         "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
2042         "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
2043         "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
2044         "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
2045         "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
2046         "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
2047         "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
2048         "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
2049         .expected_ss =
2050         "\xe2\xce\x0e\x4b\x64\xf3\x84\x62\x38\xfd\xe3\x6f\x69\x40\x22\xb0"
2051         "\x73\x27\x03\x12\x82\xa4\x6e\x03\x57\xec\x3d\xa0\xc1\x4f\x4b\x09"
2052         "\xa1\xd4\xe0\x1a\x5d\x91\x2e\x08\xad\x57\xfa\xcc\x55\x90\x5f\xa0"
2053         "\x52\x27\x62\x8d\xe5\x2d\xa1\x5f\xf0\x30\x43\x77\x4e\x3f\x02\x58"
2054         "\xcb\xa0\x51\xae\x1d\x24\xf9\x0a\xd1\x36\x0b\x95\x0f\x07\xd9\xf7"
2055         "\xe2\x36\x14\x2f\xf0\x11\xc2\xc9\xaf\x66\x4e\x0d\xb4\x60\x01\x4e"
2056         "\xa8\x49\xc6\xec\x5f\xb2\xbc\x05\x48\x91\x4e\xe1\xc3\x99\x9f\xeb"
2057         "\x4a\xc1\xde\x05\x9a\x65\x39\x7d\x2f\x89\x85\xb2\xcf\xec\x25\x27"
2058         "\x5f\x1c\x11\x63\xcf\x7b\x86\x98\x39\xae\xc2\x16\x8f\x79\xd1\x20"
2059         "\xd0\xb4\xa0\xba\x44\xd8\xf5\x3a\x0a\x08\x4c\xd1\xb9\xdd\x0a\x5b"
2060         "\x9e\x62\xf3\x52\x0c\x84\x12\x43\x9b\xd7\xdf\x86\x71\x03\xdd\x04"
2061         "\x98\x55\x0c\x7b\xe2\xe8\x03\x17\x25\x84\xd9\xbd\xe1\xce\x64\xbe"
2062         "\xca\x55\xd4\x5b\xef\x61\x5b\x68\x4b\x80\x37\x40\xae\x28\x87\x81"
2063         "\x55\x34\x96\x50\x21\x47\x49\xc0\xda\x26\x46\xb8\xe8\xcc\x5a\x27"
2064         "\x9c\x9d\x0a\x3d\xcc\x4c\x63\x27\x81\x82\x2e\xf4\xa8\x91\x37\x3e"
2065         "\xa7\x34\x6a\x0f\x60\x44\xdd\x2e\xdc\xf9\x19\xf2\x2e\x81\x05\x51"
2066         "\x16\xbc\xc0\x85\xa5\xd5\x08\x09\x1f\xcd\xed\xa4\xc5\xdb\x16\x43"
2067         "\xb5\x7a\x71\x66\x19\x2e\xef\x13\xbc\x40\x39\x0a\x00\x45\x7e\x61"
2068         "\xe9\x68\x60\x83\x00\x70\xd1\x71\xd3\xa2\x61\x3e\x00\x46\x93\x0d"
2069         "\xbf\xe6\xa2\x07\xe6\x40\x1a\xf4\x57\xc6\x67\x39\xd8\xd7\x6b\xc5"
2070         "\xa5\xd8\x38\x78\x12\xb4\x97\x12\xbe\x97\x13\xef\xe4\x74\x0c\xe0"
2071         "\x75\x89\x64\xf4\xe8\x85\xda\x84\x7b\x1d\xfe\xdd\x21\xba\xda\x01"
2072         "\x52\xdc\x59\xe5\x47\x50\x7e\x15\x20\xd0\x43\x37\x6e\x48\x39\x00"
2073         "\xee\xd9\x54\x6d\x00\x65\xc9\x4b\x85\xa2\x8a\x40\x55\xd0\x63\x0c"
2074         "\xb5\x7a\x0d\x37\x67\x27\x73\x18\x7f\x5a\xf5\x0e\x22\xb9\xb0\x3f"
2075         "\xda\xf1\xec\x7c\x24\x01\x49\xa9\x09\x0e\x0f\xc4\xa9\xef\xc8\x2b"
2076         "\x13\xd1\x0a\x6f\xf8\x92\x4b\x1d\xdd\x6c\x9c\x35\xde\x75\x46\x32"
2077         "\xe6\xfb\xda\x58\xba\x81\x08\xca\xa9\xb6\x69\x71\x96\x2a\x1f\x2e"
2078         "\x25\xe0\x37\xfe\xee\x4d\x27\xaa\x04\xda\x95\xbb\x93\xcf\x8f\xa2"
2079         "\x1d\x67\x35\xe3\x51\x8f\x87\x3b\xa9\x62\x05\xee\x44\xb7\x2e\xd0"
2080         "\x07\x63\x32\xf5\xcd\x64\x18\x20\xcf\x22\x42\x28\x22\x1a\xa8\xbb"
2081         "\x74\x8a\x6f\x2a\xea\x8a\x48\x0a\xad\xd7\xed\xba\xa3\x89\x37\x01",
2082         .secret_size = 528,
2083         .b_public_size = 512,
2084         .expected_a_public_size = 512,
2085         .expected_ss_size = 512,
2086         },
2087         {
2088         .secret =
2089 #ifdef __LITTLE_ENDIAN
2090         "\x01\x00" /* type */
2091         "\x10\x00" /* len */
2092         "\x00\x00\x00\x00" /* key_size */
2093         "\x00\x00\x00\x00" /* p_size */
2094         "\x00\x00\x00\x00", /* g_size */
2095 #else
2096         "\x00\x01" /* type */
2097         "\x00\x10" /* len */
2098         "\x00\x00\x00\x00" /* key_size */
2099         "\x00\x00\x00\x00" /* p_size */
2100         "\x00\x00\x00\x00", /* g_size */
2101 #endif
2102         .b_secret =
2103 #ifdef __LITTLE_ENDIAN
2104         "\x01\x00" /* type */
2105         "\x10\x02" /* len */
2106         "\x00\x02\x00\x00" /* key_size */
2107         "\x00\x00\x00\x00" /* p_size */
2108         "\x00\x00\x00\x00" /* g_size */
2109 #else
2110         "\x00\x01" /* type */
2111         "\x02\x10" /* len */
2112         "\x00\x00\x02\x00" /* key_size */
2113         "\x00\x00\x00\x00" /* p_size */
2114         "\x00\x00\x00\x00" /* g_size */
2115 #endif
2116         /* xa */
2117         "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
2118         "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
2119         "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
2120         "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
2121         "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
2122         "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
2123         "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
2124         "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
2125         "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
2126         "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
2127         "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
2128         "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
2129         "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
2130         "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
2131         "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
2132         "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
2133         "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
2134         "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
2135         "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
2136         "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
2137         "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
2138         "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
2139         "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
2140         "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
2141         "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
2142         "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
2143         "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
2144         "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
2145         "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
2146         "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
2147         "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
2148         "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
2149         .b_public =
2150         "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
2151         "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
2152         "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
2153         "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
2154         "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
2155         "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
2156         "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
2157         "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
2158         "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
2159         "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
2160         "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
2161         "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
2162         "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
2163         "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
2164         "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
2165         "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
2166         "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
2167         "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
2168         "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
2169         "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
2170         "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
2171         "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
2172         "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
2173         "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
2174         "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
2175         "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
2176         "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
2177         "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
2178         "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
2179         "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
2180         "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
2181         "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
2182         .secret_size = 16,
2183         .b_secret_size = 528,
2184         .b_public_size = 512,
2185         .expected_a_public_size = 512,
2186         .expected_ss_size = 512,
2187         .genkey = true,
2188         },
2189 };
2190
2191 static const struct kpp_testvec ffdhe6144_dh_tv_template[] __maybe_unused = {
2192         {
2193         .secret =
2194 #ifdef __LITTLE_ENDIAN
2195         "\x01\x00" /* type */
2196         "\x10\x03" /* len */
2197         "\x00\x03\x00\x00" /* key_size */
2198         "\x00\x00\x00\x00" /* p_size */
2199         "\x00\x00\x00\x00" /* g_size */
2200 #else
2201         "\x00\x01" /* type */
2202         "\x03\x10" /* len */
2203         "\x00\x00\x03\x00" /* key_size */
2204         "\x00\x00\x00\x00" /* p_size */
2205         "\x00\x00\x00\x00" /* g_size */
2206 #endif
2207         /* xa */
2208         "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
2209         "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
2210         "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
2211         "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
2212         "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
2213         "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
2214         "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
2215         "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
2216         "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
2217         "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
2218         "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
2219         "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
2220         "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
2221         "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
2222         "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
2223         "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
2224         "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
2225         "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
2226         "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
2227         "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
2228         "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
2229         "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
2230         "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
2231         "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
2232         "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
2233         "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
2234         "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
2235         "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
2236         "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
2237         "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
2238         "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
2239         "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
2240         "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
2241         "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
2242         "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
2243         "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
2244         "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
2245         "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
2246         "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
2247         "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
2248         "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
2249         "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
2250         "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
2251         "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
2252         "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
2253         "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
2254         "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
2255         "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
2256         .b_public =
2257         "\x30\x31\xbe\x43\xd0\x14\x22\x6b\x4b\x8c\x9a\xca\xc6\xdd\xe5\x99"
2258         "\xce\xb8\x30\x23\xb6\xa8\x8c\x4d\xfa\xef\xad\xa6\x6a\x21\x50\xa6"
2259         "\x45\x2d\x19\x2a\x29\x81\xc5\xac\xb4\xa8\x5f\x6d\x5b\xc8\x5f\x12"
2260         "\x35\x21\xfb\x37\xaa\x0c\x79\xeb\xd4\x83\x01\xda\xa3\xf3\x51\x6e"
2261         "\x17\xf9\xef\x3f\xbd\x2f\xd2\x43\x82\x12\x48\xeb\x61\x4c\x8e\xf2"
2262         "\x6c\x76\xf9\x6d\x42\x2a\xcb\x10\x13\x3b\xf6\x9b\xcd\x46\x1e\xa2"
2263         "\xa7\x2c\x08\x56\xd2\x42\xf5\x03\xf0\x3e\xef\xa2\xa2\xf2\x4c\xf2"
2264         "\xdb\x4f\xeb\x40\x15\x53\x27\xf7\xd4\x8e\x58\x23\xf5\x2c\x88\x04"
2265         "\x1e\xb1\xb6\xe3\xd6\x9c\x49\x08\xa1\x4b\xb8\x33\xe4\x75\x85\xa1"
2266         "\x86\x97\xce\x1d\xe9\x9f\xe2\xd8\xf2\x7e\xad\xdc\x8a\x4d\xbd\x06"
2267         "\x52\x00\x9a\x2c\x69\xdd\x02\x0c\x69\x5a\xf9\x1d\xfd\xdc\xfb\x82"
2268         "\xb2\xe5\xf3\x24\xba\xd1\x09\x76\x90\xb5\x7a\x92\xa6\x6b\x97\xc0"
2269         "\xce\x13\x9b\x4b\xbc\x30\x91\xb2\x13\x8b\x57\x6c\x8b\x66\x6e\x58"
2270         "\x3e\x91\x50\xc7\x6c\xe1\x18\xec\xbf\x69\xcd\xcb\xa0\xbc\x0d\x05"
2271         "\xc4\xf8\x45\x92\xe0\x05\xd3\x08\xb3\x30\x19\xc8\x80\xf8\x17\x9f"
2272         "\x1e\x6a\x49\x8e\x43\xef\x7a\x49\xa5\x93\xd9\xed\xd1\x07\x03\xe4"
2273         "\xa3\x55\xeb\x1e\x2f\x69\xd7\x40\x8f\x6e\x1c\xb6\x94\xfb\xba\x4e"
2274         "\x46\xd0\x38\x71\x00\x88\x93\x6a\x55\xfc\x16\x95\x1f\xb1\xf6\x2f"
2275         "\x26\x45\x50\x54\x30\x62\x62\xe8\x80\xe5\x24\x0b\xe4\x15\x6b\x32"
2276         "\x16\xc2\x30\x9b\x56\xb4\xc9\x5e\x50\xb4\x27\x82\x86\x01\xda\x68"
2277         "\x44\x4b\x15\x81\x31\x13\x52\xd8\x08\xbc\xae\xf3\xa5\x94\x1c\x81"
2278         "\xe8\x42\xd6\x42\xd6\xff\x99\x58\x0f\x61\x3e\x82\x9e\x2d\x13\x03"
2279         "\x54\x02\x74\xf4\x6b\x43\x43\xce\x54\x44\x36\x3f\x55\xfa\xb2\x56"
2280         "\xdc\xac\xb5\x65\x89\xbe\x36\xd2\x58\x65\x79\x4c\xf3\xe2\x01\xf1"
2281         "\x69\x96\x29\x20\x5d\xee\xf5\x8a\x8b\x9f\x72\xf7\x27\x02\xde\x3b"
2282         "\xc7\x52\x19\xdc\x8e\x22\x36\x09\x14\x59\x07\xbb\x1e\x49\x69\x4f"
2283         "\x00\x7b\x9a\x5d\x23\xe9\xbe\x0d\x52\x90\xa3\x0d\xde\xe7\x80\x57"
2284         "\x53\x69\x39\xe6\xf8\x33\xeb\x92\x0d\x9e\x04\x8b\x16\x16\x16\x1c"
2285         "\xa9\xe6\xe3\x0e\x0a\xc6\xf6\x61\xd1\x44\x2b\x3e\x5e\x02\xfe\xaa"
2286         "\xe3\xf3\x8f\xf9\xc8\x20\x37\xad\xbc\x95\xb8\xc5\xe7\x95\xda\xfb"
2287         "\x80\x5b\xf6\x40\x28\xae\xc1\x4c\x09\xde\xff\x1e\xbf\x51\xd2\xfe"
2288         "\x08\xdc\xb0\x48\x21\xf5\x4c\x43\xdc\x7b\x69\x83\xc8\x69\x5c\xc4"
2289         "\xa9\x98\x76\x4b\xc4\x4a\xac\x1d\xa5\x52\xe3\x35\x43\xdd\x30\xd4"
2290         "\xa0\x51\x9c\xc2\x62\x4c\x7e\xa5\xfb\xd3\x2c\x8a\x09\x7f\x53\xa3"
2291         "\xcd\xca\x58\x1b\x4c\xaf\xba\x21\x8b\x88\x1d\xc0\xe9\x0a\x17\x30"
2292         "\x33\xd6\xa2\xa5\x49\x50\x61\x3b\xff\x37\x71\x66\xef\x61\xbc\xb2"
2293         "\x53\x82\xe5\x70\xef\x32\xff\x9d\x97\xe0\x82\xe0\xbb\x49\xc2\x29"
2294         "\x58\x89\xdd\xe9\x62\x52\xfb\xba\x22\xa6\xd9\x16\xfa\x55\xb3\x06"
2295         "\xed\x6d\x70\x6e\xdc\x47\x7c\x67\x1a\xcc\x27\x98\xd4\xd7\xe6\xf0"
2296         "\xf8\x9f\x51\x3e\xf0\xee\xad\xb6\x78\x69\x71\xb5\xcb\x09\xa3\xa6"
2297         "\x3f\x29\x24\x46\xe0\x65\xbc\x9f\x6c\xe9\xf9\x49\x49\x96\x75\xe5"
2298         "\xe1\xff\x82\x70\xf4\x7e\xff\x8f\xec\x47\x98\x6d\x5b\x88\x60\xee"
2299         "\x43\xb1\xe2\x14\xc1\x49\x95\x74\x46\xd3\x3f\x73\xb2\xe9\x88\xe0"
2300         "\xd3\xb1\xc4\x2c\xef\xee\xdd\x6c\xc5\xa1\x29\xef\x86\xd2\x36\x8a"
2301         "\x2f\x7c\x9d\x28\x0a\x6d\xc9\x5a\xdb\xd4\x04\x06\x36\x96\x09\x03"
2302         "\x71\x5d\x38\x67\xa2\x08\x2a\x04\xe7\xd6\x51\x5a\x19\x9d\xe7\xf1"
2303         "\x5d\x6f\xe2\xff\x48\x37\xb7\x8b\xb1\x14\xb4\x96\xcd\xf0\xa7\xbd"
2304         "\xef\x20\xff\x0a\x8d\x08\xb7\x15\x98\x5a\x13\xd2\xda\x2a\x27\x75",
2305         .expected_a_public =
2306         "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
2307         "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
2308         "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
2309         "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
2310         "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
2311         "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
2312         "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
2313         "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
2314         "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
2315         "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
2316         "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
2317         "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
2318         "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
2319         "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
2320         "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
2321         "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
2322         "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
2323         "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
2324         "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
2325         "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
2326         "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
2327         "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
2328         "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
2329         "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
2330         "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
2331         "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
2332         "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
2333         "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
2334         "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
2335         "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
2336         "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
2337         "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
2338         "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
2339         "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
2340         "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
2341         "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
2342         "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
2343         "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
2344         "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
2345         "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
2346         "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
2347         "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
2348         "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
2349         "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
2350         "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
2351         "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
2352         "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
2353         "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
2354         .expected_ss =
2355         "\x9a\x9c\x1c\xb7\x73\x2f\xf2\x12\xed\x59\x01\xbb\x75\xf7\xf5\xe4"
2356         "\xa0\xa8\xbc\x3f\x3f\xb6\xf7\x74\x6e\xc4\xba\x6d\x6c\x4d\x93\x31"
2357         "\x2b\xa7\xa4\xb3\x47\x8f\x77\x04\xb5\xa5\xab\xca\x6b\x5a\xe2\x86"
2358         "\x02\x60\xca\xb4\xd7\x5e\xe0\x0f\x73\xdd\xa2\x38\x7c\xae\x0f\x5a"
2359         "\x1a\xd7\xfd\xb6\xc8\x6f\xdd\xe0\x98\xd5\x07\xea\x1f\x2a\xbb\x9e"
2360         "\xef\x01\x24\x04\xee\xf5\x89\xb1\x12\x26\x54\x95\xef\xcb\x84\xe9"
2361         "\xae\x05\xef\x63\x25\x15\x65\x79\x79\x79\x91\xc3\x76\x72\xb4\x85"
2362         "\x86\xd9\xd3\x03\xb0\xff\x04\x96\x05\x3c\xde\xbf\x47\x34\x76\x70"
2363         "\x17\xd2\x24\x83\xb9\xbb\xcf\x70\x7c\xb8\xc6\x7b\x4e\x01\x86\x36"
2364         "\xc7\xc5\xe5\x8b\x7c\x69\x74\x9a\xfe\x1f\x58\x85\x0f\x00\xf8\x4e"
2365         "\xf1\x56\xdc\xd1\x11\x28\x2c\xcf\x6c\xb9\xc9\x57\x17\x2e\x19\x19"
2366         "\x55\xb3\x4c\xd8\xfb\xe7\x6f\x70\x63\xf9\x53\x45\xdd\xd5\x62\x95"
2367         "\xd3\x7d\x7e\xa0\x00\x1a\x62\x9f\x96\x0a\x5d\x0a\x25\x02\xbb\xff"
2368         "\x5a\xe8\x9e\x5a\x66\x08\x93\xbc\x92\xaf\xd2\x28\x04\x97\xc1\x54"
2369         "\xfe\xcc\x0a\x25\xa2\xf4\x1d\x5a\x9a\xb1\x3e\x9c\xba\x78\xe2\xcf"
2370         "\x71\x70\xe3\x40\xea\xba\x69\x9b\x03\xdd\x99\x26\x09\x84\x9d\x69"
2371         "\x4d\x3d\x0b\xe9\x3f\x51\xcd\x05\xe5\x00\xaf\x2c\xd3\xf6\xc0\x68"
2372         "\xb5\x23\x53\x33\x14\xbd\x39\x1c\xbd\x1b\xe6\x72\x90\xcc\xc2\x86"
2373         "\x1a\x42\x83\x55\xb3\xed\x0b\x62\x6d\x0e\xbb\x9e\x2a\x42\x32\x05"
2374         "\x3f\xf2\x2c\xc8\x9f\x3c\xd2\xb1\x0b\xb6\x4c\xa0\x22\x36\xee\xb9"
2375         "\x55\x23\x3e\x80\xc7\x28\x7c\x39\x11\xd3\x4a\x96\x2e\xef\x52\x34"
2376         "\xf2\xda\xb1\xc6\xf5\x02\x10\xbf\x56\x6b\x50\x56\xcd\x2c\xfe\xe1"
2377         "\x94\x14\x19\x24\x6e\x9a\xdf\x0c\xb8\xe2\xb8\xd5\xa3\xc1\x22\x8e"
2378         "\x84\x92\x00\x16\xf1\x3f\x83\xf6\x36\x31\xa5\x38\xc6\xcf\xf8\x9b"
2379         "\x03\xc7\x6f\xb9\xa1\x04\xdf\x20\x0f\x0b\x0f\x70\xff\x57\x36\x7f"
2380         "\xb3\x6b\xcb\x8f\x48\xf7\xb2\xdb\x85\x05\xd1\xfe\x34\x05\xf6\x57"
2381         "\xb4\x5b\xcc\x3f\x0e\xba\x36\x59\xb0\xfd\x4d\xf6\xf4\x5e\xd2\x65"
2382         "\x1d\x98\x87\xb4\x5e\xff\x29\xaa\x84\x9b\x44\x0f\x06\x36\x61\xbd"
2383         "\xdb\x51\xda\x56\xc2\xd6\x19\xe2\x57\x4f\xd0\x29\x71\xc8\xe4\xd6"
2384         "\xfb\x8c\xd0\xfc\x4f\x25\x09\xa6\xfc\x67\xe2\xb8\xac\xd3\x88\x8f"
2385         "\x1f\xf6\xa1\xe3\x45\xa6\x34\xe3\xb1\x6b\xb7\x37\x0e\x06\xc7\x63"
2386         "\xde\xac\x3b\xac\x07\x91\x64\xcc\x12\x10\x46\x85\x14\x0b\x6b\x03"
2387         "\xba\x4a\x85\xae\xc5\x8c\xa5\x9d\x36\x38\x33\xca\x42\x9c\x4b\x0c"
2388         "\x46\xe1\x77\xe9\x1f\x80\xfe\xb7\x1d\x5a\xf4\xc6\x11\x26\x78\xea"
2389         "\x81\x25\x77\x47\xed\x8b\x59\xc2\x6b\x49\xff\x83\x56\xec\xa5\xf0"
2390         "\xe0\x8b\x15\xd4\x99\x40\x2a\x65\x2a\x98\xf4\x71\x35\x63\x84\x08"
2391         "\x4d\xcd\x71\x85\x55\xbc\xa4\x1c\x90\x93\x03\x41\xde\xed\x78\x62"
2392         "\x07\x30\x50\xac\x60\x21\x06\xc3\xab\xa4\x04\xc0\xc2\x32\x07\xc4"
2393         "\x1f\x2f\xec\xe2\x32\xbf\xbe\x5e\x50\x5b\x2a\x19\x71\x44\x37\x76"
2394         "\x8b\xbc\xdb\x73\x98\x65\x78\xc9\x33\x97\x7e\xdc\x60\xa8\x87\xf2"
2395         "\xb5\x96\x55\x7f\x44\x07\xcb\x3b\xf3\xd7\x82\xfd\x77\x21\x82\x21"
2396         "\x1a\x8b\xa2\xf5\x1f\x66\xd0\x57\x00\x4f\xa9\xa5\x33\xb8\x69\x91"
2397         "\xe8\x2e\xf7\x73\x47\x89\x30\x9b\xb1\xfd\xe1\x5d\x11\xfd\x84\xd9"
2398         "\xa2\x91\x1f\x8a\xa7\x7a\x77\x8e\x3b\x10\x1d\x0a\x59\x50\x34\xb0"
2399         "\xc3\x90\x9f\x56\xb7\x43\xeb\x51\x99\x2b\x8e\x6d\x7b\x58\xe7\xc0"
2400         "\x7f\x3d\xa0\x27\x50\xf2\x6e\xc8\x1e\x7f\x84\xb3\xe1\xf7\x09\x85"
2401         "\xd2\x9b\x56\x6b\xba\xa5\x19\x2e\xec\xd8\x5c\xf5\x4e\x43\x36\x2e"
2402         "\x89\x85\x41\x7f\x9c\x91\x2e\x62\xc3\x41\xcf\x0e\xa1\x7f\xeb\x50",
2403         .secret_size = 784,
2404         .b_public_size = 768,
2405         .expected_a_public_size = 768,
2406         .expected_ss_size = 768,
2407         },
2408         {
2409         .secret =
2410 #ifdef __LITTLE_ENDIAN
2411         "\x01\x00" /* type */
2412         "\x10\x00" /* len */
2413         "\x00\x00\x00\x00" /* key_size */
2414         "\x00\x00\x00\x00" /* p_size */
2415         "\x00\x00\x00\x00", /* g_size */
2416 #else
2417         "\x00\x01" /* type */
2418         "\x00\x10" /* len */
2419         "\x00\x00\x00\x00" /* key_size */
2420         "\x00\x00\x00\x00" /* p_size */
2421         "\x00\x00\x00\x00", /* g_size */
2422 #endif
2423         .b_secret =
2424 #ifdef __LITTLE_ENDIAN
2425         "\x01\x00" /* type */
2426         "\x10\x03" /* len */
2427         "\x00\x03\x00\x00" /* key_size */
2428         "\x00\x00\x00\x00" /* p_size */
2429         "\x00\x00\x00\x00" /* g_size */
2430 #else
2431         "\x00\x01" /* type */
2432         "\x03\x10" /* len */
2433         "\x00\x00\x03\x00" /* key_size */
2434         "\x00\x00\x00\x00" /* p_size */
2435         "\x00\x00\x00\x00" /* g_size */
2436 #endif
2437         /* xa */
2438         "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
2439         "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
2440         "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
2441         "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
2442         "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
2443         "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
2444         "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
2445         "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
2446         "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
2447         "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
2448         "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
2449         "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
2450         "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
2451         "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
2452         "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
2453         "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
2454         "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
2455         "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
2456         "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
2457         "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
2458         "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
2459         "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
2460         "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
2461         "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
2462         "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
2463         "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
2464         "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
2465         "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
2466         "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
2467         "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
2468         "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
2469         "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
2470         "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
2471         "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
2472         "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
2473         "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
2474         "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
2475         "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
2476         "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
2477         "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
2478         "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
2479         "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
2480         "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
2481         "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
2482         "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
2483         "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
2484         "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
2485         "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
2486         .b_public =
2487         "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
2488         "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
2489         "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
2490         "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
2491         "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
2492         "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
2493         "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
2494         "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
2495         "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
2496         "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
2497         "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
2498         "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
2499         "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
2500         "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
2501         "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
2502         "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
2503         "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
2504         "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
2505         "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
2506         "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
2507         "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
2508         "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
2509         "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
2510         "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
2511         "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
2512         "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
2513         "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
2514         "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
2515         "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
2516         "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
2517         "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
2518         "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
2519         "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
2520         "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
2521         "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
2522         "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
2523         "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
2524         "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
2525         "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
2526         "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
2527         "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
2528         "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
2529         "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
2530         "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
2531         "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
2532         "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
2533         "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
2534         "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
2535         .secret_size = 16,
2536         .b_secret_size = 784,
2537         .b_public_size = 768,
2538         .expected_a_public_size = 768,
2539         .expected_ss_size = 768,
2540         .genkey = true,
2541         },
2542 };
2543
2544 static const struct kpp_testvec ffdhe8192_dh_tv_template[] __maybe_unused = {
2545         {
2546         .secret =
2547 #ifdef __LITTLE_ENDIAN
2548         "\x01\x00" /* type */
2549         "\x10\x04" /* len */
2550         "\x00\x04\x00\x00" /* key_size */
2551         "\x00\x00\x00\x00" /* p_size */
2552         "\x00\x00\x00\x00" /* g_size */
2553 #else
2554         "\x00\x01" /* type */
2555         "\x04\x10" /* len */
2556         "\x00\x00\x04\x00" /* key_size */
2557         "\x00\x00\x00\x00" /* p_size */
2558         "\x00\x00\x00\x00" /* g_size */
2559 #endif
2560         /* xa */
2561         "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
2562         "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
2563         "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
2564         "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
2565         "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
2566         "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
2567         "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
2568         "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
2569         "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
2570         "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
2571         "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
2572         "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
2573         "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
2574         "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
2575         "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
2576         "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
2577         "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
2578         "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
2579         "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
2580         "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
2581         "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
2582         "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
2583         "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
2584         "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
2585         "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
2586         "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
2587         "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
2588         "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
2589         "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
2590         "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
2591         "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
2592         "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
2593         "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
2594         "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
2595         "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
2596         "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
2597         "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
2598         "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
2599         "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
2600         "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
2601         "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
2602         "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
2603         "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
2604         "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
2605         "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
2606         "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
2607         "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
2608         "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
2609         "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
2610         "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
2611         "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
2612         "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
2613         "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
2614         "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
2615         "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
2616         "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
2617         "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
2618         "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
2619         "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
2620         "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
2621         "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
2622         "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
2623         "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
2624         "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
2625         .b_public =
2626         "\x26\xa8\x3a\x97\xe0\x52\x76\x07\x26\xa7\xbb\x21\xfd\xe5\x69\xde"
2627         "\xe6\xe0\xb5\xa0\xf1\xaa\x51\x2b\x56\x1c\x3c\x6c\xe5\x9f\x8f\x75"
2628         "\x71\x04\x86\xf6\x43\x2f\x20\x7f\x45\x4f\x5c\xb9\xf3\x90\xbe\xa9"
2629         "\xa0\xd7\xe8\x03\x0e\xfe\x99\x9b\x8a\x1c\xbe\xa7\x63\xe8\x2b\x45"
2630         "\xd4\x2c\x65\x25\x4c\x33\xda\xc5\x85\x77\x5d\x62\xea\x93\xe4\x45"
2631         "\x59\xff\xa1\xd2\xf1\x73\x11\xed\x02\x64\x8a\x1a\xfb\xe1\x88\xa6"
2632         "\x50\x6f\xff\x87\x12\xbb\xfc\x10\xcf\x19\x41\xb0\x35\x44\x7d\x51"
2633         "\xe9\xc0\x77\xf2\x73\x21\x2e\x62\xbf\x65\xa5\xd1\x3b\xb1\x3e\x19"
2634         "\x75\x4b\xb7\x8e\x03\xc3\xdf\xc8\xb2\xe6\xec\x2d\x7d\xa5\x6a\xba"
2635         "\x93\x47\x50\xeb\x6e\xdb\x88\x05\x45\xad\x03\x8c\xf7\x9a\xe1\xc9"
2636         "\x1e\x16\x96\x37\xa5\x3e\xe9\xb9\xa8\xdc\xb9\xa9\xf6\xa1\x3d\xed"
2637         "\xbe\x12\x29\x8a\x3d\x3d\x90\xfc\x94\xfe\x66\x28\x1c\x1b\xa4\x89"
2638         "\x47\x66\x4f\xac\x14\x00\x22\x2d\x5c\x03\xea\x71\x4d\x19\x7d\xd6"
2639         "\x58\x39\x4c\x3d\x06\x2b\x30\xa6\xdc\x2c\x8d\xd1\xde\x79\x77\xfa"
2640         "\x9c\x6b\x72\x11\x8a\x7f\x7d\x37\x28\x2a\x88\xbf\x0a\xdb\xac\x3b"
2641         "\xc5\xa5\xd5\x7e\x25\xec\xa6\x7f\x5b\x53\x75\x83\x49\xd4\x77\xcc"
2642         "\x7d\x7e\xd3\x3d\x30\x2c\x98\x3f\x18\x9a\x11\x8a\x37\xda\x99\x0f"
2643         "\x3b\x06\xe1\x87\xd5\xe9\x4e\xe0\x9c\x0e\x39\x34\xe2\xdd\xf6\x58"
2644         "\x60\x63\xa6\xea\xe8\xc0\xb4\xde\xdf\xa0\xbc\x21\xc3\x2d\xf4\xa4"
2645         "\xc8\x6f\x62\x6c\x0f\x71\x88\xf9\xda\x2d\x30\xd5\x95\xe1\xfc\x6d"
2646         "\x88\xc5\xc3\x95\x51\x83\xde\x41\x46\x6f\x7e\x1b\x10\x48\xad\x2b"
2647         "\x82\x88\xa2\x6f\x57\x4d\x4a\xbd\x90\xc8\x06\x8f\x52\x5d\x6e\xee"
2648         "\x09\xe6\xa3\xcb\x30\x9c\x14\xf6\xac\x66\x9b\x81\x0a\x75\x42\x6b"
2649         "\xab\x27\xec\x76\xfb\x8d\xc5\xbf\x0e\x93\x81\x7b\x81\xd4\x85\xa6"
2650         "\x90\x5a\xa6\xa2\x8b\xa9\xb7\x34\xe6\x15\x36\x93\x8b\xe2\x99\xc7"
2651         "\xad\x66\x7e\xd6\x89\xa9\xc8\x15\xcb\xc5\xeb\x06\x85\xd4\x2f\x6e"
2652         "\x9b\x95\x7a\x06\x6c\xfa\x31\x1d\xc4\xe5\x7d\xfb\x10\x35\x88\xc2"
2653         "\xbe\x1c\x16\x5d\xc2\xf4\x0d\xf3\xc9\x94\xb2\x7e\xa7\xbd\x9c\x03"
2654         "\x32\xaf\x8b\x1a\xc8\xcc\x82\xd8\x87\x96\x6e\x3d\xcc\x93\xd2\x43"
2655         "\x73\xf9\xde\xec\x49\x49\xf4\x56\x2a\xc8\x6e\x32\x70\x48\xf8\x70"
2656         "\xa3\x96\x31\xf4\xf2\x08\xc5\x12\xd2\xeb\xb6\xea\xa3\x07\x05\x61"
2657         "\x74\xa3\x04\x2f\x17\x82\x40\x5e\x4c\xd1\x51\xb8\x10\x5b\xc8\x9f"
2658         "\x87\x73\x80\x0d\x6f\xc6\xb9\xf6\x7c\x31\x0a\xcc\xd9\x03\x0f\x7a"
2659         "\x47\x69\xb1\x55\xab\xe9\xb5\x75\x62\x9e\x95\xbe\x7b\xa9\x53\x6e"
2660         "\x28\x73\xdc\xb3\xa4\x8a\x1c\x91\xf5\x8a\xf9\x32\x2b\xbd\xa5\xdc"
2661         "\x07\xb5\xaf\x49\xdb\x9c\x35\xc9\x69\xde\xac\xb1\xd0\x86\xcb\x31"
2662         "\x0b\xc4\x4f\x63\x4e\x70\xa7\x80\xe3\xbc\x0b\x73\x0e\xf2\x8c\x87"
2663         "\x88\x7b\xa9\x6d\xde\x8a\x73\x14\xb9\x80\x55\x03\x2b\x29\x64\x6a"
2664         "\xda\x48\x0e\x78\x07\x40\x48\x46\x58\xa9\x4e\x68\x1d\xd1\xc1\xc8"
2665         "\x3b\x35\x53\x61\xd5\xe3\x0d\x4c\x42\x74\x10\x67\x85\x9f\x66\x2a"
2666         "\xf7\x2b\x7b\x77\x8b\x6e\xda\x2c\xc1\x5a\x20\x34\x3f\xf5\x8b\x6f"
2667         "\xe4\x61\xf5\x58\xab\x72\x1a\xf1\x8d\x28\xcc\xa5\x30\x68\xb5\x50"
2668         "\x7b\x81\x43\x89\x8e\xa9\xac\x63\x3a\x4a\x78\x7b\xd2\x45\xe6\xe0"
2669         "\xdc\x5d\xf2\x1a\x2b\x54\x50\xa5\x9d\xf6\xe7\x9f\x25\xaf\x56\x6a"
2670         "\x84\x2a\x75\xa3\x9a\xc7\xfa\x94\xec\x83\xab\xa5\xaa\xe1\xf9\x89"
2671         "\x29\xa9\xf6\x53\x24\x24\xae\x4a\xe8\xbc\xe8\x9e\x5c\xd7\x54\x7c"
2672         "\x65\x20\x97\x28\x94\x76\xf9\x9e\x81\xcf\x98\x6a\x3a\x7b\xec\xf3"
2673         "\x09\x60\x2e\x43\x18\xb5\xf6\x8c\x44\x0f\xf2\x0a\x17\x5b\xac\x98"
2674         "\x30\xab\x6e\xd5\xb3\xef\x25\x68\x50\xb6\xe1\xc0\xe4\x5a\x63\x43"
2675         "\xea\xca\xda\x23\xc1\xc2\xe9\x30\xec\xb3\x9f\xbf\x1f\x09\x76\xaf"
2676         "\x65\xbc\xb5\xab\x30\xac\x0b\x05\xef\x5c\xa3\x65\x77\x33\x1c\xc5"
2677         "\xdf\xc9\x39\xab\xca\xf4\x3b\x88\x25\x6d\x50\x87\xb1\x79\xc2\x23"
2678         "\x9d\xb5\x21\x01\xaa\xa3\xb7\x61\xa3\x48\x91\x72\x3d\x54\x85\x86"
2679         "\x91\x81\x35\x78\xbf\x8f\x27\x57\xcb\x9b\x34\xab\x63\x40\xf1\xbc"
2680         "\x23\x5a\x26\x6a\xba\x57\xe2\x8f\x2a\xdc\x82\xe0\x3b\x7f\xec\xd3"
2681         "\xd8\x9d\xd3\x13\x54\x70\x64\xc3\xfd\xbf\xa3\x46\xa7\x53\x42\x7f"
2682         "\xc1\xbd\x7b\xb3\x13\x47\x2a\x45\x1e\x76\x2c\x0d\x6d\x46\x26\x24"
2683         "\xa8\xc7\x00\x2b\x10\x7f\x2a\x6c\xfc\x68\x4e\x6e\x85\x53\x00\xaf"
2684         "\xd5\xfb\x59\x64\xc7\x9b\x24\xd1\x05\xdc\x34\x53\x6d\x27\xa9\x79"
2685         "\xff\xd7\x5e\x7a\x40\x81\x8e\xc3\xf2\x38\xc9\x8d\x87\xb5\x38\xda"
2686         "\x43\x64\x1b\x59\x62\x88\xc1\x6e\x85\x84\x33\xcd\x6d\x7b\x62\x1d"
2687         "\x60\xf9\x98\xf7\xd1\xb1\xd4\xbe\x56\x6e\xa8\x6f\xff\xe7\x8b\x60"
2688         "\x53\x80\xc7\x7c\xe0\x78\x89\xa9\xab\x42\x8f\x8e\x4d\x92\xac\xa7"
2689         "\xfd\x47\x11\xc7\xdb\x7c\x77\xfb\xa4\x1d\x70\xaf\x56\x14\x52\xb0",
2690         .expected_a_public =
2691         "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
2692         "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
2693         "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
2694         "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
2695         "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
2696         "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
2697         "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
2698         "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
2699         "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
2700         "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
2701         "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
2702         "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
2703         "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
2704         "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
2705         "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
2706         "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
2707         "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
2708         "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
2709         "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
2710         "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
2711         "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
2712         "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
2713         "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
2714         "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
2715         "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
2716         "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
2717         "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
2718         "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
2719         "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
2720         "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
2721         "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
2722         "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
2723         "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
2724         "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
2725         "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
2726         "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
2727         "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
2728         "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
2729         "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
2730         "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
2731         "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
2732         "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
2733         "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
2734         "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
2735         "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
2736         "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
2737         "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
2738         "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
2739         "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
2740         "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
2741         "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
2742         "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
2743         "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
2744         "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
2745         "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
2746         "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
2747         "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
2748         "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
2749         "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
2750         "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
2751         "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
2752         "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
2753         "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
2754         "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
2755         .expected_ss =
2756         "\xf9\x55\x4f\x48\x38\x74\xb7\x46\xa3\xc4\x2e\x88\xf0\x34\xab\x1d"
2757         "\xcd\xa5\x58\xa7\x95\x88\x36\x62\x6f\x8a\xbd\xf2\xfb\x6f\x3e\xb9"
2758         "\x91\x65\x58\xef\x70\x2f\xd5\xc2\x97\x70\xcb\xce\x8b\x78\x1c\xe0"
2759         "\xb9\xfa\x77\x34\xd2\x4a\x19\x58\x11\xfd\x93\x84\x40\xc0\x8c\x19"
2760         "\x8b\x98\x50\x83\xba\xfb\xe2\xad\x8b\x81\x84\x63\x90\x41\x4b\xf8"
2761         "\xe8\x78\x86\x04\x09\x8d\x84\xd1\x43\xfd\xa3\x58\x21\x2a\x3b\xb1"
2762         "\xa2\x5b\x48\x74\x3c\xa9\x16\x34\x28\xf0\x8e\xde\xe2\xcf\x8e\x68"
2763         "\x53\xab\x65\x06\xb7\x86\xb1\x08\x4f\x73\x97\x00\x10\x95\xd1\x84"
2764         "\x72\xcf\x14\xdb\xff\xa7\x80\xd8\xe5\xf2\x2c\x89\x37\xb0\x81\x2c"
2765         "\xf5\xd6\x7d\x1b\xb0\xe2\x8e\x87\x32\x3d\x37\x6a\x79\xaa\xe7\x08"
2766         "\xc9\x67\x55\x5f\x1c\xae\xa6\xf5\xef\x79\x3a\xaf\x3f\x82\x14\xe2"
2767         "\xf3\x69\x91\xed\xb7\x9e\xc9\xde\xd0\x29\x70\xd9\xeb\x0f\xf5\xc7"
2768         "\xf6\x7c\xa7\x7f\xec\xed\xe1\xbd\x13\xe1\x43\xe4\x42\x30\xe3\x5f"
2769         "\xe0\xf3\x15\x55\x2f\x7a\x42\x17\x67\xcb\xc2\x4f\xd0\x85\xfc\x6c"
2770         "\xec\xe8\xfc\x25\x78\x4b\xe4\x0f\xd4\x3d\x78\x28\xd3\x53\x79\xcb"
2771         "\x2c\x82\x67\x9a\xdc\x32\x55\xd2\xda\xae\xd8\x61\xce\xd6\x59\x0b"
2772         "\xc5\x44\xeb\x08\x81\x8c\x65\xb2\xb7\xa6\xff\xf7\xbf\x99\xc6\x8a"
2773         "\xbe\xde\xc2\x17\x56\x05\x6e\xd2\xf1\x1e\xa2\x04\xeb\x02\x74\xaa"
2774         "\x04\xfc\xf0\x6b\xd4\xfc\xf0\x7a\x5f\xfe\xe2\x74\x7f\xeb\x9b\x6a"
2775         "\x8a\x09\x96\x5d\xe1\x91\xb6\x9e\x37\xd7\x63\xd7\xb3\x5c\xb5\xa3"
2776         "\x5f\x62\x00\xdf\xc5\xbf\x85\xba\xa7\xa9\xb6\x1f\x76\x78\x65\x01"
2777         "\xfe\x1d\x6c\xfe\x15\x9e\xf4\xb1\xbc\x8d\xad\x3c\xec\x69\x27\x57"
2778         "\xa4\x89\x77\x46\xe1\x49\xc7\x22\xde\x79\xe0\xf7\x3a\xa1\x59\x8b"
2779         "\x59\x71\xcc\xd6\x18\x24\xc1\x8a\x2f\xe3\xdf\xdd\x6c\xf7\x62\xaa"
2780         "\x15\xaa\x39\x37\x3b\xaf\x7d\x6e\x88\xeb\x19\xa8\xa0\x26\xd3\xaa"
2781         "\x2d\xcc\x5f\x56\x99\x86\xa9\xed\x4d\x02\x31\x40\x97\x70\x83\xa7"
2782         "\x08\x98\x7e\x49\x46\xd9\x75\xb5\x7a\x6a\x40\x69\xa0\x6d\xb2\x18"
2783         "\xc0\xad\x88\x05\x02\x95\x6f\xf7\x8f\xcb\xa2\xe4\x7b\xab\x4a\x0f"
2784         "\x9a\x1b\xef\xcc\xd1\x6a\x5d\x1e\x6a\x2a\x8b\x5b\x80\xbc\x5f\x38"
2785         "\xdd\xaf\xad\x44\x15\xb4\xaf\x26\x1c\x1a\x4d\xa7\x4b\xec\x88\x33"
2786         "\x24\x42\xb5\x0c\x9c\x56\xd4\xba\xa7\xb9\x65\xd5\x76\xb2\xbc\x16"
2787         "\x8e\xfa\x0c\x7a\xc0\xa2\x2c\x5a\x39\x56\x7d\xe6\xf8\xa9\xf4\x49"
2788         "\xd0\x50\xf2\x5e\x4b\x0a\x43\xe4\x9a\xbb\xea\x35\x28\x99\x84\x83"
2789         "\xec\xc1\xa0\x68\x15\x9a\x2b\x01\x04\x48\x09\x11\x1b\xb6\xa4\xd8"
2790         "\x03\xad\xb6\x4c\x9e\x1d\x90\xae\x88\x0f\x75\x95\x25\xa0\x27\x13"
2791         "\xb7\x4f\xe2\x3e\xd5\x59\x1a\x7c\xde\x95\x14\x28\xd1\xde\x84\xe4"
2792         "\x07\x7c\x5b\x06\xd6\xe6\x9c\x8a\xbe\xd2\xb4\x62\xd1\x67\x8a\x9c"
2793         "\xac\x4f\xfa\x70\xd6\xc8\xc0\xeb\x5e\xf6\x3e\xdc\x48\x8e\xce\x3f"
2794         "\x92\x3e\x60\x77\x63\x60\x6b\x76\x04\xa5\xba\xc9\xab\x92\x4e\x0d"
2795         "\xdc\xca\x82\x44\x5f\x3a\x42\xeb\x01\xe7\xe0\x33\xb3\x32\xaf\x4b"
2796         "\x81\x35\x2d\xb6\x57\x15\xfe\x52\xc7\x54\x2e\x41\x3b\x22\x6b\x12"
2797         "\x72\xdb\x5c\x66\xd0\xb6\xb4\xfe\x90\xc0\x20\x34\x95\xf9\xe4\xc7"
2798         "\x7e\x71\x89\x4f\x6f\xfb\x2a\xf3\xdf\x3f\xe3\xcf\x0e\x1a\xd9\xf2"
2799         "\xc1\x02\x67\x5d\xdc\xf1\x7d\xe8\xcf\x64\x77\x4d\x12\x03\x77\x2c"
2800         "\xfb\xe1\x59\xf7\x2c\x96\x9c\xaf\x46\x9c\xc7\x67\xcf\xee\x94\x50"
2801         "\xc7\xa1\x23\xe6\x9f\x4d\x73\x92\xad\xf9\x4a\xce\xdb\x44\xd5\xe3"
2802         "\x17\x05\x37\xdb\x9c\x6c\xc5\x7e\xb7\xd4\x11\x4a\x8c\x51\x03\xaa"
2803         "\x73\x4b\x16\xd9\x79\xf5\xf1\x67\x20\x9b\x25\xe5\x41\x52\x59\x06"
2804         "\x8b\xf2\x23\x2f\x6e\xea\xf3\x24\x0a\x94\xbb\xb8\x7e\xd9\x23\x4a"
2805         "\x9f\x1f\xe1\x13\xb5\xfe\x85\x2f\x4c\xbe\x6a\x66\x02\x1d\x90\xd2"
2806         "\x01\x25\x8a\xfd\x78\x3a\x28\xb8\x18\xc1\x38\x16\x21\x6b\xb4\xf9"
2807         "\x64\x0f\xf1\x73\xc4\x5c\xd1\x41\xf2\xfe\xe7\x26\xad\x79\x12\x75"
2808         "\x49\x48\xdb\x21\x71\x35\xf7\xb7\x46\x5a\xa1\x81\x25\x47\x31\xea"
2809         "\x1d\x76\xbb\x32\x5a\x90\xb0\x42\x1a\x47\xe8\x0c\x82\x92\x43\x1c"
2810         "\x0b\xdd\xe5\x25\xce\xd3\x06\xcc\x59\x5a\xc9\xa0\x01\xac\x29\x12"
2811         "\x31\x2e\x3d\x1a\xed\x3b\xf3\xa7\xef\x52\xc2\x0d\x18\x1f\x03\x28"
2812         "\xc9\x2b\x38\x61\xa4\x01\xc9\x3c\x11\x08\x14\xd4\xe5\x31\xe9\x3c"
2813         "\x1d\xad\xf8\x76\xc4\x84\x9f\xea\x16\x61\x3d\x6d\xa3\x32\x31\xcd"
2814         "\x1c\xca\xb8\x74\xc2\x45\xf3\x01\x9c\x7a\xaf\xfd\xe7\x1e\x5a\x18"
2815         "\xb1\x9d\xbb\x7a\x2d\x34\x40\x17\x49\xad\x1f\xeb\x2d\xa2\x26\xb8"
2816         "\x16\x28\x4b\x72\xdd\xd0\x8d\x85\x4c\xdd\xf8\x57\x48\xd5\x1d\xfb"
2817         "\xbd\xec\x11\x5d\x1e\x9c\x26\x81\xbf\xf1\x16\x12\x32\xc3\xf3\x07"
2818         "\x0e\x6e\x7f\x17\xec\xfb\xf4\x5d\xe2\xb1\xca\x97\xca\x46\x20\x2d"
2819         "\x09\x85\x19\x25\x89\xa8\x9b\x51\x74\xae\xc9\x1b\x4c\xb6\x80\x62",
2820         .secret_size = 1040,
2821         .b_public_size = 1024,
2822         .expected_a_public_size = 1024,
2823         .expected_ss_size = 1024,
2824         },
2825         {
2826         .secret =
2827 #ifdef __LITTLE_ENDIAN
2828         "\x01\x00" /* type */
2829         "\x10\x00" /* len */
2830         "\x00\x00\x00\x00" /* key_size */
2831         "\x00\x00\x00\x00" /* p_size */
2832         "\x00\x00\x00\x00", /* g_size */
2833 #else
2834         "\x00\x01" /* type */
2835         "\x00\x10" /* len */
2836         "\x00\x00\x00\x00" /* key_size */
2837         "\x00\x00\x00\x00" /* p_size */
2838         "\x00\x00\x00\x00", /* g_size */
2839 #endif
2840         .b_secret =
2841 #ifdef __LITTLE_ENDIAN
2842         "\x01\x00" /* type */
2843         "\x10\x04" /* len */
2844         "\x00\x04\x00\x00" /* key_size */
2845         "\x00\x00\x00\x00" /* p_size */
2846         "\x00\x00\x00\x00" /* g_size */
2847 #else
2848         "\x00\x01" /* type */
2849         "\x04\x10" /* len */
2850         "\x00\x00\x04\x00" /* key_size */
2851         "\x00\x00\x00\x00" /* p_size */
2852         "\x00\x00\x00\x00" /* g_size */
2853 #endif
2854         /* xa */
2855         "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
2856         "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
2857         "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
2858         "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
2859         "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
2860         "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
2861         "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
2862         "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
2863         "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
2864         "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
2865         "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
2866         "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
2867         "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
2868         "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
2869         "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
2870         "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
2871         "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
2872         "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
2873         "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
2874         "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
2875         "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
2876         "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
2877         "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
2878         "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
2879         "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
2880         "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
2881         "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
2882         "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
2883         "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
2884         "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
2885         "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
2886         "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
2887         "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
2888         "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
2889         "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
2890         "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
2891         "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
2892         "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
2893         "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
2894         "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
2895         "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
2896         "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
2897         "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
2898         "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
2899         "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
2900         "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
2901         "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
2902         "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
2903         "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
2904         "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
2905         "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
2906         "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
2907         "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
2908         "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
2909         "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
2910         "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
2911         "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
2912         "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
2913         "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
2914         "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
2915         "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
2916         "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
2917         "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
2918         "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
2919         .b_public =
2920         "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
2921         "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
2922         "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
2923         "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
2924         "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
2925         "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
2926         "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
2927         "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
2928         "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
2929         "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
2930         "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
2931         "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
2932         "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
2933         "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
2934         "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
2935         "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
2936         "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
2937         "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
2938         "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
2939         "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
2940         "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
2941         "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
2942         "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
2943         "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
2944         "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
2945         "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
2946         "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
2947         "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
2948         "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
2949         "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
2950         "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
2951         "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
2952         "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
2953         "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
2954         "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
2955         "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
2956         "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
2957         "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
2958         "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
2959         "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
2960         "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
2961         "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
2962         "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
2963         "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
2964         "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
2965         "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
2966         "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
2967         "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
2968         "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
2969         "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
2970         "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
2971         "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
2972         "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
2973         "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
2974         "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
2975         "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
2976         "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
2977         "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
2978         "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
2979         "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
2980         "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
2981         "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
2982         "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
2983         "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
2984         .secret_size = 16,
2985         .b_secret_size = 1040,
2986         .b_public_size = 1024,
2987         .expected_a_public_size = 1024,
2988         .expected_ss_size = 1024,
2989         .genkey = true,
2990         },
2991 };
2992
2993 static const struct kpp_testvec curve25519_tv_template[] = {
2994 {
2995         .secret = (u8[32]){ 0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d,
2996                      0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66, 0x45,
2997                      0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a,
2998                      0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x2a },
2999         .b_public = (u8[32]){ 0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4,
3000                     0xd3, 0x5b, 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37,
3001                     0x3f, 0x83, 0x43, 0xc8, 0x5b, 0x78, 0x67, 0x4d,
3002                     0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b, 0x4f },
3003         .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
3004                     0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
3005                     0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
3006                     0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
3007         .secret_size = 32,
3008         .b_public_size = 32,
3009         .expected_ss_size = 32,
3010
3011 },
3012 {
3013         .secret = (u8[32]){ 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, 0x4b,
3014                      0x79, 0xe1, 0x7f, 0x8b, 0x83, 0x80, 0x0e, 0xe6,
3015                      0x6f, 0x3b, 0xb1, 0x29, 0x26, 0x18, 0xb6, 0xfd,
3016                      0x1c, 0x2f, 0x8b, 0x27, 0xff, 0x88, 0xe0, 0xeb },
3017         .b_public = (u8[32]){ 0x85, 0x20, 0xf0, 0x09, 0x89, 0x30, 0xa7, 0x54,
3018                     0x74, 0x8b, 0x7d, 0xdc, 0xb4, 0x3e, 0xf7, 0x5a,
3019                     0x0d, 0xbf, 0x3a, 0x0d, 0x26, 0x38, 0x1a, 0xf4,
3020                     0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a },
3021         .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
3022                     0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
3023                     0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
3024                     0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
3025         .secret_size = 32,
3026         .b_public_size = 32,
3027         .expected_ss_size = 32,
3028
3029 },
3030 {
3031         .secret = (u8[32]){ 1 },
3032         .b_public = (u8[32]){ 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3033                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3034                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3035                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3036         .expected_ss = (u8[32]){ 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64,
3037                     0x41, 0x60, 0x77, 0x66, 0x5b, 0x4e, 0x22, 0x9d,
3038                     0x0b, 0x95, 0x48, 0xdc, 0x0c, 0xd8, 0x19, 0x98,
3039                     0xdd, 0xcd, 0xc5, 0xc8, 0x53, 0x3c, 0x79, 0x7f },
3040         .secret_size = 32,
3041         .b_public_size = 32,
3042         .expected_ss_size = 32,
3043
3044 },
3045 {
3046         .secret = (u8[32]){ 1 },
3047         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3048                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3049                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3050                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3051         .expected_ss = (u8[32]){ 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f,
3052                     0xe6, 0x26, 0x19, 0xcf, 0xf0, 0x4d, 0xd4, 0x3d,
3053                     0xb7, 0x3f, 0xfc, 0x1b, 0x63, 0x08, 0xed, 0xe3,
3054                     0x0b, 0x78, 0xd8, 0x73, 0x80, 0xf1, 0xe8, 0x34 },
3055         .secret_size = 32,
3056         .b_public_size = 32,
3057         .expected_ss_size = 32,
3058
3059 },
3060 {
3061         .secret = (u8[32]){ 0xa5, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
3062                      0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
3063                      0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
3064                      0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0xc4 },
3065         .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
3066                     0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
3067                     0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
3068                     0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
3069         .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
3070                     0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
3071                     0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
3072                     0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
3073         .secret_size = 32,
3074         .b_public_size = 32,
3075         .expected_ss_size = 32,
3076
3077 },
3078 {
3079         .secret = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x0a, 0xff, 0xff, 0xff,
3080                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3081                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3082                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3083         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3084                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3085                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3086                     0xff, 0xff, 0xff, 0xff, 0x0a, 0x00, 0xfb, 0x9f },
3087         .expected_ss = (u8[32]){ 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2,
3088                     0xc6, 0x93, 0x46, 0x83, 0x81, 0x7c, 0xc6, 0x57,
3089                     0xf3, 0x31, 0x03, 0x19, 0x49, 0x48, 0x20, 0x05,
3090                     0x42, 0x2b, 0x4e, 0xae, 0x8d, 0x1d, 0x43, 0x23 },
3091         .secret_size = 32,
3092         .b_public_size = 32,
3093         .expected_ss_size = 32,
3094
3095 },
3096 {
3097         .secret = (u8[32]){ 0x8e, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3098                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3099                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3100                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3101         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3102                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3103                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3104                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x06 },
3105         .expected_ss = (u8[32]){ 0x5a, 0xdf, 0xaa, 0x25, 0x86, 0x8e, 0x32, 0x3d,
3106                     0xae, 0x49, 0x62, 0xc1, 0x01, 0x5c, 0xb3, 0x12,
3107                     0xe1, 0xc5, 0xc7, 0x9e, 0x95, 0x3f, 0x03, 0x99,
3108                     0xb0, 0xba, 0x16, 0x22, 0xf3, 0xb6, 0xf7, 0x0c },
3109         .secret_size = 32,
3110         .b_public_size = 32,
3111         .expected_ss_size = 32,
3112
3113 },
3114 /* wycheproof - normal case */
3115 {
3116         .secret = (u8[32]){ 0x48, 0x52, 0x83, 0x4d, 0x9d, 0x6b, 0x77, 0xda,
3117                      0xde, 0xab, 0xaa, 0xf2, 0xe1, 0x1d, 0xca, 0x66,
3118                      0xd1, 0x9f, 0xe7, 0x49, 0x93, 0xa7, 0xbe, 0xc3,
3119                      0x6c, 0x6e, 0x16, 0xa0, 0x98, 0x3f, 0xea, 0xba },
3120         .b_public = (u8[32]){ 0x9c, 0x64, 0x7d, 0x9a, 0xe5, 0x89, 0xb9, 0xf5,
3121                     0x8f, 0xdc, 0x3c, 0xa4, 0x94, 0x7e, 0xfb, 0xc9,
3122                     0x15, 0xc4, 0xb2, 0xe0, 0x8e, 0x74, 0x4a, 0x0e,
3123                     0xdf, 0x46, 0x9d, 0xac, 0x59, 0xc8, 0xf8, 0x5a },
3124         .expected_ss = (u8[32]){ 0x87, 0xb7, 0xf2, 0x12, 0xb6, 0x27, 0xf7, 0xa5,
3125                     0x4c, 0xa5, 0xe0, 0xbc, 0xda, 0xdd, 0xd5, 0x38,
3126                     0x9d, 0x9d, 0xe6, 0x15, 0x6c, 0xdb, 0xcf, 0x8e,
3127                     0xbe, 0x14, 0xff, 0xbc, 0xfb, 0x43, 0x65, 0x51 },
3128         .secret_size = 32,
3129         .b_public_size = 32,
3130         .expected_ss_size = 32,
3131
3132 },
3133 /* wycheproof - public key on twist */
3134 {
3135         .secret = (u8[32]){ 0x58, 0x8c, 0x06, 0x1a, 0x50, 0x80, 0x4a, 0xc4,
3136                      0x88, 0xad, 0x77, 0x4a, 0xc7, 0x16, 0xc3, 0xf5,
3137                      0xba, 0x71, 0x4b, 0x27, 0x12, 0xe0, 0x48, 0x49,
3138                      0x13, 0x79, 0xa5, 0x00, 0x21, 0x19, 0x98, 0xa8 },
3139         .b_public = (u8[32]){ 0x63, 0xaa, 0x40, 0xc6, 0xe3, 0x83, 0x46, 0xc5,
3140                     0xca, 0xf2, 0x3a, 0x6d, 0xf0, 0xa5, 0xe6, 0xc8,
3141                     0x08, 0x89, 0xa0, 0x86, 0x47, 0xe5, 0x51, 0xb3,
3142                     0x56, 0x34, 0x49, 0xbe, 0xfc, 0xfc, 0x97, 0x33 },
3143         .expected_ss = (u8[32]){ 0xb1, 0xa7, 0x07, 0x51, 0x94, 0x95, 0xff, 0xff,
3144                     0xb2, 0x98, 0xff, 0x94, 0x17, 0x16, 0xb0, 0x6d,
3145                     0xfa, 0xb8, 0x7c, 0xf8, 0xd9, 0x11, 0x23, 0xfe,
3146                     0x2b, 0xe9, 0xa2, 0x33, 0xdd, 0xa2, 0x22, 0x12 },
3147         .secret_size = 32,
3148         .b_public_size = 32,
3149         .expected_ss_size = 32,
3150
3151 },
3152 /* wycheproof - public key on twist */
3153 {
3154         .secret = (u8[32]){ 0xb0, 0x5b, 0xfd, 0x32, 0xe5, 0x53, 0x25, 0xd9,
3155                      0xfd, 0x64, 0x8c, 0xb3, 0x02, 0x84, 0x80, 0x39,
3156                      0x00, 0x0b, 0x39, 0x0e, 0x44, 0xd5, 0x21, 0xe5,
3157                      0x8a, 0xab, 0x3b, 0x29, 0xa6, 0x96, 0x0b, 0xa8 },
3158         .b_public = (u8[32]){ 0x0f, 0x83, 0xc3, 0x6f, 0xde, 0xd9, 0xd3, 0x2f,
3159                     0xad, 0xf4, 0xef, 0xa3, 0xae, 0x93, 0xa9, 0x0b,
3160                     0xb5, 0xcf, 0xa6, 0x68, 0x93, 0xbc, 0x41, 0x2c,
3161                     0x43, 0xfa, 0x72, 0x87, 0xdb, 0xb9, 0x97, 0x79 },
3162         .expected_ss = (u8[32]){ 0x67, 0xdd, 0x4a, 0x6e, 0x16, 0x55, 0x33, 0x53,
3163                     0x4c, 0x0e, 0x3f, 0x17, 0x2e, 0x4a, 0xb8, 0x57,
3164                     0x6b, 0xca, 0x92, 0x3a, 0x5f, 0x07, 0xb2, 0xc0,
3165                     0x69, 0xb4, 0xc3, 0x10, 0xff, 0x2e, 0x93, 0x5b },
3166         .secret_size = 32,
3167         .b_public_size = 32,
3168         .expected_ss_size = 32,
3169
3170 },
3171 /* wycheproof - public key on twist */
3172 {
3173         .secret = (u8[32]){ 0x70, 0xe3, 0x4b, 0xcb, 0xe1, 0xf4, 0x7f, 0xbc,
3174                      0x0f, 0xdd, 0xfd, 0x7c, 0x1e, 0x1a, 0xa5, 0x3d,
3175                      0x57, 0xbf, 0xe0, 0xf6, 0x6d, 0x24, 0x30, 0x67,
3176                      0xb4, 0x24, 0xbb, 0x62, 0x10, 0xbe, 0xd1, 0x9c },
3177         .b_public = (u8[32]){ 0x0b, 0x82, 0x11, 0xa2, 0xb6, 0x04, 0x90, 0x97,
3178                     0xf6, 0x87, 0x1c, 0x6c, 0x05, 0x2d, 0x3c, 0x5f,
3179                     0xc1, 0xba, 0x17, 0xda, 0x9e, 0x32, 0xae, 0x45,
3180                     0x84, 0x03, 0xb0, 0x5b, 0xb2, 0x83, 0x09, 0x2a },
3181         .expected_ss = (u8[32]){ 0x4a, 0x06, 0x38, 0xcf, 0xaa, 0x9e, 0xf1, 0x93,
3182                     0x3b, 0x47, 0xf8, 0x93, 0x92, 0x96, 0xa6, 0xb2,
3183                     0x5b, 0xe5, 0x41, 0xef, 0x7f, 0x70, 0xe8, 0x44,
3184                     0xc0, 0xbc, 0xc0, 0x0b, 0x13, 0x4d, 0xe6, 0x4a },
3185         .secret_size = 32,
3186         .b_public_size = 32,
3187         .expected_ss_size = 32,
3188
3189 },
3190 /* wycheproof - public key on twist */
3191 {
3192         .secret = (u8[32]){ 0x68, 0xc1, 0xf3, 0xa6, 0x53, 0xa4, 0xcd, 0xb1,
3193                      0xd3, 0x7b, 0xba, 0x94, 0x73, 0x8f, 0x8b, 0x95,
3194                      0x7a, 0x57, 0xbe, 0xb2, 0x4d, 0x64, 0x6e, 0x99,
3195                      0x4d, 0xc2, 0x9a, 0x27, 0x6a, 0xad, 0x45, 0x8d },
3196         .b_public = (u8[32]){ 0x34, 0x3a, 0xc2, 0x0a, 0x3b, 0x9c, 0x6a, 0x27,
3197                     0xb1, 0x00, 0x81, 0x76, 0x50, 0x9a, 0xd3, 0x07,
3198                     0x35, 0x85, 0x6e, 0xc1, 0xc8, 0xd8, 0xfc, 0xae,
3199                     0x13, 0x91, 0x2d, 0x08, 0xd1, 0x52, 0xf4, 0x6c },
3200         .expected_ss = (u8[32]){ 0x39, 0x94, 0x91, 0xfc, 0xe8, 0xdf, 0xab, 0x73,
3201                     0xb4, 0xf9, 0xf6, 0x11, 0xde, 0x8e, 0xa0, 0xb2,
3202                     0x7b, 0x28, 0xf8, 0x59, 0x94, 0x25, 0x0b, 0x0f,
3203                     0x47, 0x5d, 0x58, 0x5d, 0x04, 0x2a, 0xc2, 0x07 },
3204         .secret_size = 32,
3205         .b_public_size = 32,
3206         .expected_ss_size = 32,
3207
3208 },
3209 /* wycheproof - public key on twist */
3210 {
3211         .secret = (u8[32]){ 0xd8, 0x77, 0xb2, 0x6d, 0x06, 0xdf, 0xf9, 0xd9,
3212                      0xf7, 0xfd, 0x4c, 0x5b, 0x37, 0x69, 0xf8, 0xcd,
3213                      0xd5, 0xb3, 0x05, 0x16, 0xa5, 0xab, 0x80, 0x6b,
3214                      0xe3, 0x24, 0xff, 0x3e, 0xb6, 0x9e, 0xa0, 0xb2 },
3215         .b_public = (u8[32]){ 0xfa, 0x69, 0x5f, 0xc7, 0xbe, 0x8d, 0x1b, 0xe5,
3216                     0xbf, 0x70, 0x48, 0x98, 0xf3, 0x88, 0xc4, 0x52,
3217                     0xba, 0xfd, 0xd3, 0xb8, 0xea, 0xe8, 0x05, 0xf8,
3218                     0x68, 0x1a, 0x8d, 0x15, 0xc2, 0xd4, 0xe1, 0x42 },
3219         .expected_ss = (u8[32]){ 0x2c, 0x4f, 0xe1, 0x1d, 0x49, 0x0a, 0x53, 0x86,
3220                     0x17, 0x76, 0xb1, 0x3b, 0x43, 0x54, 0xab, 0xd4,
3221                     0xcf, 0x5a, 0x97, 0x69, 0x9d, 0xb6, 0xe6, 0xc6,
3222                     0x8c, 0x16, 0x26, 0xd0, 0x76, 0x62, 0xf7, 0x58 },
3223         .secret_size = 32,
3224         .b_public_size = 32,
3225         .expected_ss_size = 32,
3226
3227 },
3228 /* wycheproof - edge case on twist */
3229 {
3230         .secret = (u8[32]){ 0x38, 0xdd, 0xe9, 0xf3, 0xe7, 0xb7, 0x99, 0x04,
3231                      0x5f, 0x9a, 0xc3, 0x79, 0x3d, 0x4a, 0x92, 0x77,
3232                      0xda, 0xde, 0xad, 0xc4, 0x1b, 0xec, 0x02, 0x90,
3233                      0xf8, 0x1f, 0x74, 0x4f, 0x73, 0x77, 0x5f, 0x84 },
3234         .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3235                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3236                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3237                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3238         .expected_ss = (u8[32]){ 0x9a, 0x2c, 0xfe, 0x84, 0xff, 0x9c, 0x4a, 0x97,
3239                     0x39, 0x62, 0x5c, 0xae, 0x4a, 0x3b, 0x82, 0xa9,
3240                     0x06, 0x87, 0x7a, 0x44, 0x19, 0x46, 0xf8, 0xd7,
3241                     0xb3, 0xd7, 0x95, 0xfe, 0x8f, 0x5d, 0x16, 0x39 },
3242         .secret_size = 32,
3243         .b_public_size = 32,
3244         .expected_ss_size = 32,
3245
3246 },
3247 /* wycheproof - edge case on twist */
3248 {
3249         .secret = (u8[32]){ 0x98, 0x57, 0xa9, 0x14, 0xe3, 0xc2, 0x90, 0x36,
3250                      0xfd, 0x9a, 0x44, 0x2b, 0xa5, 0x26, 0xb5, 0xcd,
3251                      0xcd, 0xf2, 0x82, 0x16, 0x15, 0x3e, 0x63, 0x6c,
3252                      0x10, 0x67, 0x7a, 0xca, 0xb6, 0xbd, 0x6a, 0xa5 },
3253         .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3254                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3255                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3256                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3257         .expected_ss = (u8[32]){ 0x4d, 0xa4, 0xe0, 0xaa, 0x07, 0x2c, 0x23, 0x2e,
3258                     0xe2, 0xf0, 0xfa, 0x4e, 0x51, 0x9a, 0xe5, 0x0b,
3259                     0x52, 0xc1, 0xed, 0xd0, 0x8a, 0x53, 0x4d, 0x4e,
3260                     0xf3, 0x46, 0xc2, 0xe1, 0x06, 0xd2, 0x1d, 0x60 },
3261         .secret_size = 32,
3262         .b_public_size = 32,
3263         .expected_ss_size = 32,
3264
3265 },
3266 /* wycheproof - edge case on twist */
3267 {
3268         .secret = (u8[32]){ 0x48, 0xe2, 0x13, 0x0d, 0x72, 0x33, 0x05, 0xed,
3269                      0x05, 0xe6, 0xe5, 0x89, 0x4d, 0x39, 0x8a, 0x5e,
3270                      0x33, 0x36, 0x7a, 0x8c, 0x6a, 0xac, 0x8f, 0xcd,
3271                      0xf0, 0xa8, 0x8e, 0x4b, 0x42, 0x82, 0x0d, 0xb7 },
3272         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0x03, 0x00, 0x00, 0xf8, 0xff,
3273                     0xff, 0x1f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0xff,
3274                     0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x07, 0x00,
3275                     0x00, 0xf0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00 },
3276         .expected_ss = (u8[32]){ 0x9e, 0xd1, 0x0c, 0x53, 0x74, 0x7f, 0x64, 0x7f,
3277                     0x82, 0xf4, 0x51, 0x25, 0xd3, 0xde, 0x15, 0xa1,
3278                     0xe6, 0xb8, 0x24, 0x49, 0x6a, 0xb4, 0x04, 0x10,
3279                     0xff, 0xcc, 0x3c, 0xfe, 0x95, 0x76, 0x0f, 0x3b },
3280         .secret_size = 32,
3281         .b_public_size = 32,
3282         .expected_ss_size = 32,
3283
3284 },
3285 /* wycheproof - edge case on twist */
3286 {
3287         .secret = (u8[32]){ 0x28, 0xf4, 0x10, 0x11, 0x69, 0x18, 0x51, 0xb3,
3288                      0xa6, 0x2b, 0x64, 0x15, 0x53, 0xb3, 0x0d, 0x0d,
3289                      0xfd, 0xdc, 0xb8, 0xff, 0xfc, 0xf5, 0x37, 0x00,
3290                      0xa7, 0xbe, 0x2f, 0x6a, 0x87, 0x2e, 0x9f, 0xb0 },
3291         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x07, 0x00,
3292                     0x00, 0xe0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00,
3293                     0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0xf8, 0xff,
3294                     0xff, 0x0f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x7f },
3295         .expected_ss = (u8[32]){ 0xcf, 0x72, 0xb4, 0xaa, 0x6a, 0xa1, 0xc9, 0xf8,
3296                     0x94, 0xf4, 0x16, 0x5b, 0x86, 0x10, 0x9a, 0xa4,
3297                     0x68, 0x51, 0x76, 0x48, 0xe1, 0xf0, 0xcc, 0x70,
3298                     0xe1, 0xab, 0x08, 0x46, 0x01, 0x76, 0x50, 0x6b },
3299         .secret_size = 32,
3300         .b_public_size = 32,
3301         .expected_ss_size = 32,
3302
3303 },
3304 /* wycheproof - edge case on twist */
3305 {
3306         .secret = (u8[32]){ 0x18, 0xa9, 0x3b, 0x64, 0x99, 0xb9, 0xf6, 0xb3,
3307                      0x22, 0x5c, 0xa0, 0x2f, 0xef, 0x41, 0x0e, 0x0a,
3308                      0xde, 0xc2, 0x35, 0x32, 0x32, 0x1d, 0x2d, 0x8e,
3309                      0xf1, 0xa6, 0xd6, 0x02, 0xa8, 0xc6, 0x5b, 0x83 },
3310         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
3311                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
3312                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
3313                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x7f },
3314         .expected_ss = (u8[32]){ 0x5d, 0x50, 0xb6, 0x28, 0x36, 0xbb, 0x69, 0x57,
3315                     0x94, 0x10, 0x38, 0x6c, 0xf7, 0xbb, 0x81, 0x1c,
3316                     0x14, 0xbf, 0x85, 0xb1, 0xc7, 0xb1, 0x7e, 0x59,
3317                     0x24, 0xc7, 0xff, 0xea, 0x91, 0xef, 0x9e, 0x12 },
3318         .secret_size = 32,
3319         .b_public_size = 32,
3320         .expected_ss_size = 32,
3321
3322 },
3323 /* wycheproof - edge case on twist */
3324 {
3325         .secret = (u8[32]){ 0xc0, 0x1d, 0x13, 0x05, 0xa1, 0x33, 0x8a, 0x1f,
3326                      0xca, 0xc2, 0xba, 0x7e, 0x2e, 0x03, 0x2b, 0x42,
3327                      0x7e, 0x0b, 0x04, 0x90, 0x31, 0x65, 0xac, 0xa9,
3328                      0x57, 0xd8, 0xd0, 0x55, 0x3d, 0x87, 0x17, 0xb0 },
3329         .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3330                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3331                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3332                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3333         .expected_ss = (u8[32]){ 0x19, 0x23, 0x0e, 0xb1, 0x48, 0xd5, 0xd6, 0x7c,
3334                     0x3c, 0x22, 0xab, 0x1d, 0xae, 0xff, 0x80, 0xa5,
3335                     0x7e, 0xae, 0x42, 0x65, 0xce, 0x28, 0x72, 0x65,
3336                     0x7b, 0x2c, 0x80, 0x99, 0xfc, 0x69, 0x8e, 0x50 },
3337         .secret_size = 32,
3338         .b_public_size = 32,
3339         .expected_ss_size = 32,
3340
3341 },
3342 /* wycheproof - edge case for public key */
3343 {
3344         .secret = (u8[32]){ 0x38, 0x6f, 0x7f, 0x16, 0xc5, 0x07, 0x31, 0xd6,
3345                      0x4f, 0x82, 0xe6, 0xa1, 0x70, 0xb1, 0x42, 0xa4,
3346                      0xe3, 0x4f, 0x31, 0xfd, 0x77, 0x68, 0xfc, 0xb8,
3347                      0x90, 0x29, 0x25, 0xe7, 0xd1, 0xe2, 0x1a, 0xbe },
3348         .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3349                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3350                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3351                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3352         .expected_ss = (u8[32]){ 0x0f, 0xca, 0xb5, 0xd8, 0x42, 0xa0, 0x78, 0xd7,
3353                     0xa7, 0x1f, 0xc5, 0x9b, 0x57, 0xbf, 0xb4, 0xca,
3354                     0x0b, 0xe6, 0x87, 0x3b, 0x49, 0xdc, 0xdb, 0x9f,
3355                     0x44, 0xe1, 0x4a, 0xe8, 0xfb, 0xdf, 0xa5, 0x42 },
3356         .secret_size = 32,
3357         .b_public_size = 32,
3358         .expected_ss_size = 32,
3359
3360 },
3361 /* wycheproof - edge case for public key */
3362 {
3363         .secret = (u8[32]){ 0xe0, 0x23, 0xa2, 0x89, 0xbd, 0x5e, 0x90, 0xfa,
3364                      0x28, 0x04, 0xdd, 0xc0, 0x19, 0xa0, 0x5e, 0xf3,
3365                      0xe7, 0x9d, 0x43, 0x4b, 0xb6, 0xea, 0x2f, 0x52,
3366                      0x2e, 0xcb, 0x64, 0x3a, 0x75, 0x29, 0x6e, 0x95 },
3367         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
3368                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
3369                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
3370                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 },
3371         .expected_ss = (u8[32]){ 0x54, 0xce, 0x8f, 0x22, 0x75, 0xc0, 0x77, 0xe3,
3372                     0xb1, 0x30, 0x6a, 0x39, 0x39, 0xc5, 0xe0, 0x3e,
3373                     0xef, 0x6b, 0xbb, 0x88, 0x06, 0x05, 0x44, 0x75,
3374                     0x8d, 0x9f, 0xef, 0x59, 0xb0, 0xbc, 0x3e, 0x4f },
3375         .secret_size = 32,
3376         .b_public_size = 32,
3377         .expected_ss_size = 32,
3378
3379 },
3380 /* wycheproof - edge case for public key */
3381 {
3382         .secret = (u8[32]){ 0x68, 0xf0, 0x10, 0xd6, 0x2e, 0xe8, 0xd9, 0x26,
3383                      0x05, 0x3a, 0x36, 0x1c, 0x3a, 0x75, 0xc6, 0xea,
3384                      0x4e, 0xbd, 0xc8, 0x60, 0x6a, 0xb2, 0x85, 0x00,
3385                      0x3a, 0x6f, 0x8f, 0x40, 0x76, 0xb0, 0x1e, 0x83 },
3386         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3387                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3388                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3389                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
3390         .expected_ss = (u8[32]){ 0xf1, 0x36, 0x77, 0x5c, 0x5b, 0xeb, 0x0a, 0xf8,
3391                     0x11, 0x0a, 0xf1, 0x0b, 0x20, 0x37, 0x23, 0x32,
3392                     0x04, 0x3c, 0xab, 0x75, 0x24, 0x19, 0x67, 0x87,
3393                     0x75, 0xa2, 0x23, 0xdf, 0x57, 0xc9, 0xd3, 0x0d },
3394         .secret_size = 32,
3395         .b_public_size = 32,
3396         .expected_ss_size = 32,
3397
3398 },
3399 /* wycheproof - edge case for public key */
3400 {
3401         .secret = (u8[32]){ 0x58, 0xeb, 0xcb, 0x35, 0xb0, 0xf8, 0x84, 0x5c,
3402                      0xaf, 0x1e, 0xc6, 0x30, 0xf9, 0x65, 0x76, 0xb6,
3403                      0x2c, 0x4b, 0x7b, 0x6c, 0x36, 0xb2, 0x9d, 0xeb,
3404                      0x2c, 0xb0, 0x08, 0x46, 0x51, 0x75, 0x5c, 0x96 },
3405         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff,
3406                     0xff, 0xdf, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff,
3407                     0xfe, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xf7, 0xff,
3408                     0xff, 0xf7, 0xff, 0xff, 0xbf, 0xff, 0xff, 0x3f },
3409         .expected_ss = (u8[32]){ 0xbf, 0x9a, 0xff, 0xd0, 0x6b, 0x84, 0x40, 0x85,
3410                     0x58, 0x64, 0x60, 0x96, 0x2e, 0xf2, 0x14, 0x6f,
3411                     0xf3, 0xd4, 0x53, 0x3d, 0x94, 0x44, 0xaa, 0xb0,
3412                     0x06, 0xeb, 0x88, 0xcc, 0x30, 0x54, 0x40, 0x7d },
3413         .secret_size = 32,
3414         .b_public_size = 32,
3415         .expected_ss_size = 32,
3416
3417 },
3418 /* wycheproof - edge case for public key */
3419 {
3420         .secret = (u8[32]){ 0x18, 0x8c, 0x4b, 0xc5, 0xb9, 0xc4, 0x4b, 0x38,
3421                      0xbb, 0x65, 0x8b, 0x9b, 0x2a, 0xe8, 0x2d, 0x5b,
3422                      0x01, 0x01, 0x5e, 0x09, 0x31, 0x84, 0xb1, 0x7c,
3423                      0xb7, 0x86, 0x35, 0x03, 0xa7, 0x83, 0xe1, 0xbb },
3424         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3425                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3426                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3427                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3428         .expected_ss = (u8[32]){ 0xd4, 0x80, 0xde, 0x04, 0xf6, 0x99, 0xcb, 0x3b,
3429                     0xe0, 0x68, 0x4a, 0x9c, 0xc2, 0xe3, 0x12, 0x81,
3430                     0xea, 0x0b, 0xc5, 0xa9, 0xdc, 0xc1, 0x57, 0xd3,
3431                     0xd2, 0x01, 0x58, 0xd4, 0x6c, 0xa5, 0x24, 0x6d },
3432         .secret_size = 32,
3433         .b_public_size = 32,
3434         .expected_ss_size = 32,
3435
3436 },
3437 /* wycheproof - edge case for public key */
3438 {
3439         .secret = (u8[32]){ 0xe0, 0x6c, 0x11, 0xbb, 0x2e, 0x13, 0xce, 0x3d,
3440                      0xc7, 0x67, 0x3f, 0x67, 0xf5, 0x48, 0x22, 0x42,
3441                      0x90, 0x94, 0x23, 0xa9, 0xae, 0x95, 0xee, 0x98,
3442                      0x6a, 0x98, 0x8d, 0x98, 0xfa, 0xee, 0x23, 0xa2 },
3443         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
3444                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
3445                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
3446                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f },
3447         .expected_ss = (u8[32]){ 0x4c, 0x44, 0x01, 0xcc, 0xe6, 0xb5, 0x1e, 0x4c,
3448                     0xb1, 0x8f, 0x27, 0x90, 0x24, 0x6c, 0x9b, 0xf9,
3449                     0x14, 0xdb, 0x66, 0x77, 0x50, 0xa1, 0xcb, 0x89,
3450                     0x06, 0x90, 0x92, 0xaf, 0x07, 0x29, 0x22, 0x76 },
3451         .secret_size = 32,
3452         .b_public_size = 32,
3453         .expected_ss_size = 32,
3454
3455 },
3456 /* wycheproof - edge case for public key */
3457 {
3458         .secret = (u8[32]){ 0xc0, 0x65, 0x8c, 0x46, 0xdd, 0xe1, 0x81, 0x29,
3459                      0x29, 0x38, 0x77, 0x53, 0x5b, 0x11, 0x62, 0xb6,
3460                      0xf9, 0xf5, 0x41, 0x4a, 0x23, 0xcf, 0x4d, 0x2c,
3461                      0xbc, 0x14, 0x0a, 0x4d, 0x99, 0xda, 0x2b, 0x8f },
3462         .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3463                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3464                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3465                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3466         .expected_ss = (u8[32]){ 0x57, 0x8b, 0xa8, 0xcc, 0x2d, 0xbd, 0xc5, 0x75,
3467                     0xaf, 0xcf, 0x9d, 0xf2, 0xb3, 0xee, 0x61, 0x89,
3468                     0xf5, 0x33, 0x7d, 0x68, 0x54, 0xc7, 0x9b, 0x4c,
3469                     0xe1, 0x65, 0xea, 0x12, 0x29, 0x3b, 0x3a, 0x0f },
3470         .secret_size = 32,
3471         .b_public_size = 32,
3472         .expected_ss_size = 32,
3473
3474 },
3475 /* wycheproof - public key >= p */
3476 {
3477         .secret = (u8[32]){ 0xf0, 0x1e, 0x48, 0xda, 0xfa, 0xc9, 0xd7, 0xbc,
3478                      0xf5, 0x89, 0xcb, 0xc3, 0x82, 0xc8, 0x78, 0xd1,
3479                      0x8b, 0xda, 0x35, 0x50, 0x58, 0x9f, 0xfb, 0x5d,
3480                      0x50, 0xb5, 0x23, 0xbe, 0xbe, 0x32, 0x9d, 0xae },
3481         .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3482                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3483                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3484                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3485         .expected_ss = (u8[32]){ 0xbd, 0x36, 0xa0, 0x79, 0x0e, 0xb8, 0x83, 0x09,
3486                     0x8c, 0x98, 0x8b, 0x21, 0x78, 0x67, 0x73, 0xde,
3487                     0x0b, 0x3a, 0x4d, 0xf1, 0x62, 0x28, 0x2c, 0xf1,
3488                     0x10, 0xde, 0x18, 0xdd, 0x48, 0x4c, 0xe7, 0x4b },
3489         .secret_size = 32,
3490         .b_public_size = 32,
3491         .expected_ss_size = 32,
3492
3493 },
3494 /* wycheproof - public key >= p */
3495 {
3496         .secret = (u8[32]){ 0x28, 0x87, 0x96, 0xbc, 0x5a, 0xff, 0x4b, 0x81,
3497                      0xa3, 0x75, 0x01, 0x75, 0x7b, 0xc0, 0x75, 0x3a,
3498                      0x3c, 0x21, 0x96, 0x47, 0x90, 0xd3, 0x86, 0x99,
3499                      0x30, 0x8d, 0xeb, 0xc1, 0x7a, 0x6e, 0xaf, 0x8d },
3500         .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3501                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3502                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3503                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3504         .expected_ss = (u8[32]){ 0xb4, 0xe0, 0xdd, 0x76, 0xda, 0x7b, 0x07, 0x17,
3505                     0x28, 0xb6, 0x1f, 0x85, 0x67, 0x71, 0xaa, 0x35,
3506                     0x6e, 0x57, 0xed, 0xa7, 0x8a, 0x5b, 0x16, 0x55,
3507                     0xcc, 0x38, 0x20, 0xfb, 0x5f, 0x85, 0x4c, 0x5c },
3508         .secret_size = 32,
3509         .b_public_size = 32,
3510         .expected_ss_size = 32,
3511
3512 },
3513 /* wycheproof - public key >= p */
3514 {
3515         .secret = (u8[32]){ 0x98, 0xdf, 0x84, 0x5f, 0x66, 0x51, 0xbf, 0x11,
3516                      0x38, 0x22, 0x1f, 0x11, 0x90, 0x41, 0xf7, 0x2b,
3517                      0x6d, 0xbc, 0x3c, 0x4a, 0xce, 0x71, 0x43, 0xd9,
3518                      0x9f, 0xd5, 0x5a, 0xd8, 0x67, 0x48, 0x0d, 0xa8 },
3519         .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3520                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3521                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3522                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3523         .expected_ss = (u8[32]){ 0x6f, 0xdf, 0x6c, 0x37, 0x61, 0x1d, 0xbd, 0x53,
3524                     0x04, 0xdc, 0x0f, 0x2e, 0xb7, 0xc9, 0x51, 0x7e,
3525                     0xb3, 0xc5, 0x0e, 0x12, 0xfd, 0x05, 0x0a, 0xc6,
3526                     0xde, 0xc2, 0x70, 0x71, 0xd4, 0xbf, 0xc0, 0x34 },
3527         .secret_size = 32,
3528         .b_public_size = 32,
3529         .expected_ss_size = 32,
3530
3531 },
3532 /* wycheproof - public key >= p */
3533 {
3534         .secret = (u8[32]){ 0xf0, 0x94, 0x98, 0xe4, 0x6f, 0x02, 0xf8, 0x78,
3535                      0x82, 0x9e, 0x78, 0xb8, 0x03, 0xd3, 0x16, 0xa2,
3536                      0xed, 0x69, 0x5d, 0x04, 0x98, 0xa0, 0x8a, 0xbd,
3537                      0xf8, 0x27, 0x69, 0x30, 0xe2, 0x4e, 0xdc, 0xb0 },
3538         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3539                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3540                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3541                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3542         .expected_ss = (u8[32]){ 0x4c, 0x8f, 0xc4, 0xb1, 0xc6, 0xab, 0x88, 0xfb,
3543                     0x21, 0xf1, 0x8f, 0x6d, 0x4c, 0x81, 0x02, 0x40,
3544                     0xd4, 0xe9, 0x46, 0x51, 0xba, 0x44, 0xf7, 0xa2,
3545                     0xc8, 0x63, 0xce, 0xc7, 0xdc, 0x56, 0x60, 0x2d },
3546         .secret_size = 32,
3547         .b_public_size = 32,
3548         .expected_ss_size = 32,
3549
3550 },
3551 /* wycheproof - public key >= p */
3552 {
3553         .secret = (u8[32]){ 0x18, 0x13, 0xc1, 0x0a, 0x5c, 0x7f, 0x21, 0xf9,
3554                      0x6e, 0x17, 0xf2, 0x88, 0xc0, 0xcc, 0x37, 0x60,
3555                      0x7c, 0x04, 0xc5, 0xf5, 0xae, 0xa2, 0xdb, 0x13,
3556                      0x4f, 0x9e, 0x2f, 0xfc, 0x66, 0xbd, 0x9d, 0xb8 },
3557         .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3558                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3559                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3560                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
3561         .expected_ss = (u8[32]){ 0x1c, 0xd0, 0xb2, 0x82, 0x67, 0xdc, 0x54, 0x1c,
3562                     0x64, 0x2d, 0x6d, 0x7d, 0xca, 0x44, 0xa8, 0xb3,
3563                     0x8a, 0x63, 0x73, 0x6e, 0xef, 0x5c, 0x4e, 0x65,
3564                     0x01, 0xff, 0xbb, 0xb1, 0x78, 0x0c, 0x03, 0x3c },
3565         .secret_size = 32,
3566         .b_public_size = 32,
3567         .expected_ss_size = 32,
3568
3569 },
3570 /* wycheproof - public key >= p */
3571 {
3572         .secret = (u8[32]){ 0x78, 0x57, 0xfb, 0x80, 0x86, 0x53, 0x64, 0x5a,
3573                      0x0b, 0xeb, 0x13, 0x8a, 0x64, 0xf5, 0xf4, 0xd7,
3574                      0x33, 0xa4, 0x5e, 0xa8, 0x4c, 0x3c, 0xda, 0x11,
3575                      0xa9, 0xc0, 0x6f, 0x7e, 0x71, 0x39, 0x14, 0x9e },
3576         .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3577                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3578                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3579                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
3580         .expected_ss = (u8[32]){ 0x87, 0x55, 0xbe, 0x01, 0xc6, 0x0a, 0x7e, 0x82,
3581                     0x5c, 0xff, 0x3e, 0x0e, 0x78, 0xcb, 0x3a, 0xa4,
3582                     0x33, 0x38, 0x61, 0x51, 0x6a, 0xa5, 0x9b, 0x1c,
3583                     0x51, 0xa8, 0xb2, 0xa5, 0x43, 0xdf, 0xa8, 0x22 },
3584         .secret_size = 32,
3585         .b_public_size = 32,
3586         .expected_ss_size = 32,
3587
3588 },
3589 /* wycheproof - public key >= p */
3590 {
3591         .secret = (u8[32]){ 0xe0, 0x3a, 0xa8, 0x42, 0xe2, 0xab, 0xc5, 0x6e,
3592                      0x81, 0xe8, 0x7b, 0x8b, 0x9f, 0x41, 0x7b, 0x2a,
3593                      0x1e, 0x59, 0x13, 0xc7, 0x23, 0xee, 0xd2, 0x8d,
3594                      0x75, 0x2f, 0x8d, 0x47, 0xa5, 0x9f, 0x49, 0x8f },
3595         .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3596                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3597                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3598                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
3599         .expected_ss = (u8[32]){ 0x54, 0xc9, 0xa1, 0xed, 0x95, 0xe5, 0x46, 0xd2,
3600                     0x78, 0x22, 0xa3, 0x60, 0x93, 0x1d, 0xda, 0x60,
3601                     0xa1, 0xdf, 0x04, 0x9d, 0xa6, 0xf9, 0x04, 0x25,
3602                     0x3c, 0x06, 0x12, 0xbb, 0xdc, 0x08, 0x74, 0x76 },
3603         .secret_size = 32,
3604         .b_public_size = 32,
3605         .expected_ss_size = 32,
3606
3607 },
3608 /* wycheproof - public key >= p */
3609 {
3610         .secret = (u8[32]){ 0xf8, 0xf7, 0x07, 0xb7, 0x99, 0x9b, 0x18, 0xcb,
3611                      0x0d, 0x6b, 0x96, 0x12, 0x4f, 0x20, 0x45, 0x97,
3612                      0x2c, 0xa2, 0x74, 0xbf, 0xc1, 0x54, 0xad, 0x0c,
3613                      0x87, 0x03, 0x8c, 0x24, 0xc6, 0xd0, 0xd4, 0xb2 },
3614         .b_public = (u8[32]){ 0xda, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3615                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3616                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3617                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3618         .expected_ss = (u8[32]){ 0xcc, 0x1f, 0x40, 0xd7, 0x43, 0xcd, 0xc2, 0x23,
3619                     0x0e, 0x10, 0x43, 0xda, 0xba, 0x8b, 0x75, 0xe8,
3620                     0x10, 0xf1, 0xfb, 0xab, 0x7f, 0x25, 0x52, 0x69,
3621                     0xbd, 0x9e, 0xbb, 0x29, 0xe6, 0xbf, 0x49, 0x4f },
3622         .secret_size = 32,
3623         .b_public_size = 32,
3624         .expected_ss_size = 32,
3625
3626 },
3627 /* wycheproof - public key >= p */
3628 {
3629         .secret = (u8[32]){ 0xa0, 0x34, 0xf6, 0x84, 0xfa, 0x63, 0x1e, 0x1a,
3630                      0x34, 0x81, 0x18, 0xc1, 0xce, 0x4c, 0x98, 0x23,
3631                      0x1f, 0x2d, 0x9e, 0xec, 0x9b, 0xa5, 0x36, 0x5b,
3632                      0x4a, 0x05, 0xd6, 0x9a, 0x78, 0x5b, 0x07, 0x96 },
3633         .b_public = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3634                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3635                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3636                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3637         .expected_ss = (u8[32]){ 0x54, 0x99, 0x8e, 0xe4, 0x3a, 0x5b, 0x00, 0x7b,
3638                     0xf4, 0x99, 0xf0, 0x78, 0xe7, 0x36, 0x52, 0x44,
3639                     0x00, 0xa8, 0xb5, 0xc7, 0xe9, 0xb9, 0xb4, 0x37,
3640                     0x71, 0x74, 0x8c, 0x7c, 0xdf, 0x88, 0x04, 0x12 },
3641         .secret_size = 32,
3642         .b_public_size = 32,
3643         .expected_ss_size = 32,
3644
3645 },
3646 /* wycheproof - public key >= p */
3647 {
3648         .secret = (u8[32]){ 0x30, 0xb6, 0xc6, 0xa0, 0xf2, 0xff, 0xa6, 0x80,
3649                      0x76, 0x8f, 0x99, 0x2b, 0xa8, 0x9e, 0x15, 0x2d,
3650                      0x5b, 0xc9, 0x89, 0x3d, 0x38, 0xc9, 0x11, 0x9b,
3651                      0xe4, 0xf7, 0x67, 0xbf, 0xab, 0x6e, 0x0c, 0xa5 },
3652         .b_public = (u8[32]){ 0xdc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3653                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3654                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3655                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3656         .expected_ss = (u8[32]){ 0xea, 0xd9, 0xb3, 0x8e, 0xfd, 0xd7, 0x23, 0x63,
3657                     0x79, 0x34, 0xe5, 0x5a, 0xb7, 0x17, 0xa7, 0xae,
3658                     0x09, 0xeb, 0x86, 0xa2, 0x1d, 0xc3, 0x6a, 0x3f,
3659                     0xee, 0xb8, 0x8b, 0x75, 0x9e, 0x39, 0x1e, 0x09 },
3660         .secret_size = 32,
3661         .b_public_size = 32,
3662         .expected_ss_size = 32,
3663
3664 },
3665 /* wycheproof - public key >= p */
3666 {
3667         .secret = (u8[32]){ 0x90, 0x1b, 0x9d, 0xcf, 0x88, 0x1e, 0x01, 0xe0,
3668                      0x27, 0x57, 0x50, 0x35, 0xd4, 0x0b, 0x43, 0xbd,
3669                      0xc1, 0xc5, 0x24, 0x2e, 0x03, 0x08, 0x47, 0x49,
3670                      0x5b, 0x0c, 0x72, 0x86, 0x46, 0x9b, 0x65, 0x91 },
3671         .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3672                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3673                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3674                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3675         .expected_ss = (u8[32]){ 0x60, 0x2f, 0xf4, 0x07, 0x89, 0xb5, 0x4b, 0x41,
3676                     0x80, 0x59, 0x15, 0xfe, 0x2a, 0x62, 0x21, 0xf0,
3677                     0x7a, 0x50, 0xff, 0xc2, 0xc3, 0xfc, 0x94, 0xcf,
3678                     0x61, 0xf1, 0x3d, 0x79, 0x04, 0xe8, 0x8e, 0x0e },
3679         .secret_size = 32,
3680         .b_public_size = 32,
3681         .expected_ss_size = 32,
3682
3683 },
3684 /* wycheproof - public key >= p */
3685 {
3686         .secret = (u8[32]){ 0x80, 0x46, 0x67, 0x7c, 0x28, 0xfd, 0x82, 0xc9,
3687                      0xa1, 0xbd, 0xb7, 0x1a, 0x1a, 0x1a, 0x34, 0xfa,
3688                      0xba, 0x12, 0x25, 0xe2, 0x50, 0x7f, 0xe3, 0xf5,
3689                      0x4d, 0x10, 0xbd, 0x5b, 0x0d, 0x86, 0x5f, 0x8e },
3690         .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3691                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3692                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3693                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3694         .expected_ss = (u8[32]){ 0xe0, 0x0a, 0xe8, 0xb1, 0x43, 0x47, 0x12, 0x47,
3695                     0xba, 0x24, 0xf1, 0x2c, 0x88, 0x55, 0x36, 0xc3,
3696                     0xcb, 0x98, 0x1b, 0x58, 0xe1, 0xe5, 0x6b, 0x2b,
3697                     0xaf, 0x35, 0xc1, 0x2a, 0xe1, 0xf7, 0x9c, 0x26 },
3698         .secret_size = 32,
3699         .b_public_size = 32,
3700         .expected_ss_size = 32,
3701
3702 },
3703 /* wycheproof - public key >= p */
3704 {
3705         .secret = (u8[32]){ 0x60, 0x2f, 0x7e, 0x2f, 0x68, 0xa8, 0x46, 0xb8,
3706                      0x2c, 0xc2, 0x69, 0xb1, 0xd4, 0x8e, 0x93, 0x98,
3707                      0x86, 0xae, 0x54, 0xfd, 0x63, 0x6c, 0x1f, 0xe0,
3708                      0x74, 0xd7, 0x10, 0x12, 0x7d, 0x47, 0x24, 0x91 },
3709         .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3710                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3711                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3712                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3713         .expected_ss = (u8[32]){ 0x98, 0xcb, 0x9b, 0x50, 0xdd, 0x3f, 0xc2, 0xb0,
3714                     0xd4, 0xf2, 0xd2, 0xbf, 0x7c, 0x5c, 0xfd, 0xd1,
3715                     0x0c, 0x8f, 0xcd, 0x31, 0xfc, 0x40, 0xaf, 0x1a,
3716                     0xd4, 0x4f, 0x47, 0xc1, 0x31, 0x37, 0x63, 0x62 },
3717         .secret_size = 32,
3718         .b_public_size = 32,
3719         .expected_ss_size = 32,
3720
3721 },
3722 /* wycheproof - public key >= p */
3723 {
3724         .secret = (u8[32]){ 0x60, 0x88, 0x7b, 0x3d, 0xc7, 0x24, 0x43, 0x02,
3725                      0x6e, 0xbe, 0xdb, 0xbb, 0xb7, 0x06, 0x65, 0xf4,
3726                      0x2b, 0x87, 0xad, 0xd1, 0x44, 0x0e, 0x77, 0x68,
3727                      0xfb, 0xd7, 0xe8, 0xe2, 0xce, 0x5f, 0x63, 0x9d },
3728         .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3729                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3730                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3731                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3732         .expected_ss = (u8[32]){ 0x38, 0xd6, 0x30, 0x4c, 0x4a, 0x7e, 0x6d, 0x9f,
3733                     0x79, 0x59, 0x33, 0x4f, 0xb5, 0x24, 0x5b, 0xd2,
3734                     0xc7, 0x54, 0x52, 0x5d, 0x4c, 0x91, 0xdb, 0x95,
3735                     0x02, 0x06, 0x92, 0x62, 0x34, 0xc1, 0xf6, 0x33 },
3736         .secret_size = 32,
3737         .b_public_size = 32,
3738         .expected_ss_size = 32,
3739
3740 },
3741 /* wycheproof - public key >= p */
3742 {
3743         .secret = (u8[32]){ 0x78, 0xd3, 0x1d, 0xfa, 0x85, 0x44, 0x97, 0xd7,
3744                      0x2d, 0x8d, 0xef, 0x8a, 0x1b, 0x7f, 0xb0, 0x06,
3745                      0xce, 0xc2, 0xd8, 0xc4, 0x92, 0x46, 0x47, 0xc9,
3746                      0x38, 0x14, 0xae, 0x56, 0xfa, 0xed, 0xa4, 0x95 },
3747         .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3748                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3749                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3750                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3751         .expected_ss = (u8[32]){ 0x78, 0x6c, 0xd5, 0x49, 0x96, 0xf0, 0x14, 0xa5,
3752                     0xa0, 0x31, 0xec, 0x14, 0xdb, 0x81, 0x2e, 0xd0,
3753                     0x83, 0x55, 0x06, 0x1f, 0xdb, 0x5d, 0xe6, 0x80,
3754                     0xa8, 0x00, 0xac, 0x52, 0x1f, 0x31, 0x8e, 0x23 },
3755         .secret_size = 32,
3756         .b_public_size = 32,
3757         .expected_ss_size = 32,
3758
3759 },
3760 /* wycheproof - public key >= p */
3761 {
3762         .secret = (u8[32]){ 0xc0, 0x4c, 0x5b, 0xae, 0xfa, 0x83, 0x02, 0xdd,
3763                      0xde, 0xd6, 0xa4, 0xbb, 0x95, 0x77, 0x61, 0xb4,
3764                      0xeb, 0x97, 0xae, 0xfa, 0x4f, 0xc3, 0xb8, 0x04,
3765                      0x30, 0x85, 0xf9, 0x6a, 0x56, 0x59, 0xb3, 0xa5 },
3766         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3767                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3768                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3769                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3770         .expected_ss = (u8[32]){ 0x29, 0xae, 0x8b, 0xc7, 0x3e, 0x9b, 0x10, 0xa0,
3771                     0x8b, 0x4f, 0x68, 0x1c, 0x43, 0xc3, 0xe0, 0xac,
3772                     0x1a, 0x17, 0x1d, 0x31, 0xb3, 0x8f, 0x1a, 0x48,
3773                     0xef, 0xba, 0x29, 0xae, 0x63, 0x9e, 0xa1, 0x34 },
3774         .secret_size = 32,
3775         .b_public_size = 32,
3776         .expected_ss_size = 32,
3777
3778 },
3779 /* wycheproof - RFC 7748 */
3780 {
3781         .secret = (u8[32]){ 0xa0, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
3782                      0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
3783                      0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
3784                      0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0x44 },
3785         .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
3786                     0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
3787                     0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
3788                     0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
3789         .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
3790                     0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
3791                     0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
3792                     0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
3793         .secret_size = 32,
3794         .b_public_size = 32,
3795         .expected_ss_size = 32,
3796
3797 },
3798 /* wycheproof - RFC 7748 */
3799 {
3800         .secret = (u8[32]){ 0x48, 0x66, 0xe9, 0xd4, 0xd1, 0xb4, 0x67, 0x3c,
3801                      0x5a, 0xd2, 0x26, 0x91, 0x95, 0x7d, 0x6a, 0xf5,
3802                      0xc1, 0x1b, 0x64, 0x21, 0xe0, 0xea, 0x01, 0xd4,
3803                      0x2c, 0xa4, 0x16, 0x9e, 0x79, 0x18, 0xba, 0x4d },
3804         .b_public = (u8[32]){ 0xe5, 0x21, 0x0f, 0x12, 0x78, 0x68, 0x11, 0xd3,
3805                     0xf4, 0xb7, 0x95, 0x9d, 0x05, 0x38, 0xae, 0x2c,
3806                     0x31, 0xdb, 0xe7, 0x10, 0x6f, 0xc0, 0x3c, 0x3e,
3807                     0xfc, 0x4c, 0xd5, 0x49, 0xc7, 0x15, 0xa4, 0x13 },
3808         .expected_ss = (u8[32]){ 0x95, 0xcb, 0xde, 0x94, 0x76, 0xe8, 0x90, 0x7d,
3809                     0x7a, 0xad, 0xe4, 0x5c, 0xb4, 0xb8, 0x73, 0xf8,
3810                     0x8b, 0x59, 0x5a, 0x68, 0x79, 0x9f, 0xa1, 0x52,
3811                     0xe6, 0xf8, 0xf7, 0x64, 0x7a, 0xac, 0x79, 0x57 },
3812         .secret_size = 32,
3813         .b_public_size = 32,
3814         .expected_ss_size = 32,
3815
3816 },
3817 /* wycheproof - edge case for shared secret */
3818 {
3819         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3820                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3821                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3822                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3823         .b_public = (u8[32]){ 0x0a, 0xb4, 0xe7, 0x63, 0x80, 0xd8, 0x4d, 0xde,
3824                     0x4f, 0x68, 0x33, 0xc5, 0x8f, 0x2a, 0x9f, 0xb8,
3825                     0xf8, 0x3b, 0xb0, 0x16, 0x9b, 0x17, 0x2b, 0xe4,
3826                     0xb6, 0xe0, 0x59, 0x28, 0x87, 0x74, 0x1a, 0x36 },
3827         .expected_ss = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3828                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3829                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3830                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3831         .secret_size = 32,
3832         .b_public_size = 32,
3833         .expected_ss_size = 32,
3834
3835 },
3836 /* wycheproof - edge case for shared secret */
3837 {
3838         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3839                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3840                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3841                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3842         .b_public = (u8[32]){ 0x89, 0xe1, 0x0d, 0x57, 0x01, 0xb4, 0x33, 0x7d,
3843                     0x2d, 0x03, 0x21, 0x81, 0x53, 0x8b, 0x10, 0x64,
3844                     0xbd, 0x40, 0x84, 0x40, 0x1c, 0xec, 0xa1, 0xfd,
3845                     0x12, 0x66, 0x3a, 0x19, 0x59, 0x38, 0x80, 0x00 },
3846         .expected_ss = (u8[32]){ 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3847                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3848                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3849                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3850         .secret_size = 32,
3851         .b_public_size = 32,
3852         .expected_ss_size = 32,
3853
3854 },
3855 /* wycheproof - edge case for shared secret */
3856 {
3857         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3858                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3859                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3860                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3861         .b_public = (u8[32]){ 0x2b, 0x55, 0xd3, 0xaa, 0x4a, 0x8f, 0x80, 0xc8,
3862                     0xc0, 0xb2, 0xae, 0x5f, 0x93, 0x3e, 0x85, 0xaf,
3863                     0x49, 0xbe, 0xac, 0x36, 0xc2, 0xfa, 0x73, 0x94,
3864                     0xba, 0xb7, 0x6c, 0x89, 0x33, 0xf8, 0xf8, 0x1d },
3865         .expected_ss = (u8[32]){ 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3866                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3867                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3868                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3869         .secret_size = 32,
3870         .b_public_size = 32,
3871         .expected_ss_size = 32,
3872
3873 },
3874 /* wycheproof - edge case for shared secret */
3875 {
3876         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3877                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3878                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3879                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3880         .b_public = (u8[32]){ 0x63, 0xe5, 0xb1, 0xfe, 0x96, 0x01, 0xfe, 0x84,
3881                     0x38, 0x5d, 0x88, 0x66, 0xb0, 0x42, 0x12, 0x62,
3882                     0xf7, 0x8f, 0xbf, 0xa5, 0xaf, 0xf9, 0x58, 0x5e,
3883                     0x62, 0x66, 0x79, 0xb1, 0x85, 0x47, 0xd9, 0x59 },
3884         .expected_ss = (u8[32]){ 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3885                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3886                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3887                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3888         .secret_size = 32,
3889         .b_public_size = 32,
3890         .expected_ss_size = 32,
3891
3892 },
3893 /* wycheproof - edge case for shared secret */
3894 {
3895         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3896                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3897                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3898                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3899         .b_public = (u8[32]){ 0xe4, 0x28, 0xf3, 0xda, 0xc1, 0x78, 0x09, 0xf8,
3900                     0x27, 0xa5, 0x22, 0xce, 0x32, 0x35, 0x50, 0x58,
3901                     0xd0, 0x73, 0x69, 0x36, 0x4a, 0xa7, 0x89, 0x02,
3902                     0xee, 0x10, 0x13, 0x9b, 0x9f, 0x9d, 0xd6, 0x53 },
3903         .expected_ss = (u8[32]){ 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3904                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3905                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3906                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3907         .secret_size = 32,
3908         .b_public_size = 32,
3909         .expected_ss_size = 32,
3910
3911 },
3912 /* wycheproof - edge case for shared secret */
3913 {
3914         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3915                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3916                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3917                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3918         .b_public = (u8[32]){ 0xb3, 0xb5, 0x0e, 0x3e, 0xd3, 0xa4, 0x07, 0xb9,
3919                     0x5d, 0xe9, 0x42, 0xef, 0x74, 0x57, 0x5b, 0x5a,
3920                     0xb8, 0xa1, 0x0c, 0x09, 0xee, 0x10, 0x35, 0x44,
3921                     0xd6, 0x0b, 0xdf, 0xed, 0x81, 0x38, 0xab, 0x2b },
3922         .expected_ss = (u8[32]){ 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3923                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3924                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3925                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3926         .secret_size = 32,
3927         .b_public_size = 32,
3928         .expected_ss_size = 32,
3929
3930 },
3931 /* wycheproof - edge case for shared secret */
3932 {
3933         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3934                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3935                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3936                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3937         .b_public = (u8[32]){ 0x21, 0x3f, 0xff, 0xe9, 0x3d, 0x5e, 0xa8, 0xcd,
3938                     0x24, 0x2e, 0x46, 0x28, 0x44, 0x02, 0x99, 0x22,
3939                     0xc4, 0x3c, 0x77, 0xc9, 0xe3, 0xe4, 0x2f, 0x56,
3940                     0x2f, 0x48, 0x5d, 0x24, 0xc5, 0x01, 0xa2, 0x0b },
3941         .expected_ss = (u8[32]){ 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3942                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3943                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3944                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3945         .secret_size = 32,
3946         .b_public_size = 32,
3947         .expected_ss_size = 32,
3948
3949 },
3950 /* wycheproof - edge case for shared secret */
3951 {
3952         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3953                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3954                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3955                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3956         .b_public = (u8[32]){ 0x91, 0xb2, 0x32, 0xa1, 0x78, 0xb3, 0xcd, 0x53,
3957                     0x09, 0x32, 0x44, 0x1e, 0x61, 0x39, 0x41, 0x8f,
3958                     0x72, 0x17, 0x22, 0x92, 0xf1, 0xda, 0x4c, 0x18,
3959                     0x34, 0xfc, 0x5e, 0xbf, 0xef, 0xb5, 0x1e, 0x3f },
3960         .expected_ss = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3961                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3962                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3963                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
3964         .secret_size = 32,
3965         .b_public_size = 32,
3966         .expected_ss_size = 32,
3967
3968 },
3969 /* wycheproof - edge case for shared secret */
3970 {
3971         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3972                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3973                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3974                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3975         .b_public = (u8[32]){ 0x04, 0x5c, 0x6e, 0x11, 0xc5, 0xd3, 0x32, 0x55,
3976                     0x6c, 0x78, 0x22, 0xfe, 0x94, 0xeb, 0xf8, 0x9b,
3977                     0x56, 0xa3, 0x87, 0x8d, 0xc2, 0x7c, 0xa0, 0x79,
3978                     0x10, 0x30, 0x58, 0x84, 0x9f, 0xab, 0xcb, 0x4f },
3979         .expected_ss = (u8[32]){ 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3980                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3981                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3982                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3983         .secret_size = 32,
3984         .b_public_size = 32,
3985         .expected_ss_size = 32,
3986
3987 },
3988 /* wycheproof - edge case for shared secret */
3989 {
3990         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3991                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3992                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3993                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3994         .b_public = (u8[32]){ 0x1c, 0xa2, 0x19, 0x0b, 0x71, 0x16, 0x35, 0x39,
3995                     0x06, 0x3c, 0x35, 0x77, 0x3b, 0xda, 0x0c, 0x9c,
3996                     0x92, 0x8e, 0x91, 0x36, 0xf0, 0x62, 0x0a, 0xeb,
3997                     0x09, 0x3f, 0x09, 0x91, 0x97, 0xb7, 0xf7, 0x4e },
3998         .expected_ss = (u8[32]){ 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3999                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4000                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4001                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4002         .secret_size = 32,
4003         .b_public_size = 32,
4004         .expected_ss_size = 32,
4005
4006 },
4007 /* wycheproof - edge case for shared secret */
4008 {
4009         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4010                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4011                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4012                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4013         .b_public = (u8[32]){ 0xf7, 0x6e, 0x90, 0x10, 0xac, 0x33, 0xc5, 0x04,
4014                     0x3b, 0x2d, 0x3b, 0x76, 0xa8, 0x42, 0x17, 0x10,
4015                     0x00, 0xc4, 0x91, 0x62, 0x22, 0xe9, 0xe8, 0x58,
4016                     0x97, 0xa0, 0xae, 0xc7, 0xf6, 0x35, 0x0b, 0x3c },
4017         .expected_ss = (u8[32]){ 0xdd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4018                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4019                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4020                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4021         .secret_size = 32,
4022         .b_public_size = 32,
4023         .expected_ss_size = 32,
4024
4025 },
4026 /* wycheproof - edge case for shared secret */
4027 {
4028         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4029                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4030                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4031                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4032         .b_public = (u8[32]){ 0xbb, 0x72, 0x68, 0x8d, 0x8f, 0x8a, 0xa7, 0xa3,
4033                     0x9c, 0xd6, 0x06, 0x0c, 0xd5, 0xc8, 0x09, 0x3c,
4034                     0xde, 0xc6, 0xfe, 0x34, 0x19, 0x37, 0xc3, 0x88,
4035                     0x6a, 0x99, 0x34, 0x6c, 0xd0, 0x7f, 0xaa, 0x55 },
4036         .expected_ss = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4037                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4038                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4039                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
4040         .secret_size = 32,
4041         .b_public_size = 32,
4042         .expected_ss_size = 32,
4043
4044 },
4045 /* wycheproof - edge case for shared secret */
4046 {
4047         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4048                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4049                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4050                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4051         .b_public = (u8[32]){ 0x88, 0xfd, 0xde, 0xa1, 0x93, 0x39, 0x1c, 0x6a,
4052                     0x59, 0x33, 0xef, 0x9b, 0x71, 0x90, 0x15, 0x49,
4053                     0x44, 0x72, 0x05, 0xaa, 0xe9, 0xda, 0x92, 0x8a,
4054                     0x6b, 0x91, 0xa3, 0x52, 0xba, 0x10, 0xf4, 0x1f },
4055         .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4056                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4057                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4058                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 },
4059         .secret_size = 32,
4060         .b_public_size = 32,
4061         .expected_ss_size = 32,
4062
4063 },
4064 /* wycheproof - edge case for shared secret */
4065 {
4066         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
4067                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
4068                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
4069                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
4070         .b_public = (u8[32]){ 0x30, 0x3b, 0x39, 0x2f, 0x15, 0x31, 0x16, 0xca,
4071                     0xd9, 0xcc, 0x68, 0x2a, 0x00, 0xcc, 0xc4, 0x4c,
4072                     0x95, 0xff, 0x0d, 0x3b, 0xbe, 0x56, 0x8b, 0xeb,
4073                     0x6c, 0x4e, 0x73, 0x9b, 0xaf, 0xdc, 0x2c, 0x68 },
4074         .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4075                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4076                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4077                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 },
4078         .secret_size = 32,
4079         .b_public_size = 32,
4080         .expected_ss_size = 32,
4081
4082 },
4083 /* wycheproof - checking for overflow */
4084 {
4085         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4086                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4087                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4088                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4089         .b_public = (u8[32]){ 0xfd, 0x30, 0x0a, 0xeb, 0x40, 0xe1, 0xfa, 0x58,
4090                     0x25, 0x18, 0x41, 0x2b, 0x49, 0xb2, 0x08, 0xa7,
4091                     0x84, 0x2b, 0x1e, 0x1f, 0x05, 0x6a, 0x04, 0x01,
4092                     0x78, 0xea, 0x41, 0x41, 0x53, 0x4f, 0x65, 0x2d },
4093         .expected_ss = (u8[32]){ 0xb7, 0x34, 0x10, 0x5d, 0xc2, 0x57, 0x58, 0x5d,
4094                     0x73, 0xb5, 0x66, 0xcc, 0xb7, 0x6f, 0x06, 0x27,
4095                     0x95, 0xcc, 0xbe, 0xc8, 0x91, 0x28, 0xe5, 0x2b,
4096                     0x02, 0xf3, 0xe5, 0x96, 0x39, 0xf1, 0x3c, 0x46 },
4097         .secret_size = 32,
4098         .b_public_size = 32,
4099         .expected_ss_size = 32,
4100
4101 },
4102 /* wycheproof - checking for overflow */
4103 {
4104         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4105                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4106                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4107                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4108         .b_public = (u8[32]){ 0xc8, 0xef, 0x79, 0xb5, 0x14, 0xd7, 0x68, 0x26,
4109                     0x77, 0xbc, 0x79, 0x31, 0xe0, 0x6e, 0xe5, 0xc2,
4110                     0x7c, 0x9b, 0x39, 0x2b, 0x4a, 0xe9, 0x48, 0x44,
4111                     0x73, 0xf5, 0x54, 0xe6, 0x67, 0x8e, 0xcc, 0x2e },
4112         .expected_ss = (u8[32]){ 0x64, 0x7a, 0x46, 0xb6, 0xfc, 0x3f, 0x40, 0xd6,
4113                     0x21, 0x41, 0xee, 0x3c, 0xee, 0x70, 0x6b, 0x4d,
4114                     0x7a, 0x92, 0x71, 0x59, 0x3a, 0x7b, 0x14, 0x3e,
4115                     0x8e, 0x2e, 0x22, 0x79, 0x88, 0x3e, 0x45, 0x50 },
4116         .secret_size = 32,
4117         .b_public_size = 32,
4118         .expected_ss_size = 32,
4119
4120 },
4121 /* wycheproof - checking for overflow */
4122 {
4123         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4124                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4125                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4126                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4127         .b_public = (u8[32]){ 0x64, 0xae, 0xac, 0x25, 0x04, 0x14, 0x48, 0x61,
4128                     0x53, 0x2b, 0x7b, 0xbc, 0xb6, 0xc8, 0x7d, 0x67,
4129                     0xdd, 0x4c, 0x1f, 0x07, 0xeb, 0xc2, 0xe0, 0x6e,
4130                     0xff, 0xb9, 0x5a, 0xec, 0xc6, 0x17, 0x0b, 0x2c },
4131         .expected_ss = (u8[32]){ 0x4f, 0xf0, 0x3d, 0x5f, 0xb4, 0x3c, 0xd8, 0x65,
4132                     0x7a, 0x3c, 0xf3, 0x7c, 0x13, 0x8c, 0xad, 0xce,
4133                     0xcc, 0xe5, 0x09, 0xe4, 0xeb, 0xa0, 0x89, 0xd0,
4134                     0xef, 0x40, 0xb4, 0xe4, 0xfb, 0x94, 0x61, 0x55 },
4135         .secret_size = 32,
4136         .b_public_size = 32,
4137         .expected_ss_size = 32,
4138
4139 },
4140 /* wycheproof - checking for overflow */
4141 {
4142         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4143                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4144                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4145                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4146         .b_public = (u8[32]){ 0xbf, 0x68, 0xe3, 0x5e, 0x9b, 0xdb, 0x7e, 0xee,
4147                     0x1b, 0x50, 0x57, 0x02, 0x21, 0x86, 0x0f, 0x5d,
4148                     0xcd, 0xad, 0x8a, 0xcb, 0xab, 0x03, 0x1b, 0x14,
4149                     0x97, 0x4c, 0xc4, 0x90, 0x13, 0xc4, 0x98, 0x31 },
4150         .expected_ss = (u8[32]){ 0x21, 0xce, 0xe5, 0x2e, 0xfd, 0xbc, 0x81, 0x2e,
4151                     0x1d, 0x02, 0x1a, 0x4a, 0xf1, 0xe1, 0xd8, 0xbc,
4152                     0x4d, 0xb3, 0xc4, 0x00, 0xe4, 0xd2, 0xa2, 0xc5,
4153                     0x6a, 0x39, 0x26, 0xdb, 0x4d, 0x99, 0xc6, 0x5b },
4154         .secret_size = 32,
4155         .b_public_size = 32,
4156         .expected_ss_size = 32,
4157
4158 },
4159 /* wycheproof - checking for overflow */
4160 {
4161         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4162                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4163                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4164                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4165         .b_public = (u8[32]){ 0x53, 0x47, 0xc4, 0x91, 0x33, 0x1a, 0x64, 0xb4,
4166                     0x3d, 0xdc, 0x68, 0x30, 0x34, 0xe6, 0x77, 0xf5,
4167                     0x3d, 0xc3, 0x2b, 0x52, 0xa5, 0x2a, 0x57, 0x7c,
4168                     0x15, 0xa8, 0x3b, 0xf2, 0x98, 0xe9, 0x9f, 0x19 },
4169         .expected_ss = (u8[32]){ 0x18, 0xcb, 0x89, 0xe4, 0xe2, 0x0c, 0x0c, 0x2b,
4170                     0xd3, 0x24, 0x30, 0x52, 0x45, 0x26, 0x6c, 0x93,
4171                     0x27, 0x69, 0x0b, 0xbe, 0x79, 0xac, 0xb8, 0x8f,
4172                     0x5b, 0x8f, 0xb3, 0xf7, 0x4e, 0xca, 0x3e, 0x52 },
4173         .secret_size = 32,
4174         .b_public_size = 32,
4175         .expected_ss_size = 32,
4176
4177 },
4178 /* wycheproof - private key == -1 (mod order) */
4179 {
4180         .secret = (u8[32]){ 0xa0, 0x23, 0xcd, 0xd0, 0x83, 0xef, 0x5b, 0xb8,
4181                      0x2f, 0x10, 0xd6, 0x2e, 0x59, 0xe1, 0x5a, 0x68,
4182                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4183                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50 },
4184         .b_public = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
4185                     0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
4186                     0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
4187                     0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
4188         .expected_ss = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
4189                     0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
4190                     0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
4191                     0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
4192         .secret_size = 32,
4193         .b_public_size = 32,
4194         .expected_ss_size = 32,
4195
4196 },
4197 /* wycheproof - private key == 1 (mod order) on twist */
4198 {
4199         .secret = (u8[32]){ 0x58, 0x08, 0x3d, 0xd2, 0x61, 0xad, 0x91, 0xef,
4200                      0xf9, 0x52, 0x32, 0x2e, 0xc8, 0x24, 0xc6, 0x82,
4201                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4202                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x5f },
4203         .b_public = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
4204                     0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
4205                     0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
4206                     0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
4207         .expected_ss = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
4208                     0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
4209                     0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
4210                     0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
4211         .secret_size = 32,
4212         .b_public_size = 32,
4213         .expected_ss_size = 32,
4214
4215 }
4216 };
4217
4218 static const struct kpp_testvec ecdh_p192_tv_template[] = {
4219         {
4220         .secret =
4221 #ifdef __LITTLE_ENDIAN
4222         "\x02\x00" /* type */
4223         "\x1e\x00" /* len */
4224         "\x18\x00" /* key_size */
4225 #else
4226         "\x00\x02" /* type */
4227         "\x00\x1e" /* len */
4228         "\x00\x18" /* key_size */
4229 #endif
4230         "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
4231         "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
4232         "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
4233         .b_public =
4234         "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
4235         "\x7a\x99\x75\x64\x36\x13\x9a\x94"
4236         "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
4237         "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
4238         "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
4239         "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
4240         .expected_a_public =
4241         "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
4242         "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
4243         "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
4244         "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
4245         "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
4246         "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
4247         .expected_ss =
4248         "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
4249         "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
4250         "\x99\x80\x81\x28\xaf\xc5\x51\x74",
4251         .secret_size = 30,
4252         .b_public_size = 48,
4253         .expected_a_public_size = 48,
4254         .expected_ss_size = 24
4255         }
4256 };
4257
4258 static const struct kpp_testvec ecdh_p256_tv_template[] = {
4259         {
4260         .secret =
4261 #ifdef __LITTLE_ENDIAN
4262         "\x02\x00" /* type */
4263         "\x26\x00" /* len */
4264         "\x20\x00" /* key_size */
4265 #else
4266         "\x00\x02" /* type */
4267         "\x00\x26" /* len */
4268         "\x00\x20" /* key_size */
4269 #endif
4270         "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
4271         "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
4272         "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
4273         "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
4274         .expected_a_public =
4275         "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
4276         "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
4277         "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
4278         "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
4279         "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
4280         "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
4281         "\x6a\x02\x6e\x41\x87\x68\x38\x77"
4282         "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
4283         .expected_ss =
4284         "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
4285         "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
4286         "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
4287         "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
4288         .b_public =
4289         "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
4290         "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
4291         "\x29\xb2\x47\x03\x19\xab\xdd\x34"
4292         "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
4293         "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
4294         "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
4295         "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
4296         "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
4297         .secret_size = 38,
4298         .b_public_size = 64,
4299         .expected_a_public_size = 64,
4300         .expected_ss_size = 32
4301         }, {
4302         .secret =
4303 #ifdef __LITTLE_ENDIAN
4304         "\x02\x00" /* type */
4305         "\x06\x00" /* len */
4306         "\x00\x00", /* key_size */
4307 #else
4308         "\x00\x02" /* type */
4309         "\x00\x06" /* len */
4310         "\x00\x00", /* key_size */
4311 #endif
4312         .b_secret =
4313 #ifdef __LITTLE_ENDIAN
4314         "\x02\x00" /* type */
4315         "\x26\x00" /* len */
4316         "\x20\x00" /* key_size */
4317 #else
4318         "\x00\x02" /* type */
4319         "\x00\x26" /* len */
4320         "\x00\x20" /* key_size */
4321 #endif
4322         "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
4323         "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
4324         "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
4325         "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
4326         .b_public =
4327         "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
4328         "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
4329         "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
4330         "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
4331         "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
4332         "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
4333         "\x6a\x02\x6e\x41\x87\x68\x38\x77"
4334         "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
4335         .secret_size = 6,
4336         .b_secret_size = 38,
4337         .b_public_size = 64,
4338         .expected_a_public_size = 64,
4339         .expected_ss_size = 32,
4340         .genkey = true,
4341         }
4342 };
4343
4344 /*
4345  * NIST P384 test vectors from RFC5903
4346  */
4347 static const struct kpp_testvec ecdh_p384_tv_template[] = {
4348         {
4349         .secret =
4350 #ifdef __LITTLE_ENDIAN
4351         "\x02\x00" /* type */
4352         "\x36\x00" /* len */
4353         "\x30\x00" /* key_size */
4354 #else
4355         "\x00\x02" /* type */
4356         "\x00\x36" /* len */
4357         "\x00\x30" /* key_size */
4358 #endif
4359         "\x09\x9F\x3C\x70\x34\xD4\xA2\xC6"
4360         "\x99\x88\x4D\x73\xA3\x75\xA6\x7F"
4361         "\x76\x24\xEF\x7C\x6B\x3C\x0F\x16"
4362         "\x06\x47\xB6\x74\x14\xDC\xE6\x55"
4363         "\xE3\x5B\x53\x80\x41\xE6\x49\xEE"
4364         "\x3F\xAE\xF8\x96\x78\x3A\xB1\x94",
4365         .b_public =
4366         "\xE5\x58\xDB\xEF\x53\xEE\xCD\xE3"
4367         "\xD3\xFC\xCF\xC1\xAE\xA0\x8A\x89"
4368         "\xA9\x87\x47\x5D\x12\xFD\x95\x0D"
4369         "\x83\xCF\xA4\x17\x32\xBC\x50\x9D"
4370         "\x0D\x1A\xC4\x3A\x03\x36\xDE\xF9"
4371         "\x6F\xDA\x41\xD0\x77\x4A\x35\x71"
4372         "\xDC\xFB\xEC\x7A\xAC\xF3\x19\x64"
4373         "\x72\x16\x9E\x83\x84\x30\x36\x7F"
4374         "\x66\xEE\xBE\x3C\x6E\x70\xC4\x16"
4375         "\xDD\x5F\x0C\x68\x75\x9D\xD1\xFF"
4376         "\xF8\x3F\xA4\x01\x42\x20\x9D\xFF"
4377         "\x5E\xAA\xD9\x6D\xB9\xE6\x38\x6C",
4378         .expected_a_public =
4379         "\x66\x78\x42\xD7\xD1\x80\xAC\x2C"
4380         "\xDE\x6F\x74\xF3\x75\x51\xF5\x57"
4381         "\x55\xC7\x64\x5C\x20\xEF\x73\xE3"
4382         "\x16\x34\xFE\x72\xB4\xC5\x5E\xE6"
4383         "\xDE\x3A\xC8\x08\xAC\xB4\xBD\xB4"
4384         "\xC8\x87\x32\xAE\xE9\x5F\x41\xAA"
4385         "\x94\x82\xED\x1F\xC0\xEE\xB9\xCA"
4386         "\xFC\x49\x84\x62\x5C\xCF\xC2\x3F"
4387         "\x65\x03\x21\x49\xE0\xE1\x44\xAD"
4388         "\xA0\x24\x18\x15\x35\xA0\xF3\x8E"
4389         "\xEB\x9F\xCF\xF3\xC2\xC9\x47\xDA"
4390         "\xE6\x9B\x4C\x63\x45\x73\xA8\x1C",
4391         .expected_ss =
4392         "\x11\x18\x73\x31\xC2\x79\x96\x2D"
4393         "\x93\xD6\x04\x24\x3F\xD5\x92\xCB"
4394         "\x9D\x0A\x92\x6F\x42\x2E\x47\x18"
4395         "\x75\x21\x28\x7E\x71\x56\xC5\xC4"
4396         "\xD6\x03\x13\x55\x69\xB9\xE9\xD0"
4397         "\x9C\xF5\xD4\xA2\x70\xF5\x97\x46",
4398         .secret_size = 54,
4399         .b_public_size = 96,
4400         .expected_a_public_size = 96,
4401         .expected_ss_size = 48
4402         }
4403 };
4404
4405 /*
4406  * MD4 test vectors from RFC1320
4407  */
4408 static const struct hash_testvec md4_tv_template[] = {
4409         {
4410                 .plaintext = "",
4411                 .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
4412                           "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
4413         }, {
4414                 .plaintext = "a",
4415                 .psize  = 1,
4416                 .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
4417                           "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
4418         }, {
4419                 .plaintext = "abc",
4420                 .psize  = 3,
4421                 .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
4422                           "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
4423         }, {
4424                 .plaintext = "message digest",
4425                 .psize  = 14,
4426                 .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
4427                         "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
4428         }, {
4429                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4430                 .psize  = 26,
4431                 .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
4432                           "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
4433         }, {
4434                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
4435                 .psize  = 62,
4436                 .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
4437                           "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
4438         }, {
4439                 .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
4440                            "45678901234567890",
4441                 .psize  = 80,
4442                 .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
4443                           "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
4444         },
4445 };
4446
4447 static const struct hash_testvec sha3_224_tv_template[] = {
4448         {
4449                 .plaintext = "",
4450                 .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
4451                                 "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
4452                                 "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
4453                                 "\x5b\x5a\x6b\xc7",
4454         }, {
4455                 .plaintext = "a",
4456                 .psize  = 1,
4457                 .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
4458                                 "\x40\x5f\x08\x12\x69\x68\x5b\x38"
4459                                 "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
4460                                 "\x48\x2b\x6a\x8b",
4461         }, {
4462                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4463                                 "jklmklmnlmnomnopnopq",
4464                 .psize  = 56,
4465                 .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
4466                                 "\xc9\xfd\x55\x74\x49\x44\x79\xba"
4467                                 "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
4468                                 "\xd0\xfc\xce\x33",
4469         }, {
4470                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4471                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4472                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4473                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4474                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4475                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4476                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4477                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4478                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4479                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4480                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4481                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4482                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4483                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4484                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4485                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4486                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4487                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4488                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4489                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4490                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4491                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4492                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4493                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4494                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4495                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4496                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4497                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4498                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4499                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4500                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4501                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4502                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4503                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4504                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4505                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4506                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4507                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4508                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4509                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4510                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4511                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4512                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4513                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4514                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4515                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4516                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4517                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4518                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4519                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4520                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4521                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4522                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4523                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4524                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4525                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4526                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4527                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4528                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4529                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4530                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4531                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4532                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4533                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4534                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4535                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4536                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4537                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4538                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4539                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4540                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4541                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4542                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4543                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4544                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4545                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4546                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4547                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4548                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4549                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4550                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4551                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4552                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4553                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4554                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4555                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4556                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4557                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4558                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4559                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4560                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4561                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4562                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4563                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4564                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4565                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4566                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4567                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4568                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4569                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4570                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4571                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4572                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4573                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4574                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4575                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4576                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4577                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4578                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4579                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4580                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4581                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4582                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4583                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4584                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4585                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4586                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4587                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4588                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4589                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4590                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4591                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4592                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4593                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4594                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4595                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4596                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4597                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4598                 .psize     = 1023,
4599                 .digest    = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
4600                              "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
4601                              "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
4602                              "\xb6\x79\x10\x72",
4603         },
4604 };
4605
4606 static const struct hash_testvec sha3_256_tv_template[] = {
4607         {
4608                 .plaintext = "",
4609                 .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
4610                                 "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
4611                                 "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
4612                                 "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
4613         }, {
4614                 .plaintext = "a",
4615                 .psize  = 1,
4616                 .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
4617                                 "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
4618                                 "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
4619                                 "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
4620         }, {
4621                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4622                              "jklmklmnlmnomnopnopq",
4623                 .psize  = 56,
4624                 .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
4625                                 "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
4626                                 "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
4627                                 "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
4628         }, {
4629                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4630                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4631                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4632                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4633                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4634                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4635                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4636                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4637                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4638                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4639                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4640                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4641                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4642                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4643                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4644                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4645                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4646                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4647                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4648                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4649                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4650                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4651                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4652                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4653                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4654                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4655                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4656                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4657                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4658                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4659                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4660                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4661                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4662                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4663                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4664                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4665                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4666                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4667                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4668                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4669                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4670                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4671                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4672                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4673                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4674                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4675                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4676                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4677                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4678                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4679                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4680                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4681                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4682                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4683                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4684                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4685                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4686                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4687                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4688                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4689                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4690                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4691                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4692                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4693                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4694                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4695                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4696                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4697                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4698                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4699                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4700                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4701                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4702                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4703                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4704                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4705                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4706                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4707                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4708                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4709                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4710                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4711                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4712                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4713                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4714                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4715                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4716                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4717                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4718                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4719                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4720                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4721                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4722                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4723                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4724                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4725                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4726                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4727                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4728                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4729                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4730                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4731                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4732                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4733                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4734                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4735                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4736                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4737                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4738                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4739                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4740                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4741                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4742                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4743                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4744                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4745                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4746                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4747                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4748                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4749                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4750                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4751                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4752                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4753                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4754                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4755                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4756                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4757                 .psize     = 1023,
4758                 .digest    = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
4759                              "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
4760                              "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
4761                              "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
4762         },
4763 };
4764
4765
4766 static const struct hash_testvec sha3_384_tv_template[] = {
4767         {
4768                 .plaintext = "",
4769                 .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
4770                                 "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
4771                                 "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
4772                                 "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
4773                                 "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
4774                                 "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
4775         }, {
4776                 .plaintext = "a",
4777                 .psize  = 1,
4778                 .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
4779                                 "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
4780                                 "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
4781                                 "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
4782                                 "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
4783                                 "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
4784         }, {
4785                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4786                              "jklmklmnlmnomnopnopq",
4787                 .psize  = 56,
4788                 .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
4789                                 "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
4790                                 "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
4791                                 "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
4792                                 "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
4793                                 "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
4794         }, {
4795                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4796                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4797                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4798                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4799                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4800                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4801                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4802                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4803                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4804                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4805                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4806                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4807                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4808                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4809                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4810                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4811                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4812                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4813                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4814                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4815                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4816                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4817                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4818                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4819                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4820                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4821                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4822                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4823                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4824                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4825                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4826                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4827                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4828                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4829                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4830                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4831                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4832                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4833                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4834                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4835                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4836                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4837                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4838                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4839                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4840                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4841                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4842                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4843                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4844                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4845                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4846                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4847                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4848                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4849                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4850                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4851                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4852                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4853                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4854                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4855                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4856                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4857                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4858                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4859                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4860                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4861                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4862                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4863                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4864                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4865                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4866                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4867                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4868                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4869                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4870                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4871                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4872                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4873                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4874                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4875                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4876                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4877                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4878                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4879                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4880                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4881                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4882                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4883                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4884                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4885                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4886                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4887                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4888                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4889                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4890                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4891                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4892                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4893                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4894                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4895                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4896                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4897                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4898                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4899                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4900                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4901                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4902                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4903                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4904                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4905                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4906                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4907                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4908                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4909                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4910                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4911                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4912                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4913                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4914                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4915                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4916                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4917                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4918                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4919                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4920                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4921                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4922                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4923                 .psize     = 1023,
4924                 .digest    = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
4925                              "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
4926                              "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
4927                              "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
4928                              "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
4929                              "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
4930         },
4931 };
4932
4933
4934 static const struct hash_testvec sha3_512_tv_template[] = {
4935         {
4936                 .plaintext = "",
4937                 .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
4938                                 "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
4939                                 "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
4940                                 "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
4941                                 "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
4942                                 "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
4943                                 "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
4944                                 "\x01\x75\x85\x86\x28\x1d\xcd\x26",
4945         }, {
4946                 .plaintext = "a",
4947                 .psize  = 1,
4948                 .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
4949                                 "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
4950                                 "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
4951                                 "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
4952                                 "\x3f\x4f\x93\xff\x24\x39\x35\x86"
4953                                 "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
4954                                 "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
4955                                 "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
4956         }, {
4957                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4958                              "jklmklmnlmnomnopnopq",
4959                 .psize  = 56,
4960                 .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
4961                                 "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
4962                                 "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
4963                                 "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
4964                                 "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
4965                                 "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
4966                                 "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
4967                                 "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
4968         }, {
4969                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4970                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4971                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4972                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4973                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4974                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4975                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4976                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4977                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4978                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4979                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4980                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4981                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4982                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4983                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4984                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4985                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4986                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4987                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4988                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4989                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4990                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4991                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4992                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4993                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4994                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4995                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4996                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4997                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4998                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4999                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5000                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5001                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5002                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5003                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5004                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5005                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5006                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5007                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5008                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5009                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5010                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5011                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5012                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5013                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5014                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5015                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5016                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5017                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5018                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5019                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5020                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5021                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5022                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5023                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5024                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5025                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5026                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5027                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5028                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5029                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5030                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5031                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5032                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5033                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5034                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5035                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5036                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5037                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5038                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5039                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5040                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5041                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5042                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5043                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5044                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5045                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5046                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5047                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5048                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5049                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5050                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5051                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5052                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5053                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5054                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5055                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5056                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5057                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5058                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5059                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5060                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5061                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5062                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5063                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5064                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5065                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5066                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5067                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5068                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5069                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5070                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5071                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5072                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5073                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5074                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5075                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5076                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5077                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5078                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5079                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5080                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5081                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5082                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5083                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5084                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5085                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5086                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5087                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5088                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5089                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5090                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5091                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5092                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5093                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5094                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5095                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5096                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5097                 .psize     = 1023,
5098                 .digest    = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
5099                              "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
5100                              "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
5101                              "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
5102                              "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
5103                              "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
5104                              "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
5105                              "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
5106         },
5107 };
5108
5109
5110 /*
5111  * MD5 test vectors from RFC1321
5112  */
5113 static const struct hash_testvec md5_tv_template[] = {
5114         {
5115                 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
5116                           "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
5117         }, {
5118                 .plaintext = "a",
5119                 .psize  = 1,
5120                 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
5121                           "\x31\xc3\x99\xe2\x69\x77\x26\x61",
5122         }, {
5123                 .plaintext = "abc",
5124                 .psize  = 3,
5125                 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
5126                           "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
5127         }, {
5128                 .plaintext = "message digest",
5129                 .psize  = 14,
5130                 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
5131                           "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
5132         }, {
5133                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5134                 .psize  = 26,
5135                 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
5136                           "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
5137         }, {
5138                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
5139                 .psize  = 62,
5140                 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
5141                           "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
5142         }, {
5143                 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
5144                            "345678901234567890",
5145                 .psize  = 80,
5146                 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
5147                           "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
5148         }
5149
5150 };
5151
5152 /*
5153  * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
5154  */
5155 static const struct hash_testvec rmd160_tv_template[] = {
5156         {
5157                 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
5158                           "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
5159         }, {
5160                 .plaintext = "a",
5161                 .psize  = 1,
5162                 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
5163                           "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
5164         }, {
5165                 .plaintext = "abc",
5166                 .psize  = 3,
5167                 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
5168                           "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
5169         }, {
5170                 .plaintext = "message digest",
5171                 .psize  = 14,
5172                 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
5173                           "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
5174         }, {
5175                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5176                 .psize  = 26,
5177                 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
5178                           "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
5179         }, {
5180                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
5181                              "fghijklmnopqrstuvwxyz0123456789",
5182                 .psize  = 62,
5183                 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
5184                           "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
5185         }, {
5186                 .plaintext = "1234567890123456789012345678901234567890"
5187                              "1234567890123456789012345678901234567890",
5188                 .psize  = 80,
5189                 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
5190                           "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
5191         }, {
5192                 .plaintext = "abcdbcdecdefdefgefghfghighij"
5193                              "hijkijkljklmklmnlmnomnopnopq",
5194                 .psize  = 56,
5195                 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
5196                           "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
5197         }, {
5198                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
5199                              "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
5200                              "lmnopqrsmnopqrstnopqrstu",
5201                 .psize  = 112,
5202                 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
5203                           "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
5204         }, {
5205                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
5206                 .psize  = 32,
5207                 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
5208                           "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
5209         }
5210 };
5211
5212 static const u8 zeroes[4096] = { [0 ... 4095] = 0 };
5213 static const u8 ones[4096] = { [0 ... 4095] = 0xff };
5214
5215 static const struct hash_testvec crc64_rocksoft_tv_template[] = {
5216         {
5217                 .plaintext      = zeroes,
5218                 .psize          = 4096,
5219                 .digest         = "\x4e\xb6\x22\xeb\x67\xd3\x82\x64",
5220         }, {
5221                 .plaintext      = ones,
5222                 .psize          = 4096,
5223                 .digest         = "\xac\xa3\xec\x02\x73\xba\xdd\xc0",
5224         }
5225 };
5226
5227 static const struct hash_testvec crct10dif_tv_template[] = {
5228         {
5229                 .plaintext      = "abc",
5230                 .psize          = 3,
5231                 .digest         = (u8 *)(u16 []){ 0x443b },
5232         }, {
5233                 .plaintext      = "1234567890123456789012345678901234567890"
5234                                   "123456789012345678901234567890123456789",
5235                 .psize          = 79,
5236                 .digest         = (u8 *)(u16 []){ 0x4b70 },
5237         }, {
5238                 .plaintext      = "abcdddddddddddddddddddddddddddddddddddddddd"
5239                                   "ddddddddddddd",
5240                 .psize          = 56,
5241                 .digest         = (u8 *)(u16 []){ 0x9ce3 },
5242         }, {
5243                 .plaintext      = "1234567890123456789012345678901234567890"
5244                                   "1234567890123456789012345678901234567890"
5245                                   "1234567890123456789012345678901234567890"
5246                                   "1234567890123456789012345678901234567890"
5247                                   "1234567890123456789012345678901234567890"
5248                                   "1234567890123456789012345678901234567890"
5249                                   "1234567890123456789012345678901234567890"
5250                                   "123456789012345678901234567890123456789",
5251                 .psize          = 319,
5252                 .digest         = (u8 *)(u16 []){ 0x44c6 },
5253         }, {
5254                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
5255                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
5256                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
5257                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
5258                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
5259                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
5260                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
5261                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
5262                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
5263                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
5264                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
5265                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
5266                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
5267                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
5268                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
5269                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
5270                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
5271                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
5272                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
5273                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
5274                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
5275                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
5276                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
5277                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
5278                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
5279                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
5280                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
5281                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
5282                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
5283                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
5284                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
5285                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
5286                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
5287                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
5288                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
5289                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
5290                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
5291                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
5292                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
5293                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
5294                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
5295                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
5296                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
5297                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
5298                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
5299                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
5300                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
5301                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
5302                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
5303                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
5304                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
5305                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
5306                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
5307                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
5308                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
5309                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
5310                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
5311                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
5312                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
5313                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
5314                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
5315                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
5316                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
5317                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
5318                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
5319                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
5320                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
5321                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
5322                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
5323                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
5324                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
5325                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
5326                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
5327                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
5328                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
5329                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
5330                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
5331                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
5332                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
5333                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
5334                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
5335                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
5336                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
5337                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
5338                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
5339                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
5340                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
5341                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
5342                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
5343                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
5344                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
5345                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
5346                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
5347                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
5348                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
5349                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
5350                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
5351                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
5352                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
5353                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
5354                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
5355                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
5356                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
5357                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
5358                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
5359                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
5360                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
5361                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
5362                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
5363                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
5364                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
5365                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
5366                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
5367                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
5368                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
5369                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
5370                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
5371                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
5372                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
5373                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
5374                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
5375                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
5376                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
5377                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
5378                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
5379                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
5380                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
5381                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
5382                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
5383                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
5384                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
5385                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
5386                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
5387                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
5388                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
5389                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
5390                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
5391                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
5392                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
5393                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
5394                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
5395                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
5396                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
5397                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
5398                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
5399                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
5400                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
5401                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
5402                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
5403                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
5404                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
5405                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
5406                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
5407                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
5408                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
5409                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
5410                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
5411                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
5412                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
5413                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
5414                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
5415                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
5416                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
5417                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
5418                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
5419                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
5420                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
5421                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
5422                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
5423                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
5424                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
5425                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
5426                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
5427                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
5428                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
5429                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
5430                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
5431                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
5432                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
5433                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
5434                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
5435                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
5436                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
5437                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
5438                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
5439                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
5440                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
5441                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
5442                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
5443                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
5444                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
5445                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
5446                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
5447                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
5448                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
5449                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
5450                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
5451                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
5452                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
5453                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
5454                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
5455                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
5456                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
5457                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
5458                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
5459                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
5460                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
5461                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
5462                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
5463                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
5464                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
5465                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
5466                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
5467                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
5468                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
5469                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
5470                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
5471                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
5472                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
5473                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
5474                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
5475                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
5476                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
5477                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
5478                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
5479                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
5480                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
5481                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
5482                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
5483                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
5484                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
5485                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
5486                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
5487                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
5488                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
5489                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
5490                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
5491                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
5492                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
5493                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
5494                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
5495                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
5496                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
5497                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
5498                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
5499                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
5500                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
5501                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
5502                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
5503                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
5504                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
5505                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
5506                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
5507                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
5508                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
5509                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
5510                 .psize = 2048,
5511                 .digest         = (u8 *)(u16 []){ 0x23ca },
5512         }
5513 };
5514
5515 /*
5516  * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
5517  */
5518 static const struct hash_testvec streebog256_tv_template[] = {
5519         { /* M1 */
5520                 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
5521                 .psize = 63,
5522                 .digest =
5523                         "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
5524                         "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
5525                         "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
5526                         "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
5527         },
5528         { /* M2 */
5529                 .plaintext =
5530                         "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
5531                         "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
5532                         "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
5533                         "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
5534                         "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
5535                         "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
5536                         "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
5537                         "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
5538                         "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
5539                 .psize = 72,
5540                 .digest =
5541                         "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
5542                         "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
5543                         "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
5544                         "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
5545         },
5546 };
5547
5548 static const struct hash_testvec streebog512_tv_template[] = {
5549         { /* M1 */
5550                 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
5551                 .psize = 63,
5552                 .digest =
5553                         "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
5554                         "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
5555                         "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
5556                         "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
5557                         "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
5558                         "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
5559                         "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
5560                         "\x41\x79\x78\x91\xc1\x64\x6f\x48",
5561         },
5562         { /* M2 */
5563                 .plaintext =
5564                         "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
5565                         "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
5566                         "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
5567                         "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
5568                         "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
5569                         "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
5570                         "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
5571                         "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
5572                         "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
5573                 .psize = 72,
5574                 .digest =
5575                         "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
5576                         "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
5577                         "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
5578                         "\x53\x00\xee\xe4\x6d\x96\x13\x76"
5579                         "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
5580                         "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
5581                         "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
5582                         "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
5583         },
5584 };
5585
5586 /*
5587  * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
5588  */
5589 static const struct hash_testvec hmac_streebog256_tv_template[] = {
5590         {
5591                 .key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
5592                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
5593                         "\x10\x11\x12\x13\x14\x15\x16\x17"
5594                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
5595                 .ksize  = 32,
5596                 .plaintext =
5597                         "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
5598                         "\x43\x41\x45\x65\x63\x78\x01\x00",
5599                 .psize  = 16,
5600                 .digest =
5601                         "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
5602                         "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
5603                         "\x01\x31\x37\x01\x0a\x83\x75\x4f"
5604                         "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
5605         },
5606 };
5607
5608 static const struct hash_testvec hmac_streebog512_tv_template[] = {
5609         {
5610                 .key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
5611                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
5612                         "\x10\x11\x12\x13\x14\x15\x16\x17"
5613                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
5614                 .ksize  = 32,
5615                 .plaintext =
5616                         "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
5617                         "\x43\x41\x45\x65\x63\x78\x01\x00",
5618                 .psize  = 16,
5619                 .digest =
5620                         "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
5621                         "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
5622                         "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
5623                         "\x90\x55\x00\xe1\x71\x92\x3a\x77"
5624                         "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
5625                         "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
5626                         "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
5627                         "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
5628         },
5629 };
5630
5631 /*
5632  * SM2 test vectors.
5633  */
5634 static const struct akcipher_testvec sm2_tv_template[] = {
5635         { /* Generated from openssl */
5636         .key =
5637         "\x04"
5638         "\x8e\xa0\x33\x69\x91\x7e\x3d\xec\xad\x8e\xf0\x45\x5e\x13\x3e\x68"
5639         "\x5b\x8c\xab\x5c\xc6\xc8\x50\xdf\x91\x00\xe0\x24\x73\x4d\x31\xf2"
5640         "\x2e\xc0\xd5\x6b\xee\xda\x98\x93\xec\xd8\x36\xaa\xb9\xcf\x63\x82"
5641         "\xef\xa7\x1a\x03\xed\x16\xba\x74\xb8\x8b\xf9\xe5\x70\x39\xa4\x70",
5642         .key_len = 65,
5643         .param_len = 0,
5644         .c =
5645         "\x30\x45"
5646         "\x02\x20"
5647         "\x70\xab\xb6\x7d\xd6\x54\x80\x64\x42\x7e\x2d\x05\x08\x36\xc9\x96"
5648         "\x25\xc2\xbb\xff\x08\xe5\x43\x15\x5e\xf3\x06\xd9\x2b\x2f\x0a\x9f"
5649         "\x02\x21"
5650         "\x00"
5651         "\xbf\x21\x5f\x7e\x5d\x3f\x1a\x4d\x8f\x84\xc2\xe9\xa6\x4c\xa4\x18"
5652         "\xb2\xb8\x46\xf4\x32\x96\xfa\x57\xc6\x29\xd4\x89\xae\xcc\xda\xdb",
5653         .c_size = 71,
5654         .algo = OID_SM2_with_SM3,
5655         .m =
5656         "\x47\xa7\xbf\xd3\xda\xc4\x79\xee\xda\x8b\x4f\xe8\x40\x94\xd4\x32"
5657         "\x8f\xf1\xcd\x68\x4d\xbd\x9b\x1d\xe0\xd8\x9a\x5d\xad\x85\x47\x5c",
5658         .m_size = 32,
5659         .public_key_vec = true,
5660         .siggen_sigver_test = true,
5661         },
5662         { /* From libgcrypt */
5663         .key =
5664         "\x04"
5665         "\x87\x59\x38\x9a\x34\xaa\xad\x07\xec\xf4\xe0\xc8\xc2\x65\x0a\x44"
5666         "\x59\xc8\xd9\x26\xee\x23\x78\x32\x4e\x02\x61\xc5\x25\x38\xcb\x47"
5667         "\x75\x28\x10\x6b\x1e\x0b\x7c\x8d\xd5\xff\x29\xa9\xc8\x6a\x89\x06"
5668         "\x56\x56\xeb\x33\x15\x4b\xc0\x55\x60\x91\xef\x8a\xc9\xd1\x7d\x78",
5669         .key_len = 65,
5670         .param_len = 0,
5671         .c =
5672         "\x30\x44"
5673         "\x02\x20"
5674         "\xd9\xec\xef\xe8\x5f\xee\x3c\x59\x57\x8e\x5b\xab\xb3\x02\xe1\x42"
5675         "\x4b\x67\x2c\x0b\x26\xb6\x51\x2c\x3e\xfc\xc6\x49\xec\xfe\x89\xe5"
5676         "\x02\x20"
5677         "\x43\x45\xd0\xa5\xff\xe5\x13\x27\x26\xd0\xec\x37\xad\x24\x1e\x9a"
5678         "\x71\x9a\xa4\x89\xb0\x7e\x0f\xc4\xbb\x2d\x50\xd0\xe5\x7f\x7a\x68",
5679         .c_size = 70,
5680         .algo = OID_SM2_with_SM3,
5681         .m =
5682         "\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\x00"
5683         "\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12\x34\x56\x78\x9a\xbc\xde\xf0",
5684         .m_size = 32,
5685         .public_key_vec = true,
5686         .siggen_sigver_test = true,
5687         },
5688 };
5689
5690 /* Example vectors below taken from
5691  * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
5692  *
5693  * The rest taken from
5694  * https://github.com/adamws/oscca-sm3
5695  */
5696 static const struct hash_testvec sm3_tv_template[] = {
5697         {
5698                 .plaintext = "",
5699                 .psize = 0,
5700                 .digest = (u8 *)(u8 []) {
5701                         0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
5702                         0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
5703                         0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
5704                         0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
5705         }, {
5706                 .plaintext = "a",
5707                 .psize = 1,
5708                 .digest = (u8 *)(u8 []) {
5709                         0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
5710                         0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
5711                         0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
5712                         0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
5713         }, {
5714                 /* A.1. Example 1 */
5715                 .plaintext = "abc",
5716                 .psize = 3,
5717                 .digest = (u8 *)(u8 []) {
5718                         0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
5719                         0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
5720                         0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
5721                         0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
5722         }, {
5723                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5724                 .psize = 26,
5725                 .digest = (u8 *)(u8 []) {
5726                         0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
5727                         0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
5728                         0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
5729                         0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
5730         }, {
5731                 /* A.1. Example 2 */
5732                 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
5733                              "cdabcdabcdabcdabcd",
5734                 .psize = 64,
5735                 .digest = (u8 *)(u8 []) {
5736                         0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
5737                         0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
5738                         0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
5739                         0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
5740         }, {
5741                 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5742                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5743                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5744                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5745                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5746                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5747                              "abcdabcdabcdabcdabcdabcdabcdabcd",
5748                 .psize = 256,
5749                 .digest = (u8 *)(u8 []) {
5750                         0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
5751                         0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
5752                         0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
5753                         0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
5754         }
5755 };
5756
5757 /* Example vectors below taken from
5758  * GM/T 0042-2015 Appendix D.3
5759  */
5760 static const struct hash_testvec hmac_sm3_tv_template[] = {
5761         {
5762                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5763                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5764                           "\x11\x12\x13\x14\x15\x16\x17\x18"
5765                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
5766                 .ksize  = 32,
5767                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
5768                              "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5769                 .psize  = 112,
5770                 .digest = "\xca\x05\xe1\x44\xed\x05\xd1\x85"
5771                           "\x78\x40\xd1\xf3\x18\xa4\xa8\x66"
5772                           "\x9e\x55\x9f\xc8\x39\x1f\x41\x44"
5773                           "\x85\xbf\xdf\x7b\xb4\x08\x96\x3a",
5774         }, {
5775                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5776                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5777                           "\x11\x12\x13\x14\x15\x16\x17\x18"
5778                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
5779                           "\x21\x22\x23\x24\x25",
5780                 .ksize  = 37,
5781                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5782                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5783                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5784                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
5785                 .psize  = 50,
5786                 .digest = "\x22\x0b\xf5\x79\xde\xd5\x55\x39"
5787                           "\x3f\x01\x59\xf6\x6c\x99\x87\x78"
5788                           "\x22\xa3\xec\xf6\x10\xd1\x55\x21"
5789                           "\x54\xb4\x1d\x44\xb9\x4d\xb3\xae",
5790         }, {
5791                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5792                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5793                          "\x0b\x0b\x0b\x0b\x0b\x0b",
5794                 .ksize  = 32,
5795                 .plaintext = "Hi There",
5796                 .psize  = 8,
5797                 .digest = "\xc0\xba\x18\xc6\x8b\x90\xc8\x8b"
5798                           "\xc0\x7d\xe7\x94\xbf\xc7\xd2\xc8"
5799                           "\xd1\x9e\xc3\x1e\xd8\x77\x3b\xc2"
5800                           "\xb3\x90\xc9\x60\x4e\x0b\xe1\x1e",
5801         }, {
5802                 .key    = "Jefe",
5803                 .ksize  = 4,
5804                 .plaintext = "what do ya want for nothing?",
5805                 .psize  = 28,
5806                 .digest = "\x2e\x87\xf1\xd1\x68\x62\xe6\xd9"
5807                           "\x64\xb5\x0a\x52\x00\xbf\x2b\x10"
5808                           "\xb7\x64\xfa\xa9\x68\x0a\x29\x6a"
5809                           "\x24\x05\xf2\x4b\xec\x39\xf8\x82",
5810         },
5811 };
5812
5813 /*
5814  * SHA1 test vectors from FIPS PUB 180-1
5815  * Long vector from CAVS 5.0
5816  */
5817 static const struct hash_testvec sha1_tv_template[] = {
5818         {
5819                 .plaintext = "",
5820                 .psize  = 0,
5821                 .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
5822                           "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
5823         }, {
5824                 .plaintext = "abc",
5825                 .psize  = 3,
5826                 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
5827                           "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
5828         }, {
5829                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5830                 .psize  = 56,
5831                 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
5832                           "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
5833         }, {
5834                 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
5835                              "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
5836                              "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
5837                              "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
5838                              "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
5839                              "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
5840                              "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
5841                              "\x72\x28\x26\xc0\x66\x86\x9e\xda"
5842                              "\xcd\x73\xb2\x54\x80\x35\x18\x58"
5843                              "\x13\xe2\x26\x34\xa9\xda\x44\x00"
5844                              "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
5845                              "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
5846                              "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
5847                              "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
5848                              "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
5849                              "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
5850                              "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
5851                              "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
5852                              "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
5853                              "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
5854                              "\x5a\x90\x11",
5855                 .psize  = 163,
5856                 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
5857                           "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
5858         }, {
5859                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5860                 .psize  = 64,
5861                 .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
5862                           "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
5863         }, {
5864                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5865                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5866                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5867                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5868                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5869                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5870                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5871                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5872                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5873                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5874                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5875                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5876                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5877                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5878                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5879                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5880                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5881                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5882                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5883                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5884                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5885                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5886                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5887                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5888                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5889                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5890                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5891                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5892                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5893                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5894                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5895                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5896                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5897                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5898                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5899                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5900                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5901                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5902                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5903                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5904                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5905                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5906                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5907                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5908                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5909                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5910                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5911                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5912                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5913                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5914                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5915                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5916                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5917                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5918                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5919                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5920                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5921                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5922                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5923                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5924                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5925                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5926                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5927                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5928                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5929                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5930                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5931                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5932                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5933                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5934                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5935                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5936                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5937                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5938                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5939                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5940                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5941                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5942                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5943                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5944                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5945                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5946                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5947                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5948                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5949                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5950                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5951                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5952                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5953                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5954                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5955                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5956                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5957                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5958                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5959                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5960                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5961                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5962                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5963                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5964                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5965                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5966                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5967                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5968                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5969                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5970                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5971                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5972                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5973                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5974                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5975                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5976                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5977                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5978                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5979                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5980                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5981                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5982                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5983                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5984                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5985                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5986                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5987                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5988                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5989                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5990                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5991                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5992                 .psize     = 1023,
5993                 .digest    = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
5994                              "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
5995                              "\x30\xd6\xc9\x85",
5996         }
5997 };
5998
5999
6000 /*
6001  * SHA224 test vectors from FIPS PUB 180-2
6002  */
6003 static const struct hash_testvec sha224_tv_template[] = {
6004         {
6005                 .plaintext = "",
6006                 .psize  = 0,
6007                 .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
6008                           "\x47\x61\x02\xbb\x28\x82\x34\xc4"
6009                           "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
6010                           "\xc5\xb3\xe4\x2f",
6011         }, {
6012                 .plaintext = "abc",
6013                 .psize  = 3,
6014                 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
6015                           "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
6016                           "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
6017                           "\xE3\x6C\x9D\xA7",
6018         }, {
6019                 .plaintext =
6020                 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6021                 .psize  = 56,
6022                 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
6023                           "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
6024                           "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
6025                           "\x52\x52\x25\x25",
6026         }, {
6027                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
6028                 .psize  = 64,
6029                 .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
6030                           "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
6031                           "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
6032                           "\xef\x3b\xcb\x0e",
6033         }, {
6034                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6035                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6036                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6037                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6038                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6039                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6040                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6041                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6042                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6043                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6044                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6045                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6046                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6047                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6048                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6049                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6050                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6051                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6052                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6053                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6054                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6055                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6056                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6057                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6058                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6059                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6060                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6061                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6062                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6063                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6064                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6065                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6066                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6067                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6068                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6069                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6070                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6071                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6072                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6073                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6074                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6075                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6076                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6077                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6078                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
6079                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6080                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6081                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6082                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6083                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6084                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6085                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6086                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6087                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6088                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6089                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6090                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6091                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6092                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6093                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6094                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6095                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6096                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6097                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6098                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6099                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6100                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6101                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6102                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6103                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6104                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6105                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6106                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6107                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6108                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6109                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6110                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6111                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6112                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6113                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6114                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6115                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6116                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6117                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6118                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6119                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6120                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6121                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6122                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6123                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6124                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6125                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6126                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6127                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6128                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6129                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6130                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6131                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6132                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6133                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6134                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6135                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6136                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6137                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6138                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6139                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6140                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6141                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6142                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6143                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6144                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6145                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6146                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6147                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6148                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6149                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6150                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6151                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6152                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6153                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6154                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6155                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6156                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6157                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6158                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6159                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6160                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6161                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6162                 .psize     = 1023,
6163                 .digest    = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
6164                              "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
6165                              "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
6166                              "\xe6\xf9\x4f\xcc",
6167         }
6168 };
6169
6170 /*
6171  * SHA256 test vectors from NIST
6172  */
6173 static const struct hash_testvec sha256_tv_template[] = {
6174         {
6175                 .plaintext = "",
6176                 .psize  = 0,
6177                 .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
6178                           "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
6179                           "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
6180                           "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
6181         }, {
6182                 .plaintext = "abc",
6183                 .psize  = 3,
6184                 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
6185                           "\x41\x41\x40\xde\x5d\xae\x22\x23"
6186                           "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
6187                           "\xb4\x10\xff\x61\xf2\x00\x15\xad",
6188         }, {
6189                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6190                 .psize  = 56,
6191                 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
6192                           "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
6193                           "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
6194                           "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
6195         }, {
6196                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
6197                 .psize  = 64,
6198                 .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
6199                           "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
6200                           "\xd6\xff\x94\xa3\x72\x91\x85\x66"
6201                           "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
6202         }, {
6203                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6204                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6205                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6206                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6207                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6208                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6209                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6210                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6211                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6212                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6213                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6214                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6215                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6216                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6217                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6218                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6219                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6220                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6221                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6222                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6223                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6224                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6225                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6226                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6227                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6228                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6229                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6230                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6231                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6232                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6233                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6234                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6235                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6236                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6237                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6238                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6239                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6240                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6241                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6242                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6243                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6244                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6245                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6246                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6247                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
6248                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6249                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6250                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6251                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6252                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6253                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6254                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6255                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6256                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6257                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6258                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6259                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6260                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6261                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6262                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6263                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6264                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6265                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6266                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6267                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6268                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6269                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6270                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6271                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6272                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6273                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6274                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6275                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6276                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6277                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6278                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6279                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6280                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6281                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6282                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6283                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6284                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6285                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6286                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6287                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6288                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6289                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6290                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6291                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6292                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6293                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6294                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6295                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6296                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6297                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6298                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6299                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6300                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6301                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6302                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6303                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6304                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6305                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6306                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6307                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6308                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6309                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6310                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6311                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6312                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6313                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6314                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6315                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6316                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6317                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6318                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6319                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6320                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6321                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6322                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6323                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6324                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6325                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6326                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6327                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6328                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6329                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6330                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6331                 .psize     = 1023,
6332                 .digest    = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
6333                              "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
6334                              "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
6335                              "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
6336         }
6337 };
6338
6339 /*
6340  * SHA384 test vectors from NIST and kerneli
6341  */
6342 static const struct hash_testvec sha384_tv_template[] = {
6343         {
6344                 .plaintext = "",
6345                 .psize  = 0,
6346                 .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
6347                           "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
6348                           "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
6349                           "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
6350                           "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
6351                           "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
6352         }, {
6353                 .plaintext= "abc",
6354                 .psize  = 3,
6355                 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
6356                           "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
6357                           "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
6358                           "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
6359                           "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
6360                           "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
6361         }, {
6362                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6363                 .psize  = 56,
6364                 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
6365                           "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
6366                           "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
6367                           "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
6368                           "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
6369                           "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
6370         }, {
6371                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
6372                            "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
6373                 .psize  = 112,
6374                 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
6375                           "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
6376                           "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
6377                           "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
6378                           "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
6379                           "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
6380         }, {
6381                 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
6382                            "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
6383                 .psize  = 104,
6384                 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
6385                           "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
6386                           "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
6387                           "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
6388                           "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
6389                           "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
6390         }, {
6391                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6392                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6393                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6394                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6395                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6396                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6397                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6398                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6399                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6400                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6401                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6402                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6403                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6404                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6405                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6406                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6407                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6408                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6409                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6410                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6411                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6412                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6413                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6414                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6415                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6416                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6417                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6418                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6419                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6420                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6421                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6422                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6423                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6424                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6425                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6426                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6427                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6428                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6429                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6430                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6431                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6432                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6433                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6434                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6435                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
6436                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6437                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6438                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6439                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6440                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6441                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6442                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6443                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6444                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6445                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6446                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6447                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6448                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6449                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6450                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6451                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6452                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6453                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6454                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6455                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6456                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6457                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6458                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6459                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6460                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6461                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6462                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6463                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6464                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6465                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6466                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6467                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6468                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6469                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6470                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6471                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6472                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6473                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6474                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6475                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6476                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6477                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6478                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6479                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6480                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6481                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6482                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6483                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6484                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6485                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6486                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6487                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6488                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6489                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6490                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6491                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6492                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6493                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6494                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6495                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6496                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6497                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6498                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6499                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6500                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6501                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6502                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6503                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6504                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6505                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6506                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6507                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6508                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6509                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6510                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6511                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6512                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6513                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6514                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6515                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6516                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6517                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6518                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6519                 .psize     = 1023,
6520                 .digest    = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
6521                              "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
6522                              "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
6523                              "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
6524                              "\x75\x29\x62\x83\xae\x3f\x17\xab"
6525                              "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
6526         }
6527 };
6528
6529 /*
6530  * SHA512 test vectors from NIST and kerneli
6531  */
6532 static const struct hash_testvec sha512_tv_template[] = {
6533         {
6534                 .plaintext = "",
6535                 .psize  = 0,
6536                 .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
6537                           "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
6538                           "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
6539                           "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
6540                           "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
6541                           "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
6542                           "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
6543                           "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
6544         }, {
6545                 .plaintext = "abc",
6546                 .psize  = 3,
6547                 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
6548                           "\xcc\x41\x73\x49\xae\x20\x41\x31"
6549                           "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
6550                           "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
6551                           "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
6552                           "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
6553                           "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
6554                           "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
6555         }, {
6556                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6557                 .psize  = 56,
6558                 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
6559                           "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
6560                           "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
6561                           "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
6562                           "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
6563                           "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
6564                           "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
6565                           "\x54\xec\x63\x12\x38\xca\x34\x45",
6566         }, {
6567                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
6568                            "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
6569                 .psize  = 112,
6570                 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
6571                           "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
6572                           "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
6573                           "\x72\x99\xae\xad\xb6\x88\x90\x18"
6574                           "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
6575                           "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
6576                           "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
6577                           "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
6578         }, {
6579                 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
6580                            "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
6581                 .psize  = 104,
6582                 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
6583                           "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
6584                           "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
6585                           "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
6586                           "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
6587                           "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
6588                           "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
6589                           "\xed\xb4\x19\x87\x23\x28\x50\xc9",
6590         }, {
6591                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6592                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6593                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6594                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6595                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6596                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6597                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6598                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6599                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6600                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6601                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6602                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6603                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6604                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6605                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6606                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6607                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6608                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6609                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6610                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6611                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6612                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6613                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6614                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6615                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6616                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6617                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6618                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6619                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6620                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6621                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6622                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6623                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6624                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6625                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6626                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6627                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6628                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6629                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6630                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6631                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6632                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6633                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6634                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6635                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
6636                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6637                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6638                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6639                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6640                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6641                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6642                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6643                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6644                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6645                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6646                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6647                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6648                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6649                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6650                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6651                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6652                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6653                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6654                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6655                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6656                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6657                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6658                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6659                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6660                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6661                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6662                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6663                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6664                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6665                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6666                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6667                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6668                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6669                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6670                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6671                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6672                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6673                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6674                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6675                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6676                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6677                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6678                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6679                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6680                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6681                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6682                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6683                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6684                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6685                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6686                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6687                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6688                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6689                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6690                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6691                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6692                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6693                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6694                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6695                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6696                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6697                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6698                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6699                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6700                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6701                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6702                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6703                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6704                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6705                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6706                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6707                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6708                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6709                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6710                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6711                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6712                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6713                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6714                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6715                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6716                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6717                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6718                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6719                 .psize     = 1023,
6720                 .digest    = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
6721                              "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
6722                              "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
6723                              "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
6724                              "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
6725                              "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
6726                              "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
6727                              "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
6728         }
6729 };
6730
6731
6732 /*
6733  * WHIRLPOOL test vectors from Whirlpool package
6734  * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
6735  * submission
6736  */
6737 static const struct hash_testvec wp512_tv_template[] = {
6738         {
6739                 .plaintext = "",
6740                 .psize  = 0,
6741                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
6742                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
6743                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
6744                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
6745                           "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
6746                           "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
6747                           "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
6748                           "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
6749
6750
6751         }, {
6752                 .plaintext = "a",
6753                 .psize  = 1,
6754                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6755                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6756                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6757                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
6758                           "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
6759                           "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
6760                           "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
6761                           "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
6762         }, {
6763                 .plaintext = "abc",
6764                 .psize  = 3,
6765                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6766                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6767                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6768                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
6769                           "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
6770                           "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
6771                           "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
6772                           "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
6773         }, {
6774                 .plaintext = "message digest",
6775                 .psize  = 14,
6776                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6777                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6778                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6779                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
6780                           "\x84\x21\x55\x76\x59\xEF\x55\xC1"
6781                           "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
6782                           "\x92\xED\x92\x00\x52\x83\x8F\x33"
6783                           "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
6784         }, {
6785                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6786                 .psize  = 26,
6787                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6788                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6789                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6790                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
6791                           "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
6792                           "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
6793                           "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
6794                           "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
6795         }, {
6796                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6797                            "abcdefghijklmnopqrstuvwxyz0123456789",
6798                 .psize  = 62,
6799                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6800                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6801                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6802                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
6803                           "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
6804                           "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
6805                           "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
6806                           "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
6807         }, {
6808                 .plaintext = "1234567890123456789012345678901234567890"
6809                            "1234567890123456789012345678901234567890",
6810                 .psize  = 80,
6811                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6812                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6813                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6814                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
6815                           "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
6816                           "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
6817                           "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
6818                           "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
6819         }, {
6820                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6821                 .psize  = 32,
6822                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6823                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6824                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6825                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
6826                           "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
6827                           "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
6828                           "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
6829                           "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
6830         },
6831 };
6832
6833 static const struct hash_testvec wp384_tv_template[] = {
6834         {
6835                 .plaintext = "",
6836                 .psize  = 0,
6837                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
6838                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
6839                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
6840                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
6841                           "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
6842                           "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
6843
6844
6845         }, {
6846                 .plaintext = "a",
6847                 .psize  = 1,
6848                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6849                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6850                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6851                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
6852                           "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
6853                           "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
6854         }, {
6855                 .plaintext = "abc",
6856                 .psize  = 3,
6857                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6858                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6859                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6860                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
6861                           "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
6862                           "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
6863         }, {
6864                 .plaintext = "message digest",
6865                 .psize  = 14,
6866                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6867                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6868                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6869                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
6870                           "\x84\x21\x55\x76\x59\xEF\x55\xC1"
6871                           "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
6872         }, {
6873                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6874                 .psize  = 26,
6875                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6876                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6877                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6878                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
6879                           "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
6880                           "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
6881         }, {
6882                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6883                            "abcdefghijklmnopqrstuvwxyz0123456789",
6884                 .psize  = 62,
6885                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6886                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6887                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6888                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
6889                           "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
6890                           "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
6891         }, {
6892                 .plaintext = "1234567890123456789012345678901234567890"
6893                            "1234567890123456789012345678901234567890",
6894                 .psize  = 80,
6895                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6896                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6897                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6898                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
6899                           "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
6900                           "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
6901         }, {
6902                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6903                 .psize  = 32,
6904                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6905                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6906                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6907                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
6908                           "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
6909                           "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
6910         },
6911 };
6912
6913 static const struct hash_testvec wp256_tv_template[] = {
6914         {
6915                 .plaintext = "",
6916                 .psize  = 0,
6917                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
6918                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
6919                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
6920                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
6921
6922
6923         }, {
6924                 .plaintext = "a",
6925                 .psize  = 1,
6926                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6927                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6928                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6929                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
6930         }, {
6931                 .plaintext = "abc",
6932                 .psize  = 3,
6933                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6934                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6935                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6936                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
6937         }, {
6938                 .plaintext = "message digest",
6939                 .psize  = 14,
6940                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6941                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6942                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6943                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
6944         }, {
6945                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6946                 .psize  = 26,
6947                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6948                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6949                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6950                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
6951         }, {
6952                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6953                            "abcdefghijklmnopqrstuvwxyz0123456789",
6954                 .psize  = 62,
6955                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6956                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6957                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6958                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
6959         }, {
6960                 .plaintext = "1234567890123456789012345678901234567890"
6961                            "1234567890123456789012345678901234567890",
6962                 .psize  = 80,
6963                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6964                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6965                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6966                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
6967         }, {
6968                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6969                 .psize  = 32,
6970                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6971                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6972                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6973                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
6974         },
6975 };
6976
6977 static const struct hash_testvec ghash_tv_template[] =
6978 {
6979         {
6980                 .key    = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
6981                           "\xff\xca\xff\x95\xf8\x30\xf0\x61",
6982                 .ksize  = 16,
6983                 .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
6984                              "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
6985                 .psize  = 16,
6986                 .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
6987                           "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
6988         }, {
6989                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6990                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
6991                 .ksize  = 16,
6992                 .plaintext = "what do ya want for nothing?",
6993                 .psize  = 28,
6994                 .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
6995                           "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
6996         }, {
6997                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6998                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6999                 .ksize  = 16,
7000                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7001                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7002                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7003                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7004                 .psize  = 50,
7005                 .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
7006                           "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
7007         }, {
7008                 .key    = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
7009                           "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
7010                 .ksize  = 16,
7011                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7012                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7013                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7014                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7015                 .psize  = 50,
7016                 .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
7017                           "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
7018         }, {
7019                 .key    = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
7020                           "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
7021                 .ksize  = 16,
7022                 .plaintext = "Test With Truncation",
7023                 .psize  = 20,
7024                 .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
7025                           "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
7026         }, {
7027                 .key    = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
7028                         "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
7029                 .ksize  = 16,
7030                 .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
7031                         "\x65\x72\x20\x4c\x61\x75\x73\x63"
7032                         "\x68\x65\x6e\x20\x75\x6e\x64\x20"
7033                         "\x53\x74\x61\x75\x6e\x65\x6e\x20"
7034                         "\x73\x65\x69\x20\x73\x74\x69\x6c"
7035                         "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
7036                         "\x69\x6e\x20\x74\x69\x65\x66\x74"
7037                         "\x69\x65\x66\x65\x73\x20\x4c\x65"
7038                         "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
7039                         "\x73\x20\x64\x75\x20\x77\x65\x69"
7040                         "\xc3\x9f\x74\x20\x77\x61\x73\x20"
7041                         "\x64\x65\x72\x20\x57\x69\x6e\x64"
7042                         "\x20\x64\x69\x72\x20\x77\x69\x6c"
7043                         "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
7044                         "\x63\x68\x20\x64\x69\x65\x20\x42"
7045                         "\x69\x72\x6b\x65\x6e\x20\x62\x65"
7046                         "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
7047                         "\x64\x20\x77\x65\x6e\x6e\x20\x64"
7048                         "\x69\x72\x20\x65\x69\x6e\x6d\x61"
7049                         "\x6c\x20\x64\x61\x73\x20\x53\x63"
7050                         "\x68\x77\x65\x69\x67\x65\x6e\x20"
7051                         "\x73\x70\x72\x61\x63\x68\x2c\x0a"
7052                         "\x6c\x61\x73\x73\x20\x64\x65\x69"
7053                         "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
7054                         "\x20\x62\x65\x73\x69\x65\x67\x65"
7055                         "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
7056                         "\x20\x48\x61\x75\x63\x68\x65\x20"
7057                         "\x67\x69\x62\x74\x20\x64\x69\x63"
7058                         "\x68\x2c\x20\x67\x69\x62\x20\x6e"
7059                         "\x61\x63\x68\x2c\x0a\x65\x72\x20"
7060                         "\x77\x69\x72\x64\x20\x64\x69\x63"
7061                         "\x68\x20\x6c\x69\x65\x62\x65\x6e"
7062                         "\x20\x75\x6e\x64\x20\x77\x69\x65"
7063                         "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
7064                         "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
7065                         "\x65\x69\x6e\x65\x20\x53\x65\x65"
7066                         "\x6c\x65\x20\x73\x65\x69\x74\x20"
7067                         "\x77\x65\x69\x74\x2c\x20\x73\x65"
7068                         "\x69\x20\x77\x65\x69\x74\x2c\x0a"
7069                         "\x64\x61\x73\x73\x20\x64\x69\x72"
7070                         "\x20\x64\x61\x73\x20\x4c\x65\x62"
7071                         "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
7072                         "\x67\x65\x2c\x0a\x62\x72\x65\x69"
7073                         "\x74\x65\x20\x64\x69\x63\x68\x20"
7074                         "\x77\x69\x65\x20\x65\x69\x6e\x20"
7075                         "\x46\x65\x69\x65\x72\x6b\x6c\x65"
7076                         "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
7077                         "\x20\x64\x69\x65\x20\x73\x69\x6e"
7078                         "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
7079                         "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
7080                 .psize  = 400,
7081                 .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
7082                         "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
7083         },
7084 };
7085
7086 /*
7087  * HMAC-MD5 test vectors from RFC2202
7088  * (These need to be fixed to not use strlen).
7089  */
7090 static const struct hash_testvec hmac_md5_tv_template[] =
7091 {
7092         {
7093                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
7094                 .ksize  = 16,
7095                 .plaintext = "Hi There",
7096                 .psize  = 8,
7097                 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
7098                           "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
7099         }, {
7100                 .key    = "Jefe",
7101                 .ksize  = 4,
7102                 .plaintext = "what do ya want for nothing?",
7103                 .psize  = 28,
7104                 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
7105                           "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
7106         }, {
7107                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7108                 .ksize  = 16,
7109                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7110                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7111                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7112                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7113                 .psize  = 50,
7114                 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
7115                           "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
7116         }, {
7117                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7118                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7119                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
7120                 .ksize  = 25,
7121                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7122                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7123                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7124                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7125                 .psize  = 50,
7126                 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
7127                           "\x3a\x75\x16\x47\x46\xff\xaa\x79",
7128         }, {
7129                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
7130                 .ksize  = 16,
7131                 .plaintext = "Test With Truncation",
7132                 .psize  = 20,
7133                 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
7134                           "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
7135         }, {
7136                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7137                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7138                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7139                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7140                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7141                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7142                         "\xaa\xaa",
7143                 .ksize  = 80,
7144                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7145                 .psize  = 54,
7146                 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
7147                           "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
7148         }, {
7149                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7150                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7151                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7152                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7153                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7154                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7155                         "\xaa\xaa",
7156                 .ksize  = 80,
7157                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
7158                            "Block-Size Data",
7159                 .psize  = 73,
7160                 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
7161                           "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
7162         },
7163 };
7164
7165 /*
7166  * HMAC-RIPEMD160 test vectors from RFC2286
7167  */
7168 static const struct hash_testvec hmac_rmd160_tv_template[] = {
7169         {
7170                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
7171                 .ksize  = 20,
7172                 .plaintext = "Hi There",
7173                 .psize  = 8,
7174                 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
7175                           "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
7176         }, {
7177                 .key    = "Jefe",
7178                 .ksize  = 4,
7179                 .plaintext = "what do ya want for nothing?",
7180                 .psize  = 28,
7181                 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
7182                           "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
7183         }, {
7184                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7185                 .ksize  = 20,
7186                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7187                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7188                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7189                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7190                 .psize  = 50,
7191                 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
7192                           "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
7193         }, {
7194                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7195                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7196                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
7197                 .ksize  = 25,
7198                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7199                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7200                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7201                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7202                 .psize  = 50,
7203                 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
7204                           "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
7205         }, {
7206                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
7207                 .ksize  = 20,
7208                 .plaintext = "Test With Truncation",
7209                 .psize  = 20,
7210                 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
7211                           "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
7212         }, {
7213                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7214                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7215                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7216                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7217                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7218                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7219                         "\xaa\xaa",
7220                 .ksize  = 80,
7221                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7222                 .psize  = 54,
7223                 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
7224                           "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
7225         }, {
7226                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7227                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7228                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7229                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7230                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7231                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7232                         "\xaa\xaa",
7233                 .ksize  = 80,
7234                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
7235                            "Block-Size Data",
7236                 .psize  = 73,
7237                 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
7238                           "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
7239         },
7240 };
7241
7242 /*
7243  * HMAC-SHA1 test vectors from RFC2202
7244  */
7245 static const struct hash_testvec hmac_sha1_tv_template[] = {
7246         {
7247                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
7248                 .ksize  = 20,
7249                 .plaintext = "Hi There",
7250                 .psize  = 8,
7251                 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
7252                           "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
7253                           "\x46\xbe",
7254         }, {
7255                 .key    = "Jefe",
7256                 .ksize  = 4,
7257                 .plaintext = "what do ya want for nothing?",
7258                 .psize  = 28,
7259                 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
7260                           "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
7261                 .fips_skip = 1,
7262         }, {
7263                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7264                 .ksize  = 20,
7265                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7266                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7267                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7268                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7269                 .psize  = 50,
7270                 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
7271                           "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
7272         }, {
7273                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7274                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7275                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
7276                 .ksize  = 25,
7277                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7278                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7279                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7280                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7281                 .psize  = 50,
7282                 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
7283                           "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
7284         }, {
7285                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
7286                 .ksize  = 20,
7287                 .plaintext = "Test With Truncation",
7288                 .psize  = 20,
7289                 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
7290                           "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
7291         }, {
7292                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7293                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7294                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7295                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7296                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7297                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7298                         "\xaa\xaa",
7299                 .ksize  = 80,
7300                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7301                 .psize  = 54,
7302                 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
7303                           "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
7304         }, {
7305                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7306                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7307                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7308                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7309                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7310                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7311                         "\xaa\xaa",
7312                 .ksize  = 80,
7313                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
7314                            "Block-Size Data",
7315                 .psize  = 73,
7316                 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
7317                           "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
7318         },
7319 };
7320
7321
7322 /*
7323  * SHA224 HMAC test vectors from RFC4231
7324  */
7325 static const struct hash_testvec hmac_sha224_tv_template[] = {
7326         {
7327                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7328                         "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7329                         "\x0b\x0b\x0b\x0b",
7330                 .ksize  = 20,
7331                 /*  ("Hi There") */
7332                 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
7333                 .psize  = 8,
7334                 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
7335                         "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
7336                         "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
7337                         "\x53\x68\x4b\x22",
7338         }, {
7339                 .key    = "Jefe",
7340                 .ksize  = 4,
7341                 /* ("what do ya want for nothing?") */
7342                 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
7343                         "\x79\x61\x20\x77\x61\x6e\x74\x20"
7344                         "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
7345                         "\x69\x6e\x67\x3f",
7346                 .psize  = 28,
7347                 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
7348                         "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
7349                         "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
7350                         "\x8f\xd0\x5e\x44",
7351                 .fips_skip = 1,
7352         }, {
7353                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7354                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7355                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7356                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7357                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7358                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7359                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7360                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7361                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7362                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7363                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7364                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7365                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7366                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7367                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7368                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7369                         "\xaa\xaa\xaa",
7370                 .ksize  = 131,
7371                 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
7372                 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
7373                         "\x6e\x67\x20\x4c\x61\x72\x67\x65"
7374                         "\x72\x20\x54\x68\x61\x6e\x20\x42"
7375                         "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
7376                         "\x65\x20\x4b\x65\x79\x20\x2d\x20"
7377                         "\x48\x61\x73\x68\x20\x4b\x65\x79"
7378                         "\x20\x46\x69\x72\x73\x74",
7379                 .psize  = 54,
7380                 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
7381                         "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
7382                         "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
7383                         "\x3f\xa6\x87\x0e",
7384         }, {
7385                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7386                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7387                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7388                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7389                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7390                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7391                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7392                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7393                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7394                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7395                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7396                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7397                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7398                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7399                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7400                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7401                         "\xaa\xaa\xaa",
7402                 .ksize  = 131,
7403                 /* ("This is a test using a larger than block-size key and a")
7404                 (" larger than block-size data. The key needs to be")
7405                         (" hashed before being used by the HMAC algorithm.") */
7406                 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
7407                         "\x61\x20\x74\x65\x73\x74\x20\x75"
7408                         "\x73\x69\x6e\x67\x20\x61\x20\x6c"
7409                         "\x61\x72\x67\x65\x72\x20\x74\x68"
7410                         "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
7411                         "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
7412                         "\x79\x20\x61\x6e\x64\x20\x61\x20"
7413                         "\x6c\x61\x72\x67\x65\x72\x20\x74"
7414                         "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
7415                         "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
7416                         "\x61\x74\x61\x2e\x20\x54\x68\x65"
7417                         "\x20\x6b\x65\x79\x20\x6e\x65\x65"
7418                         "\x64\x73\x20\x74\x6f\x20\x62\x65"
7419                         "\x20\x68\x61\x73\x68\x65\x64\x20"
7420                         "\x62\x65\x66\x6f\x72\x65\x20\x62"
7421                         "\x65\x69\x6e\x67\x20\x75\x73\x65"
7422                         "\x64\x20\x62\x79\x20\x74\x68\x65"
7423                         "\x20\x48\x4d\x41\x43\x20\x61\x6c"
7424                         "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
7425                 .psize  = 152,
7426                 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
7427                         "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
7428                         "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
7429                         "\xf6\xf5\x65\xd1",
7430         },
7431 };
7432
7433 /*
7434  * HMAC-SHA256 test vectors from
7435  * draft-ietf-ipsec-ciph-sha-256-01.txt
7436  */
7437 static const struct hash_testvec hmac_sha256_tv_template[] = {
7438         {
7439                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7440                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7441                           "\x11\x12\x13\x14\x15\x16\x17\x18"
7442                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
7443                 .ksize  = 32,
7444                 .plaintext = "abc",
7445                 .psize  = 3,
7446                 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
7447                           "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
7448                           "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
7449                           "\x92\x75\x90\x21\xcf\xab\x81\x81",
7450         }, {
7451                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7452                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7453                           "\x11\x12\x13\x14\x15\x16\x17\x18"
7454                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
7455                 .ksize  = 32,
7456                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
7457                 .psize  = 56,
7458                 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
7459                           "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
7460                           "\xe6\x98\xe3\x61\x19\x42\x11\x49"
7461                           "\xea\x8c\x71\x24\x56\x69\x7d\x30",
7462         }, {
7463                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7464                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7465                           "\x11\x12\x13\x14\x15\x16\x17\x18"
7466                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
7467                 .ksize  = 32,
7468                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
7469                            "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
7470                 .psize  = 112,
7471                 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
7472                           "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
7473                           "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
7474                           "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
7475         }, {
7476                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7477                         "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7478                         "\x0b\x0b\x0b\x0b\x0b\x0b",
7479                 .ksize  = 32,
7480                 .plaintext = "Hi There",
7481                 .psize  = 8,
7482                 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
7483                           "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
7484                           "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
7485                           "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
7486         }, {
7487                 .key    = "Jefe",
7488                 .ksize  = 4,
7489                 .plaintext = "what do ya want for nothing?",
7490                 .psize  = 28,
7491                 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
7492                           "\x6a\x04\x24\x26\x08\x95\x75\xc7"
7493                           "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
7494                           "\x9d\xec\x58\xb9\x64\xec\x38\x43",
7495                 .fips_skip = 1,
7496         }, {
7497                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7498                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7499                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7500                 .ksize  = 32,
7501                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7502                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7503                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7504                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7505                 .psize  = 50,
7506                 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
7507                           "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
7508                           "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
7509                           "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
7510         }, {
7511                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7512                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7513                           "\x11\x12\x13\x14\x15\x16\x17\x18"
7514                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
7515                           "\x21\x22\x23\x24\x25",
7516                 .ksize  = 37,
7517                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7518                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7519                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7520                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7521                 .psize  = 50,
7522                 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
7523                           "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
7524                           "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
7525                           "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
7526         }, {
7527                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
7528                         "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
7529                         "\x0c\x0c\x0c\x0c\x0c\x0c",
7530                 .ksize  = 32,
7531                 .plaintext = "Test With Truncation",
7532                 .psize  = 20,
7533                 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
7534                           "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
7535                           "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
7536                           "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
7537         }, {
7538                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7539                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7540                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7541                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7542                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7543                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7544                         "\xaa\xaa",
7545                 .ksize  = 80,
7546                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7547                 .psize  = 54,
7548                 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
7549                           "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
7550                           "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
7551                           "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
7552         }, {
7553                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7554                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7555                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7556                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7557                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7558                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7559                         "\xaa\xaa",
7560                 .ksize  = 80,
7561                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
7562                            "One Block-Size Data",
7563                 .psize  = 73,
7564                 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
7565                           "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
7566                           "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
7567                           "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
7568         },
7569 };
7570
7571 static const struct hash_testvec aes_cmac128_tv_template[] = {
7572         { /* From NIST Special Publication 800-38B, AES-128 */
7573                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7574                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7575                 .plaintext      = zeroed_string,
7576                 .digest         = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
7577                                   "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
7578                 .psize          = 0,
7579                 .ksize          = 16,
7580         }, {
7581                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7582                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7583                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7584                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
7585                 .digest         = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
7586                                   "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
7587                 .psize          = 16,
7588                 .ksize          = 16,
7589         }, {
7590                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7591                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7592                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7593                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7594                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7595                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7596                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
7597                 .digest         = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
7598                                   "\x30\xca\x32\x61\x14\x97\xc8\x27",
7599                 .psize          = 40,
7600                 .ksize          = 16,
7601         }, {
7602                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7603                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7604                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7605                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7606                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7607                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7608                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
7609                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
7610                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
7611                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
7612                 .digest         = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
7613                                   "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
7614                 .psize          = 64,
7615                 .ksize          = 16,
7616         }, { /* From NIST Special Publication 800-38B, AES-256 */
7617                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
7618                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
7619                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
7620                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
7621                 .plaintext      = zeroed_string,
7622                 .digest         = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
7623                                   "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
7624                 .psize          = 0,
7625                 .ksize          = 32,
7626         }, {
7627                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
7628                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
7629                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
7630                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
7631                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7632                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7633                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7634                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7635                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
7636                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
7637                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
7638                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
7639                 .digest         = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
7640                                   "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
7641                 .psize          = 64,
7642                 .ksize          = 32,
7643         }
7644 };
7645
7646 static const struct hash_testvec aes_cbcmac_tv_template[] = {
7647         {
7648                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7649                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7650                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7651                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
7652                 .digest         = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
7653                                   "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
7654                 .psize          = 16,
7655                 .ksize          = 16,
7656         }, {
7657                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7658                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7659                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7660                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7661                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7662                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7663                                   "\x30",
7664                 .digest         = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
7665                                   "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
7666                 .psize          = 33,
7667                 .ksize          = 16,
7668         }, {
7669                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7670                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7671                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7672                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7673                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7674                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7675                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
7676                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
7677                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
7678                                   "\xad\x2b\x41\x7b\xe6\x6c\x37",
7679                 .digest         = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
7680                                   "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
7681                 .psize          = 63,
7682                 .ksize          = 16,
7683         }, {
7684                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
7685                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
7686                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
7687                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
7688                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7689                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7690                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7691                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7692                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
7693                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
7694                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
7695                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
7696                                   "\x1c",
7697                 .digest         = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
7698                                   "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
7699                 .psize          = 65,
7700                 .ksize          = 32,
7701         }
7702 };
7703
7704 static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
7705 /*
7706  * From NIST Special Publication 800-38B, Three Key TDEA
7707  * Corrected test vectors from:
7708  *  http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
7709  */
7710         {
7711                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
7712                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
7713                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
7714                 .plaintext      = zeroed_string,
7715                 .digest         = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
7716                 .psize          = 0,
7717                 .ksize          = 24,
7718         }, {
7719                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
7720                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
7721                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
7722                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
7723                 .digest         = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
7724                 .psize          = 8,
7725                 .ksize          = 24,
7726         }, {
7727                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
7728                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
7729                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
7730                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7731                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7732                                   "\xae\x2d\x8a\x57",
7733                 .digest         = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
7734                 .psize          = 20,
7735                 .ksize          = 24,
7736         }, {
7737                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
7738                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
7739                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
7740                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7741                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7742                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7743                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
7744                 .digest         = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
7745                 .psize          = 32,
7746                 .ksize          = 24,
7747         }
7748 };
7749
7750 static const struct hash_testvec aes_xcbc128_tv_template[] = {
7751         {
7752                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7753                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7754                 .plaintext = zeroed_string,
7755                 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
7756                           "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
7757                 .psize  = 0,
7758                 .ksize  = 16,
7759         }, {
7760                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7761                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7762                 .plaintext = "\x00\x01\x02",
7763                 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
7764                           "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
7765                 .psize  = 3,
7766                 .ksize  = 16,
7767         } , {
7768                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7769                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7770                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
7771                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7772                 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
7773                           "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
7774                 .psize  = 16,
7775                 .ksize  = 16,
7776         }, {
7777                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7778                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7779                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
7780                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7781                              "\x10\x11\x12\x13",
7782                 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
7783                           "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
7784                 .psize  = 20,
7785                 .ksize  = 16,
7786         }, {
7787                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7788                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7789                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
7790                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7791                              "\x10\x11\x12\x13\x14\x15\x16\x17"
7792                              "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
7793                 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
7794                           "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
7795                 .psize  = 32,
7796                 .ksize  = 16,
7797         }, {
7798                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7799                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7800                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
7801                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7802                              "\x10\x11\x12\x13\x14\x15\x16\x17"
7803                              "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
7804                              "\x20\x21",
7805                 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
7806                           "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
7807                 .psize  = 34,
7808                 .ksize  = 16,
7809         }
7810 };
7811
7812 static const char vmac64_string1[144] = {
7813         '\0',     '\0',   '\0',   '\0',   '\0',   '\0',   '\0',   '\0',
7814         '\0',     '\0',   '\0',   '\0',   '\0',   '\0',   '\0',   '\0',
7815         '\x01', '\x01', '\x01', '\x01', '\x02', '\x03', '\x02', '\x02',
7816         '\x02', '\x04', '\x01', '\x07', '\x04', '\x01', '\x04', '\x03',
7817 };
7818
7819 static const char vmac64_string2[144] = {
7820         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7821         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7822          'a',  'b',  'c',
7823 };
7824
7825 static const char vmac64_string3[144] = {
7826         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7827         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7828          'a',  'b',  'c',  'a',  'b',  'c',  'a',  'b',
7829          'c',  'a',  'b',  'c',  'a',  'b',  'c',  'a',
7830          'b',  'c',  'a',  'b',  'c',  'a',  'b',  'c',
7831          'a',  'b',  'c',  'a',  'b',  'c',  'a',  'b',
7832          'c',  'a',  'b',  'c',  'a',  'b',  'c',  'a',
7833          'b',  'c',  'a',  'b',  'c',  'a',  'b',  'c',
7834 };
7835
7836 static const char vmac64_string4[33] = {
7837         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7838         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7839         'b',   'c',  'e',  'f',  'i',  'j',  'l',  'm',
7840         'o',   'p',  'r',  's',  't',  'u',  'w',  'x',
7841         'z',
7842 };
7843
7844 static const char vmac64_string5[143] = {
7845         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7846         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7847          'r',  'm',  'b',  't',  'c',  'o',  'l',  'k',
7848          ']',  '%',  '9',  '2',  '7',  '!',  'A',
7849 };
7850
7851 static const char vmac64_string6[145] = {
7852         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7853         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7854          'p',  't',  '*',  '7',  'l',  'i',  '!',  '#',
7855          'w',  '0',  'z',  '/',  '4',  'A',  'n',
7856 };
7857
7858 static const struct hash_testvec vmac64_aes_tv_template[] = {
7859         { /* draft-krovetz-vmac-01 test vector 1 */
7860                 .key    = "abcdefghijklmnop",
7861                 .ksize  = 16,
7862                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi",
7863                 .psize  = 16,
7864                 .digest = "\x25\x76\xbe\x1c\x56\xd8\xb8\x1b",
7865         }, { /* draft-krovetz-vmac-01 test vector 2 */
7866                 .key    = "abcdefghijklmnop",
7867                 .ksize  = 16,
7868                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghiabc",
7869                 .psize  = 19,
7870                 .digest = "\x2d\x37\x6c\xf5\xb1\x81\x3c\xe5",
7871         }, { /* draft-krovetz-vmac-01 test vector 3 */
7872                 .key    = "abcdefghijklmnop",
7873                 .ksize  = 16,
7874                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
7875                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
7876                 .psize  = 64,
7877                 .digest = "\xe8\x42\x1f\x61\xd5\x73\xd2\x98",
7878         }, { /* draft-krovetz-vmac-01 test vector 4 */
7879                 .key    = "abcdefghijklmnop",
7880                 .ksize  = 16,
7881                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
7882                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7883                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7884                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7885                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7886                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7887                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
7888                 .psize  = 316,
7889                 .digest = "\x44\x92\xdf\x6c\x5c\xac\x1b\xbe",
7890         }, {
7891                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7892                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7893                 .ksize  = 16,
7894                 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
7895                           "\x00\x00\x00\x00\x00\x00\x00\x00",
7896                 .psize  = 16,
7897                 .digest = "\x54\x7b\xa4\x77\x35\x80\x58\x07",
7898         }, {
7899                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7900                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7901                 .ksize  = 16,
7902                 .plaintext = vmac64_string1,
7903                 .psize  = sizeof(vmac64_string1),
7904                 .digest = "\xa1\x8c\x68\xae\xd3\x3c\xf5\xce",
7905         }, {
7906                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7907                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7908                 .ksize  = 16,
7909                 .plaintext = vmac64_string2,
7910                 .psize  = sizeof(vmac64_string2),
7911                 .digest = "\x2d\x14\xbd\x81\x73\xb0\x27\xc9",
7912         }, {
7913                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7914                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7915                 .ksize  = 16,
7916                 .plaintext = vmac64_string3,
7917                 .psize  = sizeof(vmac64_string3),
7918                 .digest = "\x19\x0b\x47\x98\x8c\x95\x1a\x8d",
7919         }, {
7920                 .key    = "abcdefghijklmnop",
7921                 .ksize  = 16,
7922                 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
7923                           "\x00\x00\x00\x00\x00\x00\x00\x00",
7924                 .psize  = 16,
7925                 .digest = "\x84\x8f\x55\x9e\x26\xa1\x89\x3b",
7926         }, {
7927                 .key    = "abcdefghijklmnop",
7928                 .ksize  = 16,
7929                 .plaintext = vmac64_string1,
7930                 .psize  = sizeof(vmac64_string1),
7931                 .digest = "\xc2\x74\x8d\xf6\xb0\xab\x5e\xab",
7932         }, {
7933                 .key    = "abcdefghijklmnop",
7934                 .ksize  = 16,
7935                 .plaintext = vmac64_string2,
7936                 .psize  = sizeof(vmac64_string2),
7937                 .digest = "\xdf\x09\x7b\x3d\x42\x68\x15\x11",
7938         }, {
7939                 .key    = "abcdefghijklmnop",
7940                 .ksize  = 16,
7941                 .plaintext = vmac64_string3,
7942                 .psize  = sizeof(vmac64_string3),
7943                 .digest = "\xd4\xfa\x8f\xed\xe1\x8f\x32\x8b",
7944         }, {
7945                 .key    = "a09b5cd!f#07K\x00\x00\x00",
7946                 .ksize  = 16,
7947                 .plaintext = vmac64_string4,
7948                 .psize  = sizeof(vmac64_string4),
7949                 .digest = "\x5f\xa1\x4e\x42\xea\x0f\xa5\xab",
7950         }, {
7951                 .key    = "a09b5cd!f#07K\x00\x00\x00",
7952                 .ksize  = 16,
7953                 .plaintext = vmac64_string5,
7954                 .psize  = sizeof(vmac64_string5),
7955                 .digest = "\x60\x67\xe8\x1d\xbc\x98\x31\x25",
7956         }, {
7957                 .key    = "a09b5cd!f#07K\x00\x00\x00",
7958                 .ksize  = 16,
7959                 .plaintext = vmac64_string6,
7960                 .psize  = sizeof(vmac64_string6),
7961                 .digest = "\x41\xeb\x65\x95\x47\x9b\xae\xc4",
7962         },
7963 };
7964
7965 /*
7966  * SHA384 HMAC test vectors from RFC4231
7967  */
7968
7969 static const struct hash_testvec hmac_sha384_tv_template[] = {
7970         {
7971                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7972                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7973                           "\x0b\x0b\x0b\x0b",
7974                 .ksize  = 20,
7975                 .plaintext = "Hi There",
7976                 .psize  = 8,
7977                 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
7978                           "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
7979                           "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
7980                           "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
7981                           "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
7982                           "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
7983         }, {
7984                 .key    = "Jefe",
7985                 .ksize  = 4,
7986                 .plaintext = "what do ya want for nothing?",
7987                 .psize  = 28,
7988                 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
7989                           "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
7990                           "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
7991                           "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
7992                           "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
7993                           "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
7994                 .fips_skip = 1,
7995         }, {
7996                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7997                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7998                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7999                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8000                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8001                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8002                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8003                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8004                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8005                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8006                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8007                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8008                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8009                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8010                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8011                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8012                           "\xaa\xaa\xaa",
8013                 .ksize  = 131,
8014                 .plaintext = "Test Using Larger Than Block-Siz"
8015                            "e Key - Hash Key First",
8016                 .psize  = 54,
8017                 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
8018                           "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
8019                           "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
8020                           "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
8021                           "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
8022                           "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
8023         }, {
8024                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8025                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8026                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8027                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8028                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8029                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8030                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8031                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8032                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8033                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8034                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8035                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8036                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8037                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8038                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8039                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8040                           "\xaa\xaa\xaa",
8041                 .ksize  = 131,
8042                 .plaintext = "This is a test u"
8043                            "sing a larger th"
8044                            "an block-size ke"
8045                            "y and a larger t"
8046                            "han block-size d"
8047                            "ata. The key nee"
8048                            "ds to be hashed "
8049                            "before being use"
8050                            "d by the HMAC al"
8051                            "gorithm.",
8052                 .psize  = 152,
8053                 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
8054                           "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
8055                           "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
8056                           "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
8057                           "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
8058                           "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
8059         },
8060 };
8061
8062 /*
8063  * SHA512 HMAC test vectors from RFC4231
8064  */
8065
8066 static const struct hash_testvec hmac_sha512_tv_template[] = {
8067         {
8068                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8069                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8070                           "\x0b\x0b\x0b\x0b",
8071                 .ksize  = 20,
8072                 .plaintext = "Hi There",
8073                 .psize  = 8,
8074                 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
8075                           "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
8076                           "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
8077                           "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
8078                           "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
8079                           "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
8080                           "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
8081                           "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
8082         }, {
8083                 .key    = "Jefe",
8084                 .ksize  = 4,
8085                 .plaintext = "what do ya want for nothing?",
8086                 .psize  = 28,
8087                 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
8088                           "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
8089                           "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
8090                           "\x10\x27\x0c\xd7\xea\x25\x05\x54"
8091                           "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
8092                           "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
8093                           "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
8094                           "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
8095                 .fips_skip = 1,
8096         }, {
8097                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8098                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8099                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8100                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8101                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8102                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8103                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8104                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8105                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8106                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8107                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8108                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8109                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8110                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8111                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8112                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8113                           "\xaa\xaa\xaa",
8114                 .ksize  = 131,
8115                 .plaintext = "Test Using Large"
8116                            "r Than Block-Siz"
8117                            "e Key - Hash Key"
8118                            " First",
8119                 .psize  = 54,
8120                 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
8121                         "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
8122                         "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
8123                         "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
8124                         "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
8125                         "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
8126                         "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
8127                         "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
8128         }, {
8129                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8130                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8131                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8132                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8133                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8134                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8135                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8136                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8137                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8138                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8139                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8140                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8141                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8142                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8143                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8144                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8145                         "\xaa\xaa\xaa",
8146                 .ksize  = 131,
8147                 .plaintext =
8148                           "This is a test u"
8149                           "sing a larger th"
8150                           "an block-size ke"
8151                           "y and a larger t"
8152                           "han block-size d"
8153                           "ata. The key nee"
8154                           "ds to be hashed "
8155                           "before being use"
8156                           "d by the HMAC al"
8157                           "gorithm.",
8158                 .psize  = 152,
8159                 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
8160                         "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
8161                         "\xde\xbd\x71\xf8\x86\x72\x89\x86"
8162                         "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
8163                         "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
8164                         "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
8165                         "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
8166                         "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
8167         },
8168 };
8169
8170 static const struct hash_testvec hmac_sha3_224_tv_template[] = {
8171         {
8172                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8173                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8174                           "\x0b\x0b\x0b\x0b",
8175                 .ksize  = 20,
8176                 .plaintext = "Hi There",
8177                 .psize  = 8,
8178                 .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
8179                           "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
8180                           "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
8181                           "\xf3\xc8\x60\xf7",
8182         }, {
8183                 .key    = "Jefe",
8184                 .ksize  = 4,
8185                 .plaintext = "what do ya want for nothing?",
8186                 .psize  = 28,
8187                 .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
8188                           "\x1b\x79\x86\x34\xad\x38\x68\x11"
8189                           "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
8190                           "\xba\xce\x5e\x66",
8191                 .fips_skip = 1,
8192         }, {
8193                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8194                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8195                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8196                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8197                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8198                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8199                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8200                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8201                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8202                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8203                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8204                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8205                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8206                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8207                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8208                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8209                           "\xaa\xaa\xaa",
8210                 .ksize  = 131,
8211                 .plaintext = "Test Using Large"
8212                            "r Than Block-Siz"
8213                            "e Key - Hash Key"
8214                            " First",
8215                 .psize  = 54,
8216                 .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
8217                           "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
8218                           "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
8219                           "\x5f\xb9\x99\x5f",
8220         }, {
8221                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8222                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8223                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8224                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8225                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8226                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8227                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8228                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8229                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8230                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8231                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8232                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8233                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8234                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8235                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8236                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8237                           "\xaa\xaa\xaa",
8238                 .ksize  = 131,
8239                 .plaintext =
8240                           "This is a test u"
8241                           "sing a larger th"
8242                           "an block-size ke"
8243                           "y and a larger t"
8244                           "han block-size d"
8245                           "ata. The key nee"
8246                           "ds to be hashed "
8247                           "before being use"
8248                           "d by the HMAC al"
8249                           "gorithm.",
8250                 .psize  = 152,
8251                 .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
8252                           "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
8253                           "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
8254                           "\x29\xcd\x62\xa0",
8255         },
8256 };
8257
8258 static const struct hash_testvec hmac_sha3_256_tv_template[] = {
8259         {
8260                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8261                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8262                           "\x0b\x0b\x0b\x0b",
8263                 .ksize  = 20,
8264                 .plaintext = "Hi There",
8265                 .psize  = 8,
8266                 .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
8267                           "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
8268                           "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
8269                           "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
8270         }, {
8271                 .key    = "Jefe",
8272                 .ksize  = 4,
8273                 .plaintext = "what do ya want for nothing?",
8274                 .psize  = 28,
8275                 .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
8276                           "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
8277                           "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
8278                           "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
8279                 .fips_skip = 1,
8280         }, {
8281                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8282                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8283                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8284                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8285                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8286                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8287                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8288                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8289                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8290                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8291                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8292                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8293                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8294                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8295                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8296                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8297                           "\xaa\xaa\xaa",
8298                 .ksize  = 131,
8299                 .plaintext = "Test Using Large"
8300                            "r Than Block-Siz"
8301                            "e Key - Hash Key"
8302                            " First",
8303                 .psize  = 54,
8304                 .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
8305                           "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
8306                           "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
8307                           "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
8308         }, {
8309                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8310                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8311                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8312                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8313                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8314                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8315                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8316                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8317                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8318                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8319                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8320                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8321                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8322                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8323                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8324                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8325                           "\xaa\xaa\xaa",
8326                 .ksize  = 131,
8327                 .plaintext =
8328                           "This is a test u"
8329                           "sing a larger th"
8330                           "an block-size ke"
8331                           "y and a larger t"
8332                           "han block-size d"
8333                           "ata. The key nee"
8334                           "ds to be hashed "
8335                           "before being use"
8336                           "d by the HMAC al"
8337                           "gorithm.",
8338                 .psize  = 152,
8339                 .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
8340                           "\x7a\xef\x87\x63\x26\x1e\x49\xad"
8341                           "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
8342                           "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
8343         },
8344 };
8345
8346 static const struct hash_testvec hmac_sha3_384_tv_template[] = {
8347         {
8348                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8349                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8350                           "\x0b\x0b\x0b\x0b",
8351                 .ksize  = 20,
8352                 .plaintext = "Hi There",
8353                 .psize  = 8,
8354                 .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
8355                           "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
8356                           "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
8357                           "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
8358                           "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
8359                           "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
8360         }, {
8361                 .key    = "Jefe",
8362                 .ksize  = 4,
8363                 .plaintext = "what do ya want for nothing?",
8364                 .psize  = 28,
8365                 .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
8366                           "\x67\x64\xd2\xed\x61\x90\x3f\x21"
8367                           "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
8368                           "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
8369                           "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
8370                           "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
8371                 .fips_skip = 1,
8372         }, {
8373                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8374                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8375                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8376                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8377                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8378                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8379                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8380                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8381                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8382                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8383                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8384                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8385                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8386                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8387                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8388                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8389                           "\xaa\xaa\xaa",
8390                 .ksize  = 131,
8391                 .plaintext = "Test Using Large"
8392                            "r Than Block-Siz"
8393                            "e Key - Hash Key"
8394                            " First",
8395                 .psize  = 54,
8396                 .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
8397                           "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
8398                           "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
8399                           "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
8400                           "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
8401                           "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
8402         }, {
8403                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8404                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8405                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8406                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8407                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8408                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8409                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8410                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8411                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8412                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8413                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8414                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8415                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8416                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8417                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8418                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8419                           "\xaa\xaa\xaa",
8420                 .ksize  = 131,
8421                 .plaintext =
8422                           "This is a test u"
8423                           "sing a larger th"
8424                           "an block-size ke"
8425                           "y and a larger t"
8426                           "han block-size d"
8427                           "ata. The key nee"
8428                           "ds to be hashed "
8429                           "before being use"
8430                           "d by the HMAC al"
8431                           "gorithm.",
8432                 .psize  = 152,
8433                 .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
8434                           "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
8435                           "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
8436                           "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
8437                           "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
8438                           "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
8439         },
8440 };
8441
8442 static const struct hash_testvec hmac_sha3_512_tv_template[] = {
8443         {
8444                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8445                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8446                           "\x0b\x0b\x0b\x0b",
8447                 .ksize  = 20,
8448                 .plaintext = "Hi There",
8449                 .psize  = 8,
8450                 .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
8451                           "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
8452                           "\xec\x15\x77\x0a\x7c\xab\xac\x53"
8453                           "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
8454                           "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
8455                           "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
8456                           "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
8457                           "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
8458         }, {
8459                 .key    = "Jefe",
8460                 .ksize  = 4,
8461                 .plaintext = "what do ya want for nothing?",
8462                 .psize  = 28,
8463                 .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
8464                           "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
8465                           "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
8466                           "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
8467                           "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
8468                           "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
8469                           "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
8470                           "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
8471                 .fips_skip = 1,
8472         }, {
8473                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8474                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8475                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8476                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8477                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8478                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8479                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8480                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8481                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8482                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8483                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8484                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8485                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8486                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8487                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8488                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8489                           "\xaa\xaa\xaa",
8490                 .ksize  = 131,
8491                 .plaintext = "Test Using Large"
8492                            "r Than Block-Siz"
8493                            "e Key - Hash Key"
8494                            " First",
8495                 .psize  = 54,
8496                 .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
8497                           "\x90\xed\x69\x11\xa4\xb6\x55\x24"
8498                           "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
8499                           "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
8500                           "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
8501                           "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
8502                           "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
8503                           "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
8504         }, {
8505                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8506                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8507                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8508                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8509                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8510                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8511                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8512                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8513                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8514                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8515                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8516                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8517                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8518                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8519                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8520                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8521                           "\xaa\xaa\xaa",
8522                 .ksize  = 131,
8523                 .plaintext =
8524                           "This is a test u"
8525                           "sing a larger th"
8526                           "an block-size ke"
8527                           "y and a larger t"
8528                           "han block-size d"
8529                           "ata. The key nee"
8530                           "ds to be hashed "
8531                           "before being use"
8532                           "d by the HMAC al"
8533                           "gorithm.",
8534                 .psize  = 152,
8535                 .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
8536                           "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
8537                           "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
8538                           "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
8539                           "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
8540                           "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
8541                           "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
8542                           "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
8543         },
8544 };
8545
8546 /*
8547  * Poly1305 test vectors from RFC7539 A.3.
8548  */
8549
8550 static const struct hash_testvec poly1305_tv_template[] = {
8551         { /* Test Vector #1 */
8552                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
8553                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8554                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8555                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8556                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8557                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8558                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8559                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8560                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8561                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8562                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8563                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8564                 .psize          = 96,
8565                 .digest         = "\x00\x00\x00\x00\x00\x00\x00\x00"
8566                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8567         }, { /* Test Vector #2 */
8568                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
8569                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8570                                   "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
8571                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
8572                                   "\x41\x6e\x79\x20\x73\x75\x62\x6d"
8573                                   "\x69\x73\x73\x69\x6f\x6e\x20\x74"
8574                                   "\x6f\x20\x74\x68\x65\x20\x49\x45"
8575                                   "\x54\x46\x20\x69\x6e\x74\x65\x6e"
8576                                   "\x64\x65\x64\x20\x62\x79\x20\x74"
8577                                   "\x68\x65\x20\x43\x6f\x6e\x74\x72"
8578                                   "\x69\x62\x75\x74\x6f\x72\x20\x66"
8579                                   "\x6f\x72\x20\x70\x75\x62\x6c\x69"
8580                                   "\x63\x61\x74\x69\x6f\x6e\x20\x61"
8581                                   "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
8582                                   "\x20\x70\x61\x72\x74\x20\x6f\x66"
8583                                   "\x20\x61\x6e\x20\x49\x45\x54\x46"
8584                                   "\x20\x49\x6e\x74\x65\x72\x6e\x65"
8585                                   "\x74\x2d\x44\x72\x61\x66\x74\x20"
8586                                   "\x6f\x72\x20\x52\x46\x43\x20\x61"
8587                                   "\x6e\x64\x20\x61\x6e\x79\x20\x73"
8588                                   "\x74\x61\x74\x65\x6d\x65\x6e\x74"
8589                                   "\x20\x6d\x61\x64\x65\x20\x77\x69"
8590                                   "\x74\x68\x69\x6e\x20\x74\x68\x65"
8591                                   "\x20\x63\x6f\x6e\x74\x65\x78\x74"
8592                                   "\x20\x6f\x66\x20\x61\x6e\x20\x49"
8593                                   "\x45\x54\x46\x20\x61\x63\x74\x69"
8594                                   "\x76\x69\x74\x79\x20\x69\x73\x20"
8595                                   "\x63\x6f\x6e\x73\x69\x64\x65\x72"
8596                                   "\x65\x64\x20\x61\x6e\x20\x22\x49"
8597                                   "\x45\x54\x46\x20\x43\x6f\x6e\x74"
8598                                   "\x72\x69\x62\x75\x74\x69\x6f\x6e"
8599                                   "\x22\x2e\x20\x53\x75\x63\x68\x20"
8600                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
8601                                   "\x74\x73\x20\x69\x6e\x63\x6c\x75"
8602                                   "\x64\x65\x20\x6f\x72\x61\x6c\x20"
8603                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
8604                                   "\x74\x73\x20\x69\x6e\x20\x49\x45"
8605                                   "\x54\x46\x20\x73\x65\x73\x73\x69"
8606                                   "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
8607                                   "\x77\x65\x6c\x6c\x20\x61\x73\x20"
8608                                   "\x77\x72\x69\x74\x74\x65\x6e\x20"
8609                                   "\x61\x6e\x64\x20\x65\x6c\x65\x63"
8610                                   "\x74\x72\x6f\x6e\x69\x63\x20\x63"
8611                                   "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
8612                                   "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
8613                                   "\x64\x65\x20\x61\x74\x20\x61\x6e"
8614                                   "\x79\x20\x74\x69\x6d\x65\x20\x6f"
8615                                   "\x72\x20\x70\x6c\x61\x63\x65\x2c"
8616                                   "\x20\x77\x68\x69\x63\x68\x20\x61"
8617                                   "\x72\x65\x20\x61\x64\x64\x72\x65"
8618                                   "\x73\x73\x65\x64\x20\x74\x6f",
8619                 .psize          = 407,
8620                 .digest         = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
8621                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
8622         }, { /* Test Vector #3 */
8623                 .plaintext      = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
8624                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
8625                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8626                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8627                                   "\x41\x6e\x79\x20\x73\x75\x62\x6d"
8628                                   "\x69\x73\x73\x69\x6f\x6e\x20\x74"
8629                                   "\x6f\x20\x74\x68\x65\x20\x49\x45"
8630                                   "\x54\x46\x20\x69\x6e\x74\x65\x6e"
8631                                   "\x64\x65\x64\x20\x62\x79\x20\x74"
8632                                   "\x68\x65\x20\x43\x6f\x6e\x74\x72"
8633                                   "\x69\x62\x75\x74\x6f\x72\x20\x66"
8634                                   "\x6f\x72\x20\x70\x75\x62\x6c\x69"
8635                                   "\x63\x61\x74\x69\x6f\x6e\x20\x61"
8636                                   "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
8637                                   "\x20\x70\x61\x72\x74\x20\x6f\x66"
8638                                   "\x20\x61\x6e\x20\x49\x45\x54\x46"
8639                                   "\x20\x49\x6e\x74\x65\x72\x6e\x65"
8640                                   "\x74\x2d\x44\x72\x61\x66\x74\x20"
8641                                   "\x6f\x72\x20\x52\x46\x43\x20\x61"
8642                                   "\x6e\x64\x20\x61\x6e\x79\x20\x73"
8643                                   "\x74\x61\x74\x65\x6d\x65\x6e\x74"
8644                                   "\x20\x6d\x61\x64\x65\x20\x77\x69"
8645                                   "\x74\x68\x69\x6e\x20\x74\x68\x65"
8646                                   "\x20\x63\x6f\x6e\x74\x65\x78\x74"
8647                                   "\x20\x6f\x66\x20\x61\x6e\x20\x49"
8648                                   "\x45\x54\x46\x20\x61\x63\x74\x69"
8649                                   "\x76\x69\x74\x79\x20\x69\x73\x20"
8650                                   "\x63\x6f\x6e\x73\x69\x64\x65\x72"
8651                                   "\x65\x64\x20\x61\x6e\x20\x22\x49"
8652                                   "\x45\x54\x46\x20\x43\x6f\x6e\x74"
8653                                   "\x72\x69\x62\x75\x74\x69\x6f\x6e"
8654                                   "\x22\x2e\x20\x53\x75\x63\x68\x20"
8655                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
8656                                   "\x74\x73\x20\x69\x6e\x63\x6c\x75"
8657                                   "\x64\x65\x20\x6f\x72\x61\x6c\x20"
8658                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
8659                                   "\x74\x73\x20\x69\x6e\x20\x49\x45"
8660                                   "\x54\x46\x20\x73\x65\x73\x73\x69"
8661                                   "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
8662                                   "\x77\x65\x6c\x6c\x20\x61\x73\x20"
8663                                   "\x77\x72\x69\x74\x74\x65\x6e\x20"
8664                                   "\x61\x6e\x64\x20\x65\x6c\x65\x63"
8665                                   "\x74\x72\x6f\x6e\x69\x63\x20\x63"
8666                                   "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
8667                                   "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
8668                                   "\x64\x65\x20\x61\x74\x20\x61\x6e"
8669                                   "\x79\x20\x74\x69\x6d\x65\x20\x6f"
8670                                   "\x72\x20\x70\x6c\x61\x63\x65\x2c"
8671                                   "\x20\x77\x68\x69\x63\x68\x20\x61"
8672                                   "\x72\x65\x20\x61\x64\x64\x72\x65"
8673                                   "\x73\x73\x65\x64\x20\x74\x6f",
8674                 .psize          = 407,
8675                 .digest         = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
8676                                   "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
8677         }, { /* Test Vector #4 */
8678                 .plaintext      = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
8679                                   "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
8680                                   "\x47\x39\x17\xc1\x40\x2b\x80\x09"
8681                                   "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
8682                                   "\x27\x54\x77\x61\x73\x20\x62\x72"
8683                                   "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
8684                                   "\x6e\x64\x20\x74\x68\x65\x20\x73"
8685                                   "\x6c\x69\x74\x68\x79\x20\x74\x6f"
8686                                   "\x76\x65\x73\x0a\x44\x69\x64\x20"
8687                                   "\x67\x79\x72\x65\x20\x61\x6e\x64"
8688                                   "\x20\x67\x69\x6d\x62\x6c\x65\x20"
8689                                   "\x69\x6e\x20\x74\x68\x65\x20\x77"
8690                                   "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
8691                                   "\x20\x6d\x69\x6d\x73\x79\x20\x77"
8692                                   "\x65\x72\x65\x20\x74\x68\x65\x20"
8693                                   "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
8694                                   "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
8695                                   "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
8696                                   "\x72\x61\x74\x68\x73\x20\x6f\x75"
8697                                   "\x74\x67\x72\x61\x62\x65\x2e",
8698                 .psize          = 159,
8699                 .digest         = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
8700                                   "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
8701         }, { /* Test Vector #5 */
8702                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
8703                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8704                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8705                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8706                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8707                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
8708                 .psize          = 48,
8709                 .digest         = "\x03\x00\x00\x00\x00\x00\x00\x00"
8710                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8711         }, { /* Test Vector #6 */
8712                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
8713                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8714                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8715                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8716                                   "\x02\x00\x00\x00\x00\x00\x00\x00"
8717                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8718                 .psize          = 48,
8719                 .digest         = "\x03\x00\x00\x00\x00\x00\x00\x00"
8720                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8721         }, { /* Test Vector #7 */
8722                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
8723                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8724                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8725                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8726                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8727                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8728                                   "\xf0\xff\xff\xff\xff\xff\xff\xff"
8729                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8730                                   "\x11\x00\x00\x00\x00\x00\x00\x00"
8731                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8732                 .psize          = 80,
8733                 .digest         = "\x05\x00\x00\x00\x00\x00\x00\x00"
8734                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8735         }, { /* Test Vector #8 */
8736                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
8737                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8738                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8739                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8740                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8741                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8742                                   "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
8743                                   "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
8744                                   "\x01\x01\x01\x01\x01\x01\x01\x01"
8745                                   "\x01\x01\x01\x01\x01\x01\x01\x01",
8746                 .psize          = 80,
8747                 .digest         = "\x00\x00\x00\x00\x00\x00\x00\x00"
8748                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8749         }, { /* Test Vector #9 */
8750                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
8751                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8752                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8753                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8754                                   "\xfd\xff\xff\xff\xff\xff\xff\xff"
8755                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
8756                 .psize          = 48,
8757                 .digest         = "\xfa\xff\xff\xff\xff\xff\xff\xff"
8758                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
8759         }, { /* Test Vector #10 */
8760                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
8761                                   "\x04\x00\x00\x00\x00\x00\x00\x00"
8762                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8763                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8764                                   "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
8765                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8766                                   "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
8767                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
8768                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8769                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8770                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
8771                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8772                 .psize          = 96,
8773                 .digest         = "\x14\x00\x00\x00\x00\x00\x00\x00"
8774                                   "\x55\x00\x00\x00\x00\x00\x00\x00",
8775         }, { /* Test Vector #11 */
8776                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
8777                                   "\x04\x00\x00\x00\x00\x00\x00\x00"
8778                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8779                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8780                                   "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
8781                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8782                                   "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
8783                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
8784                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8785                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8786                 .psize          = 80,
8787                 .digest         = "\x13\x00\x00\x00\x00\x00\x00\x00"
8788                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8789         }, { /* Regression test for overflow in AVX2 implementation */
8790                 .plaintext      = "\xff\xff\xff\xff\xff\xff\xff\xff"
8791                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8792                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8793                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8794                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8795                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8796                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8797                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8798                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8799                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8800                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8801                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8802                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8803                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8804                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8805                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8806                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8807                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8808                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8809                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8810                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8811                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8812                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8813                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8814                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8815                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8816                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8817                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8818                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8819                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8820                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8821                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8822                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8823                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8824                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8825                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8826                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8827                                   "\xff\xff\xff\xff",
8828                 .psize          = 300,
8829                 .digest         = "\xfb\x5e\x96\xd8\x61\xd5\xc7\xc8"
8830                                   "\x78\xe5\x87\xcc\x2d\x5a\x22\xe1",
8831         }
8832 };
8833
8834 /* NHPoly1305 test vectors from https://github.com/google/adiantum */
8835 static const struct hash_testvec nhpoly1305_tv_template[] = {
8836         {
8837                 .key    = "\xd2\x5d\x4c\xdd\x8d\x2b\x7f\x7a"
8838                           "\xd9\xbe\x71\xec\xd1\x83\x52\xe3"
8839                           "\xe1\xad\xd7\x5c\x0a\x75\x9d\xec"
8840                           "\x1d\x13\x7e\x5d\x71\x07\xc9\xe4"
8841                           "\x57\x2d\x44\x68\xcf\xd8\xd6\xc5"
8842                           "\x39\x69\x7d\x32\x75\x51\x4f\x7e"
8843                           "\xb2\x4c\xc6\x90\x51\x6e\xd9\xd6"
8844                           "\xa5\x8b\x2d\xf1\x94\xf9\xf7\x5e"
8845                           "\x2c\x84\x7b\x41\x0f\x88\x50\x89"
8846                           "\x30\xd9\xa1\x38\x46\x6c\xc0\x4f"
8847                           "\xe8\xdf\xdc\x66\xab\x24\x43\x41"
8848                           "\x91\x55\x29\x65\x86\x28\x5e\x45"
8849                           "\xd5\x2d\xb7\x80\x08\x9a\xc3\xd4"
8850                           "\x9a\x77\x0a\xd4\xef\x3e\xe6\x3f"
8851                           "\x6f\x2f\x9b\x3a\x7d\x12\x1e\x80"
8852                           "\x6c\x44\xa2\x25\xe1\xf6\x60\xe9"
8853                           "\x0d\xaf\xc5\x3c\xa5\x79\xae\x64"
8854                           "\xbc\xa0\x39\xa3\x4d\x10\xe5\x4d"
8855                           "\xd5\xe7\x89\x7a\x13\xee\x06\x78"
8856                           "\xdc\xa4\xdc\x14\x27\xe6\x49\x38"
8857                           "\xd0\xe0\x45\x25\x36\xc5\xf4\x79"
8858                           "\x2e\x9a\x98\x04\xe4\x2b\x46\x52"
8859                           "\x7c\x33\xca\xe2\x56\x51\x50\xe2"
8860                           "\xa5\x9a\xae\x18\x6a\x13\xf8\xd2"
8861                           "\x21\x31\x66\x02\xe2\xda\x8d\x7e"
8862                           "\x41\x19\xb2\x61\xee\x48\x8f\xf1"
8863                           "\x65\x24\x2e\x1e\x68\xce\x05\xd9"
8864                           "\x2a\xcf\xa5\x3a\x57\xdd\x35\x91"
8865                           "\x93\x01\xca\x95\xfc\x2b\x36\x04"
8866                           "\xe6\x96\x97\x28\xf6\x31\xfe\xa3"
8867                           "\x9d\xf6\x6a\x1e\x80\x8d\xdc\xec"
8868                           "\xaf\x66\x11\x13\x02\x88\xd5\x27"
8869                           "\x33\xb4\x1a\xcd\xa3\xf6\xde\x31"
8870                           "\x8e\xc0\x0e\x6c\xd8\x5a\x97\x5e"
8871                           "\xdd\xfd\x60\x69\x38\x46\x3f\x90"
8872                           "\x5e\x97\xd3\x32\x76\xc7\x82\x49"
8873                           "\xfe\xba\x06\x5f\x2f\xa2\xfd\xff"
8874                           "\x80\x05\x40\xe4\x33\x03\xfb\x10"
8875                           "\xc0\xde\x65\x8c\xc9\x8d\x3a\x9d"
8876                           "\xb5\x7b\x36\x4b\xb5\x0c\xcf\x00"
8877                           "\x9c\x87\xe4\x49\xad\x90\xda\x4a"
8878                           "\xdd\xbd\xff\xe2\x32\x57\xd6\x78"
8879                           "\x36\x39\x6c\xd3\x5b\x9b\x88\x59"
8880                           "\x2d\xf0\x46\xe4\x13\x0e\x2b\x35"
8881                           "\x0d\x0f\x73\x8a\x4f\x26\x84\x75"
8882                           "\x88\x3c\xc5\x58\x66\x18\x1a\xb4"
8883                           "\x64\x51\x34\x27\x1b\xa4\x11\xc9"
8884                           "\x6d\x91\x8a\xfa\x32\x60\x9d\xd7"
8885                           "\x87\xe5\xaa\x43\x72\xf8\xda\xd1"
8886                           "\x48\x44\x13\x61\xdc\x8c\x76\x17"
8887                           "\x0c\x85\x4e\xf3\xdd\xa2\x42\xd2"
8888                           "\x74\xc1\x30\x1b\xeb\x35\x31\x29"
8889                           "\x5b\xd7\x4c\x94\x46\x35\xa1\x23"
8890                           "\x50\xf2\xa2\x8e\x7e\x4f\x23\x4f"
8891                           "\x51\xff\xe2\xc9\xa3\x7d\x56\x8b"
8892                           "\x41\xf2\xd0\xc5\x57\x7e\x59\xac"
8893                           "\xbb\x65\xf3\xfe\xf7\x17\xef\x63"
8894                           "\x7c\x6f\x23\xdd\x22\x8e\xed\x84"
8895                           "\x0e\x3b\x09\xb3\xf3\xf4\x8f\xcd"
8896                           "\x37\xa8\xe1\xa7\x30\xdb\xb1\xa2"
8897                           "\x9c\xa2\xdf\x34\x17\x3e\x68\x44"
8898                           "\xd0\xde\x03\x50\xd1\x48\x6b\x20"
8899                           "\xe2\x63\x45\xa5\xea\x87\xc2\x42"
8900                           "\x95\x03\x49\x05\xed\xe0\x90\x29"
8901                           "\x1a\xb8\xcf\x9b\x43\xcf\x29\x7a"
8902                           "\x63\x17\x41\x9f\xe0\xc9\x10\xfd"
8903                           "\x2c\x56\x8c\x08\x55\xb4\xa9\x27"
8904                           "\x0f\x23\xb1\x05\x6a\x12\x46\xc7"
8905                           "\xe1\xfe\x28\x93\x93\xd7\x2f\xdc"
8906                           "\x98\x30\xdb\x75\x8a\xbe\x97\x7a"
8907                           "\x02\xfb\x8c\xba\xbe\x25\x09\xbe"
8908                           "\xce\xcb\xa2\xef\x79\x4d\x0e\x9d"
8909                           "\x1b\x9d\xb6\x39\x34\x38\xfa\x07"
8910                           "\xec\xe8\xfc\x32\x85\x1d\xf7\x85"
8911                           "\x63\xc3\x3c\xc0\x02\x75\xd7\x3f"
8912                           "\xb2\x68\x60\x66\x65\x81\xc6\xb1"
8913                           "\x42\x65\x4b\x4b\x28\xd7\xc7\xaa"
8914                           "\x9b\xd2\xdc\x1b\x01\xe0\x26\x39"
8915                           "\x01\xc1\x52\x14\xd1\x3f\xb7\xe6"
8916                           "\x61\x41\xc7\x93\xd2\xa2\x67\xc6"
8917                           "\xf7\x11\xb5\xf5\xea\xdd\x19\xfb"
8918                           "\x4d\x21\x12\xd6\x7d\xf1\x10\xb0"
8919                           "\x89\x07\xc7\x5a\x52\x73\x70\x2f"
8920                           "\x32\xef\x65\x2b\x12\xb2\xf0\xf5"
8921                           "\x20\xe0\x90\x59\x7e\x64\xf1\x4c"
8922                           "\x41\xb3\xa5\x91\x08\xe6\x5e\x5f"
8923                           "\x05\x56\x76\xb4\xb0\xcd\x70\x53"
8924                           "\x10\x48\x9c\xff\xc2\x69\x55\x24"
8925                           "\x87\xef\x84\xea\xfb\xa7\xbf\xa0"
8926                           "\x91\x04\xad\x4f\x8b\x57\x54\x4b"
8927                           "\xb6\xe9\xd1\xac\x37\x2f\x1d\x2e"
8928                           "\xab\xa5\xa4\xe8\xff\xfb\xd9\x39"
8929                           "\x2f\xb7\xac\xd1\xfe\x0b\x9a\x80"
8930                           "\x0f\xb6\xf4\x36\x39\x90\x51\xe3"
8931                           "\x0a\x2f\xb6\x45\x76\x89\xcd\x61"
8932                           "\xfe\x48\x5f\x75\x1d\x13\x00\x62"
8933                           "\x80\x24\x47\xe7\xbc\x37\xd7\xe3"
8934                           "\x15\xe8\x68\x22\xaf\x80\x6f\x4b"
8935                           "\xa8\x9f\x01\x10\x48\x14\xc3\x02"
8936                           "\x52\xd2\xc7\x75\x9b\x52\x6d\x30"
8937                           "\xac\x13\x85\xc8\xf7\xa3\x58\x4b"
8938                           "\x49\xf7\x1c\x45\x55\x8c\x39\x9a"
8939                           "\x99\x6d\x97\x27\x27\xe6\xab\xdd"
8940                           "\x2c\x42\x1b\x35\xdd\x9d\x73\xbb"
8941                           "\x6c\xf3\x64\xf1\xfb\xb9\xf7\xe6"
8942                           "\x4a\x3c\xc0\x92\xc0\x2e\xb7\x1a"
8943                           "\xbe\xab\xb3\x5a\xe5\xea\xb1\x48"
8944                           "\x58\x13\x53\x90\xfd\xc3\x8e\x54"
8945                           "\xf9\x18\x16\x73\xe8\xcb\x6d\x39"
8946                           "\x0e\xd7\xe0\xfe\xb6\x9f\x43\x97"
8947                           "\xe8\xd0\x85\x56\x83\x3e\x98\x68"
8948                           "\x7f\xbd\x95\xa8\x9a\x61\x21\x8f"
8949                           "\x06\x98\x34\xa6\xc8\xd6\x1d\xf3"
8950                           "\x3d\x43\xa4\x9a\x8c\xe5\xd3\x5a"
8951                           "\x32\xa2\x04\x22\xa4\x19\x1a\x46"
8952                           "\x42\x7e\x4d\xe5\xe0\xe6\x0e\xca"
8953                           "\xd5\x58\x9d\x2c\xaf\xda\x33\x5c"
8954                           "\xb0\x79\x9e\xc9\xfc\xca\xf0\x2f"
8955                           "\xa8\xb2\x77\xeb\x7a\xa2\xdd\x37"
8956                           "\x35\x83\x07\xd6\x02\x1a\xb6\x6c"
8957                           "\x24\xe2\x59\x08\x0e\xfd\x3e\x46"
8958                           "\xec\x40\x93\xf4\x00\x26\x4f\x2a"
8959                           "\xff\x47\x2f\xeb\x02\x92\x26\x5b"
8960                           "\x53\x17\xc2\x8d\x2a\xc7\xa3\x1b"
8961                           "\xcd\xbc\xa7\xe8\xd1\x76\xe3\x80"
8962                           "\x21\xca\x5d\x3b\xe4\x9c\x8f\xa9"
8963                           "\x5b\x7f\x29\x7f\x7c\xd8\xed\x6d"
8964                           "\x8c\xb2\x86\x85\xe7\x77\xf2\x85"
8965                           "\xab\x38\xa9\x9d\xc1\x4e\xc5\x64"
8966                           "\x33\x73\x8b\x59\x03\xad\x05\xdf"
8967                           "\x25\x98\x31\xde\xef\x13\xf1\x9b"
8968                           "\x3c\x91\x9d\x7b\xb1\xfa\xe6\xbf"
8969                           "\x5b\xed\xa5\x55\xe6\xea\x6c\x74"
8970                           "\xf4\xb9\xe4\x45\x64\x72\x81\xc2"
8971                           "\x4c\x28\xd4\xcd\xac\xe2\xde\xf9"
8972                           "\xeb\x5c\xeb\x61\x60\x5a\xe5\x28",
8973                 .ksize  = 1088,
8974                 .plaintext      = "",
8975                 .psize  = 0,
8976                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
8977                           "\x00\x00\x00\x00\x00\x00\x00\x00",
8978         }, {
8979                 .key    = "\x29\x21\x43\xcb\xcb\x13\x07\xde"
8980                           "\xbf\x48\xdf\x8a\x7f\xa2\x84\xde"
8981                           "\x72\x23\x9d\xf5\xf0\x07\xf2\x4c"
8982                           "\x20\x3a\x93\xb9\xcd\x5d\xfe\xcb"
8983                           "\x99\x2c\x2b\x58\xc6\x50\x5f\x94"
8984                           "\x56\xc3\x7c\x0d\x02\x3f\xb8\x5e"
8985                           "\x7b\xc0\x6c\x51\x34\x76\xc0\x0e"
8986                           "\xc6\x22\xc8\x9e\x92\xa0\x21\xc9"
8987                           "\x85\x5c\x7c\xf8\xe2\x64\x47\xc9"
8988                           "\xe4\xa2\x57\x93\xf8\xa2\x69\xcd"
8989                           "\x62\x98\x99\xf4\xd7\x7b\x14\xb1"
8990                           "\xd8\x05\xff\x04\x15\xc9\xe1\x6e"
8991                           "\x9b\xe6\x50\x6b\x0b\x3f\x22\x1f"
8992                           "\x08\xde\x0c\x5b\x08\x7e\xc6\x2f"
8993                           "\x6c\xed\xd6\xb2\x15\xa4\xb3\xf9"
8994                           "\xa7\x46\x38\x2a\xea\x69\xa5\xde"
8995                           "\x02\xc3\x96\x89\x4d\x55\x3b\xed"
8996                           "\x3d\x3a\x85\x77\xbf\x97\x45\x5c"
8997                           "\x9e\x02\x69\xe2\x1b\x68\xbe\x96"
8998                           "\xfb\x64\x6f\x0f\xf6\x06\x40\x67"
8999                           "\xfa\x04\xe3\x55\xfa\xbe\xa4\x60"
9000                           "\xef\x21\x66\x97\xe6\x9d\x5c\x1f"
9001                           "\x62\x37\xaa\x31\xde\xe4\x9c\x28"
9002                           "\x95\xe0\x22\x86\xf4\x4d\xf3\x07"
9003                           "\xfd\x5f\x3a\x54\x2c\x51\x80\x71"
9004                           "\xba\x78\x69\x5b\x65\xab\x1f\x81"
9005                           "\xed\x3b\xff\x34\xa3\xfb\xbc\x73"
9006                           "\x66\x7d\x13\x7f\xdf\x6e\xe2\xe2"
9007                           "\xeb\x4f\x6c\xda\x7d\x33\x57\xd0"
9008                           "\xd3\x7c\x95\x4f\x33\x58\x21\xc7"
9009                           "\xc0\xe5\x6f\x42\x26\xc6\x1f\x5e"
9010                           "\x85\x1b\x98\x9a\xa2\x1e\x55\x77"
9011                           "\x23\xdf\x81\x5e\x79\x55\x05\xfc"
9012                           "\xfb\xda\xee\xba\x5a\xba\xf7\x77"
9013                           "\x7f\x0e\xd3\xe1\x37\xfe\x8d\x2b"
9014                           "\xd5\x3f\xfb\xd0\xc0\x3c\x0b\x3f"
9015                           "\xcf\x3c\x14\xcf\xfb\x46\x72\x4c"
9016                           "\x1f\x39\xe2\xda\x03\x71\x6d\x23"
9017                           "\xef\x93\xcd\x39\xd9\x37\x80\x4d"
9018                           "\x65\x61\xd1\x2c\x03\xa9\x47\x72"
9019                           "\x4d\x1e\x0e\x16\x33\x0f\x21\x17"
9020                           "\xec\x92\xea\x6f\x37\x22\xa4\xd8"
9021                           "\x03\x33\x9e\xd8\x03\x69\x9a\xe8"
9022                           "\xb2\x57\xaf\x78\x99\x05\x12\xab"
9023                           "\x48\x90\x80\xf0\x12\x9b\x20\x64"
9024                           "\x7a\x1d\x47\x5f\xba\x3c\xf9\xc3"
9025                           "\x0a\x0d\x8d\xa1\xf9\x1b\x82\x13"
9026                           "\x3e\x0d\xec\x0a\x83\xc0\x65\xe1"
9027                           "\xe9\x95\xff\x97\xd6\xf2\xe4\xd5"
9028                           "\x86\xc0\x1f\x29\x27\x63\xd7\xde"
9029                           "\xb7\x0a\x07\x99\x04\x2d\xa3\x89"
9030                           "\xa2\x43\xcf\xf3\xe1\x43\xac\x4a"
9031                           "\x06\x97\xd0\x05\x4f\x87\xfa\xf9"
9032                           "\x9b\xbf\x52\x70\xbd\xbc\x6c\xf3"
9033                           "\x03\x13\x60\x41\x28\x09\xec\xcc"
9034                           "\xb1\x1a\xec\xd6\xfb\x6f\x2a\x89"
9035                           "\x5d\x0b\x53\x9c\x59\xc1\x84\x21"
9036                           "\x33\x51\x47\x19\x31\x9c\xd4\x0a"
9037                           "\x4d\x04\xec\x50\x90\x61\xbd\xbc"
9038                           "\x7e\xc8\xd9\x6c\x98\x1d\x45\x41"
9039                           "\x17\x5e\x97\x1c\xc5\xa8\xe8\xea"
9040                           "\x46\x58\x53\xf7\x17\xd5\xad\x11"
9041                           "\xc8\x54\xf5\x7a\x33\x90\xf5\x19"
9042                           "\xba\x36\xb4\xfc\x52\xa5\x72\x3d"
9043                           "\x14\xbb\x55\xa7\xe9\xe3\x12\xf7"
9044                           "\x1c\x30\xa2\x82\x03\xbf\x53\x91"
9045                           "\x2e\x60\x41\x9f\x5b\x69\x39\xf6"
9046                           "\x4d\xc8\xf8\x46\x7a\x7f\xa4\x98"
9047                           "\x36\xff\x06\xcb\xca\xe7\x33\xf2"
9048                           "\xc0\x4a\xf4\x3c\x14\x44\x5f\x6b"
9049                           "\x75\xef\x02\x36\x75\x08\x14\xfd"
9050                           "\x10\x8e\xa5\x58\xd0\x30\x46\x49"
9051                           "\xaf\x3a\xf8\x40\x3d\x35\xdb\x84"
9052                           "\x11\x2e\x97\x6a\xb7\x87\x7f\xad"
9053                           "\xf1\xfa\xa5\x63\x60\xd8\x5e\xbf"
9054                           "\x41\x78\x49\xcf\x77\xbb\x56\xbb"
9055                           "\x7d\x01\x67\x05\x22\xc8\x8f\x41"
9056                           "\xba\x81\xd2\xca\x2c\x38\xac\x76"
9057                           "\x06\xc1\x1a\xc2\xce\xac\x90\x67"
9058                           "\x57\x3e\x20\x12\x5b\xd9\x97\x58"
9059                           "\x65\x05\xb7\x04\x61\x7e\xd8\x3a"
9060                           "\xbf\x55\x3b\x13\xe9\x34\x5a\x37"
9061                           "\x36\xcb\x94\x45\xc5\x32\xb3\xa0"
9062                           "\x0c\x3e\x49\xc5\xd3\xed\xa7\xf0"
9063                           "\x1c\x69\xcc\xea\xcc\x83\xc9\x16"
9064                           "\x95\x72\x4b\xf4\x89\xd5\xb9\x10"
9065                           "\xf6\x2d\x60\x15\xea\x3c\x06\x66"
9066                           "\x9f\x82\xad\x17\xce\xd2\xa4\x48"
9067                           "\x7c\x65\xd9\xf8\x02\x4d\x9b\x4c"
9068                           "\x89\x06\x3a\x34\x85\x48\x89\x86"
9069                           "\xf9\x24\xa9\x54\x72\xdb\x44\x95"
9070                           "\xc7\x44\x1c\x19\x11\x4c\x04\xdc"
9071                           "\x13\xb9\x67\xc8\xc3\x3a\x6a\x50"
9072                           "\xfa\xd1\xfb\xe1\x88\xb6\xf1\xa3"
9073                           "\xc5\x3b\xdc\x38\x45\x16\x26\x02"
9074                           "\x3b\xb8\x8f\x8b\x58\x7d\x23\x04"
9075                           "\x50\x6b\x81\x9f\xae\x66\xac\x6f"
9076                           "\xcf\x2a\x9d\xf1\xfd\x1d\x57\x07"
9077                           "\xbe\x58\xeb\x77\x0c\xe3\xc2\x19"
9078                           "\x14\x74\x1b\x51\x1c\x4f\x41\xf3"
9079                           "\x32\x89\xb3\xe7\xde\x62\xf6\x5f"
9080                           "\xc7\x6a\x4a\x2a\x5b\x0f\x5f\x87"
9081                           "\x9c\x08\xb9\x02\x88\xc8\x29\xb7"
9082                           "\x94\x52\xfa\x52\xfe\xaa\x50\x10"
9083                           "\xba\x48\x75\x5e\x11\x1b\xe6\x39"
9084                           "\xd7\x82\x2c\x87\xf1\x1e\xa4\x38"
9085                           "\x72\x3e\x51\xe7\xd8\x3e\x5b\x7b"
9086                           "\x31\x16\x89\xba\xd6\xad\x18\x5e"
9087                           "\xba\xf8\x12\xb3\xf4\x6c\x47\x30"
9088                           "\xc0\x38\x58\xb3\x10\x8d\x58\x5d"
9089                           "\xb4\xfb\x19\x7e\x41\xc3\x66\xb8"
9090                           "\xd6\x72\x84\xe1\x1a\xc2\x71\x4c"
9091                           "\x0d\x4a\x21\x7a\xab\xa2\xc0\x36"
9092                           "\x15\xc5\xe9\x46\xd7\x29\x17\x76"
9093                           "\x5e\x47\x36\x7f\x72\x05\xa7\xcc"
9094                           "\x36\x63\xf9\x47\x7d\xe6\x07\x3c"
9095                           "\x8b\x79\x1d\x96\x61\x8d\x90\x65"
9096                           "\x7c\xf5\xeb\x4e\x6e\x09\x59\x6d"
9097                           "\x62\x50\x1b\x0f\xe0\xdc\x78\xf2"
9098                           "\x5b\x83\x1a\xa1\x11\x75\xfd\x18"
9099                           "\xd7\xe2\x8d\x65\x14\x21\xce\xbe"
9100                           "\xb5\x87\xe3\x0a\xda\x24\x0a\x64"
9101                           "\xa9\x9f\x03\x8d\x46\x5d\x24\x1a"
9102                           "\x8a\x0c\x42\x01\xca\xb1\x5f\x7c"
9103                           "\xa5\xac\x32\x4a\xb8\x07\x91\x18"
9104                           "\x6f\xb0\x71\x3c\xc9\xb1\xa8\xf8"
9105                           "\x5f\x69\xa5\xa1\xca\x9e\x7a\xaa"
9106                           "\xac\xe9\xc7\x47\x41\x75\x25\xc3"
9107                           "\x73\xe2\x0b\xdd\x6d\x52\x71\xbe"
9108                           "\xc5\xdc\xb4\xe7\x01\x26\x53\x77"
9109                           "\x86\x90\x85\x68\x6b\x7b\x03\x53"
9110                           "\xda\x52\x52\x51\x68\xc8\xf3\xec"
9111                           "\x6c\xd5\x03\x7a\xa3\x0e\xb4\x02"
9112                           "\x5f\x1a\xab\xee\xca\x67\x29\x7b"
9113                           "\xbd\x96\x59\xb3\x8b\x32\x7a\x92"
9114                           "\x9f\xd8\x25\x2b\xdf\xc0\x4c\xda",
9115                 .ksize  = 1088,
9116                 .plaintext      = "\xbc\xda\x81\xa8\x78\x79\x1c\xbf"
9117                           "\x77\x53\xba\x4c\x30\x5b\xb8\x33",
9118                 .psize  = 16,
9119                 .digest = "\x04\xbf\x7f\x6a\xce\x72\xea\x6a"
9120                           "\x79\xdb\xb0\xc9\x60\xf6\x12\xcc",
9121         }, {
9122                 .key    = "\x2e\x77\x1e\x2c\x63\x76\x34\x3f"
9123                           "\x71\x08\x4f\x5a\xe3\x3d\x74\x56"
9124                           "\xc7\x98\x46\x52\xe5\x8a\xba\x0d"
9125                           "\x72\x41\x11\x15\x14\x72\x50\x8a"
9126                           "\xd5\xec\x60\x09\xdd\x71\xcc\xb9"
9127                           "\x59\x81\x65\x2d\x9e\x50\x18\xf3"
9128                           "\x32\xf3\xf1\xe7\x01\x82\x1c\xad"
9129                           "\x88\xa0\x21\x0c\x4b\x80\x5e\x62"
9130                           "\xfc\x81\xec\x52\xaa\xe4\xa5\x86"
9131                           "\xc2\xe6\x03\x11\xdc\x66\x09\x86"
9132                           "\x3c\x3b\xf0\x59\x0f\xb3\xf7\x44"
9133                           "\x24\xb7\x88\xc5\xfc\xc8\x77\x9f"
9134                           "\x8c\x44\xc4\x11\x55\xce\x7a\xa3"
9135                           "\xe0\xa2\xb8\xbf\xb5\x3d\x07\x2c"
9136                           "\x32\xb6\x6c\xfc\xb4\x42\x95\x95"
9137                           "\x98\x32\x81\xc4\xe7\xe2\xd9\x6a"
9138                           "\x87\xf4\xf4\x1e\x74\x7c\xb5\xcd"
9139                           "\x51\x45\x68\x38\x51\xdb\x30\x74"
9140                           "\x11\xe0\xaa\xae\x19\x8f\x15\x55"
9141                           "\xdd\x47\x4a\x35\xb9\x0c\xb4\x4e"
9142                           "\xa9\xce\x2f\xfa\x8f\xc1\x8a\x5e"
9143                           "\x5b\xec\xa5\x81\x3b\xb3\x43\x06"
9144                           "\x24\x81\xf4\x24\xe2\x21\xfa\xcb"
9145                           "\x49\xa8\xf8\xbd\x31\x4a\x5b\x2d"
9146                           "\x64\x0a\x07\xf0\x80\xc9\x0d\x81"
9147                           "\x14\x58\x54\x2b\xba\x22\x31\xba"
9148                           "\xef\x66\xc9\x49\x69\x69\x83\x0d"
9149                           "\xf2\xf9\x80\x9d\x30\x36\xfb\xe3"
9150                           "\xc0\x72\x2b\xcc\x5a\x81\x2c\x5d"
9151                           "\x3b\x5e\xf8\x2b\xd3\x14\x28\x73"
9152                           "\xf9\x1c\x70\xe6\xd8\xbb\xac\x30"
9153                           "\xf9\xd9\xa0\xe2\x33\x7c\x33\x34"
9154                           "\xa5\x6a\x77\x6d\xd5\xaf\xf4\xf3"
9155                           "\xc7\xb3\x0e\x83\x3d\xcb\x01\xcc"
9156                           "\x81\xc0\xf9\x4a\xae\x36\x92\xf7"
9157                           "\x69\x7b\x65\x01\xc3\xc8\xb8\xae"
9158                           "\x16\xd8\x30\xbb\xba\x6d\x78\x6e"
9159                           "\x0d\xf0\x7d\x84\xb7\x87\xda\x28"
9160                           "\x7a\x18\x10\x0b\x29\xec\x29\xf3"
9161                           "\xb0\x7b\xa1\x28\xbf\xbc\x2b\x2c"
9162                           "\x92\x2c\x16\xfb\x02\x39\xf9\xa6"
9163                           "\xa2\x15\x05\xa6\x72\x10\xbc\x62"
9164                           "\x4a\x6e\xb8\xb5\x5d\x59\xae\x3c"
9165                           "\x32\xd3\x68\xd7\x8e\x5a\xcd\x1b"
9166                           "\xef\xf6\xa7\x5e\x10\x51\x15\x4b"
9167                           "\x2c\xe3\xba\x70\x4f\x2c\xa0\x1c"
9168                           "\x7b\x97\xd7\xb2\xa5\x05\x17\xcc"
9169                           "\xf7\x3a\x29\x6f\xd5\x4b\xb8\x24"
9170                           "\xf4\x65\x95\x12\xc0\x86\xd1\x64"
9171                           "\x81\xdf\x46\x55\x0d\x22\x06\x77"
9172                           "\xd8\xca\x8d\xc8\x87\xc3\xfa\xb9"
9173                           "\xe1\x98\x94\xe6\x7b\xed\x65\x66"
9174                           "\x0e\xc7\x25\x15\xee\x4a\xe6\x7e"
9175                           "\xea\x1b\x58\xee\x96\xa0\x75\x9a"
9176                           "\xa3\x00\x9e\x42\xc2\x26\x20\x8c"
9177                           "\x3d\x22\x1f\x94\x3e\x74\x43\x72"
9178                           "\xe9\x1d\xa6\xa1\x6c\xa7\xb8\x03"
9179                           "\xdf\xb9\x7a\xaf\xe9\xe9\x3b\xfe"
9180                           "\xdf\x91\xc1\x01\xa8\xba\x5d\x29"
9181                           "\xa5\xe0\x98\x9b\x13\xe5\x13\x11"
9182                           "\x7c\x04\x3a\xe8\x44\x7e\x78\xfc"
9183                           "\xd6\x96\xa8\xbc\x7d\xc1\x89\x3d"
9184                           "\x75\x64\xa9\x0e\x86\x33\xfb\x73"
9185                           "\xf7\x15\xbc\x2c\x9a\x3f\x29\xce"
9186                           "\x1c\x9d\x10\x4e\x85\xe1\x77\x41"
9187                           "\x01\xe2\xbc\x88\xec\x81\xef\xc2"
9188                           "\x6a\xed\x4f\xf7\xdf\xac\x10\x71"
9189                           "\x94\xed\x71\xa4\x01\xd4\xd6\xbe"
9190                           "\xfe\x3e\xc3\x92\x6a\xf2\x2b\xb5"
9191                           "\xab\x15\x96\xb7\x88\x2c\xc2\xe1"
9192                           "\xb0\x04\x22\xe7\x3d\xa9\xc9\x7d"
9193                           "\x2c\x7c\x21\xff\x97\x86\x6b\x0c"
9194                           "\x2b\x5b\xe0\xb6\x48\x74\x8f\x24"
9195                           "\xef\x8e\xdd\x0f\x2a\x5f\xff\x33"
9196                           "\xf4\x8e\xc5\xeb\x9c\xd7\x2a\x45"
9197                           "\xf3\x50\xf1\xc0\x91\x8f\xc7\xf9"
9198                           "\x97\xc1\x3c\x9c\xf4\xed\x8a\x23"
9199                           "\x61\x5b\x40\x1a\x09\xee\x23\xa8"
9200                           "\x7c\x7a\x96\xe1\x31\x55\x3d\x12"
9201                           "\x04\x1f\x21\x78\x72\xf0\x0f\xa5"
9202                           "\x80\x58\x7c\x2f\x37\xb5\x67\x24"
9203                           "\x2f\xce\xf9\xf6\x86\x9f\xb3\x34"
9204                           "\x0c\xfe\x0a\xaf\x27\xe6\x5e\x0a"
9205                           "\x21\x44\x68\xe1\x5d\x84\x25\xae"
9206                           "\x2c\x5a\x94\x66\x9a\x3f\x0e\x5a"
9207                           "\xd0\x60\x2a\xd5\x3a\x4e\x2f\x40"
9208                           "\x87\xe9\x27\x3e\xee\x92\xe1\x07"
9209                           "\x22\x43\x52\xed\x67\x49\x13\xdd"
9210                           "\x68\xd7\x54\xc2\x76\x72\x7e\x75"
9211                           "\xaf\x24\x98\x5c\xe8\x22\xaa\x35"
9212                           "\x0f\x9a\x1c\x4c\x0b\x43\x68\x99"
9213                           "\x45\xdd\xbf\x82\xa5\x6f\x0a\xef"
9214                           "\x44\x90\x85\xe7\x57\x23\x22\x41"
9215                           "\x2e\xda\x24\x28\x65\x7f\x96\x85"
9216                           "\x9f\x4b\x0d\x43\xb9\xa8\xbd\x84"
9217                           "\xad\x0b\x09\xcc\x2c\x4a\x0c\xec"
9218                           "\x71\x58\xba\xf1\xfc\x49\x4c\xca"
9219                           "\x5c\x5d\xb2\x77\x0c\x99\xae\x1c"
9220                           "\xce\x70\x05\x5b\x73\x6b\x7c\x28"
9221                           "\x3b\xeb\x21\x3f\xa3\x71\xe1\x6a"
9222                           "\xf4\x87\xd0\xbf\x73\xaa\x0b\x0b"
9223                           "\xed\x70\xb3\xd4\xa3\xca\x76\x3a"
9224                           "\xdb\xfa\xd8\x08\x95\xec\xac\x59"
9225                           "\xd0\x79\x90\xc2\x33\x7b\xcc\x28"
9226                           "\x65\xb6\x5f\x92\xc4\xac\x23\x40"
9227                           "\xd1\x20\x44\x1f\xd7\x29\xab\x46"
9228                           "\x79\x32\xc6\x8f\x79\xe5\xaa\x2c"
9229                           "\xa6\x76\x70\x3a\x9e\x46\x3f\x8c"
9230                           "\x1a\x89\x32\x28\x61\x5c\xcf\x93"
9231                           "\x1e\xde\x9e\x98\xbe\x06\x30\x23"
9232                           "\xc4\x8b\xda\x1c\xd1\x67\x46\x93"
9233                           "\x9d\x41\xa2\x8c\x03\x22\xbd\x55"
9234                           "\x7e\x91\x51\x13\xdc\xcf\x5c\x1e"
9235                           "\xcb\x5d\xfb\x14\x16\x1a\x44\x56"
9236                           "\x27\x77\xfd\xed\x7d\xbd\xd1\x49"
9237                           "\x7f\x0d\xc3\x59\x48\x6b\x3c\x02"
9238                           "\x6b\xb5\xd0\x83\xd5\x81\x29\xe7"
9239                           "\xe0\xc9\x36\x23\x8d\x41\x33\x77"
9240                           "\xff\x5f\x54\xde\x4d\x3f\xd2\x4e"
9241                           "\xb6\x4d\xdd\x85\xf8\x9b\x20\x7d"
9242                           "\x39\x27\x68\x63\xd3\x8e\x61\x39"
9243                           "\xfa\xe1\xc3\x04\x74\x27\x5a\x34"
9244                           "\x7f\xec\x59\x2d\xc5\x6e\x54\x23"
9245                           "\xf5\x7b\x4b\xbe\x58\x2b\xf2\x81"
9246                           "\x93\x63\xcc\x13\xd9\x90\xbb\x6a"
9247                           "\x41\x03\x8d\x95\xeb\xbb\x5d\x06"
9248                           "\x38\x4c\x0e\xd6\xa9\x5b\x84\x97"
9249                           "\x3e\x64\x72\xe9\x96\x07\x0f\x73"
9250                           "\x6e\xc6\x3b\x32\xbe\xac\x13\x14"
9251                           "\xd0\x0a\x17\x5f\xb9\x9c\x3e\x34"
9252                           "\xd9\xec\xd6\x8f\x89\xbf\x1e\xd3"
9253                           "\xda\x80\xb2\x29\xff\x28\x96\xb3"
9254                           "\x46\x50\x5b\x15\x80\x97\xee\x1f"
9255                           "\x6c\xd8\xe8\xe0\xbd\x09\xe7\x20"
9256                           "\x8c\x23\x8e\xd9\xbb\x92\xfa\x82"
9257                           "\xaa\x0f\xb5\xf8\x78\x60\x11\xf0",
9258                 .ksize  = 1088,
9259                 .plaintext      = "\x0b\xb2\x31\x2d\xad\xfe\xce\xf9"
9260                           "\xec\x5d\x3d\x64\x5f\x3f\x75\x43"
9261                           "\x05\x5b\x97",
9262                 .psize  = 19,
9263                 .digest = "\x5f\x02\xae\x65\x6c\x13\x21\x67"
9264                           "\x77\x9e\xc4\x43\x58\x68\xde\x8f",
9265         }, {
9266                 .key    = "\x65\x4d\xe3\xf8\xd2\x4c\xac\x28"
9267                           "\x68\xf5\xb3\x81\x71\x4b\xa1\xfa"
9268                           "\x04\x0e\xd3\x81\x36\xbe\x0c\x81"
9269                           "\x5e\xaf\xbc\x3a\xa4\xc0\x8e\x8b"
9270                           "\x55\x63\xd3\x52\x97\x88\xd6\x19"
9271                           "\xbc\x96\xdf\x49\xff\x04\x63\xf5"
9272                           "\x0c\x11\x13\xaa\x9e\x1f\x5a\xf7"
9273                           "\xdd\xbd\x37\x80\xc3\xd0\xbe\xa7"
9274                           "\x05\xc8\x3c\x98\x1e\x05\x3c\x84"
9275                           "\x39\x61\xc4\xed\xed\x71\x1b\xc4"
9276                           "\x74\x45\x2c\xa1\x56\x70\x97\xfd"
9277                           "\x44\x18\x07\x7d\xca\x60\x1f\x73"
9278                           "\x3b\x6d\x21\xcb\x61\x87\x70\x25"
9279                           "\x46\x21\xf1\x1f\x21\x91\x31\x2d"
9280                           "\x5d\xcc\xb7\xd1\x84\x3e\x3d\xdb"
9281                           "\x03\x53\x2a\x82\xa6\x9a\x95\xbc"
9282                           "\x1a\x1e\x0a\x5e\x07\x43\xab\x43"
9283                           "\xaf\x92\x82\x06\x91\x04\x09\xf4"
9284                           "\x17\x0a\x9a\x2c\x54\xdb\xb8\xf4"
9285                           "\xd0\xf0\x10\x66\x24\x8d\xcd\xda"
9286                           "\xfe\x0e\x45\x9d\x6f\xc4\x4e\xf4"
9287                           "\x96\xaf\x13\xdc\xa9\xd4\x8c\xc4"
9288                           "\xc8\x57\x39\x3c\xc2\xd3\x0a\x76"
9289                           "\x4a\x1f\x75\x83\x44\xc7\xd1\x39"
9290                           "\xd8\xb5\x41\xba\x73\x87\xfa\x96"
9291                           "\xc7\x18\x53\xfb\x9b\xda\xa0\x97"
9292                           "\x1d\xee\x60\x85\x9e\x14\xc3\xce"
9293                           "\xc4\x05\x29\x3b\x95\x30\xa3\xd1"
9294                           "\x9f\x82\x6a\x04\xf5\xa7\x75\x57"
9295                           "\x82\x04\xfe\x71\x51\x71\xb1\x49"
9296                           "\x50\xf8\xe0\x96\xf1\xfa\xa8\x88"
9297                           "\x3f\xa0\x86\x20\xd4\x60\x79\x59"
9298                           "\x17\x2d\xd1\x09\xf4\xec\x05\x57"
9299                           "\xcf\x62\x7e\x0e\x7e\x60\x78\xe6"
9300                           "\x08\x60\x29\xd8\xd5\x08\x1a\x24"
9301                           "\xc4\x6c\x24\xe7\x92\x08\x3d\x8a"
9302                           "\x98\x7a\xcf\x99\x0a\x65\x0e\xdc"
9303                           "\x8c\x8a\xbe\x92\x82\x91\xcc\x62"
9304                           "\x30\xb6\xf4\x3f\xc6\x8a\x7f\x12"
9305                           "\x4a\x8a\x49\xfa\x3f\x5c\xd4\x5a"
9306                           "\xa6\x82\xa3\xe6\xaa\x34\x76\xb2"
9307                           "\xab\x0a\x30\xef\x6c\x77\x58\x3f"
9308                           "\x05\x6b\xcc\x5c\xae\xdc\xd7\xb9"
9309                           "\x51\x7e\x8d\x32\x5b\x24\x25\xbe"
9310                           "\x2b\x24\x01\xcf\x80\xda\x16\xd8"
9311                           "\x90\x72\x2c\xad\x34\x8d\x0c\x74"
9312                           "\x02\xcb\xfd\xcf\x6e\xef\x97\xb5"
9313                           "\x4c\xf2\x68\xca\xde\x43\x9e\x8a"
9314                           "\xc5\x5f\x31\x7f\x14\x71\x38\xec"
9315                           "\xbd\x98\xe5\x71\xc4\xb5\xdb\xef"
9316                           "\x59\xd2\xca\xc0\xc1\x86\x75\x01"
9317                           "\xd4\x15\x0d\x6f\xa4\xf7\x7b\x37"
9318                           "\x47\xda\x18\x93\x63\xda\xbe\x9e"
9319                           "\x07\xfb\xb2\x83\xd5\xc4\x34\x55"
9320                           "\xee\x73\xa1\x42\x96\xf9\x66\x41"
9321                           "\xa4\xcc\xd2\x93\x6e\xe1\x0a\xbb"
9322                           "\xd2\xdd\x18\x23\xe6\x6b\x98\x0b"
9323                           "\x8a\x83\x59\x2c\xc3\xa6\x59\x5b"
9324                           "\x01\x22\x59\xf7\xdc\xb0\x87\x7e"
9325                           "\xdb\x7d\xf4\x71\x41\xab\xbd\xee"
9326                           "\x79\xbe\x3c\x01\x76\x0b\x2d\x0a"
9327                           "\x42\xc9\x77\x8c\xbb\x54\x95\x60"
9328                           "\x43\x2e\xe0\x17\x52\xbd\x90\xc9"
9329                           "\xc2\x2c\xdd\x90\x24\x22\x76\x40"
9330                           "\x5c\xb9\x41\xc9\xa1\xd5\xbd\xe3"
9331                           "\x44\xe0\xa4\xab\xcc\xb8\xe2\x32"
9332                           "\x02\x15\x04\x1f\x8c\xec\x5d\x14"
9333                           "\xac\x18\xaa\xef\x6e\x33\x19\x6e"
9334                           "\xde\xfe\x19\xdb\xeb\x61\xca\x18"
9335                           "\xad\xd8\x3d\xbf\x09\x11\xc7\xa5"
9336                           "\x86\x0b\x0f\xe5\x3e\xde\xe8\xd9"
9337                           "\x0a\x69\x9e\x4c\x20\xff\xf9\xc5"
9338                           "\xfa\xf8\xf3\x7f\xa5\x01\x4b\x5e"
9339                           "\x0f\xf0\x3b\x68\xf0\x46\x8c\x2a"
9340                           "\x7a\xc1\x8f\xa0\xfe\x6a\x5b\x44"
9341                           "\x70\x5c\xcc\x92\x2c\x6f\x0f\xbd"
9342                           "\x25\x3e\xb7\x8e\x73\x58\xda\xc9"
9343                           "\xa5\xaa\x9e\xf3\x9b\xfd\x37\x3e"
9344                           "\xe2\x88\xa4\x7b\xc8\x5c\xa8\x93"
9345                           "\x0e\xe7\x9a\x9c\x2e\x95\x18\x9f"
9346                           "\xc8\x45\x0c\x88\x9e\x53\x4f\x3a"
9347                           "\x76\xc1\x35\xfa\x17\xd8\xac\xa0"
9348                           "\x0c\x2d\x47\x2e\x4f\x69\x9b\xf7"
9349                           "\xd0\xb6\x96\x0c\x19\xb3\x08\x01"
9350                           "\x65\x7a\x1f\xc7\x31\x86\xdb\xc8"
9351                           "\xc1\x99\x8f\xf8\x08\x4a\x9d\x23"
9352                           "\x22\xa8\xcf\x27\x01\x01\x88\x93"
9353                           "\x9c\x86\x45\xbd\xe0\x51\xca\x52"
9354                           "\x84\xba\xfe\x03\xf7\xda\xc5\xce"
9355                           "\x3e\x77\x75\x86\xaf\x84\xc8\x05"
9356                           "\x44\x01\x0f\x02\xf3\x58\xb0\x06"
9357                           "\x5a\xd7\x12\x30\x8d\xdf\x1f\x1f"
9358                           "\x0a\xe6\xd2\xea\xf6\x3a\x7a\x99"
9359                           "\x63\xe8\xd2\xc1\x4a\x45\x8b\x40"
9360                           "\x4d\x0a\xa9\x76\x92\xb3\xda\x87"
9361                           "\x36\x33\xf0\x78\xc3\x2f\x5f\x02"
9362                           "\x1a\x6a\x2c\x32\xcd\x76\xbf\xbd"
9363                           "\x5a\x26\x20\x28\x8c\x8c\xbc\x52"
9364                           "\x3d\x0a\xc9\xcb\xab\xa4\x21\xb0"
9365                           "\x54\x40\x81\x44\xc7\xd6\x1c\x11"
9366                           "\x44\xc6\x02\x92\x14\x5a\xbf\x1a"
9367                           "\x09\x8a\x18\xad\xcd\x64\x3d\x53"
9368                           "\x4a\xb6\xa5\x1b\x57\x0e\xef\xe0"
9369                           "\x8c\x44\x5f\x7d\xbd\x6c\xfd\x60"
9370                           "\xae\x02\x24\xb6\x99\xdd\x8c\xaf"
9371                           "\x59\x39\x75\x3c\xd1\x54\x7b\x86"
9372                           "\xcc\x99\xd9\x28\x0c\xb0\x94\x62"
9373                           "\xf9\x51\xd1\x19\x96\x2d\x66\xf5"
9374                           "\x55\xcf\x9e\x59\xe2\x6b\x2c\x08"
9375                           "\xc0\x54\x48\x24\x45\xc3\x8c\x73"
9376                           "\xea\x27\x6e\x66\x7d\x1d\x0e\x6e"
9377                           "\x13\xe8\x56\x65\x3a\xb0\x81\x5c"
9378                           "\xf0\xe8\xd8\x00\x6b\xcd\x8f\xad"
9379                           "\xdd\x53\xf3\xa4\x6c\x43\xd6\x31"
9380                           "\xaf\xd2\x76\x1e\x91\x12\xdb\x3c"
9381                           "\x8c\xc2\x81\xf0\x49\xdb\xe2\x6b"
9382                           "\x76\x62\x0a\x04\xe4\xaa\x8a\x7c"
9383                           "\x08\x0b\x5d\xd0\xee\x1d\xfb\xc4"
9384                           "\x02\x75\x42\xd6\xba\xa7\x22\xa8"
9385                           "\x47\x29\xb7\x85\x6d\x93\x3a\xdb"
9386                           "\x00\x53\x0b\xa2\xeb\xf8\xfe\x01"
9387                           "\x6f\x8a\x31\xd6\x17\x05\x6f\x67"
9388                           "\x88\x95\x32\xfe\x4f\xa6\x4b\xf8"
9389                           "\x03\xe4\xcd\x9a\x18\xe8\x4e\x2d"
9390                           "\xf7\x97\x9a\x0c\x7d\x9f\x7e\x44"
9391                           "\x69\x51\xe0\x32\x6b\x62\x86\x8f"
9392                           "\xa6\x8e\x0b\x21\x96\xe5\xaf\x77"
9393                           "\xc0\x83\xdf\xa5\x0e\xd0\xa1\x04"
9394                           "\xaf\xc1\x10\xcb\x5a\x40\xe4\xe3"
9395                           "\x38\x7e\x07\xe8\x4d\xfa\xed\xc5"
9396                           "\xf0\x37\xdf\xbb\x8a\xcf\x3d\xdc"
9397                           "\x61\xd2\xc6\x2b\xff\x07\xc9\x2f"
9398                           "\x0c\x2d\x5c\x07\xa8\x35\x6a\xfc"
9399                           "\xae\x09\x03\x45\x74\x51\x4d\xc4"
9400                           "\xb8\x23\x87\x4a\x99\x27\x20\x87"
9401                           "\x62\x44\x0a\x4a\xce\x78\x47\x22",
9402                 .ksize  = 1088,
9403                 .plaintext      = "\x8e\xb0\x4c\xde\x9c\x4a\x04\x5a"
9404                           "\xf6\xa9\x7f\x45\x25\xa5\x7b\x3a"
9405                           "\xbc\x4d\x73\x39\x81\xb5\xbd\x3d"
9406                           "\x21\x6f\xd7\x37\x50\x3c\x7b\x28"
9407                           "\xd1\x03\x3a\x17\xed\x7b\x7c\x2a"
9408                           "\x16\xbc\xdf\x19\x89\x52\x71\x31"
9409                           "\xb6\xc0\xfd\xb5\xd3\xba\x96\x99"
9410                           "\xb6\x34\x0b\xd0\x99\x93\xfc\x1a"
9411                           "\x01\x3c\x85\xc6\x9b\x78\x5c\x8b"
9412                           "\xfe\xae\xd2\xbf\xb2\x6f\xf9\xed"
9413                           "\xc8\x25\x17\xfe\x10\x3b\x7d\xda"
9414                           "\xf4\x8d\x35\x4b\x7c\x7b\x82\xe7"
9415                           "\xc2\xb3\xee\x60\x4a\x03\x86\xc9"
9416                           "\x4e\xb5\xc4\xbe\xd2\xbd\x66\xf1"
9417                           "\x13\xf1\x09\xab\x5d\xca\x63\x1f"
9418                           "\xfc\xfb\x57\x2a\xfc\xca\x66\xd8"
9419                           "\x77\x84\x38\x23\x1d\xac\xd3\xb3"
9420                           "\x7a\xad\x4c\x70\xfa\x9c\xc9\x61"
9421                           "\xa6\x1b\xba\x33\x4b\x4e\x33\xec"
9422                           "\xa0\xa1\x64\x39\x40\x05\x1c\xc2"
9423                           "\x3f\x49\x9d\xae\xf2\xc5\xf2\xc5"
9424                           "\xfe\xe8\xf4\xc2\xf9\x96\x2d\x28"
9425                           "\x92\x30\x44\xbc\xd2\x7f\xe1\x6e"
9426                           "\x62\x02\x8f\x3d\x1c\x80\xda\x0e"
9427                           "\x6a\x90\x7e\x75\xff\xec\x3e\xc4"
9428                           "\xcd\x16\x34\x3b\x05\x6d\x4d\x20"
9429                           "\x1c\x7b\xf5\x57\x4f\xfa\x3d\xac"
9430                           "\xd0\x13\x55\xe8\xb3\xe1\x1b\x78"
9431                           "\x30\xe6\x9f\x84\xd4\x69\xd1\x08"
9432                           "\x12\x77\xa7\x4a\xbd\xc0\xf2\xd2"
9433                           "\x78\xdd\xa3\x81\x12\xcb\x6c\x14"
9434                           "\x90\x61\xe2\x84\xc6\x2b\x16\xcc"
9435                           "\x40\x99\x50\x88\x01\x09\x64\x4f"
9436                           "\x0a\x80\xbe\x61\xae\x46\xc9\x0a"
9437                           "\x5d\xe0\xfb\x72\x7a\x1a\xdd\x61"
9438                           "\x63\x20\x05\xa0\x4a\xf0\x60\x69"
9439                           "\x7f\x92\xbc\xbf\x4e\x39\x4d\xdd"
9440                           "\x74\xd1\xb7\xc0\x5a\x34\xb7\xae"
9441                           "\x76\x65\x2e\xbc\x36\xb9\x04\x95"
9442                           "\x42\xe9\x6f\xca\x78\xb3\x72\x07"
9443                           "\xa3\xba\x02\x94\x67\x4c\xb1\xd7"
9444                           "\xe9\x30\x0d\xf0\x3b\xb8\x10\x6d"
9445                           "\xea\x2b\x21\xbf\x74\x59\x82\x97"
9446                           "\x85\xaa\xf1\xd7\x54\x39\xeb\x05"
9447                           "\xbd\xf3\x40\xa0\x97\xe6\x74\xfe"
9448                           "\xb4\x82\x5b\xb1\x36\xcb\xe8\x0d"
9449                           "\xce\x14\xd9\xdf\xf1\x94\x22\xcd"
9450                           "\xd6\x00\xba\x04\x4c\x05\x0c\xc0"
9451                           "\xd1\x5a\xeb\x52\xd5\xa8\x8e\xc8"
9452                           "\x97\xa1\xaa\xc1\xea\xc1\xbe\x7c"
9453                           "\x36\xb3\x36\xa0\xc6\x76\x66\xc5"
9454                           "\xe2\xaf\xd6\x5c\xe2\xdb\x2c\xb3"
9455                           "\x6c\xb9\x99\x7f\xff\x9f\x03\x24"
9456                           "\xe1\x51\x44\x66\xd8\x0c\x5d\x7f"
9457                           "\x5c\x85\x22\x2a\xcf\x6d\x79\x28"
9458                           "\xab\x98\x01\x72\xfe\x80\x87\x5f"
9459                           "\x46\xba\xef\x81\x24\xee\xbf\xb0"
9460                           "\x24\x74\xa3\x65\x97\x12\xc4\xaf"
9461                           "\x8b\xa0\x39\xda\x8a\x7e\x74\x6e"
9462                           "\x1b\x42\xb4\x44\x37\xfc\x59\xfd"
9463                           "\x86\xed\xfb\x8c\x66\x33\xda\x63"
9464                           "\x75\xeb\xe1\xa4\x85\x4f\x50\x8f"
9465                           "\x83\x66\x0d\xd3\x37\xfa\xe6\x9c"
9466                           "\x4f\x30\x87\x35\x18\xe3\x0b\xb7"
9467                           "\x6e\x64\x54\xcd\x70\xb3\xde\x54"
9468                           "\xb7\x1d\xe6\x4c\x4d\x55\x12\x12"
9469                           "\xaf\x5f\x7f\x5e\xee\x9d\xe8\x8e"
9470                           "\x32\x9d\x4e\x75\xeb\xc6\xdd\xaa"
9471                           "\x48\x82\xa4\x3f\x3c\xd7\xd3\xa8"
9472                           "\x63\x9e\x64\xfe\xe3\x97\x00\x62"
9473                           "\xe5\x40\x5d\xc3\xad\x72\xe1\x28"
9474                           "\x18\x50\xb7\x75\xef\xcd\x23\xbf"
9475                           "\x3f\xc0\x51\x36\xf8\x41\xc3\x08"
9476                           "\xcb\xf1\x8d\x38\x34\xbd\x48\x45"
9477                           "\x75\xed\xbc\x65\x7b\xb5\x0c\x9b"
9478                           "\xd7\x67\x7d\x27\xb4\xc4\x80\xd7"
9479                           "\xa9\xb9\xc7\x4a\x97\xaa\xda\xc8"
9480                           "\x3c\x74\xcf\x36\x8f\xe4\x41\xe3"
9481                           "\xd4\xd3\x26\xa7\xf3\x23\x9d\x8f"
9482                           "\x6c\x20\x05\x32\x3e\xe0\xc3\xc8"
9483                           "\x56\x3f\xa7\x09\xb7\xfb\xc7\xf7"
9484                           "\xbe\x2a\xdd\x0f\x06\x7b\x0d\xdd"
9485                           "\xb0\xb4\x86\x17\xfd\xb9\x04\xe5"
9486                           "\xc0\x64\x5d\xad\x2a\x36\x38\xdb"
9487                           "\x24\xaf\x5b\xff\xca\xf9\x41\xe8"
9488                           "\xf9\x2f\x1e\x5e\xf9\xf5\xd5\xf2"
9489                           "\xb2\x88\xca\xc9\xa1\x31\xe2\xe8"
9490                           "\x10\x95\x65\xbf\xf1\x11\x61\x7a"
9491                           "\x30\x1a\x54\x90\xea\xd2\x30\xf6"
9492                           "\xa5\xad\x60\xf9\x4d\x84\x21\x1b"
9493                           "\xe4\x42\x22\xc8\x12\x4b\xb0\x58"
9494                           "\x3e\x9c\x2d\x32\x95\x0a\x8e\xb0"
9495                           "\x0a\x7e\x77\x2f\xe8\x97\x31\x6a"
9496                           "\xf5\x59\xb4\x26\xe6\x37\x12\xc9"
9497                           "\xcb\xa0\x58\x33\x6f\xd5\x55\x55"
9498                           "\x3c\xa1\x33\xb1\x0b\x7e\x2e\xb4"
9499                           "\x43\x2a\x84\x39\xf0\x9c\xf4\x69"
9500                           "\x4f\x1e\x79\xa6\x15\x1b\x87\xbb"
9501                           "\xdb\x9b\xe0\xf1\x0b\xba\xe3\x6e"
9502                           "\xcc\x2f\x49\x19\x22\x29\xfc\x71"
9503                           "\xbb\x77\x38\x18\x61\xaf\x85\x76"
9504                           "\xeb\xd1\x09\xcc\x86\x04\x20\x9a"
9505                           "\x66\x53\x2f\x44\x8b\xc6\xa3\xd2"
9506                           "\x5f\xc7\x79\x82\x66\xa8\x6e\x75"
9507                           "\x7d\x94\xd1\x86\x75\x0f\xa5\x4f"
9508                           "\x3c\x7a\x33\xce\xd1\x6e\x9d\x7b"
9509                           "\x1f\x91\x37\xb8\x37\x80\xfb\xe0"
9510                           "\x52\x26\xd0\x9a\xd4\x48\x02\x41"
9511                           "\x05\xe3\x5a\x94\xf1\x65\x61\x19"
9512                           "\xb8\x88\x4e\x2b\xea\xba\x8b\x58"
9513                           "\x8b\x42\x01\x00\xa8\xfe\x00\x5c"
9514                           "\xfe\x1c\xee\x31\x15\x69\xfa\xb3"
9515                           "\x9b\x5f\x22\x8e\x0d\x2c\xe3\xa5"
9516                           "\x21\xb9\x99\x8a\x8e\x94\x5a\xef"
9517                           "\x13\x3e\x99\x96\x79\x6e\xd5\x42"
9518                           "\x36\x03\xa9\xe2\xca\x65\x4e\x8a"
9519                           "\x8a\x30\xd2\x7d\x74\xe7\xf0\xaa"
9520                           "\x23\x26\xdd\xcb\x82\x39\xfc\x9d"
9521                           "\x51\x76\x21\x80\xa2\xbe\x93\x03"
9522                           "\x47\xb0\xc1\xb6\xdc\x63\xfd\x9f"
9523                           "\xca\x9d\xa5\xca\x27\x85\xe2\xd8"
9524                           "\x15\x5b\x7e\x14\x7a\xc4\x89\xcc"
9525                           "\x74\x14\x4b\x46\xd2\xce\xac\x39"
9526                           "\x6b\x6a\x5a\xa4\x0e\xe3\x7b\x15"
9527                           "\x94\x4b\x0f\x74\xcb\x0c\x7f\xa9"
9528                           "\xbe\x09\x39\xa3\xdd\x56\x5c\xc7"
9529                           "\x99\x56\x65\x39\xf4\x0b\x7d\x87"
9530                           "\xec\xaa\xe3\x4d\x22\x65\x39\x4e",
9531                 .psize  = 1024,
9532                 .digest = "\x64\x3a\xbc\xc3\x3f\x74\x40\x51"
9533                           "\x6e\x56\x01\x1a\x51\xec\x36\xde",
9534         }, {
9535                 .key    = "\x1b\x82\x2e\x1b\x17\x23\xb9\x6d"
9536                           "\xdc\x9c\xda\x99\x07\xe3\x5f\xd8"
9537                           "\xd2\xf8\x43\x80\x8d\x86\x7d\x80"
9538                           "\x1a\xd0\xcc\x13\xb9\x11\x05\x3f"
9539                           "\x7e\xcf\x7e\x80\x0e\xd8\x25\x48"
9540                           "\x8b\xaa\x63\x83\x92\xd0\x72\xf5"
9541                           "\x4f\x67\x7e\x50\x18\x25\xa4\xd1"
9542                           "\xe0\x7e\x1e\xba\xd8\xa7\x6e\xdb"
9543                           "\x1a\xcc\x0d\xfe\x9f\x6d\x22\x35"
9544                           "\xe1\xe6\xe0\xa8\x7b\x9c\xb1\x66"
9545                           "\xa3\xf8\xff\x4d\x90\x84\x28\xbc"
9546                           "\xdc\x19\xc7\x91\x49\xfc\xf6\x33"
9547                           "\xc9\x6e\x65\x7f\x28\x6f\x68\x2e"
9548                           "\xdf\x1a\x75\xe9\xc2\x0c\x96\xb9"
9549                           "\x31\x22\xc4\x07\xc6\x0a\x2f\xfd"
9550                           "\x36\x06\x5f\x5c\xc5\xb1\x3a\xf4"
9551                           "\x5e\x48\xa4\x45\x2b\x88\xa7\xee"
9552                           "\xa9\x8b\x52\xcc\x99\xd9\x2f\xb8"
9553                           "\xa4\x58\x0a\x13\xeb\x71\x5a\xfa"
9554                           "\xe5\x5e\xbe\xf2\x64\xad\x75\xbc"
9555                           "\x0b\x5b\x34\x13\x3b\x23\x13\x9a"
9556                           "\x69\x30\x1e\x9a\xb8\x03\xb8\x8b"
9557                           "\x3e\x46\x18\x6d\x38\xd9\xb3\xd8"
9558                           "\xbf\xf1\xd0\x28\xe6\x51\x57\x80"
9559                           "\x5e\x99\xfb\xd0\xce\x1e\x83\xf7"
9560                           "\xe9\x07\x5a\x63\xa9\xef\xce\xa5"
9561                           "\xfb\x3f\x37\x17\xfc\x0b\x37\x0e"
9562                           "\xbb\x4b\x21\x62\xb7\x83\x0e\xa9"
9563                           "\x9e\xb0\xc4\xad\x47\xbe\x35\xe7"
9564                           "\x51\xb2\xf2\xac\x2b\x65\x7b\x48"
9565                           "\xe3\x3f\x5f\xb6\x09\x04\x0c\x58"
9566                           "\xce\x99\xa9\x15\x2f\x4e\xc1\xf2"
9567                           "\x24\x48\xc0\xd8\x6c\xd3\x76\x17"
9568                           "\x83\x5d\xe6\xe3\xfd\x01\x8e\xf7"
9569                           "\x42\xa5\x04\x29\x30\xdf\xf9\x00"
9570                           "\x4a\xdc\x71\x22\x1a\x33\x15\xb6"
9571                           "\xd7\x72\xfb\x9a\xb8\xeb\x2b\x38"
9572                           "\xea\xa8\x61\xa8\x90\x11\x9d\x73"
9573                           "\x2e\x6c\xce\x81\x54\x5a\x9f\xcd"
9574                           "\xcf\xd5\xbd\x26\x5d\x66\xdb\xfb"
9575                           "\xdc\x1e\x7c\x10\xfe\x58\x82\x10"
9576                           "\x16\x24\x01\xce\x67\x55\x51\xd1"
9577                           "\xdd\x6b\x44\xa3\x20\x8e\xa9\xa6"
9578                           "\x06\xa8\x29\x77\x6e\x00\x38\x5b"
9579                           "\xde\x4d\x58\xd8\x1f\x34\xdf\xf9"
9580                           "\x2c\xac\x3e\xad\xfb\x92\x0d\x72"
9581                           "\x39\xa4\xac\x44\x10\xc0\x43\xc4"
9582                           "\xa4\x77\x3b\xfc\xc4\x0d\x37\xd3"
9583                           "\x05\x84\xda\x53\x71\xf8\x80\xd3"
9584                           "\x34\x44\xdb\x09\xb4\x2b\x8e\xe3"
9585                           "\x00\x75\x50\x9e\x43\x22\x00\x0b"
9586                           "\x7c\x70\xab\xd4\x41\xf1\x93\xcd"
9587                           "\x25\x2d\x84\x74\xb5\xf2\x92\xcd"
9588                           "\x0a\x28\xea\x9a\x49\x02\x96\xcb"
9589                           "\x85\x9e\x2f\x33\x03\x86\x1d\xdc"
9590                           "\x1d\x31\xd5\xfc\x9d\xaa\xc5\xe9"
9591                           "\x9a\xc4\x57\xf5\x35\xed\xf4\x4b"
9592                           "\x3d\x34\xc2\x29\x13\x86\x36\x42"
9593                           "\x5d\xbf\x90\x86\x13\x77\xe5\xc3"
9594                           "\x62\xb4\xfe\x0b\x70\x39\x35\x65"
9595                           "\x02\xea\xf6\xce\x57\x0c\xbb\x74"
9596                           "\x29\xe3\xfd\x60\x90\xfd\x10\x38"
9597                           "\xd5\x4e\x86\xbd\x37\x70\xf0\x97"
9598                           "\xa6\xab\x3b\x83\x64\x52\xca\x66"
9599                           "\x2f\xf9\xa4\xca\x3a\x55\x6b\xb0"
9600                           "\xe8\x3a\x34\xdb\x9e\x48\x50\x2f"
9601                           "\x3b\xef\xfd\x08\x2d\x5f\xc1\x37"
9602                           "\x5d\xbe\x73\xe4\xd8\xe9\xac\xca"
9603                           "\x8a\xaa\x48\x7c\x5c\xf4\xa6\x96"
9604                           "\x5f\xfa\x70\xa6\xb7\x8b\x50\xcb"
9605                           "\xa6\xf5\xa9\xbd\x7b\x75\x4c\x22"
9606                           "\x0b\x19\x40\x2e\xc9\x39\x39\x32"
9607                           "\x83\x03\xa8\xa4\x98\xe6\x8e\x16"
9608                           "\xb9\xde\x08\xc5\xfc\xbf\xad\x39"
9609                           "\xa8\xc7\x93\x6c\x6f\x23\xaf\xc1"
9610                           "\xab\xe1\xdf\xbb\x39\xae\x93\x29"
9611                           "\x0e\x7d\x80\x8d\x3e\x65\xf3\xfd"
9612                           "\x96\x06\x65\x90\xa1\x28\x64\x4b"
9613                           "\x69\xf9\xa8\x84\x27\x50\xfc\x87"
9614                           "\xf7\xbf\x55\x8e\x56\x13\x58\x7b"
9615                           "\x85\xb4\x6a\x72\x0f\x40\xf1\x4f"
9616                           "\x83\x81\x1f\x76\xde\x15\x64\x7a"
9617                           "\x7a\x80\xe4\xc7\x5e\x63\x01\x91"
9618                           "\xd7\x6b\xea\x0b\x9b\xa2\x99\x3b"
9619                           "\x6c\x88\xd8\xfd\x59\x3c\x8d\x22"
9620                           "\x86\x56\xbe\xab\xa1\x37\x08\x01"
9621                           "\x50\x85\x69\x29\xee\x9f\xdf\x21"
9622                           "\x3e\x20\x20\xf5\xb0\xbb\x6b\xd0"
9623                           "\x9c\x41\x38\xec\x54\x6f\x2d\xbd"
9624                           "\x0f\xe1\xbd\xf1\x2b\x6e\x60\x56"
9625                           "\x29\xe5\x7a\x70\x1c\xe2\xfc\x97"
9626                           "\x82\x68\x67\xd9\x3d\x1f\xfb\xd8"
9627                           "\x07\x9f\xbf\x96\x74\xba\x6a\x0e"
9628                           "\x10\x48\x20\xd8\x13\x1e\xb5\x44"
9629                           "\xf2\xcc\xb1\x8b\xfb\xbb\xec\xd7"
9630                           "\x37\x70\x1f\x7c\x55\xd2\x4b\xb9"
9631                           "\xfd\x70\x5e\xa3\x91\x73\x63\x52"
9632                           "\x13\x47\x5a\x06\xfb\x01\x67\xa5"
9633                           "\xc0\xd0\x49\x19\x56\x66\x9a\x77"
9634                           "\x64\xaf\x8c\x25\x91\x52\x87\x0e"
9635                           "\x18\xf3\x5f\x97\xfd\x71\x13\xf8"
9636                           "\x05\xa5\x39\xcc\x65\xd3\xcc\x63"
9637                           "\x5b\xdb\x5f\x7e\x5f\x6e\xad\xc4"
9638                           "\xf4\xa0\xc5\xc2\x2b\x4d\x97\x38"
9639                           "\x4f\xbc\xfa\x33\x17\xb4\x47\xb9"
9640                           "\x43\x24\x15\x8d\xd2\xed\x80\x68"
9641                           "\x84\xdb\x04\x80\xca\x5e\x6a\x35"
9642                           "\x2c\x2c\xe7\xc5\x03\x5f\x54\xb0"
9643                           "\x5e\x4f\x1d\x40\x54\x3d\x78\x9a"
9644                           "\xac\xda\x80\x27\x4d\x15\x4c\x1a"
9645                           "\x6e\x80\xc9\xc4\x3b\x84\x0e\xd9"
9646                           "\x2e\x93\x01\x8c\xc3\xc8\x91\x4b"
9647                           "\xb3\xaa\x07\x04\x68\x5b\x93\xa5"
9648                           "\xe7\xc4\x9d\xe7\x07\xee\xf5\x3b"
9649                           "\x40\x89\xcc\x60\x34\x9d\xb4\x06"
9650                           "\x1b\xef\x92\xe6\xc1\x2a\x7d\x0f"
9651                           "\x81\xaa\x56\xe3\xd7\xed\xa7\xd4"
9652                           "\xa7\x3a\x49\xc4\xad\x81\x5c\x83"
9653                           "\x55\x8e\x91\x54\xb7\x7d\x65\xa5"
9654                           "\x06\x16\xd5\x9a\x16\xc1\xb0\xa2"
9655                           "\x06\xd8\x98\x47\x73\x7e\x73\xa0"
9656                           "\xb8\x23\xb1\x52\xbf\x68\x74\x5d"
9657                           "\x0b\xcb\xfa\x8c\x46\xe3\x24\xe6"
9658                           "\xab\xd4\x69\x8d\x8c\xf2\x8a\x59"
9659                           "\xbe\x48\x46\x50\x8c\x9a\xe8\xe3"
9660                           "\x31\x55\x0a\x06\xed\x4f\xf8\xb7"
9661                           "\x4f\xe3\x85\x17\x30\xbd\xd5\x20"
9662                           "\xe7\x5b\xb2\x32\xcf\x6b\x16\x44"
9663                           "\xd2\xf5\x7e\xd7\xd1\x2f\xee\x64"
9664                           "\x3e\x9d\x10\xef\x27\x35\x43\x64"
9665                           "\x67\xfb\x7a\x7b\xe0\x62\x31\x9a"
9666                           "\x4d\xdf\xa5\xab\xc0\x20\xbb\x01"
9667                           "\xe9\x7b\x54\xf1\xde\xb2\x79\x50"
9668                           "\x6c\x4b\x91\xdb\x7f\xbb\x50\xc1"
9669                           "\x55\x44\x38\x9a\xe0\x9f\xe8\x29"
9670                           "\x6f\x15\xf8\x4e\xa6\xec\xa0\x60",
9671                 .ksize  = 1088,
9672                 .plaintext      = "\x15\x68\x9e\x2f\xad\x15\x52\xdf"
9673                           "\xf0\x42\x62\x24\x2a\x2d\xea\xbf"
9674                           "\xc7\xf3\xb4\x1a\xf5\xed\xb2\x08"
9675                           "\x15\x60\x1c\x00\x77\xbf\x0b\x0e"
9676                           "\xb7\x2c\xcf\x32\x3a\xc7\x01\x77"
9677                           "\xef\xa6\x75\xd0\x29\xc7\x68\x20"
9678                           "\xb2\x92\x25\xbf\x12\x34\xe9\xa4"
9679                           "\xfd\x32\x7b\x3f\x7c\xbd\xa5\x02"
9680                           "\x38\x41\xde\xc9\xc1\x09\xd9\xfc"
9681                           "\x6e\x78\x22\x83\x18\xf7\x50\x8d"
9682                           "\x8f\x9c\x2d\x02\xa5\x30\xac\xff"
9683                           "\xea\x63\x2e\x80\x37\x83\xb0\x58"
9684                           "\xda\x2f\xef\x21\x55\xba\x7b\xb1"
9685                           "\xb6\xed\xf5\xd2\x4d\xaa\x8c\xa9"
9686                           "\xdd\xdb\x0f\xb4\xce\xc1\x9a\xb1"
9687                           "\xc1\xdc\xbd\xab\x86\xc2\xdf\x0b"
9688                           "\xe1\x2c\xf9\xbe\xf6\xd8\xda\x62"
9689                           "\x72\xdd\x98\x09\x52\xc0\xc4\xb6"
9690                           "\x7b\x17\x5c\xf5\xd8\x4b\x88\xd6"
9691                           "\x6b\xbf\x84\x4a\x3f\xf5\x4d\xd2"
9692                           "\x94\xe2\x9c\xff\xc7\x3c\xd9\xc8"
9693                           "\x37\x38\xbc\x8c\xf3\xe7\xb7\xd0"
9694                           "\x1d\x78\xc4\x39\x07\xc8\x5e\x79"
9695                           "\xb6\x5a\x90\x5b\x6e\x97\xc9\xd4"
9696                           "\x82\x9c\xf3\x83\x7a\xe7\x97\xfc"
9697                           "\x1d\xbb\xef\xdb\xce\xe0\x82\xad"
9698                           "\xca\x07\x6c\x54\x62\x6f\x81\xe6"
9699                           "\x7a\x5a\x96\x6e\x80\x3a\xa2\x37"
9700                           "\x6f\xc6\xa4\x29\xc3\x9e\x19\x94"
9701                           "\x9f\xb0\x3e\x38\xfb\x3c\x2b\x7d"
9702                           "\xaa\xb8\x74\xda\x54\x23\x51\x12"
9703                           "\x4b\x96\x36\x8f\x91\x4f\x19\x37"
9704                           "\x83\xc9\xdd\xc7\x1a\x32\x2d\xab"
9705                           "\xc7\x89\xe2\x07\x47\x6c\xe8\xa6"
9706                           "\x70\x6b\x8e\x0c\xda\x5c\x6a\x59"
9707                           "\x27\x33\x0e\xe1\xe1\x20\xe8\xc8"
9708                           "\xae\xdc\xd0\xe3\x6d\xa8\xa6\x06"
9709                           "\x41\xb4\xd4\xd4\xcf\x91\x3e\x06"
9710                           "\xb0\x9a\xf7\xf1\xaa\xa6\x23\x92"
9711                           "\x10\x86\xf0\x94\xd1\x7c\x2e\x07"
9712                           "\x30\xfb\xc5\xd8\xf3\x12\xa9\xe8"
9713                           "\x22\x1c\x97\x1a\xad\x96\xb0\xa1"
9714                           "\x72\x6a\x6b\xb4\xfd\xf7\xe8\xfa"
9715                           "\xe2\x74\xd8\x65\x8d\x35\x17\x4b"
9716                           "\x00\x23\x5c\x8c\x70\xad\x71\xa2"
9717                           "\xca\xc5\x6c\x59\xbf\xb4\xc0\x6d"
9718                           "\x86\x98\x3e\x19\x5a\x90\x92\xb1"
9719                           "\x66\x57\x6a\x91\x68\x7c\xbc\xf3"
9720                           "\xf1\xdb\x94\xf8\x48\xf1\x36\xd8"
9721                           "\x78\xac\x1c\xa9\xcc\xd6\x27\xba"
9722                           "\x91\x54\x22\xf5\xe6\x05\x3f\xcc"
9723                           "\xc2\x8f\x2c\x3b\x2b\xc3\x2b\x2b"
9724                           "\x3b\xb8\xb6\x29\xb7\x2f\x94\xb6"
9725                           "\x7b\xfc\x94\x3e\xd0\x7a\x41\x59"
9726                           "\x7b\x1f\x9a\x09\xa6\xed\x4a\x82"
9727                           "\x9d\x34\x1c\xbd\x4e\x1c\x3a\x66"
9728                           "\x80\x74\x0e\x9a\x4f\x55\x54\x47"
9729                           "\x16\xba\x2a\x0a\x03\x35\x99\xa3"
9730                           "\x5c\x63\x8d\xa2\x72\x8b\x17\x15"
9731                           "\x68\x39\x73\xeb\xec\xf2\xe8\xf5"
9732                           "\x95\x32\x27\xd6\xc4\xfe\xb0\x51"
9733                           "\xd5\x0c\x50\xc5\xcd\x6d\x16\xb3"
9734                           "\xa3\x1e\x95\x69\xad\x78\x95\x06"
9735                           "\xb9\x46\xf2\x6d\x24\x5a\x99\x76"
9736                           "\x73\x6a\x91\xa6\xac\x12\xe1\x28"
9737                           "\x79\xbc\x08\x4e\x97\x00\x98\x63"
9738                           "\x07\x1c\x4e\xd1\x68\xf3\xb3\x81"
9739                           "\xa8\xa6\x5f\xf1\x01\xc9\xc1\xaf"
9740                           "\x3a\x96\xf9\x9d\xb5\x5a\x5f\x8f"
9741                           "\x7e\xc1\x7e\x77\x0a\x40\xc8\x8e"
9742                           "\xfc\x0e\xed\xe1\x0d\xb0\xe5\x5e"
9743                           "\x5e\x6f\xf5\x7f\xab\x33\x7d\xcd"
9744                           "\xf0\x09\x4b\xb2\x11\x37\xdc\x65"
9745                           "\x97\x32\x62\x71\x3a\x29\x54\xb9"
9746                           "\xc7\xa4\xbf\x75\x0f\xf9\x40\xa9"
9747                           "\x8d\xd7\x8b\xa7\xe0\x9a\xbe\x15"
9748                           "\xc6\xda\xd8\x00\x14\x69\x1a\xaf"
9749                           "\x5f\x79\xc3\xf5\xbb\x6c\x2a\x9d"
9750                           "\xdd\x3c\x5f\x97\x21\xe1\x3a\x03"
9751                           "\x84\x6a\xe9\x76\x11\x1f\xd3\xd5"
9752                           "\xf0\x54\x20\x4d\xc2\x91\xc3\xa4"
9753                           "\x36\x25\xbe\x1b\x2a\x06\xb7\xf3"
9754                           "\xd1\xd0\x55\x29\x81\x4c\x83\xa3"
9755                           "\xa6\x84\x1e\x5c\xd1\xd0\x6c\x90"
9756                           "\xa4\x11\xf0\xd7\x63\x6a\x48\x05"
9757                           "\xbc\x48\x18\x53\xcd\xb0\x8d\xdb"
9758                           "\xdc\xfe\x55\x11\x5c\x51\xb3\xab"
9759                           "\xab\x63\x3e\x31\x5a\x8b\x93\x63"
9760                           "\x34\xa9\xba\x2b\x69\x1a\xc0\xe3"
9761                           "\xcb\x41\xbc\xd7\xf5\x7f\x82\x3e"
9762                           "\x01\xa3\x3c\x72\xf4\xfe\xdf\xbe"
9763                           "\xb1\x67\x17\x2b\x37\x60\x0d\xca"
9764                           "\x6f\xc3\x94\x2c\xd2\x92\x6d\x9d"
9765                           "\x75\x18\x77\xaa\x29\x38\x96\xed"
9766                           "\x0e\x20\x70\x92\xd5\xd0\xb4\x00"
9767                           "\xc0\x31\xf2\xc9\x43\x0e\x75\x1d"
9768                           "\x4b\x64\xf2\x1f\xf2\x29\x6c\x7b"
9769                           "\x7f\xec\x59\x7d\x8c\x0d\xd4\xd3"
9770                           "\xac\x53\x4c\xa3\xde\x42\x92\x95"
9771                           "\x6d\xa3\x4f\xd0\xe6\x3d\xe7\xec"
9772                           "\x7a\x4d\x68\xf1\xfe\x67\x66\x09"
9773                           "\x83\x22\xb1\x98\x43\x8c\xab\xb8"
9774                           "\x45\xe6\x6d\xdf\x5e\x50\x71\xce"
9775                           "\xf5\x4e\x40\x93\x2b\xfa\x86\x0e"
9776                           "\xe8\x30\xbd\x82\xcc\x1c\x9c\x5f"
9777                           "\xad\xfd\x08\x31\xbe\x52\xe7\xe6"
9778                           "\xf2\x06\x01\x62\x25\x15\x99\x74"
9779                           "\x33\x51\x52\x57\x3f\x57\x87\x61"
9780                           "\xb9\x7f\x29\x3d\xcd\x92\x5e\xa6"
9781                           "\x5c\x3b\xf1\xed\x5f\xeb\x82\xed"
9782                           "\x56\x7b\x61\xe7\xfd\x02\x47\x0e"
9783                           "\x2a\x15\xa4\xce\x43\x86\x9b\xe1"
9784                           "\x2b\x4c\x2a\xd9\x42\x97\xf7\x9a"
9785                           "\xe5\x47\x46\x48\xd3\x55\x6f\x4d"
9786                           "\xd9\xeb\x4b\xdd\x7b\x21\x2f\xb3"
9787                           "\xa8\x36\x28\xdf\xca\xf1\xf6\xd9"
9788                           "\x10\xf6\x1c\xfd\x2e\x0c\x27\xe0"
9789                           "\x01\xb3\xff\x6d\x47\x08\x4d\xd4"
9790                           "\x00\x25\xee\x55\x4a\xe9\xe8\x5b"
9791                           "\xd8\xf7\x56\x12\xd4\x50\xb2\xe5"
9792                           "\x51\x6f\x34\x63\x69\xd2\x4e\x96"
9793                           "\x4e\xbc\x79\xbf\x18\xae\xc6\x13"
9794                           "\x80\x92\x77\xb0\xb4\x0f\x29\x94"
9795                           "\x6f\x4c\xbb\x53\x11\x36\xc3\x9f"
9796                           "\x42\x8e\x96\x8a\x91\xc8\xe9\xfc"
9797                           "\xfe\xbf\x7c\x2d\x6f\xf9\xb8\x44"
9798                           "\x89\x1b\x09\x53\x0a\x2a\x92\xc3"
9799                           "\x54\x7a\x3a\xf9\xe2\xe4\x75\x87"
9800                           "\xa0\x5e\x4b\x03\x7a\x0d\x8a\xf4"
9801                           "\x55\x59\x94\x2b\x63\x96\x0e\xf5",
9802                 .psize  = 1040,
9803                 .digest = "\xb5\xb9\x08\xb3\x24\x3e\x03\xf0"
9804                           "\xd6\x0b\x57\xbc\x0a\x6d\x89\x59",
9805         }, {
9806                 .key    = "\xf6\x34\x42\x71\x35\x52\x8b\x58"
9807                           "\x02\x3a\x8e\x4a\x8d\x41\x13\xe9"
9808                           "\x7f\xba\xb9\x55\x9d\x73\x4d\xf8"
9809                           "\x3f\x5d\x73\x15\xff\xd3\x9e\x7f"
9810                           "\x20\x2a\x6a\xa8\xd1\xf0\x8f\x12"
9811                           "\x6b\x02\xd8\x6c\xde\xba\x80\x22"
9812                           "\x19\x37\xc8\xd0\x4e\x89\x17\x7c"
9813                           "\x7c\xdd\x88\xfd\x41\xc0\x04\xb7"
9814                           "\x1d\xac\x19\xe3\x20\xc7\x16\xcf"
9815                           "\x58\xee\x1d\x7a\x61\x69\xa9\x12"
9816                           "\x4b\xef\x4f\xb6\x38\xdd\x78\xf8"
9817                           "\x28\xee\x70\x08\xc7\x7c\xcc\xc8"
9818                           "\x1e\x41\xf5\x80\x86\x70\xd0\xf0"
9819                           "\xa3\x87\x6b\x0a\x00\xd2\x41\x28"
9820                           "\x74\x26\xf1\x24\xf3\xd0\x28\x77"
9821                           "\xd7\xcd\xf6\x2d\x61\xf4\xa2\x13"
9822                           "\x77\xb4\x6f\xa0\xf4\xfb\xd6\xb5"
9823                           "\x38\x9d\x5a\x0c\x51\xaf\xad\x63"
9824                           "\x27\x67\x8c\x01\xea\x42\x1a\x66"
9825                           "\xda\x16\x7c\x3c\x30\x0c\x66\x53"
9826                           "\x1c\x88\xa4\x5c\xb2\xe3\x78\x0a"
9827                           "\x13\x05\x6d\xe2\xaf\xb3\xe4\x75"
9828                           "\x00\x99\x58\xee\x76\x09\x64\xaa"
9829                           "\xbb\x2e\xb1\x81\xec\xd8\x0e\xd3"
9830                           "\x0c\x33\x5d\xb7\x98\xef\x36\xb6"
9831                           "\xd2\x65\x69\x41\x70\x12\xdc\x25"
9832                           "\x41\x03\x99\x81\x41\x19\x62\x13"
9833                           "\xd1\x0a\x29\xc5\x8c\xe0\x4c\xf3"
9834                           "\xd6\xef\x4c\xf4\x1d\x83\x2e\x6d"
9835                           "\x8e\x14\x87\xed\x80\xe0\xaa\xd3"
9836                           "\x08\x04\x73\x1a\x84\x40\xf5\x64"
9837                           "\xbd\x61\x32\x65\x40\x42\xfb\xb0"
9838                           "\x40\xf6\x40\x8d\xc7\x7f\x14\xd0"
9839                           "\x83\x99\xaa\x36\x7e\x60\xc6\xbf"
9840                           "\x13\x8a\xf9\x21\xe4\x7e\x68\x87"
9841                           "\xf3\x33\x86\xb4\xe0\x23\x7e\x0a"
9842                           "\x21\xb1\xf5\xad\x67\x3c\x9c\x9d"
9843                           "\x09\xab\xaf\x5f\xba\xe0\xd0\x82"
9844                           "\x48\x22\x70\xb5\x6d\x53\xd6\x0e"
9845                           "\xde\x64\x92\x41\xb0\xd3\xfb\xda"
9846                           "\x21\xfe\xab\xea\x20\xc4\x03\x58"
9847                           "\x18\x2e\x7d\x2f\x03\xa9\x47\x66"
9848                           "\xdf\x7b\xa4\x6b\x34\x6b\x55\x9c"
9849                           "\x4f\xd7\x9c\x47\xfb\xa9\x42\xec"
9850                           "\x5a\x12\xfd\xfe\x76\xa0\x92\x9d"
9851                           "\xfe\x1e\x16\xdd\x24\x2a\xe4\x27"
9852                           "\xd5\xa9\xf2\x05\x4f\x83\xa2\xaf"
9853                           "\xfe\xee\x83\x7a\xad\xde\xdf\x9a"
9854                           "\x80\xd5\x81\x14\x93\x16\x7e\x46"
9855                           "\x47\xc2\x14\xef\x49\x6e\xb9\xdb"
9856                           "\x40\xe8\x06\x6f\x9c\x2a\xfd\x62"
9857                           "\x06\x46\xfd\x15\x1d\x36\x61\x6f"
9858                           "\x77\x77\x5e\x64\xce\x78\x1b\x85"
9859                           "\xbf\x50\x9a\xfd\x67\xa6\x1a\x65"
9860                           "\xad\x5b\x33\x30\xf1\x71\xaa\xd9"
9861                           "\x23\x0d\x92\x24\x5f\xae\x57\xb0"
9862                           "\x24\x37\x0a\x94\x12\xfb\xb5\xb1"
9863                           "\xd3\xb8\x1d\x12\x29\xb0\x80\x24"
9864                           "\x2d\x47\x9f\x96\x1f\x95\xf1\xb1"
9865                           "\xda\x35\xf6\x29\xe0\xe1\x23\x96"
9866                           "\xc7\xe8\x22\x9b\x7c\xac\xf9\x41"
9867                           "\x39\x01\xe5\x73\x15\x5e\x99\xec"
9868                           "\xb4\xc1\xf4\xe7\xa7\x97\x6a\xd5"
9869                           "\x90\x9a\xa0\x1d\xf3\x5a\x8b\x5f"
9870                           "\xdf\x01\x52\xa4\x93\x31\x97\xb0"
9871                           "\x93\x24\xb5\xbc\xb2\x14\x24\x98"
9872                           "\x4a\x8f\x19\x85\xc3\x2d\x0f\x74"
9873                           "\x9d\x16\x13\x80\x5e\x59\x62\x62"
9874                           "\x25\xe0\xd1\x2f\x64\xef\xba\xac"
9875                           "\xcd\x09\x07\x15\x8a\xcf\x73\xb5"
9876                           "\x8b\xc9\xd8\x24\xb0\x53\xd5\x6f"
9877                           "\xe1\x2b\x77\xb1\xc5\xe4\xa7\x0e"
9878                           "\x18\x45\xab\x36\x03\x59\xa8\xbd"
9879                           "\x43\xf0\xd8\x2c\x1a\x69\x96\xbb"
9880                           "\x13\xdf\x6c\x33\x77\xdf\x25\x34"
9881                           "\x5b\xa5\x5b\x8c\xf9\x51\x05\xd4"
9882                           "\x8b\x8b\x44\x87\x49\xfc\xa0\x8f"
9883                           "\x45\x15\x5b\x40\x42\xc4\x09\x92"
9884                           "\x98\x0c\x4d\xf4\x26\x37\x1b\x13"
9885                           "\x76\x01\x93\x8d\x4f\xe6\xed\x18"
9886                           "\xd0\x79\x7b\x3f\x44\x50\xcb\xee"
9887                           "\xf7\x4a\xc9\x9e\xe0\x96\x74\xa7"
9888                           "\xe6\x93\xb2\x53\xca\x55\xa8\xdc"
9889                           "\x1e\x68\x07\x87\xb7\x2e\xc1\x08"
9890                           "\xb2\xa4\x5b\xaf\xc6\xdb\x5c\x66"
9891                           "\x41\x1c\x51\xd9\xb0\x07\x00\x0d"
9892                           "\xf0\x4c\xdc\x93\xde\xa9\x1e\x8e"
9893                           "\xd3\x22\x62\xd8\x8b\x88\x2c\xea"
9894                           "\x5e\xf1\x6e\x14\x40\xc7\xbe\xaa"
9895                           "\x42\x28\xd0\x26\x30\x78\x01\x9b"
9896                           "\x83\x07\xbc\x94\xc7\x57\xa2\x9f"
9897                           "\x03\x07\xff\x16\xff\x3c\x6e\x48"
9898                           "\x0a\xd0\xdd\x4c\xf6\x64\x9a\xf1"
9899                           "\xcd\x30\x12\x82\x2c\x38\xd3\x26"
9900                           "\x83\xdb\xab\x3e\xc6\xf8\xe6\xfa"
9901                           "\x77\x0a\x78\x82\x75\xf8\x63\x51"
9902                           "\x59\xd0\x8d\x24\x9f\x25\xe6\xa3"
9903                           "\x4c\xbc\x34\xfc\xe3\x10\xc7\x62"
9904                           "\xd4\x23\xc8\x3d\xa7\xc6\xa6\x0a"
9905                           "\x4f\x7e\x29\x9d\x6d\xbe\xb5\xf1"
9906                           "\xdf\xa4\x53\xfa\xc0\x23\x0f\x37"
9907                           "\x84\x68\xd0\xb5\xc8\xc6\xae\xf8"
9908                           "\xb7\x8d\xb3\x16\xfe\x8f\x87\xad"
9909                           "\xd0\xc1\x08\xee\x12\x1c\x9b\x1d"
9910                           "\x90\xf8\xd1\x63\xa4\x92\x3c\xf0"
9911                           "\xc7\x34\xd8\xf1\x14\xed\xa3\xbc"
9912                           "\x17\x7e\xd4\x62\x42\x54\x57\x2c"
9913                           "\x3e\x7a\x35\x35\x17\x0f\x0b\x7f"
9914                           "\x81\xa1\x3f\xd0\xcd\xc8\x3b\x96"
9915                           "\xe9\xe0\x4a\x04\xe1\xb6\x3c\xa1"
9916                           "\xd6\xca\xc4\xbd\xb6\xb5\x95\x34"
9917                           "\x12\x9d\xc5\x96\xf2\xdf\xba\x54"
9918                           "\x76\xd1\xb2\x6b\x3b\x39\xe0\xb9"
9919                           "\x18\x62\xfb\xf7\xfc\x12\xf1\x5f"
9920                           "\x7e\xc7\xe3\x59\x4c\xa6\xc2\x3d"
9921                           "\x40\x15\xf9\xa3\x95\x64\x4c\x74"
9922                           "\x8b\x73\x77\x33\x07\xa7\x04\x1d"
9923                           "\x33\x5a\x7e\x8f\xbd\x86\x01\x4f"
9924                           "\x3e\xb9\x27\x6f\xe2\x41\xf7\x09"
9925                           "\x67\xfd\x29\x28\xc5\xe4\xf6\x18"
9926                           "\x4c\x1b\x49\xb2\x9c\x5b\xf6\x81"
9927                           "\x4f\xbb\x5c\xcc\x0b\xdf\x84\x23"
9928                           "\x58\xd6\x28\x34\x93\x3a\x25\x97"
9929                           "\xdf\xb2\xc3\x9e\x97\x38\x0b\x7d"
9930                           "\x10\xb3\x54\x35\x23\x8c\x64\xee"
9931                           "\xf0\xd8\x66\xff\x8b\x22\xd2\x5b"
9932                           "\x05\x16\x3c\x89\xf7\xb1\x75\xaf"
9933                           "\xc0\xae\x6a\x4f\x3f\xaf\x9a\xf4"
9934                           "\xf4\x9a\x24\xd9\x80\x82\xc0\x12"
9935                           "\xde\x96\xd1\xbe\x15\x0b\x8d\x6a"
9936                           "\xd7\x12\xe4\x85\x9f\x83\xc9\xc3"
9937                           "\xff\x0b\xb5\xaf\x3b\xd8\x6d\x67"
9938                           "\x81\x45\xe6\xac\xec\xc1\x7b\x16"
9939                           "\x18\x0a\xce\x4b\xc0\x2e\x76\xbc"
9940                           "\x1b\xfa\xb4\x34\xb8\xfc\x3e\xc8"
9941                           "\x5d\x90\x71\x6d\x7a\x79\xef\x06",
9942                 .ksize  = 1088,
9943                 .plaintext      = "\xaa\x5d\x54\xcb\xea\x1e\x46\x0f"
9944                           "\x45\x87\x70\x51\x8a\x66\x7a\x33"
9945                           "\xb4\x18\xff\xa9\x82\xf9\x45\x4b"
9946                           "\x93\xae\x2e\x7f\xab\x98\xfe\xbf"
9947                           "\x01\xee\xe5\xa0\x37\x8f\x57\xa6"
9948                           "\xb0\x76\x0d\xa4\xd6\x28\x2b\x5d"
9949                           "\xe1\x03\xd6\x1c\x6f\x34\x0d\xe7"
9950                           "\x61\x2d\x2e\xe5\xae\x5d\x47\xc7"
9951                           "\x80\x4b\x18\x8f\xa8\x99\xbc\x28"
9952                           "\xed\x1d\x9d\x86\x7d\xd7\x41\xd1"
9953                           "\xe0\x2b\xe1\x8c\x93\x2a\xa7\x80"
9954                           "\xe1\x07\xa0\xa9\x9f\x8c\x8d\x1a"
9955                           "\x55\xfc\x6b\x24\x7a\xbd\x3e\x51"
9956                           "\x68\x4b\x26\x59\xc8\xa7\x16\xd9"
9957                           "\xb9\x61\x13\xde\x8b\x63\x1c\xf6"
9958                           "\x60\x01\xfb\x08\xb3\x5b\x0a\xbf"
9959                           "\x34\x73\xda\x87\x87\x3d\x6f\x97"
9960                           "\x4a\x0c\xa3\x58\x20\xa2\xc0\x81"
9961                           "\x5b\x8c\xef\xa9\xc2\x01\x1e\x64"
9962                           "\x83\x8c\xbc\x03\xb6\xd0\x29\x9f"
9963                           "\x54\xe2\xce\x8b\xc2\x07\x85\x78"
9964                           "\x25\x38\x96\x4c\xb4\xbe\x17\x4a"
9965                           "\x65\xa6\xfa\x52\x9d\x66\x9d\x65"
9966                           "\x4a\xd1\x01\x01\xf0\xcb\x13\xcc"
9967                           "\xa5\x82\xf3\xf2\x66\xcd\x3f\x9d"
9968                           "\xd1\xaa\xe4\x67\xea\xf2\xad\x88"
9969                           "\x56\x76\xa7\x9b\x59\x3c\xb1\x5d"
9970                           "\x78\xfd\x69\x79\x74\x78\x43\x26"
9971                           "\x7b\xde\x3f\xf1\xf5\x4e\x14\xd9"
9972                           "\x15\xf5\x75\xb5\x2e\x19\xf3\x0c"
9973                           "\x48\x72\xd6\x71\x6d\x03\x6e\xaa"
9974                           "\xa7\x08\xf9\xaa\x70\xa3\x0f\x4d"
9975                           "\x12\x8a\xdd\xe3\x39\x73\x7e\xa7"
9976                           "\xea\x1f\x6d\x06\x26\x2a\xf2\xc5"
9977                           "\x52\xb4\xbf\xfd\x52\x0c\x06\x60"
9978                           "\x90\xd1\xb2\x7b\x56\xae\xac\x58"
9979                           "\x5a\x6b\x50\x2a\xf5\xe0\x30\x3c"
9980                           "\x2a\x98\x0f\x1b\x5b\x0a\x84\x6c"
9981                           "\x31\xae\x92\xe2\xd4\xbb\x7f\x59"
9982                           "\x26\x10\xb9\x89\x37\x68\x26\xbf"
9983                           "\x41\xc8\x49\xc4\x70\x35\x7d\xff"
9984                           "\x2d\x7f\xf6\x8a\x93\x68\x8c\x78"
9985                           "\x0d\x53\xce\x7d\xff\x7d\xfb\xae"
9986                           "\x13\x1b\x75\xc4\x78\xd7\x71\xd8"
9987                           "\xea\xd3\xf4\x9d\x95\x64\x8e\xb4"
9988                           "\xde\xb8\xe4\xa6\x68\xc8\xae\x73"
9989                           "\x58\xaf\xa8\xb0\x5a\x20\xde\x87"
9990                           "\x43\xb9\x0f\xe3\xad\x41\x4b\xd5"
9991                           "\xb7\xad\x16\x00\xa6\xff\xf6\x74"
9992                           "\xbf\x8c\x9f\xb3\x58\x1b\xb6\x55"
9993                           "\xa9\x90\x56\x28\xf0\xb5\x13\x4e"
9994                           "\x9e\xf7\x25\x86\xe0\x07\x7b\x98"
9995                           "\xd8\x60\x5d\x38\x95\x3c\xe4\x22"
9996                           "\x16\x2f\xb2\xa2\xaf\xe8\x90\x17"
9997                           "\xec\x11\x83\x1a\xf4\xa9\x26\xda"
9998                           "\x39\x72\xf5\x94\x61\x05\x51\xec"
9999                           "\xa8\x30\x8b\x2c\x13\xd0\x72\xac"
10000                           "\xb9\xd2\xa0\x4c\x4b\x78\xe8\x6e"
10001                           "\x04\x85\xe9\x04\x49\x82\x91\xff"
10002                           "\x89\xe5\xab\x4c\xaa\x37\x03\x12"
10003                           "\xca\x8b\x74\x10\xfd\x9e\xd9\x7b"
10004                           "\xcb\xdb\x82\x6e\xce\x2e\x33\x39"
10005                           "\xce\xd2\x84\x6e\x34\x71\x51\x6e"
10006                           "\x0d\xd6\x01\x87\xc7\xfa\x0a\xd3"
10007                           "\xad\x36\xf3\x4c\x9f\x96\x5e\x62"
10008                           "\x62\x54\xc3\x03\x78\xd6\xab\xdd"
10009                           "\x89\x73\x55\x25\x30\xf8\xa7\xe6"
10010                           "\x4f\x11\x0c\x7c\x0a\xa1\x2b\x7b"
10011                           "\x3d\x0d\xde\x81\xd4\x9d\x0b\xae"
10012                           "\xdf\x00\xf9\x4c\xb6\x90\x8e\x16"
10013                           "\xcb\x11\xc8\xd1\x2e\x73\x13\x75"
10014                           "\x75\x3e\xaa\xf5\xee\x02\xb3\x18"
10015                           "\xa6\x2d\xf5\x3b\x51\xd1\x1f\x47"
10016                           "\x6b\x2c\xdb\xc4\x10\xe0\xc8\xba"
10017                           "\x9d\xac\xb1\x9d\x75\xd5\x41\x0e"
10018                           "\x7e\xbe\x18\x5b\xa4\x1f\xf8\x22"
10019                           "\x4c\xc1\x68\xda\x6d\x51\x34\x6c"
10020                           "\x19\x59\xec\xb5\xb1\xec\xa7\x03"
10021                           "\xca\x54\x99\x63\x05\x6c\xb1\xac"
10022                           "\x9c\x31\xd6\xdb\xba\x7b\x14\x12"
10023                           "\x7a\xc3\x2f\xbf\x8d\xdc\x37\x46"
10024                           "\xdb\xd2\xbc\xd4\x2f\xab\x30\xd5"
10025                           "\xed\x34\x99\x8e\x83\x3e\xbe\x4c"
10026                           "\x86\x79\x58\xe0\x33\x8d\x9a\xb8"
10027                           "\xa9\xa6\x90\x46\xa2\x02\xb8\xdd"
10028                           "\xf5\xf9\x1a\x5c\x8c\x01\xaa\x6e"
10029                           "\xb4\x22\x12\xf5\x0c\x1b\x9b\x7a"
10030                           "\xc3\x80\xf3\x06\x00\x5f\x30\xd5"
10031                           "\x06\xdb\x7d\x82\xc2\xd4\x0b\x4c"
10032                           "\x5f\xe9\xc5\xf5\xdf\x97\x12\xbf"
10033                           "\x56\xaf\x9b\x69\xcd\xee\x30\xb4"
10034                           "\xa8\x71\xff\x3e\x7d\x73\x7a\xb4"
10035                           "\x0d\xa5\x46\x7a\xf3\xf4\x15\x87"
10036                           "\x5d\x93\x2b\x8c\x37\x64\xb5\xdd"
10037                           "\x48\xd1\xe5\x8c\xae\xd4\xf1\x76"
10038                           "\xda\xf4\xba\x9e\x25\x0e\xad\xa3"
10039                           "\x0d\x08\x7c\xa8\x82\x16\x8d\x90"
10040                           "\x56\x40\x16\x84\xe7\x22\x53\x3a"
10041                           "\x58\xbc\xb9\x8f\x33\xc8\xc2\x84"
10042                           "\x22\xe6\x0d\xe7\xb3\xdc\x5d\xdf"
10043                           "\xd7\x2a\x36\xe4\x16\x06\x07\xd2"
10044                           "\x97\x60\xb2\xf5\x5e\x14\xc9\xfd"
10045                           "\x8b\x05\xd1\xce\xee\x9a\x65\x99"
10046                           "\xb7\xae\x19\xb7\xc8\xbc\xd5\xa2"
10047                           "\x7b\x95\xe1\xcc\xba\x0d\xdc\x8a"
10048                           "\x1d\x59\x52\x50\xaa\x16\x02\x82"
10049                           "\xdf\x61\x33\x2e\x44\xce\x49\xc7"
10050                           "\xe5\xc6\x2e\x76\xcf\x80\x52\xf0"
10051                           "\x3d\x17\x34\x47\x3f\xd3\x80\x48"
10052                           "\xa2\xba\xd5\xc7\x7b\x02\x28\xdb"
10053                           "\xac\x44\xc7\x6e\x05\x5c\xc2\x79"
10054                           "\xb3\x7d\x6a\x47\x77\x66\xf1\x38"
10055                           "\xf0\xf5\x4f\x27\x1a\x31\xca\x6c"
10056                           "\x72\x95\x92\x8e\x3f\xb0\xec\x1d"
10057                           "\xc7\x2a\xff\x73\xee\xdf\x55\x80"
10058                           "\x93\xd2\xbd\x34\xd3\x9f\x00\x51"
10059                           "\xfb\x2e\x41\xba\x6c\x5a\x7c\x17"
10060                           "\x7f\xe6\x70\xac\x8d\x39\x3f\x77"
10061                           "\xe2\x23\xac\x8f\x72\x4e\xe4\x53"
10062                           "\xcc\xf1\x1b\xf1\x35\xfe\x52\xa4"
10063                           "\xd6\xb8\x40\x6b\xc1\xfd\xa0\xa1"
10064                           "\xf5\x46\x65\xc2\x50\xbb\x43\xe2"
10065                           "\xd1\x43\x28\x34\x74\xf5\x87\xa0"
10066                           "\xf2\x5e\x27\x3b\x59\x2b\x3e\x49"
10067                           "\xdf\x46\xee\xaf\x71\xd7\x32\x36"
10068                           "\xc7\x14\x0b\x58\x6e\x3e\x2d\x41"
10069                           "\xfa\x75\x66\x3a\x54\xe0\xb2\xb9"
10070                           "\xaf\xdd\x04\x80\x15\x19\x3f\x6f"
10071                           "\xce\x12\xb4\xd8\xe8\x89\x3c\x05"
10072                           "\x30\xeb\xf3\x3d\xcd\x27\xec\xdc"
10073                           "\x56\x70\x12\xcf\x78\x2b\x77\xbf"
10074                           "\x22\xf0\x1b\x17\x9c\xcc\xd6\x1b"
10075                           "\x2d\x3d\xa0\x3b\xd8\xc9\x70\xa4"
10076                           "\x7a\x3e\x07\xb9\x06\xc3\xfa\xb0"
10077                           "\x33\xee\xc1\xd8\xf6\xe0\xf0\xb2"
10078                           "\x61\x12\x69\xb0\x5f\x28\x99\xda"
10079                           "\xc3\x61\x48\xfa\x07\x16\x03\xc4"
10080                           "\xa8\xe1\x3c\xe8\x0e\x64\x15\x30"
10081                           "\xc1\x9d\x84\x2f\x73\x98\x0e\x3a"
10082                           "\xf2\x86\x21\xa4\x9e\x1d\xb5\x86"
10083                           "\x16\xdb\x2b\x9a\x06\x64\x8e\x79"
10084                           "\x8d\x76\x3e\xc3\xc2\x64\x44\xe3"
10085                           "\xda\xbc\x1a\x52\xd7\x61\x03\x65"
10086                           "\x54\x32\x77\x01\xed\x9d\x8a\x43"
10087                           "\x25\x24\xe3\xc1\xbe\xb8\x2f\xcb"
10088                           "\x89\x14\x64\xab\xf6\xa0\x6e\x02"
10089                           "\x57\xe4\x7d\xa9\x4e\x9a\x03\x36"
10090                           "\xad\xf1\xb1\xfc\x0b\xe6\x79\x51"
10091                           "\x9f\x81\x77\xc4\x14\x78\x9d\xbf"
10092                           "\xb6\xd6\xa3\x8c\xba\x0b\x26\xe7"
10093                           "\xc8\xb9\x5c\xcc\xe1\x5f\xd5\xc6"
10094                           "\xc4\xca\xc2\xa3\x45\xba\x94\x13"
10095                           "\xb2\x8f\xc3\x54\x01\x09\xe7\x8b"
10096                           "\xda\x2a\x0a\x11\x02\x43\xcb\x57"
10097                           "\xc9\xcc\xb5\x5c\xab\xc4\xec\x54"
10098                           "\x00\x06\x34\xe1\x6e\x03\x89\x7c"
10099                           "\xc6\xfb\x6a\xc7\x60\x43\xd6\xc5"
10100                           "\xb5\x68\x72\x89\x8f\x42\xc3\x74"
10101                           "\xbd\x25\xaa\x9f\x67\xb5\xdf\x26"
10102                           "\x20\xe8\xb7\x01\x3c\xe4\x77\xce"
10103                           "\xc4\x65\xa7\x23\x79\xea\x33\xc7"
10104                           "\x82\x14\x5c\x82\xf2\x4e\x3d\xf6"
10105                           "\xc6\x4a\x0e\x29\xbb\xec\x44\xcd"
10106                           "\x2f\xd1\x4f\x21\x71\xa9\xce\x0f"
10107                           "\x5c\xf2\x72\x5c\x08\x2e\x21\xd2"
10108                           "\xc3\x29\x13\xd8\xac\xc3\xda\x13"
10109                           "\x1a\x9d\xa7\x71\x1d\x27\x1d\x27"
10110                           "\x1d\xea\xab\x44\x79\xad\xe5\xeb"
10111                           "\xef\x1f\x22\x0a\x44\x4f\xcb\x87"
10112                           "\xa7\x58\x71\x0e\x66\xf8\x60\xbf"
10113                           "\x60\x74\x4a\xb4\xec\x2e\xfe\xd3"
10114                           "\xf5\xb8\xfe\x46\x08\x50\x99\x6c"
10115                           "\x66\xa5\xa8\x34\x44\xb5\xe5\xf0"
10116                           "\xdd\x2c\x67\x4e\x35\x96\x8e\x67"
10117                           "\x48\x3f\x5f\x37\x44\x60\x51\x2e"
10118                           "\x14\x91\x5e\x57\xc3\x0e\x79\x77"
10119                           "\x2f\x03\xf4\xe2\x1c\x72\xbf\x85"
10120                           "\x5d\xd3\x17\xdf\x6c\xc5\x70\x24"
10121                           "\x42\xdf\x51\x4e\x2a\xb2\xd2\x5b"
10122                           "\x9e\x69\x83\x41\x11\xfe\x73\x22"
10123                           "\xde\x8a\x9e\xd8\x8a\xfb\x20\x38"
10124                           "\xd8\x47\x6f\xd5\xed\x8f\x41\xfd"
10125                           "\x13\x7a\x18\x03\x7d\x0f\xcd\x7d"
10126                           "\xa6\x7d\x31\x9e\xf1\x8f\x30\xa3"
10127                           "\x8b\x4c\x24\xb7\xf5\x48\xd7\xd9"
10128                           "\x12\xe7\x84\x97\x5c\x31\x6d\xfb"
10129                           "\xdf\xf3\xd3\xd1\xd5\x0c\x30\x06"
10130                           "\x01\x6a\xbc\x6c\x78\x7b\xa6\x50"
10131                           "\xfa\x0f\x3c\x42\x2d\xa5\xa3\x3b"
10132                           "\xcf\x62\x50\xff\x71\x6d\xe7\xda"
10133                           "\x27\xab\xc6\x67\x16\x65\x68\x64"
10134                           "\xc7\xd5\x5f\x81\xa9\xf6\x65\xb3"
10135                           "\x5e\x43\x91\x16\xcd\x3d\x55\x37"
10136                           "\x55\xb3\xf0\x28\xc5\x54\x19\xc0"
10137                           "\xe0\xd6\x2a\x61\xd4\xc8\x72\x51"
10138                           "\xe9\xa1\x7b\x48\x21\xad\x44\x09"
10139                           "\xe4\x01\x61\x3c\x8a\x5b\xf9\xa1"
10140                           "\x6e\x1b\xdf\xc0\x04\xa8\x8b\xf2"
10141                           "\x21\xbe\x34\x7b\xfc\xa1\xcd\xc9"
10142                           "\xa9\x96\xf4\xa4\x4c\xf7\x4e\x8f"
10143                           "\x84\xcc\xd3\xa8\x92\x77\x8f\x36"
10144                           "\xe2\x2e\x8c\x33\xe8\x84\xa6\x0c"
10145                           "\x6c\x8a\xda\x14\x32\xc2\x96\xff"
10146                           "\xc6\x4a\xc2\x9b\x30\x7f\xd1\x29"
10147                           "\xc0\xd5\x78\x41\x00\x80\x80\x03"
10148                           "\x2a\xb1\xde\x26\x03\x48\x49\xee"
10149                           "\x57\x14\x76\x51\x3c\x36\x5d\x0a"
10150                           "\x5c\x9f\xe8\xd8\x53\xdb\x4f\xd4"
10151                           "\x38\xbf\x66\xc9\x75\x12\x18\x75"
10152                           "\x34\x2d\x93\x22\x96\x51\x24\x6e"
10153                           "\x4e\xd9\x30\xea\x67\xff\x92\x1c"
10154                           "\x16\x26\xe9\xb5\x33\xab\x8c\x22"
10155                           "\x47\xdb\xa0\x2c\x08\xf0\x12\x69"
10156                           "\x7e\x93\x52\xda\xa5\xe5\xca\xc1"
10157                           "\x0f\x55\x2a\xbd\x09\x30\x88\x1b"
10158                           "\x9c\xc6\x9f\xe6\xdb\xa6\x92\xeb"
10159                           "\xf4\xbd\x5c\xc4\xdb\xc6\x71\x09"
10160                           "\xab\x5e\x48\x0c\xed\x6f\xda\x8e"
10161                           "\x8d\x0c\x98\x71\x7d\x10\xd0\x9c"
10162                           "\x20\x9b\x79\x53\x26\x5d\xb9\x85"
10163                           "\x8a\x31\xb8\xc5\x1c\x97\xde\x88"
10164                           "\x61\x55\x7f\x7c\x21\x06\xea\xc4"
10165                           "\x5f\xaf\xf2\xf0\xd5\x5e\x7d\xb4"
10166                           "\x6e\xcf\xe9\xae\x1b\x0e\x11\x80"
10167                           "\xc1\x9a\x74\x7e\x52\x6f\xa0\xb7"
10168                           "\x24\xcd\x8d\x0a\x11\x40\x63\x72"
10169                           "\xfa\xe2\xc5\xb3\x94\xef\x29\xa2"
10170                           "\x1a\x23\x43\x04\x37\x55\x0d\xe9"
10171                           "\x83\xb2\x29\x51\x49\x64\xa0\xbd"
10172                           "\xde\x73\xfd\xa5\x7c\x95\x70\x62"
10173                           "\x58\xdc\xe2\xd0\xbf\x98\xf5\x8a"
10174                           "\x6a\xfd\xce\xa8\x0e\x42\x2a\xeb"
10175                           "\xd2\xff\x83\x27\x53\x5c\xa0\x6e"
10176                           "\x93\xef\xe2\xb9\x5d\x35\xd6\x98"
10177                           "\xf6\x71\x19\x7a\x54\xa1\xa7\xe8"
10178                           "\x09\xfe\xf6\x9e\xc7\xbd\x3e\x29"
10179                           "\xbd\x6b\x17\xf4\xe7\x3e\x10\x5c"
10180                           "\xc1\xd2\x59\x4f\x4b\x12\x1a\x5b"
10181                           "\x50\x80\x59\xb9\xec\x13\x66\xa8"
10182                           "\xd2\x31\x7b\x6a\x61\x22\xdd\x7d"
10183                           "\x61\xee\x87\x16\x46\x9f\xf9\xc7"
10184                           "\x41\xee\x74\xf8\xd0\x96\x2c\x76"
10185                           "\x2a\xac\x7d\x6e\x9f\x0e\x7f\x95"
10186                           "\xfe\x50\x16\xb2\x23\xca\x62\xd5"
10187                           "\x68\xcf\x07\x3f\x3f\x97\x85\x2a"
10188                           "\x0c\x25\x45\xba\xdb\x32\xcb\x83"
10189                           "\x8c\x4f\xe0\x6d\x9a\x99\xf9\xc9"
10190                           "\xda\xd4\x19\x31\xc1\x7c\x6d\xd9"
10191                           "\x9c\x56\xd3\xec\xc1\x81\x4c\xed"
10192                           "\x28\x9d\x87\xeb\x19\xd7\x1a\x4f"
10193                           "\x04\x6a\xcb\x1f\xcf\x1f\xa2\x16"
10194                           "\xfc\x2a\x0d\xa1\x14\x2d\xfa\xc5"
10195                           "\x5a\xd2\xc5\xf9\x19\x7c\x20\x1f"
10196                           "\x2d\x10\xc0\x66\x7c\xd9\x2d\xe5"
10197                           "\x88\x70\x59\xa7\x85\xd5\x2e\x7c"
10198                           "\x5c\xe3\xb7\x12\xd6\x97\x3f\x29",
10199                 .psize  = 2048,
10200                 .digest = "\x37\x90\x92\xc2\xeb\x01\x87\xd9"
10201                           "\x95\xc7\x91\xc3\x17\x8b\x38\x52",
10202         }
10203 };
10204
10205
10206 /*
10207  * DES test vectors.
10208  */
10209 static const struct cipher_testvec des_tv_template[] = {
10210         { /* From Applied Cryptography */
10211                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10212                 .klen   = 8,
10213                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
10214                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
10215                 .len    = 8,
10216         }, { /* Same key, different plaintext block */
10217                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10218                 .klen   = 8,
10219                 .ptext  = "\x22\x33\x44\x55\x66\x77\x88\x99",
10220                 .ctext  = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
10221                 .len    = 8,
10222         }, { /* Sbox test from NBS */
10223                 .key    = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
10224                 .klen   = 8,
10225                 .ptext  = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
10226                 .ctext  = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
10227                 .len    = 8,
10228         }, { /* Three blocks */
10229                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10230                 .klen   = 8,
10231                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
10232                           "\x22\x33\x44\x55\x66\x77\x88\x99"
10233                           "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
10234                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
10235                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
10236                           "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
10237                 .len    = 24,
10238         }, { /* Weak key */
10239                 .setkey_error = -EINVAL,
10240                 .wk     = 1,
10241                 .key    = "\x01\x01\x01\x01\x01\x01\x01\x01",
10242                 .klen   = 8,
10243                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
10244                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
10245                 .len    = 8,
10246         }, { /* Two blocks -- for testing encryption across pages */
10247                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10248                 .klen   = 8,
10249                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
10250                           "\x22\x33\x44\x55\x66\x77\x88\x99",
10251                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
10252                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
10253                 .len    = 16,
10254         }, {
10255                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10256                 .klen   = 8,
10257                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
10258                           "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
10259                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
10260                           "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
10261                 .len    = 16,
10262         }, { /* Four blocks -- for testing encryption with chunking */
10263                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10264                 .klen   = 8,
10265                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
10266                           "\x22\x33\x44\x55\x66\x77\x88\x99"
10267                           "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
10268                           "\x22\x33\x44\x55\x66\x77\x88\x99",
10269                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
10270                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
10271                           "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
10272                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
10273                 .len    = 32,
10274         }, { /* Generated with Crypto++ */
10275                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
10276                 .klen   = 8,
10277                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
10278                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
10279                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
10280                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
10281                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
10282                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
10283                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
10284                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
10285                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
10286                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
10287                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
10288                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
10289                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
10290                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
10291                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
10292                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
10293                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
10294                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
10295                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
10296                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
10297                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
10298                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
10299                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
10300                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
10301                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
10302                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
10303                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
10304                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
10305                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
10306                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
10307                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
10308                 .ctext  = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
10309                           "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
10310                           "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
10311                           "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
10312                           "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
10313                           "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
10314                           "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
10315                           "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
10316                           "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
10317                           "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
10318                           "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
10319                           "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
10320                           "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
10321                           "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
10322                           "\x2E\x51\x16\xCA\x09\x89\x54\x62"
10323                           "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
10324                           "\x62\xF0\x02\x58\x83\xAF\x30\x87"
10325                           "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
10326                           "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
10327                           "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
10328                           "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
10329                           "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
10330                           "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
10331                           "\xE9\x95\x61\x74\x12\xED\x07\xD7"
10332                           "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
10333                           "\x51\x96\x16\xF7\x94\x61\xB8\x87"
10334                           "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
10335                           "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
10336                           "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
10337                           "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
10338                           "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
10339                 .len    = 248,
10340         },
10341 };
10342
10343 static const struct cipher_testvec des_cbc_tv_template[] = {
10344         { /* From OpenSSL */
10345                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10346                 .klen   = 8,
10347                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
10348                 .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
10349                 .ptext  = "\x37\x36\x35\x34\x33\x32\x31\x20"
10350                           "\x4e\x6f\x77\x20\x69\x73\x20\x74"
10351                           "\x68\x65\x20\x74\x69\x6d\x65\x20",
10352                 .ctext  = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
10353                           "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
10354                           "\x46\x8e\x91\x15\x78\x88\xba\x68",
10355                 .len    = 24,
10356         }, { /* FIPS Pub 81 */
10357                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10358                 .klen   = 8,
10359                 .iv     = "\x12\x34\x56\x78\x90\xab\xcd\xef",
10360                 .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
10361                 .ptext  = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
10362                 .ctext  = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
10363                 .len    = 8,
10364         }, {
10365                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10366                 .klen   = 8,
10367                 .iv     = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
10368                 .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
10369                 .ptext  = "\x68\x65\x20\x74\x69\x6d\x65\x20",
10370                 .ctext  = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
10371                 .len    = 8,
10372         }, {
10373                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10374                 .klen   = 8,
10375                 .iv     = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
10376                 .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
10377                 .ptext  = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
10378                 .ctext  = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
10379                 .len    = 8,
10380         }, { /* Generated with Crypto++ */
10381                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
10382                 .klen   = 8,
10383                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
10384                 .iv_out =  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
10385                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
10386                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
10387                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
10388                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
10389                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
10390                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
10391                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
10392                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
10393                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
10394                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
10395                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
10396                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
10397                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
10398                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
10399                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
10400                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
10401                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
10402                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
10403                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
10404                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
10405                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
10406                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
10407                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
10408                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
10409                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
10410                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
10411                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
10412                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
10413                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
10414                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
10415                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
10416                 .ctext  = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
10417                           "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
10418                           "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
10419                           "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
10420                           "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
10421                           "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
10422                           "\x81\x72\x74\xDE\x30\x19\x69\x49"
10423                           "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
10424                           "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
10425                           "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
10426                           "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
10427                           "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
10428                           "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
10429                           "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
10430                           "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
10431                           "\x49\x90\x88\x6A\x09\x8F\x76\x59"
10432                           "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
10433                           "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
10434                           "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
10435                           "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
10436                           "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
10437                           "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
10438                           "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
10439                           "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
10440                           "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
10441                           "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
10442                           "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
10443                           "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
10444                           "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
10445                           "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
10446                           "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
10447                 .len    = 248,
10448         },
10449 };
10450
10451 static const struct cipher_testvec des_ctr_tv_template[] = {
10452         { /* Generated with Crypto++ */
10453                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
10454                 .klen   = 8,
10455                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
10456                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
10457                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
10458                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
10459                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
10460                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
10461                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
10462                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
10463                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
10464                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
10465                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
10466                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
10467                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
10468                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
10469                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
10470                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
10471                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
10472                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
10473                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
10474                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
10475                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
10476                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
10477                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
10478                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
10479                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
10480                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
10481                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
10482                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
10483                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
10484                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
10485                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
10486                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
10487                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
10488                 .ctext  = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
10489                           "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
10490                           "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
10491                           "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
10492                           "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
10493                           "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
10494                           "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
10495                           "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
10496                           "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
10497                           "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
10498                           "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
10499                           "\xBE\x4C\x91\x43\x22\x65\x72\x48"
10500                           "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
10501                           "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
10502                           "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
10503                           "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
10504                           "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
10505                           "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
10506                           "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
10507                           "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
10508                           "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
10509                           "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
10510                           "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
10511                           "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
10512                           "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
10513                           "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
10514                           "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
10515                           "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
10516                           "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
10517                           "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
10518                           "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
10519                 .len    = 248,
10520         }, { /* Generated with Crypto++ */
10521                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
10522                 .klen   = 8,
10523                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
10524                 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
10525                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
10526                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
10527                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
10528                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
10529                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
10530                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
10531                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
10532                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
10533                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
10534                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
10535                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
10536                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
10537                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
10538                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
10539                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
10540                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
10541                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
10542                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
10543                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
10544                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
10545                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
10546                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
10547                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
10548                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
10549                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
10550                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
10551                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
10552                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
10553                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
10554                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
10555                           "\xC6\x2F\xBB\x24\x8D\x19\x82",
10556                 .ctext  = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
10557                           "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
10558                           "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
10559                           "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
10560                           "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
10561                           "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
10562                           "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
10563                           "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
10564                           "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
10565                           "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
10566                           "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
10567                           "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
10568                           "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
10569                           "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
10570                           "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
10571                           "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
10572                           "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
10573                           "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
10574                           "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
10575                           "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
10576                           "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
10577                           "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
10578                           "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
10579                           "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
10580                           "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
10581                           "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
10582                           "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
10583                           "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
10584                           "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
10585                           "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
10586                           "\x91\x45\x05\x3E\x58\xBF\x32",
10587                 .len    = 247,
10588         },
10589 };
10590
10591 static const struct cipher_testvec des3_ede_tv_template[] = {
10592         { /* These are from openssl */
10593                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
10594                           "\x55\x55\x55\x55\x55\x55\x55\x55"
10595                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
10596                 .klen   = 24,
10597                 .ptext  = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
10598                 .ctext  = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
10599                 .len    = 8,
10600         }, {
10601                 .key    = "\x03\x52\x02\x07\x67\x20\x82\x17"
10602                           "\x86\x02\x87\x66\x59\x08\x21\x98"
10603                           "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
10604                 .klen   = 24,
10605                 .ptext  = "\x73\x71\x75\x69\x67\x67\x6c\x65",
10606                 .ctext  = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
10607                 .len    = 8,
10608         }, {
10609                 .key    = "\x10\x46\x10\x34\x89\x98\x80\x20"
10610                           "\x91\x07\xd0\x15\x89\x19\x01\x01"
10611                           "\x19\x07\x92\x10\x98\x1a\x01\x01",
10612                 .klen   = 24,
10613                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
10614                 .ctext  = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
10615                 .len    = 8,
10616         }, { /* Generated with Crypto++ */
10617                 .key    = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
10618                           "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
10619                           "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
10620                 .klen   = 24,
10621                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
10622                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
10623                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
10624                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
10625                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
10626                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
10627                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
10628                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
10629                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
10630                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
10631                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
10632                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
10633                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
10634                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
10635                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
10636                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
10637                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
10638                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
10639                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
10640                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
10641                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
10642                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
10643                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
10644                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
10645                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
10646                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
10647                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
10648                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
10649                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
10650                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
10651                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
10652                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
10653                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
10654                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
10655                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
10656                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
10657                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
10658                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
10659                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
10660                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
10661                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
10662                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
10663                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
10664                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
10665                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
10666                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
10667                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
10668                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
10669                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
10670                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
10671                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
10672                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
10673                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
10674                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
10675                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
10676                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
10677                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
10678                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
10679                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
10680                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
10681                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
10682                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
10683                 .ctext  = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
10684                           "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
10685                           "\x81\x01\x04\x00\x76\xFA\xED\xD3"
10686                           "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
10687                           "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
10688                           "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
10689                           "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
10690                           "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
10691                           "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
10692                           "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
10693                           "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
10694                           "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
10695                           "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
10696                           "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
10697                           "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
10698                           "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
10699                           "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
10700                           "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
10701                           "\x45\x86\x50\x01\x70\x35\x99\x92"
10702                           "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
10703                           "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
10704                           "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
10705                           "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
10706                           "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
10707                           "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
10708                           "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
10709                           "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
10710                           "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
10711                           "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
10712                           "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
10713                           "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
10714                           "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
10715                           "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
10716                           "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
10717                           "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
10718                           "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
10719                           "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
10720                           "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
10721                           "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
10722                           "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
10723                           "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
10724                           "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
10725                           "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
10726                           "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
10727                           "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
10728                           "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
10729                           "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
10730                           "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
10731                           "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
10732                           "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
10733                           "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
10734                           "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
10735                           "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
10736                           "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
10737                           "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
10738                           "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
10739                           "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
10740                           "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
10741                           "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
10742                           "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
10743                           "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
10744                           "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
10745                 .len    = 496,
10746         },
10747 };
10748
10749 static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
10750         { /* Generated from openssl */
10751                 .key    = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
10752                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
10753                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
10754                 .klen   = 24,
10755                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
10756                 .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
10757                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
10758                           "\x53\x20\x63\x65\x65\x72\x73\x74"
10759                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
10760                           "\x20\x79\x65\x53\x72\x63\x74\x65"
10761                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
10762                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
10763                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
10764                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
10765                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
10766                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
10767                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
10768                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
10769                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
10770                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
10771                           "\x63\x65\x65\x72\x73\x74\x54\x20"
10772                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
10773                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
10774                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
10775                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
10776                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
10777                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
10778                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
10779                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
10780                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
10781                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
10782                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
10783                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
10784                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
10785                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
10786                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
10787                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
10788                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
10789                 .len    = 128,
10790         }, { /* Generated with Crypto++ */
10791                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
10792                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
10793                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
10794                 .klen   = 24,
10795                 .iv     = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
10796                           "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
10797                 .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
10798                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
10799                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
10800                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
10801                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
10802                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
10803                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
10804                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
10805                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
10806                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
10807                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
10808                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
10809                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
10810                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
10811                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
10812                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
10813                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
10814                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
10815                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
10816                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
10817                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
10818                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
10819                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
10820                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
10821                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
10822                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
10823                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
10824                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
10825                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
10826                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
10827                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
10828                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
10829                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
10830                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
10831                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
10832                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
10833                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
10834                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
10835                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
10836                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
10837                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
10838                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
10839                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
10840                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
10841                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
10842                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
10843                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
10844                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
10845                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
10846                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
10847                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
10848                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
10849                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
10850                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
10851                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
10852                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
10853                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
10854                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
10855                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
10856                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
10857                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
10858                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
10859                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
10860                 .ctext  = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
10861                           "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
10862                           "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
10863                           "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
10864                           "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
10865                           "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
10866                           "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
10867                           "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
10868                           "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
10869                           "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
10870                           "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
10871                           "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
10872                           "\x11\x35\x61\x94\x88\x7B\x1C\x48"
10873                           "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
10874                           "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
10875                           "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
10876                           "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
10877                           "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
10878                           "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
10879                           "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
10880                           "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
10881                           "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
10882                           "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
10883                           "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
10884                           "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
10885                           "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
10886                           "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
10887                           "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
10888                           "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
10889                           "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
10890                           "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
10891                           "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
10892                           "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
10893                           "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
10894                           "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
10895                           "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
10896                           "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
10897                           "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
10898                           "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
10899                           "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
10900                           "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
10901                           "\x73\x50\x08\x56\x20\x9B\x94\x23"
10902                           "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
10903                           "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
10904                           "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
10905                           "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
10906                           "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
10907                           "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
10908                           "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
10909                           "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
10910                           "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
10911                           "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
10912                           "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
10913                           "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
10914                           "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
10915                           "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
10916                           "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
10917                           "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
10918                           "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
10919                           "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
10920                           "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
10921                           "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
10922                 .len    = 496,
10923         },
10924 };
10925
10926 static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
10927         { /* Generated with Crypto++ */
10928                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
10929                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
10930                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
10931                 .klen   = 24,
10932                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
10933                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
10934                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
10935                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
10936                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
10937                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
10938                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
10939                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
10940                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
10941                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
10942                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
10943                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
10944                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
10945                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
10946                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
10947                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
10948                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
10949                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
10950                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
10951                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
10952                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
10953                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
10954                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
10955                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
10956                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
10957                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
10958                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
10959                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
10960                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
10961                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
10962                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
10963                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
10964                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
10965                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
10966                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
10967                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
10968                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
10969                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
10970                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
10971                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
10972                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
10973                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
10974                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
10975                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
10976                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
10977                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
10978                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
10979                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
10980                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
10981                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
10982                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
10983                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
10984                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
10985                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
10986                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
10987                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
10988                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
10989                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
10990                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
10991                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
10992                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
10993                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
10994                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
10995                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
10996                 .ctext  = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
10997                           "\x19\xCD\x6F\x32\x53\x05\x22\x15"
10998                           "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
10999                           "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
11000                           "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
11001                           "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
11002                           "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
11003                           "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
11004                           "\x13\x78\xDC\x89\x12\x12\x43\xFA"
11005                           "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
11006                           "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
11007                           "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
11008                           "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
11009                           "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
11010                           "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
11011                           "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
11012                           "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
11013                           "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
11014                           "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
11015                           "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
11016                           "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
11017                           "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
11018                           "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
11019                           "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
11020                           "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
11021                           "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
11022                           "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
11023                           "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
11024                           "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
11025                           "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
11026                           "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
11027                           "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
11028                           "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
11029                           "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
11030                           "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
11031                           "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
11032                           "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
11033                           "\x83\x37\x4F\x1F\x48\x30\xED\x04"
11034                           "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
11035                           "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
11036                           "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
11037                           "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
11038                           "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
11039                           "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
11040                           "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
11041                           "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
11042                           "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
11043                           "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
11044                           "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
11045                           "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
11046                           "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
11047                           "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
11048                           "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
11049                           "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
11050                           "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
11051                           "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
11052                           "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
11053                           "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
11054                           "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
11055                           "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
11056                           "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
11057                           "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
11058                 .len    = 496,
11059         }, { /* Generated with Crypto++ */
11060                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
11061                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
11062                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
11063                 .klen   = 24,
11064                 .iv     = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
11065                 .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
11066                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
11067                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
11068                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
11069                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
11070                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
11071                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
11072                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
11073                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
11074                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
11075                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
11076                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
11077                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
11078                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
11079                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
11080                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
11081                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
11082                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
11083                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
11084                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
11085                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
11086                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
11087                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
11088                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
11089                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
11090                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
11091                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
11092                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
11093                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
11094                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
11095                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
11096                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
11097                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
11098                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
11099                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
11100                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
11101                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
11102                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
11103                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
11104                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
11105                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
11106                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
11107                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
11108                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
11109                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
11110                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
11111                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
11112                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
11113                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
11114                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
11115                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
11116                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
11117                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
11118                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
11119                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
11120                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
11121                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
11122                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
11123                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
11124                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
11125                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
11126                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
11127                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
11128                           "\x2E\xB1\x18",
11129                 .ctext  = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
11130                           "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
11131                           "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
11132                           "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
11133                           "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
11134                           "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
11135                           "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
11136                           "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
11137                           "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
11138                           "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
11139                           "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
11140                           "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
11141                           "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
11142                           "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
11143                           "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
11144                           "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
11145                           "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
11146                           "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
11147                           "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
11148                           "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
11149                           "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
11150                           "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
11151                           "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
11152                           "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
11153                           "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
11154                           "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
11155                           "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
11156                           "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
11157                           "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
11158                           "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
11159                           "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
11160                           "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
11161                           "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
11162                           "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
11163                           "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
11164                           "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
11165                           "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
11166                           "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
11167                           "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
11168                           "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
11169                           "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
11170                           "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
11171                           "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
11172                           "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
11173                           "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
11174                           "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
11175                           "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
11176                           "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
11177                           "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
11178                           "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
11179                           "\x8A\x19\x08\xE1\x08\x48\x59\x51"
11180                           "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
11181                           "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
11182                           "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
11183                           "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
11184                           "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
11185                           "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
11186                           "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
11187                           "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
11188                           "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
11189                           "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
11190                           "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
11191                           "\xF2\x79\xD9",
11192                 .len    = 499,
11193         },
11194 };
11195
11196 /*
11197  * Blowfish test vectors.
11198  */
11199 static const struct cipher_testvec bf_tv_template[] = {
11200         { /* DES test vectors from OpenSSL */
11201                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
11202                 .klen   = 8,
11203                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
11204                 .ctext  = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
11205                 .len    = 8,
11206         }, {
11207                 .key    = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
11208                 .klen   = 8,
11209                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11210                 .ctext  = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
11211                 .len    = 8,
11212         }, {
11213                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
11214                 .klen   = 8,
11215                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11216                 .ctext  = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
11217                 .len    = 8,
11218         }, { /* Vary the keylength... */
11219                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
11220                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
11221                 .klen   = 16,
11222                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11223                 .ctext  = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
11224                 .len    = 8,
11225         }, {
11226                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
11227                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
11228                           "\x00\x11\x22\x33\x44",
11229                 .klen   = 21,
11230                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11231                 .ctext  = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
11232                 .len    = 8,
11233         }, { /* Generated with bf488 */
11234                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
11235                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
11236                           "\x00\x11\x22\x33\x44\x55\x66\x77"
11237                           "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
11238                           "\x58\x40\x23\x64\x1a\xba\x61\x76"
11239                           "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
11240                           "\xff\xff\xff\xff\xff\xff\xff\xff",
11241                 .klen   = 56,
11242                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11243                 .ctext  = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
11244                 .len    = 8,
11245         }, { /* Generated with Crypto++ */
11246                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11247                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11248                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11249                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11250                 .klen   = 32,
11251                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11252                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11253                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11254                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11255                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11256                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11257                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11258                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11259                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11260                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11261                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11262                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11263                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11264                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11265                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11266                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11267                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11268                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11269                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11270                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11271                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11272                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11273                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11274                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11275                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11276                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11277                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11278                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11279                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11280                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11281                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11282                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11283                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11284                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11285                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11286                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11287                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11288                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11289                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11290                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11291                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11292                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11293                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11294                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11295                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11296                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11297                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11298                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11299                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11300                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11301                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11302                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11303                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11304                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11305                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11306                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11307                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11308                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11309                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11310                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11311                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11312                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11313                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
11314                 .ctext  = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
11315                           "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
11316                           "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
11317                           "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
11318                           "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
11319                           "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
11320                           "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
11321                           "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
11322                           "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
11323                           "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
11324                           "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
11325                           "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
11326                           "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
11327                           "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
11328                           "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
11329                           "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
11330                           "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
11331                           "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
11332                           "\x47\x82\x98\x23\x33\x36\xBC\x1B"
11333                           "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
11334                           "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
11335                           "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
11336                           "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
11337                           "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
11338                           "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
11339                           "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
11340                           "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
11341                           "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
11342                           "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
11343                           "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
11344                           "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
11345                           "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
11346                           "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
11347                           "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
11348                           "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
11349                           "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
11350                           "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
11351                           "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
11352                           "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
11353                           "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
11354                           "\x3E\x42\x14\x49\x88\x51\xBF\x68"
11355                           "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
11356                           "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
11357                           "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
11358                           "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
11359                           "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
11360                           "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
11361                           "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
11362                           "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
11363                           "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
11364                           "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
11365                           "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
11366                           "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
11367                           "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
11368                           "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
11369                           "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
11370                           "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
11371                           "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
11372                           "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
11373                           "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
11374                           "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
11375                           "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
11376                           "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
11377                 .len    = 504,
11378         },
11379 };
11380
11381 static const struct cipher_testvec bf_cbc_tv_template[] = {
11382         { /* From OpenSSL */
11383                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11384                           "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
11385                 .klen   = 16,
11386                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11387                 .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
11388                 .ptext  = "\x37\x36\x35\x34\x33\x32\x31\x20"
11389                           "\x4e\x6f\x77\x20\x69\x73\x20\x74"
11390                           "\x68\x65\x20\x74\x69\x6d\x65\x20"
11391                           "\x66\x6f\x72\x20\x00\x00\x00\x00",
11392                 .ctext  = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
11393                           "\x05\xb1\x56\xe2\x74\x03\x97\x93"
11394                           "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
11395                           "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
11396                 .len    = 32,
11397         }, { /* Generated with Crypto++ */
11398                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11399                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11400                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11401                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11402                 .klen   = 32,
11403                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
11404                 .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
11405                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11406                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11407                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11408                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11409                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11410                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11411                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11412                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11413                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11414                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11415                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11416                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11417                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11418                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11419                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11420                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11421                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11422                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11423                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11424                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11425                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11426                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11427                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11428                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11429                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11430                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11431                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11432                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11433                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11434                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11435                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11436                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11437                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11438                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11439                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11440                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11441                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11442                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11443                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11444                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11445                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11446                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11447                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11448                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11449                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11450                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11451                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11452                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11453                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11454                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11455                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11456                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11457                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11458                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11459                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11460                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11461                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11462                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11463                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11464                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11465                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11466                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11467                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
11468                 .ctext  = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
11469                           "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
11470                           "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
11471                           "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
11472                           "\x01\x9C\x93\x63\x51\x60\x82\xD2"
11473                           "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
11474                           "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
11475                           "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
11476                           "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
11477                           "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
11478                           "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
11479                           "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
11480                           "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
11481                           "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
11482                           "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
11483                           "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
11484                           "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
11485                           "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
11486                           "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
11487                           "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
11488                           "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
11489                           "\x65\xFE\x15\x40\xD0\x62\x41\x02"
11490                           "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
11491                           "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
11492                           "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
11493                           "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
11494                           "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
11495                           "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
11496                           "\x04\xF0\x86\x08\x78\x18\x42\xE0"
11497                           "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
11498                           "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
11499                           "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
11500                           "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
11501                           "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
11502                           "\x97\x18\x92\xFF\x15\x11\xCE\xED"
11503                           "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
11504                           "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
11505                           "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
11506                           "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
11507                           "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
11508                           "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
11509                           "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
11510                           "\x43\x12\x73\x77\xDB\x91\x83\x5B"
11511                           "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
11512                           "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
11513                           "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
11514                           "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
11515                           "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
11516                           "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
11517                           "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
11518                           "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
11519                           "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
11520                           "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
11521                           "\xC5\xF8\x69\x83\x28\x84\x87\x56"
11522                           "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
11523                           "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
11524                           "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
11525                           "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
11526                           "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
11527                           "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
11528                           "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
11529                           "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
11530                           "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
11531                 .len    = 504,
11532         },
11533 };
11534
11535 static const struct cipher_testvec bf_ctr_tv_template[] = {
11536         { /* Generated with Crypto++ */
11537                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11538                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11539                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11540                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11541                 .klen   = 32,
11542                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
11543                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
11544                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11545                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11546                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11547                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11548                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11549                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11550                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11551                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11552                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11553                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11554                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11555                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11556                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11557                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11558                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11559                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11560                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11561                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11562                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11563                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11564                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11565                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11566                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11567                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11568                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11569                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11570                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11571                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11572                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11573                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11574                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11575                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11576                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11577                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11578                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11579                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11580                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11581                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11582                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11583                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11584                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11585                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11586                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11587                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11588                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11589                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11590                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11591                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11592                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11593                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11594                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11595                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11596                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11597                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11598                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11599                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11600                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11601                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11602                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11603                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11604                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11605                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11606                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
11607                 .ctext  = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
11608                           "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
11609                           "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
11610                           "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
11611                           "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
11612                           "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
11613                           "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
11614                           "\x97\xEB\x98\x75\xC4\x73\x45\x83"
11615                           "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
11616                           "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
11617                           "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
11618                           "\x13\xD2\x96\x68\x69\x10\x67\x0C"
11619                           "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
11620                           "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
11621                           "\x88\x09\x40\x59\xBD\x12\x64\xB5"
11622                           "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
11623                           "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
11624                           "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
11625                           "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
11626                           "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
11627                           "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
11628                           "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
11629                           "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
11630                           "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
11631                           "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
11632                           "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
11633                           "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
11634                           "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
11635                           "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
11636                           "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
11637                           "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
11638                           "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
11639                           "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
11640                           "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
11641                           "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
11642                           "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
11643                           "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
11644                           "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
11645                           "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
11646                           "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
11647                           "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
11648                           "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
11649                           "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
11650                           "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
11651                           "\x82\x63\x11\xB3\x54\x49\x00\x08"
11652                           "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
11653                           "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
11654                           "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
11655                           "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
11656                           "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
11657                           "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
11658                           "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
11659                           "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
11660                           "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
11661                           "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
11662                           "\x91\x04\x94\x99\x03\x3B\x42\x6D"
11663                           "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
11664                           "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
11665                           "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
11666                           "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
11667                           "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
11668                           "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
11669                           "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
11670                 .len    = 504,
11671         }, { /* Generated with Crypto++ */
11672                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11673                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11674                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11675                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11676                 .klen   = 32,
11677                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
11678                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
11679                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11680                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11681                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11682                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11683                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11684                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11685                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11686                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11687                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11688                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11689                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11690                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11691                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11692                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11693                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11694                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11695                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11696                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11697                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11698                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11699                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11700                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11701                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11702                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11703                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11704                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11705                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11706                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11707                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11708                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11709                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11710                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11711                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11712                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11713                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11714                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11715                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11716                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11717                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11718                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11719                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11720                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11721                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11722                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11723                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11724                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11725                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11726                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11727                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11728                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11729                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11730                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11731                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11732                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11733                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11734                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11735                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11736                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11737                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11738                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11739                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11740                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11741                           "\x2B\xC2\x59\xF0\x64\xFB\x92",
11742                 .ctext  = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
11743                           "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
11744                           "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
11745                           "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
11746                           "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
11747                           "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
11748                           "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
11749                           "\x97\xEB\x98\x75\xC4\x73\x45\x83"
11750                           "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
11751                           "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
11752                           "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
11753                           "\x13\xD2\x96\x68\x69\x10\x67\x0C"
11754                           "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
11755                           "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
11756                           "\x88\x09\x40\x59\xBD\x12\x64\xB5"
11757                           "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
11758                           "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
11759                           "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
11760                           "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
11761                           "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
11762                           "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
11763                           "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
11764                           "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
11765                           "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
11766                           "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
11767                           "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
11768                           "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
11769                           "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
11770                           "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
11771                           "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
11772                           "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
11773                           "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
11774                           "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
11775                           "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
11776                           "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
11777                           "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
11778                           "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
11779                           "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
11780                           "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
11781                           "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
11782                           "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
11783                           "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
11784                           "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
11785                           "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
11786                           "\x82\x63\x11\xB3\x54\x49\x00\x08"
11787                           "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
11788                           "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
11789                           "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
11790                           "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
11791                           "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
11792                           "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
11793                           "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
11794                           "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
11795                           "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
11796                           "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
11797                           "\x91\x04\x94\x99\x03\x3B\x42\x6D"
11798                           "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
11799                           "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
11800                           "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
11801                           "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
11802                           "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
11803                           "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
11804                           "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
11805                 .len    = 503,
11806         }, { /* Generated with Crypto++ */
11807                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11808                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11809                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11810                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11811                 .klen   = 32,
11812                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
11813                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
11814                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11815                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11816                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11817                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11818                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11819                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11820                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11821                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11822                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11823                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11824                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11825                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11826                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11827                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11828                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11829                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11830                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11831                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11832                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11833                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11834                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11835                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11836                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11837                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11838                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11839                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11840                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11841                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11842                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11843                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11844                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11845                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11846                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11847                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11848                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11849                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11850                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11851                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11852                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11853                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11854                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11855                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11856                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11857                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11858                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11859                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11860                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11861                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11862                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11863                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11864                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11865                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11866                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11867                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11868                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11869                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11870                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11871                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11872                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11873                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11874                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11875                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11876                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
11877                 .ctext  = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
11878                           "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
11879                           "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
11880                           "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
11881                           "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
11882                           "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
11883                           "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
11884                           "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
11885                           "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
11886                           "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
11887                           "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
11888                           "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
11889                           "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
11890                           "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
11891                           "\x0B\x82\x59\x14\x26\x67\x08\x09"
11892                           "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
11893                           "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
11894                           "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
11895                           "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
11896                           "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
11897                           "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
11898                           "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
11899                           "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
11900                           "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
11901                           "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
11902                           "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
11903                           "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
11904                           "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
11905                           "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
11906                           "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
11907                           "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
11908                           "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
11909                           "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
11910                           "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
11911                           "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
11912                           "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
11913                           "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
11914                           "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
11915                           "\xB4\x19\xD8\x19\x45\x66\x27\x02"
11916                           "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
11917                           "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
11918                           "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
11919                           "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
11920                           "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
11921                           "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
11922                           "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
11923                           "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
11924                           "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
11925                           "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
11926                           "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
11927                           "\x91\x51\x4E\x71\xF2\x98\x85\x16"
11928                           "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
11929                           "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
11930                           "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
11931                           "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
11932                           "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
11933                           "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
11934                           "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
11935                           "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
11936                           "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
11937                           "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
11938                           "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
11939                           "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
11940                 .len    = 504,
11941         },
11942 };
11943
11944 /*
11945  * Twofish test vectors.
11946  */
11947 static const struct cipher_testvec tf_tv_template[] = {
11948         {
11949                 .key    = zeroed_string,
11950                 .klen   = 16,
11951                 .ptext  = zeroed_string,
11952                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
11953                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
11954                 .len    = 16,
11955         }, {
11956                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11957                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
11958                           "\x00\x11\x22\x33\x44\x55\x66\x77",
11959                 .klen   = 24,
11960                 .ptext  = zeroed_string,
11961                 .ctext  = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
11962                           "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
11963                 .len    = 16,
11964         }, {
11965                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11966                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
11967                           "\x00\x11\x22\x33\x44\x55\x66\x77"
11968                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
11969                 .klen   = 32,
11970                 .ptext  = zeroed_string,
11971                 .ctext  = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
11972                           "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
11973                 .len    = 16,
11974         }, { /* Generated with Crypto++ */
11975                 .key    = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
11976                           "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
11977                           "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
11978                           "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
11979                 .klen   = 32,
11980                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11981                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11982                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11983                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11984                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11985                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11986                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11987                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11988                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11989                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11990                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11991                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11992                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11993                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11994                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11995                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11996                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11997                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11998                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11999                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12000                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12001                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12002                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12003                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12004                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12005                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12006                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12007                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12008                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12009                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12010                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12011                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12012                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12013                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12014                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12015                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12016                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12017                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12018                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12019                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12020                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12021                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12022                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12023                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12024                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12025                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12026                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12027                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12028                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12029                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12030                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12031                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12032                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12033                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12034                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12035                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12036                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12037                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12038                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12039                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12040                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12041                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12042                 .ctext  = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
12043                           "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
12044                           "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
12045                           "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
12046                           "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
12047                           "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
12048                           "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
12049                           "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
12050                           "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
12051                           "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
12052                           "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
12053                           "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
12054                           "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
12055                           "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
12056                           "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
12057                           "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
12058                           "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
12059                           "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
12060                           "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
12061                           "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
12062                           "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
12063                           "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
12064                           "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
12065                           "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
12066                           "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
12067                           "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
12068                           "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
12069                           "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
12070                           "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
12071                           "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
12072                           "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
12073                           "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
12074                           "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
12075                           "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
12076                           "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
12077                           "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
12078                           "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
12079                           "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
12080                           "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
12081                           "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
12082                           "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
12083                           "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
12084                           "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
12085                           "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
12086                           "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
12087                           "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
12088                           "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
12089                           "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
12090                           "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
12091                           "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
12092                           "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
12093                           "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
12094                           "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
12095                           "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
12096                           "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
12097                           "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
12098                           "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
12099                           "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
12100                           "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
12101                           "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
12102                           "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
12103                           "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
12104                 .len    = 496,
12105         },
12106 };
12107
12108 static const struct cipher_testvec tf_cbc_tv_template[] = {
12109         { /* Generated with Nettle */
12110                 .key    = zeroed_string,
12111                 .klen   = 16,
12112                 .iv     = zeroed_string,
12113                 .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12114                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12115                 .ptext  = zeroed_string,
12116                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12117                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12118                 .len    = 16,
12119         }, {
12120                 .key    = zeroed_string,
12121                 .klen   = 16,
12122                 .iv     = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12123                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12124                 .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12125                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
12126                 .ptext  = zeroed_string,
12127                 .ctext  = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12128                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
12129                 .len    = 16,
12130         }, {
12131                 .key    = zeroed_string,
12132                 .klen   = 16,
12133                 .iv     = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12134                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
12135                 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12136                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12137                 .ptext  = zeroed_string,
12138                 .ctext  = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12139                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12140                 .len    = 16,
12141         }, {
12142                 .key    = zeroed_string,
12143                 .klen   = 16,
12144                 .iv     = zeroed_string,
12145                 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12146                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12147                 .ptext  = zeroed_string,
12148                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12149                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
12150                           "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12151                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
12152                           "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12153                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12154                 .len    = 48,
12155         }, { /* Generated with Crypto++ */
12156                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12157                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12158                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12159                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12160                 .klen   = 32,
12161                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12162                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12163                 .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
12164                           "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
12165                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12166                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12167                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12168                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12169                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12170                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12171                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12172                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12173                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12174                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12175                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12176                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12177                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12178                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12179                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12180                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12181                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12182                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12183                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12184                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12185                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12186                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12187                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12188                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12189                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12190                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12191                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12192                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12193                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12194                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12195                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12196                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12197                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12198                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12199                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12200                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12201                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12202                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12203                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12204                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12205                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12206                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12207                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12208                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12209                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12210                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12211                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12212                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12213                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12214                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12215                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12216                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12217                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12218                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12219                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12220                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12221                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12222                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12223                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12224                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12225                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12226                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12227                 .ctext  = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
12228                           "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
12229                           "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
12230                           "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
12231                           "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
12232                           "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
12233                           "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
12234                           "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
12235                           "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
12236                           "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
12237                           "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
12238                           "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
12239                           "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
12240                           "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
12241                           "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
12242                           "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
12243                           "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
12244                           "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
12245                           "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
12246                           "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
12247                           "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
12248                           "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
12249                           "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
12250                           "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
12251                           "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
12252                           "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
12253                           "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
12254                           "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
12255                           "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
12256                           "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
12257                           "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
12258                           "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
12259                           "\x75\x42\x62\x04\x31\x1F\x95\x7C"
12260                           "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
12261                           "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
12262                           "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
12263                           "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
12264                           "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
12265                           "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
12266                           "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
12267                           "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
12268                           "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
12269                           "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
12270                           "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
12271                           "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
12272                           "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
12273                           "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
12274                           "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
12275                           "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
12276                           "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
12277                           "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
12278                           "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
12279                           "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
12280                           "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
12281                           "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
12282                           "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
12283                           "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
12284                           "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
12285                           "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
12286                           "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
12287                           "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
12288                           "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
12289                 .len    = 496,
12290         },
12291 };
12292
12293 static const struct cipher_testvec tf_ctr_tv_template[] = {
12294         { /* Generated with Crypto++ */
12295                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12296                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12297                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12298                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12299                 .klen   = 32,
12300                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12301                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12302                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12303                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
12304                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12305                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12306                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12307                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12308                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12309                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12310                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12311                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12312                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12313                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12314                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12315                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12316                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12317                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12318                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12319                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12320                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12321                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12322                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12323                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12324                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12325                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12326                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12327                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12328                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12329                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12330                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12331                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12332                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12333                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12334                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12335                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12336                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12337                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12338                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12339                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12340                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12341                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12342                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12343                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12344                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12345                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12346                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12347                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12348                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12349                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12350                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12351                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12352                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12353                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12354                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12355                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12356                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12357                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12358                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12359                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12360                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12361                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12362                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12363                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12364                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12365                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12366                 .ctext  = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
12367                           "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
12368                           "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
12369                           "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
12370                           "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
12371                           "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
12372                           "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
12373                           "\x01\x41\x21\x12\x38\xAB\x52\x4F"
12374                           "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
12375                           "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
12376                           "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
12377                           "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
12378                           "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
12379                           "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
12380                           "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
12381                           "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
12382                           "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
12383                           "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
12384                           "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
12385                           "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
12386                           "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
12387                           "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
12388                           "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
12389                           "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
12390                           "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
12391                           "\x23\x61\x48\xEA\x80\x04\x27\xAA"
12392                           "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
12393                           "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
12394                           "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
12395                           "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
12396                           "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
12397                           "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
12398                           "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
12399                           "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
12400                           "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
12401                           "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
12402                           "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
12403                           "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
12404                           "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
12405                           "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
12406                           "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
12407                           "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
12408                           "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
12409                           "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
12410                           "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
12411                           "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
12412                           "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
12413                           "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
12414                           "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
12415                           "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
12416                           "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
12417                           "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
12418                           "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
12419                           "\x11\xE9\x43\x83\x76\xAA\x53\x37"
12420                           "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
12421                           "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
12422                           "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
12423                           "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
12424                           "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
12425                           "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
12426                           "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
12427                           "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
12428                 .len    = 496,
12429         }, { /* Generated with Crypto++ */
12430                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12431                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12432                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12433                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12434                 .klen   = 32,
12435                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12436                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12437                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
12438                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
12439                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12440                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12441                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12442                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12443                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12444                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12445                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12446                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12447                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12448                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12449                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12450                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12451                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12452                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12453                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12454                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12455                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12456                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12457                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12458                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12459                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12460                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12461                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12462                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12463                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12464                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12465                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12466                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12467                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12468                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12469                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12470                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12471                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12472                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12473                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12474                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12475                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12476                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12477                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12478                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12479                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12480                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12481                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12482                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12483                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12484                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12485                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12486                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12487                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12488                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12489                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12490                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12491                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12492                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12493                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12494                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12495                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12496                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12497                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12498                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12499                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12500                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12501                 .ctext  = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
12502                           "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
12503                           "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
12504                           "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
12505                           "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
12506                           "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
12507                           "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
12508                           "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
12509                           "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
12510                           "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
12511                           "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
12512                           "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
12513                           "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
12514                           "\x39\x18\x09\xA4\x82\x59\x78\xE7"
12515                           "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
12516                           "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
12517                           "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
12518                           "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
12519                           "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
12520                           "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
12521                           "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
12522                           "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
12523                           "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
12524                           "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
12525                           "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
12526                           "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
12527                           "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
12528                           "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
12529                           "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
12530                           "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
12531                           "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
12532                           "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
12533                           "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
12534                           "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
12535                           "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
12536                           "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
12537                           "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
12538                           "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
12539                           "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
12540                           "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
12541                           "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
12542                           "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
12543                           "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
12544                           "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
12545                           "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
12546                           "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
12547                           "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
12548                           "\xDE\x55\x1B\x50\x14\x53\x44\x17"
12549                           "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
12550                           "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
12551                           "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
12552                           "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
12553                           "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
12554                           "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
12555                           "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
12556                           "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
12557                           "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
12558                           "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
12559                           "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
12560                           "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
12561                           "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
12562                           "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
12563                 .len    = 496,
12564         }, { /* Generated with Crypto++ */
12565                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12566                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12567                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12568                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12569                 .klen   = 32,
12570                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12571                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12572                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12573                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
12574                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12575                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12576                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12577                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12578                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12579                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12580                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12581                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12582                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12583                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12584                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12585                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12586                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12587                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12588                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12589                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12590                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12591                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12592                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12593                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12594                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12595                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12596                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12597                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12598                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12599                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12600                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12601                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12602                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12603                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12604                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12605                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12606                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12607                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12608                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12609                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12610                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12611                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12612                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12613                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12614                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12615                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12616                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12617                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12618                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12619                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12620                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12621                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12622                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12623                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12624                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12625                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12626                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12627                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12628                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12629                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12630                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12631                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12632                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12633                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12634                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12635                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12636                           "\x2B\xC2\x59",
12637                 .ctext  = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
12638                           "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
12639                           "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
12640                           "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
12641                           "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
12642                           "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
12643                           "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
12644                           "\x01\x41\x21\x12\x38\xAB\x52\x4F"
12645                           "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
12646                           "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
12647                           "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
12648                           "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
12649                           "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
12650                           "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
12651                           "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
12652                           "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
12653                           "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
12654                           "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
12655                           "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
12656                           "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
12657                           "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
12658                           "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
12659                           "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
12660                           "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
12661                           "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
12662                           "\x23\x61\x48\xEA\x80\x04\x27\xAA"
12663                           "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
12664                           "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
12665                           "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
12666                           "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
12667                           "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
12668                           "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
12669                           "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
12670                           "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
12671                           "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
12672                           "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
12673                           "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
12674                           "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
12675                           "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
12676                           "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
12677                           "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
12678                           "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
12679                           "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
12680                           "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
12681                           "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
12682                           "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
12683                           "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
12684                           "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
12685                           "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
12686                           "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
12687                           "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
12688                           "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
12689                           "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
12690                           "\x11\xE9\x43\x83\x76\xAA\x53\x37"
12691                           "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
12692                           "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
12693                           "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
12694                           "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
12695                           "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
12696                           "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
12697                           "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
12698                           "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
12699                           "\x6C\x82\x9D",
12700                 .len    = 499,
12701         },
12702 };
12703
12704 static const struct cipher_testvec tf_lrw_tv_template[] = {
12705         /* Generated from AES-LRW test vectors */
12706         {
12707                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12708                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12709                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12710                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12711                 .klen   = 32,
12712                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12713                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12714                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12715                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12716                 .ctext  = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
12717                           "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
12718                 .len    = 16,
12719         }, {
12720                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12721                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12722                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12723                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12724                 .klen   = 32,
12725                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12726                           "\x00\x00\x00\x00\x00\x00\x00\x02",
12727                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12728                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12729                 .ctext  = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
12730                           "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
12731                 .len    = 16,
12732         }, {
12733                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12734                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12735                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12736                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12737                 .klen   = 32,
12738                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12739                           "\x00\x00\x00\x02\x00\x00\x00\x00",
12740                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12741                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12742                 .ctext  = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
12743                           "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
12744                 .len    = 16,
12745         }, {
12746                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12747                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12748                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12749                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12750                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12751                 .klen   = 40,
12752                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12753                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12754                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12755                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12756                 .ctext  = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
12757                           "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
12758                 .len    = 16,
12759         }, {
12760                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12761                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12762                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12763                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12764                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12765                 .klen   = 40,
12766                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12767                           "\x00\x00\x00\x02\x00\x00\x00\x00",
12768                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12769                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12770                 .ctext  = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
12771                           "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
12772                 .len    = 16,
12773         }, {
12774                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12775                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12776                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12777                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12778                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12779                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12780                 .klen   = 48,
12781                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12782                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12783                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12784                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12785                 .ctext  = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
12786                           "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
12787                 .len    = 16,
12788         }, {
12789                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12790                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12791                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12792                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12793                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12794                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12795                 .klen   = 48,
12796                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12797                           "\x00\x00\x00\x02\x00\x00\x00\x00",
12798                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12799                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12800                 .ctext  = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
12801                           "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
12802                 .len    = 16,
12803         }, {
12804                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12805                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12806                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12807                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12808                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12809                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12810                 .klen   = 48,
12811                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12812                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12813                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12814                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12815                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12816                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12817                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12818                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12819                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12820                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12821                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12822                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12823                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12824                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12825                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12826                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12827                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12828                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12829                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12830                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12831                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12832                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12833                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12834                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12835                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12836                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12837                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12838                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12839                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12840                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12841                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12842                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12843                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12844                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12845                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12846                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12847                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12848                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12849                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12850                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12851                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12852                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12853                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12854                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12855                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12856                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12857                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12858                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12859                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12860                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12861                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12862                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12863                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12864                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12865                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12866                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12867                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12868                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12869                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12870                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12871                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12872                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12873                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12874                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12875                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12876                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12877                 .ctext  = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
12878                           "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
12879                           "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
12880                           "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
12881                           "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
12882                           "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
12883                           "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
12884                           "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
12885                           "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
12886                           "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
12887                           "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
12888                           "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
12889                           "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
12890                           "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
12891                           "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
12892                           "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
12893                           "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
12894                           "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
12895                           "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
12896                           "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
12897                           "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
12898                           "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
12899                           "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
12900                           "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
12901                           "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
12902                           "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
12903                           "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
12904                           "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
12905                           "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
12906                           "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
12907                           "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
12908                           "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
12909                           "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
12910                           "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
12911                           "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
12912                           "\x3e\xae\x71\x90\x07\x70\x1c\x38"
12913                           "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
12914                           "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
12915                           "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
12916                           "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
12917                           "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
12918                           "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
12919                           "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
12920                           "\x93\x51\x1d\x3d\x62\x59\x83\x82"
12921                           "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
12922                           "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
12923                           "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
12924                           "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
12925                           "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
12926                           "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
12927                           "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
12928                           "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
12929                           "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
12930                           "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
12931                           "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
12932                           "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
12933                           "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
12934                           "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
12935                           "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
12936                           "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
12937                           "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
12938                           "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
12939                           "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
12940                           "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
12941                 .len    = 512,
12942         },
12943 };
12944
12945 static const struct cipher_testvec tf_xts_tv_template[] = {
12946         /* Generated from AES-XTS test vectors */
12947 {
12948                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
12949                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12950                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12951                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12952                 .klen   = 32,
12953                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12954                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12955                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
12956                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12957                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12958                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12959                 .ctext  = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
12960                           "\x30\x74\xe4\x44\x52\x77\x97\x43"
12961                           "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
12962                           "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
12963                 .len    = 32,
12964         }, {
12965                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
12966                           "\x11\x11\x11\x11\x11\x11\x11\x11"
12967                           "\x22\x22\x22\x22\x22\x22\x22\x22"
12968                           "\x22\x22\x22\x22\x22\x22\x22\x22",
12969                 .klen   = 32,
12970                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
12971                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12972                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
12973                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12974                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12975                           "\x44\x44\x44\x44\x44\x44\x44\x44",
12976                 .ctext  = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
12977                           "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
12978                           "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
12979                           "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
12980                 .len    = 32,
12981         }, {
12982                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
12983                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
12984                           "\x22\x22\x22\x22\x22\x22\x22\x22"
12985                           "\x22\x22\x22\x22\x22\x22\x22\x22",
12986                 .klen   = 32,
12987                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
12988                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12989                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
12990                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12991                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12992                           "\x44\x44\x44\x44\x44\x44\x44\x44",
12993                 .ctext  = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
12994                           "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
12995                           "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
12996                           "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
12997                 .len    = 32,
12998         }, {
12999                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
13000                           "\x23\x53\x60\x28\x74\x71\x35\x26"
13001                           "\x31\x41\x59\x26\x53\x58\x97\x93"
13002                           "\x23\x84\x62\x64\x33\x83\x27\x95",
13003                 .klen   = 32,
13004                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13005                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13006                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13007                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13008                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13009                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13010                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13011                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13012                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13013                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13014                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13015                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13016                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13017                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13018                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13019                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13020                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13021                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13022                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13023                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13024                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13025                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13026                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13027                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13028                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13029                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13030                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13031                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13032                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13033                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13034                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13035                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13036                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13037                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13038                           "\x00\x01\x02\x03\x04\x05\x06\x07"
13039                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13040                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13041                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13042                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13043                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13044                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13045                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13046                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13047                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13048                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13049                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13050                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13051                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13052                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13053                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13054                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13055                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13056                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13057                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13058                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13059                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13060                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13061                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13062                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13063                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13064                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13065                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13066                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13067                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13068                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13069                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13070                 .ctext  = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
13071                           "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
13072                           "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
13073                           "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
13074                           "\xea\x35\x35\x8c\xb2\x46\x61\x06"
13075                           "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
13076                           "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
13077                           "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
13078                           "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
13079                           "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
13080                           "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
13081                           "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
13082                           "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
13083                           "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
13084                           "\x01\x73\x68\x32\x25\x19\xfa\xfb"
13085                           "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
13086                           "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
13087                           "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
13088                           "\x39\x80\x39\x09\x97\x65\xf2\x83"
13089                           "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
13090                           "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
13091                           "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
13092                           "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
13093                           "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
13094                           "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
13095                           "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
13096                           "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
13097                           "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
13098                           "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
13099                           "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
13100                           "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
13101                           "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
13102                           "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
13103                           "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
13104                           "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
13105                           "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
13106                           "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
13107                           "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
13108                           "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
13109                           "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
13110                           "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
13111                           "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
13112                           "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
13113                           "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
13114                           "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
13115                           "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
13116                           "\x04\x39\x73\x32\xb2\x86\x79\xe7"
13117                           "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
13118                           "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
13119                           "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
13120                           "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
13121                           "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
13122                           "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
13123                           "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
13124                           "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
13125                           "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
13126                           "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
13127                           "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
13128                           "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
13129                           "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
13130                           "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
13131                           "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
13132                           "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
13133                           "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
13134                 .len    = 512,
13135         }, {
13136                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
13137                           "\x23\x53\x60\x28\x74\x71\x35\x26"
13138                           "\x62\x49\x77\x57\x24\x70\x93\x69"
13139                           "\x99\x59\x57\x49\x66\x96\x76\x27"
13140                           "\x31\x41\x59\x26\x53\x58\x97\x93"
13141                           "\x23\x84\x62\x64\x33\x83\x27\x95"
13142                           "\x02\x88\x41\x97\x16\x93\x99\x37"
13143                           "\x51\x05\x82\x09\x74\x94\x45\x92",
13144                 .klen   = 64,
13145                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
13146                           "\x00\x00\x00\x00\x00\x00\x00\x00",
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                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13152                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13153                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13154                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13155                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13156                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13157                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13158                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13159                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13160                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13161                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13162                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13163                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13164                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13165                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13166                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13167                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13168                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13169                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13170                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13171                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13172                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13173                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13174                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13175                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13176                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13177                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13178                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13179                           "\x00\x01\x02\x03\x04\x05\x06\x07"
13180                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13181                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13182                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13183                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13184                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13185                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13186                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13187                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13188                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13189                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13190                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13191                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13192                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13193                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13194                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13195                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13196                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13197                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13198                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13199                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13200                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13201                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13202                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13203                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13204                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13205                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13206                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13207                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13208                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13209                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13210                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13211                 .ctext  = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
13212                           "\x35\x39\x71\x88\x76\x1e\xc9\xea"
13213                           "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
13214                           "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
13215                           "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
13216                           "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
13217                           "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
13218                           "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
13219                           "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
13220                           "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
13221                           "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
13222                           "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
13223                           "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
13224                           "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
13225                           "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
13226                           "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
13227                           "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
13228                           "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
13229                           "\x69\x35\x61\x86\xf8\x86\xb9\x89"
13230                           "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
13231                           "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
13232                           "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
13233                           "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
13234                           "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
13235                           "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
13236                           "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
13237                           "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
13238                           "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
13239                           "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
13240                           "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
13241                           "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
13242                           "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
13243                           "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
13244                           "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
13245                           "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
13246                           "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
13247                           "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
13248                           "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
13249                           "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
13250                           "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
13251                           "\xad\x12\x32\x31\x03\xf7\x21\xbe"
13252                           "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
13253                           "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
13254                           "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
13255                           "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
13256                           "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
13257                           "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
13258                           "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
13259                           "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
13260                           "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
13261                           "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
13262                           "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
13263                           "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
13264                           "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
13265                           "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
13266                           "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
13267                           "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
13268                           "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
13269                           "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
13270                           "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
13271                           "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
13272                           "\xf3\xea\x67\x52\x78\xc2\xce\x70"
13273                           "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
13274                           "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
13275                 .len    = 512,
13276         },
13277 };
13278
13279 /*
13280  * Serpent test vectors.  These are backwards because Serpent writes
13281  * octet sequences in right-to-left mode.
13282  */
13283 static const struct cipher_testvec serpent_tv_template[] = {
13284         {
13285                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13286                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13287                 .ctext  = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
13288                           "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
13289                 .len    = 16,
13290         }, {
13291                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
13292                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13293                 .klen   = 16,
13294                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13295                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13296                 .ctext  = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
13297                           "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
13298                 .len    = 16,
13299         }, {
13300                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
13301                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13302                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13303                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13304                 .klen   = 32,
13305                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13306                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13307                 .ctext  = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
13308                           "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
13309                 .len    = 16,
13310         }, {
13311                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
13312                 .klen   = 16,
13313                 .ptext  = zeroed_string,
13314                 .ctext  = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
13315                           "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
13316                 .len    = 16,
13317         }, { /* Generated with Crypto++ */
13318                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13319                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13320                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13321                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13322                 .klen   = 32,
13323                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13324                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13325                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13326                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13327                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13328                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13329                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13330                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13331                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13332                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13333                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13334                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13335                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13336                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13337                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13338                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13339                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13340                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13341                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13342                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13343                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13344                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13345                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13346                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13347                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13348                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13349                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13350                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13351                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13352                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13353                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13354                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13355                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13356                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13357                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13358                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13359                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13360                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13361                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13362                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13363                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13364                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13365                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13366                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13367                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13368                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13369                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13370                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13371                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13372                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13373                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13374                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13375                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13376                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13377                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13378                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13379                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13380                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13381                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13382                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13383                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13384                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13385                 .ctext  = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
13386                           "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
13387                           "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
13388                           "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
13389                           "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
13390                           "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
13391                           "\x99\x34\x89\x5B\x54\xE9\x12\x13"
13392                           "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
13393                           "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
13394                           "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
13395                           "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
13396                           "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
13397                           "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
13398                           "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
13399                           "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
13400                           "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
13401                           "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
13402                           "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
13403                           "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
13404                           "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
13405                           "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
13406                           "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
13407                           "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
13408                           "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
13409                           "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
13410                           "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
13411                           "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
13412                           "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
13413                           "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
13414                           "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
13415                           "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
13416                           "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
13417                           "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
13418                           "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
13419                           "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
13420                           "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
13421                           "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
13422                           "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
13423                           "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
13424                           "\x87\x70\x14\xD0\x01\x57\xCB\x42"
13425                           "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
13426                           "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
13427                           "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
13428                           "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
13429                           "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
13430                           "\x71\x80\x05\x35\x3F\x40\x0B\x21"
13431                           "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
13432                           "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
13433                           "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
13434                           "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
13435                           "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
13436                           "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
13437                           "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
13438                           "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
13439                           "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
13440                           "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
13441                           "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
13442                           "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
13443                           "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
13444                           "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
13445                           "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
13446                           "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
13447                 .len    = 496,
13448         },
13449 };
13450
13451 static const struct cipher_testvec serpent_cbc_tv_template[] = {
13452         { /* Generated with Crypto++ */
13453                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13454                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13455                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13456                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13457                 .klen   = 32,
13458                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13459                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13460                 .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
13461                           "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
13462                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13463                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13464                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13465                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13466                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13467                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13468                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13469                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13470                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13471                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13472                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13473                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13474                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13475                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13476                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13477                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13478                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13479                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13480                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13481                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13482                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13483                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13484                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13485                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13486                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13487                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13488                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13489                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13490                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13491                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13492                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13493                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13494                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13495                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13496                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13497                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13498                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13499                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13500                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13501                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13502                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13503                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13504                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13505                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13506                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13507                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13508                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13509                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13510                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13511                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13512                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13513                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13514                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13515                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13516                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13517                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13518                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13519                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13520                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13521                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13522                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13523                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13524                 .ctext  = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
13525                           "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
13526                           "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
13527                           "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
13528                           "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
13529                           "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
13530                           "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
13531                           "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
13532                           "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
13533                           "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
13534                           "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
13535                           "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
13536                           "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
13537                           "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
13538                           "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
13539                           "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
13540                           "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
13541                           "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
13542                           "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
13543                           "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
13544                           "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
13545                           "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
13546                           "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
13547                           "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
13548                           "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
13549                           "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
13550                           "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
13551                           "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
13552                           "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
13553                           "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
13554                           "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
13555                           "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
13556                           "\x81\x92\x66\x67\x15\x1E\x39\x98"
13557                           "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
13558                           "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
13559                           "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
13560                           "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
13561                           "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
13562                           "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
13563                           "\x04\x05\x46\xD3\x90\x0F\x64\x64"
13564                           "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
13565                           "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
13566                           "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
13567                           "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
13568                           "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
13569                           "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
13570                           "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
13571                           "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
13572                           "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
13573                           "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
13574                           "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
13575                           "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
13576                           "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
13577                           "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
13578                           "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
13579                           "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
13580                           "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
13581                           "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
13582                           "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
13583                           "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
13584                           "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
13585                           "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
13586                 .len    = 496,
13587         },
13588 };
13589
13590 static const struct cipher_testvec serpent_ctr_tv_template[] = {
13591         { /* Generated with Crypto++ */
13592                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13593                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13594                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13595                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13596                 .klen   = 32,
13597                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13598                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13599                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13600                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
13601                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13602                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13603                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13604                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13605                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13606                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13607                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13608                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13609                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13610                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13611                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13612                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13613                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13614                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13615                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13616                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13617                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13618                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13619                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13620                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13621                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13622                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13623                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13624                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13625                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13626                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13627                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13628                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13629                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13630                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13631                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13632                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13633                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13634                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13635                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13636                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13637                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13638                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13639                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13640                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13641                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13642                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13643                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13644                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13645                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13646                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13647                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13648                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13649                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13650                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13651                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13652                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13653                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13654                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13655                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13656                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13657                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13658                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13659                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13660                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13661                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13662                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13663                 .ctext  = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
13664                           "\x37\x69\xE3\x3A\x22\x85\x48\x46"
13665                           "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
13666                           "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
13667                           "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
13668                           "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
13669                           "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
13670                           "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
13671                           "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
13672                           "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
13673                           "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
13674                           "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
13675                           "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
13676                           "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
13677                           "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
13678                           "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
13679                           "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
13680                           "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
13681                           "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
13682                           "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
13683                           "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
13684                           "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
13685                           "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
13686                           "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
13687                           "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
13688                           "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
13689                           "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
13690                           "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
13691                           "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
13692                           "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
13693                           "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
13694                           "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
13695                           "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
13696                           "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
13697                           "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
13698                           "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
13699                           "\x07\x97\x38\x4B\x5C\x56\x98\x67"
13700                           "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
13701                           "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
13702                           "\x18\x06\x15\x9D\x5A\x10\x13\x37"
13703                           "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
13704                           "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
13705                           "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
13706                           "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
13707                           "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
13708                           "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
13709                           "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
13710                           "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
13711                           "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
13712                           "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
13713                           "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
13714                           "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
13715                           "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
13716                           "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
13717                           "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
13718                           "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
13719                           "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
13720                           "\x90\x47\x40\x92\xE6\x69\xD1\x96"
13721                           "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
13722                           "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
13723                           "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
13724                           "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
13725                 .len    = 496,
13726         }, { /* Generated with Crypto++ */
13727                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13728                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13729                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13730                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13731                 .klen   = 32,
13732                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13733                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13734                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13735                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
13736                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13737                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13738                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13739                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13740                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13741                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13742                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13743                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13744                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13745                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13746                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13747                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13748                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13749                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13750                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13751                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13752                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13753                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13754                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13755                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13756                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13757                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13758                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13759                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13760                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13761                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13762                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13763                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13764                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13765                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13766                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13767                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13768                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13769                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13770                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13771                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13772                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13773                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13774                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13775                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13776                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13777                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13778                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13779                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13780                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13781                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13782                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13783                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13784                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13785                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13786                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13787                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13788                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13789                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13790                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13791                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13792                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13793                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13794                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13795                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13796                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13797                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
13798                           "\x2B\xC2\x59",
13799                 .ctext  = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
13800                           "\x37\x69\xE3\x3A\x22\x85\x48\x46"
13801                           "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
13802                           "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
13803                           "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
13804                           "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
13805                           "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
13806                           "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
13807                           "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
13808                           "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
13809                           "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
13810                           "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
13811                           "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
13812                           "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
13813                           "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
13814                           "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
13815                           "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
13816                           "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
13817                           "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
13818                           "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
13819                           "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
13820                           "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
13821                           "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
13822                           "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
13823                           "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
13824                           "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
13825                           "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
13826                           "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
13827                           "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
13828                           "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
13829                           "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
13830                           "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
13831                           "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
13832                           "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
13833                           "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
13834                           "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
13835                           "\x07\x97\x38\x4B\x5C\x56\x98\x67"
13836                           "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
13837                           "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
13838                           "\x18\x06\x15\x9D\x5A\x10\x13\x37"
13839                           "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
13840                           "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
13841                           "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
13842                           "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
13843                           "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
13844                           "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
13845                           "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
13846                           "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
13847                           "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
13848                           "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
13849                           "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
13850                           "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
13851                           "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
13852                           "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
13853                           "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
13854                           "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
13855                           "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
13856                           "\x90\x47\x40\x92\xE6\x69\xD1\x96"
13857                           "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
13858                           "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
13859                           "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
13860                           "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
13861                           "\x38\xE2\xE5",
13862                 .len    = 499,
13863         }, { /* Generated with Crypto++ */
13864                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13865                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13866                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13867                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13868                 .klen   = 32,
13869                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
13870                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
13871                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
13872                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
13873                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13874                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13875                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13876                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13877                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13878                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13879                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13880                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13881                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13882                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13883                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13884                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13885                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13886                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13887                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13888                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13889                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13890                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13891                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13892                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13893                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13894                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13895                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13896                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13897                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13898                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13899                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13900                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13901                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13902                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13903                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13904                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13905                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13906                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13907                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13908                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13909                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13910                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13911                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13912                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13913                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13914                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13915                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13916                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13917                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13918                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13919                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13920                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13921                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13922                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13923                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13924                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13925                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13926                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13927                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13928                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13929                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13930                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13931                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13932                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13933                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13934                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13935                 .ctext  = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
13936                           "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
13937                           "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
13938                           "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
13939                           "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
13940                           "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
13941                           "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
13942                           "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
13943                           "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
13944                           "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
13945                           "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
13946                           "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
13947                           "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
13948                           "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
13949                           "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
13950                           "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
13951                           "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
13952                           "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
13953                           "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
13954                           "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
13955                           "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
13956                           "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
13957                           "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
13958                           "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
13959                           "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
13960                           "\x29\x5E\x01\x47\x13\x32\x78\xBE"
13961                           "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
13962                           "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
13963                           "\x38\x35\x11\x26\x4A\xB4\x06\x32"
13964                           "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
13965                           "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
13966                           "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
13967                           "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
13968                           "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
13969                           "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
13970                           "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
13971                           "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
13972                           "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
13973                           "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
13974                           "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
13975                           "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
13976                           "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
13977                           "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
13978                           "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
13979                           "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
13980                           "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
13981                           "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
13982                           "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
13983                           "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
13984                           "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
13985                           "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
13986                           "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
13987                           "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
13988                           "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
13989                           "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
13990                           "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
13991                           "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
13992                           "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
13993                           "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
13994                           "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
13995                           "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
13996                           "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
13997                 .len    = 496,
13998         },
13999 };
14000
14001 static const struct cipher_testvec serpent_lrw_tv_template[] = {
14002         /* Generated from AES-LRW test vectors */
14003         {
14004                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
14005                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
14006                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
14007                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
14008                 .klen   = 32,
14009                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14010                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14011                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14012                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14013                 .ctext  = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
14014                           "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
14015                 .len    = 16,
14016         }, {
14017                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
14018                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
14019                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
14020                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
14021                 .klen   = 32,
14022                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14023                           "\x00\x00\x00\x00\x00\x00\x00\x02",
14024                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14025                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14026                 .ctext  = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
14027                           "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
14028                 .len    = 16,
14029         }, {
14030                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
14031                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
14032                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
14033                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
14034                 .klen   = 32,
14035                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14036                           "\x00\x00\x00\x02\x00\x00\x00\x00",
14037                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14038                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14039                 .ctext  = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
14040                           "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
14041                 .len    = 16,
14042         }, {
14043                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
14044                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
14045                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
14046                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
14047                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
14048                 .klen   = 40,
14049                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14050                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14051                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14052                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14053                 .ctext  = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
14054                           "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
14055                 .len    = 16,
14056         }, {
14057                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
14058                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
14059                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
14060                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
14061                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
14062                 .klen   = 40,
14063                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14064                           "\x00\x00\x00\x02\x00\x00\x00\x00",
14065                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14066                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14067                 .ctext  = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
14068                           "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
14069                 .len    = 16,
14070         }, {
14071                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14072                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14073                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14074                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14075                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14076                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14077                 .klen   = 48,
14078                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14079                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14080                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14081                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14082                 .ctext  = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
14083                           "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
14084                 .len    = 16,
14085         }, {
14086                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
14087                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
14088                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
14089                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
14090                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
14091                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
14092                 .klen   = 48,
14093                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14094                           "\x00\x00\x00\x02\x00\x00\x00\x00",
14095                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14096                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14097                 .ctext  = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
14098                           "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
14099                 .len    = 16,
14100         }, {
14101                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14102                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14103                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14104                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14105                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14106                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14107                 .klen   = 48,
14108                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14109                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14110                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14111                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14112                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14113                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14114                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14115                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14116                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14117                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14118                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14119                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14120                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14121                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14122                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14123                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14124                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14125                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14126                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14127                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14128                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14129                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14130                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14131                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14132                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14133                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14134                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14135                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14136                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14137                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14138                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14139                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14140                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14141                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14142                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14143                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14144                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14145                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14146                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14147                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14148                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14149                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14150                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14151                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14152                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14153                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14154                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14155                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14156                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14157                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14158                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14159                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14160                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14161                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14162                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14163                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14164                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14165                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14166                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14167                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14168                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14169                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14170                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14171                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14172                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14173                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14174                 .ctext  = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
14175                           "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
14176                           "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
14177                           "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
14178                           "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
14179                           "\xce\xab\xda\x33\x30\x20\x12\xfa"
14180                           "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
14181                           "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
14182                           "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
14183                           "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
14184                           "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
14185                           "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
14186                           "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
14187                           "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
14188                           "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
14189                           "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
14190                           "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
14191                           "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
14192                           "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
14193                           "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
14194                           "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
14195                           "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
14196                           "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
14197                           "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
14198                           "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
14199                           "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
14200                           "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
14201                           "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
14202                           "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
14203                           "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
14204                           "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
14205                           "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
14206                           "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
14207                           "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
14208                           "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
14209                           "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
14210                           "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
14211                           "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
14212                           "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
14213                           "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
14214                           "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
14215                           "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
14216                           "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
14217                           "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
14218                           "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
14219                           "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
14220                           "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
14221                           "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
14222                           "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
14223                           "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
14224                           "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
14225                           "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
14226                           "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
14227                           "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
14228                           "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
14229                           "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
14230                           "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
14231                           "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
14232                           "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
14233                           "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
14234                           "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
14235                           "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
14236                           "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
14237                           "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
14238                 .len    = 512,
14239         },
14240 };
14241
14242 static const struct cipher_testvec serpent_xts_tv_template[] = {
14243         /* Generated from AES-XTS test vectors */
14244         {
14245                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
14246                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14247                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14248                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14249                 .klen   = 32,
14250                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14251                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14252                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
14253                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14254                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14255                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14256                 .ctext  = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
14257                           "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
14258                           "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
14259                           "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
14260                 .len    = 32,
14261         }, {
14262                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
14263                           "\x11\x11\x11\x11\x11\x11\x11\x11"
14264                           "\x22\x22\x22\x22\x22\x22\x22\x22"
14265                           "\x22\x22\x22\x22\x22\x22\x22\x22",
14266                 .klen   = 32,
14267                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
14268                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14269                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
14270                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14271                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14272                           "\x44\x44\x44\x44\x44\x44\x44\x44",
14273                 .ctext  = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
14274                           "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
14275                           "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
14276                           "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
14277                 .len    = 32,
14278         }, {
14279                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
14280                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
14281                           "\x22\x22\x22\x22\x22\x22\x22\x22"
14282                           "\x22\x22\x22\x22\x22\x22\x22\x22",
14283                 .klen   = 32,
14284                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
14285                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14286                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
14287                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14288                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14289                           "\x44\x44\x44\x44\x44\x44\x44\x44",
14290                 .ctext  = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
14291                           "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
14292                           "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
14293                           "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
14294                 .len    = 32,
14295         }, {
14296                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
14297                           "\x23\x53\x60\x28\x74\x71\x35\x26"
14298                           "\x31\x41\x59\x26\x53\x58\x97\x93"
14299                           "\x23\x84\x62\x64\x33\x83\x27\x95",
14300                 .klen   = 32,
14301                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14302                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14303                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14304                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14305                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14306                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14307                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14308                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14309                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14310                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14311                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14312                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14313                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14314                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14315                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14316                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14317                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14318                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14319                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14320                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14321                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14322                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14323                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14324                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14325                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14326                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14327                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14328                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14329                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14330                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14331                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14332                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14333                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14334                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14335                           "\x00\x01\x02\x03\x04\x05\x06\x07"
14336                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14337                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14338                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14339                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14340                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14341                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14342                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14343                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14344                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14345                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14346                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14347                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14348                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14349                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14350                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14351                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14352                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14353                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14354                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14355                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14356                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14357                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14358                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14359                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14360                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14361                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14362                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14363                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14364                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14365                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14366                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14367                 .ctext  = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
14368                           "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
14369                           "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
14370                           "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
14371                           "\x00\x5c\x75\x14\x06\xd6\x25\x82"
14372                           "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
14373                           "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
14374                           "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
14375                           "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
14376                           "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
14377                           "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
14378                           "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
14379                           "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
14380                           "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
14381                           "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
14382                           "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
14383                           "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
14384                           "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
14385                           "\x58\xfa\x43\x91\x16\x85\x40\xbb"
14386                           "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
14387                           "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
14388                           "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
14389                           "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
14390                           "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
14391                           "\x6e\x29\x60\xbd\x10\x14\x84\x82"
14392                           "\x83\x82\x0c\x63\x73\x92\x02\x7c"
14393                           "\x55\x37\x20\x80\x17\x51\xc8\xbc"
14394                           "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
14395                           "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
14396                           "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
14397                           "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
14398                           "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
14399                           "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
14400                           "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
14401                           "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
14402                           "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
14403                           "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
14404                           "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
14405                           "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
14406                           "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
14407                           "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
14408                           "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
14409                           "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
14410                           "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
14411                           "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
14412                           "\x43\x42\x35\xd0\xcf\xec\x77\x67"
14413                           "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
14414                           "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
14415                           "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
14416                           "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
14417                           "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
14418                           "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
14419                           "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
14420                           "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
14421                           "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
14422                           "\x03\x57\xe6\x98\x52\x2f\x61\x62"
14423                           "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
14424                           "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
14425                           "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
14426                           "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
14427                           "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
14428                           "\xef\x91\x64\x1d\x18\x07\x4e\x31"
14429                           "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
14430                           "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
14431                 .len    = 512,
14432         }, {
14433                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
14434                           "\x23\x53\x60\x28\x74\x71\x35\x26"
14435                           "\x62\x49\x77\x57\x24\x70\x93\x69"
14436                           "\x99\x59\x57\x49\x66\x96\x76\x27"
14437                           "\x31\x41\x59\x26\x53\x58\x97\x93"
14438                           "\x23\x84\x62\x64\x33\x83\x27\x95"
14439                           "\x02\x88\x41\x97\x16\x93\x99\x37"
14440                           "\x51\x05\x82\x09\x74\x94\x45\x92",
14441                 .klen   = 64,
14442                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
14443                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14444                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14445                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14446                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14447                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14448                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14449                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14450                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14451                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14452                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14453                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14454                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14455                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14456                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14457                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14458                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14459                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14460                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14461                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14462                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14463                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14464                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14465                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14466                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14467                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14468                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14469                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14470                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14471                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14472                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14473                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14474                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14475                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14476                           "\x00\x01\x02\x03\x04\x05\x06\x07"
14477                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14478                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14479                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14480                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14481                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14482                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14483                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14484                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14485                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14486                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14487                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14488                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14489                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14490                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14491                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14492                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14493                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14494                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14495                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14496                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14497                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14498                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14499                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14500                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14501                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14502                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14503                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14504                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14505                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14506                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14507                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14508                 .ctext  = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
14509                           "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
14510                           "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
14511                           "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
14512                           "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
14513                           "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
14514                           "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
14515                           "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
14516                           "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
14517                           "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
14518                           "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
14519                           "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
14520                           "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
14521                           "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
14522                           "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
14523                           "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
14524                           "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
14525                           "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
14526                           "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
14527                           "\xec\x9a\xda\x64\x96\xb5\x61\xff"
14528                           "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
14529                           "\x81\x85\x14\xa8\x59\xac\x8c\x94"
14530                           "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
14531                           "\x82\xc6\x4d\xca\x86\xea\x53\x28"
14532                           "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
14533                           "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
14534                           "\x05\xca\x81\x7b\xda\xa2\xde\x63"
14535                           "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
14536                           "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
14537                           "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
14538                           "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
14539                           "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
14540                           "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
14541                           "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
14542                           "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
14543                           "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
14544                           "\xfd\x43\x7d\xda\x42\x51\x87\x43"
14545                           "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
14546                           "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
14547                           "\x27\x5f\x11\xac\x71\xc7\x48\x46"
14548                           "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
14549                           "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
14550                           "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
14551                           "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
14552                           "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
14553                           "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
14554                           "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
14555                           "\x50\x88\x97\x40\x69\xb1\x37\xf5"
14556                           "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
14557                           "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
14558                           "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
14559                           "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
14560                           "\xc1\x16\x73\x50\x77\xba\xa6\x65"
14561                           "\x20\x2d\xb0\x02\x27\x89\xda\x99"
14562                           "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
14563                           "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
14564                           "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
14565                           "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
14566                           "\xa3\x0e\x33\x74\x40\x18\x39\x72"
14567                           "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
14568                           "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
14569                           "\x30\x05\xc8\x92\x98\x80\xff\x7a"
14570                           "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
14571                           "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
14572                 .len    = 512,
14573         },
14574 };
14575
14576 /*
14577  * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
14578  * Modes Of Operations" draft RFC
14579  * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
14580  */
14581
14582 static const struct cipher_testvec sm4_tv_template[] = {
14583         { /* GB/T 32907-2016 Example 1. */
14584                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14585                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14586                 .klen   = 16,
14587                 .ptext  = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14588                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14589                 .ctext  = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
14590                           "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
14591                 .len    = 16,
14592         }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
14593                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14594                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14595                 .klen   = 16,
14596                 .ptext  = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
14597                           "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
14598                           "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
14599                           "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
14600                           "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
14601                           "\xad\x57\x15\xab\x31\x5d\xc\xef"
14602                           "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
14603                           "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
14604                           "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
14605                           "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
14606                           "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
14607                           "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
14608                           "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
14609                           "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
14610                           "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
14611                           "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
14612                           "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
14613                           "\xed\xce\x0\x19\xe\x16\x2\x6e"
14614                           "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
14615                           "\x31\x51\xec\x47\xc3\x51\x83\xc1",
14616                 .ctext  = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
14617                           "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
14618                           "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
14619                           "\xad\x57\x15\xab\x31\x5d\xc\xef"
14620                           "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
14621                           "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
14622                           "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
14623                           "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
14624                           "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
14625                           "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
14626                           "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
14627                           "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
14628                           "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
14629                           "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
14630                           "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
14631                           "\xed\xce\x0\x19\xe\x16\x2\x6e"
14632                           "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
14633                           "\x31\x51\xec\x47\xc3\x51\x83\xc1"
14634                           "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
14635                           "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
14636                 .len    = 160
14637         }, { /* A.2.1.1 SM4-ECB Example 1 */
14638                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14639                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14640                 .klen   = 16,
14641                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14642                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14643                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14644                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14645                 .ctext  = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
14646                           "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
14647                           "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
14648                           "\x85\xf8\x1c\x84\x82\x19\x23\x04",
14649                 .len    = 32,
14650         }, { /* A.2.1.2 SM4-ECB Example 2 */
14651                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
14652                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
14653                 .klen   = 16,
14654                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14655                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14656                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14657                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14658                 .ctext  = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
14659                           "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
14660                           "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
14661                           "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
14662                 .len    = 32,
14663         }
14664 };
14665
14666 static const struct cipher_testvec sm4_cbc_tv_template[] = {
14667         { /* A.2.2.1 SM4-CBC Example 1 */
14668                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14669                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14670                 .klen   = 16,
14671                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14672                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14673                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14674                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14675                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14676                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
14677                 .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
14678                           "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
14679                 .ctext  = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
14680                           "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
14681                           "\x4C\xB7\x01\x69\x51\x90\x92\x26"
14682                           "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
14683                 .len    = 32,
14684         }, { /* A.2.2.2 SM4-CBC Example 2 */
14685                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
14686                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
14687                 .klen   = 16,
14688                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14689                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14690                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14691                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14692                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14693                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
14694                 .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
14695                           "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
14696                 .ctext  = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
14697                           "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
14698                           "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
14699                           "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
14700                 .len    = 32,
14701         }
14702 };
14703
14704 static const struct cipher_testvec sm4_ctr_tv_template[] = {
14705         { /* A.2.5.1 SM4-CTR Example 1 */
14706                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14707                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14708                 .klen   = 16,
14709                 .ptext  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14710                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
14711                           "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
14712                           "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
14713                           "\xee\xee\xee\xee\xee\xee\xee\xee"
14714                           "\xff\xff\xff\xff\xff\xff\xff\xff"
14715                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14716                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
14717                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14718                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
14719                 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
14720                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
14721                 .ctext  = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
14722                           "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
14723                           "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
14724                           "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
14725                           "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
14726                           "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
14727                           "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
14728                           "\x8b\x29\x33\x85\x1d\x82\x45\x14",
14729                 .len    = 64,
14730         }, { /* A.2.5.2 SM4-CTR Example 2 */
14731                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
14732                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
14733                 .klen   = 16,
14734                 .ptext  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14735                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
14736                           "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
14737                           "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
14738                           "\xee\xee\xee\xee\xee\xee\xee\xee"
14739                           "\xff\xff\xff\xff\xff\xff\xff\xff"
14740                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14741                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
14742                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14743                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
14744                 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
14745                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
14746                 .ctext  = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
14747                           "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
14748                           "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
14749                           "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
14750                           "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
14751                           "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
14752                           "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
14753                           "\x28\x4b\xde\x9e\x16\xea\x29\x06",
14754                 .len    = 64,
14755         }
14756 };
14757
14758 static const struct cipher_testvec sm4_ctr_rfc3686_tv_template[] = {
14759         {
14760                 .key    = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
14761                           "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
14762                           "\x00\x00\x00\x30",
14763                 .klen   = 20,
14764                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
14765                 .ptext  = "Single block msg",
14766                 .ctext  = "\x20\x9b\x77\x31\xd3\x65\xdb\xab"
14767                           "\x9e\x48\x74\x7e\xbd\x13\x83\xeb",
14768                 .len    = 16,
14769         }, {
14770                 .key    = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
14771                           "\x43\xd6\xce\x1f\x32\x53\x91\x63"
14772                           "\x00\x6c\xb6\xdb",
14773                 .klen   = 20,
14774                 .iv     = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
14775                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14776                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14777                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14778                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14779                 .ctext  = "\x33\xe0\x28\x01\x92\xed\xc9\x1e"
14780                           "\x97\x35\xd9\x4a\xec\xd4\xbc\x23"
14781                           "\x4f\x35\x9f\x1c\x55\x1f\xe0\x27"
14782                           "\xe0\xdf\xc5\x43\xbc\xb0\x23\x94",
14783                 .len    = 32,
14784         }
14785 };
14786
14787 static const struct cipher_testvec sm4_ofb_tv_template[] = {
14788         { /* From: draft-ribose-cfrg-sm4-02, paragraph 12.2.3 */
14789                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14790                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14791                 .klen   = 16,
14792                 .iv     = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14793                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14794                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14795                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
14796                           "\x01\x23\x45\x67\x89\xab\xcd\xef"
14797                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14798                 .ctext  = "\x69\x3d\x9a\x53\x5b\xad\x5b\xb1"
14799                           "\x78\x6f\x53\xd7\x25\x3a\x70\x56"
14800                           "\xf2\x07\x5d\x28\xb5\x23\x5f\x58"
14801                           "\xd5\x00\x27\xe4\x17\x7d\x2b\xce",
14802                 .len    = 32,
14803         }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.3, Example 1 */
14804                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14805                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14806                 .klen   = 16,
14807                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14808                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14809                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14810                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14811                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14812                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14813                 .ctext  = "\xac\x32\x36\xcb\x86\x1d\xd3\x16"
14814                           "\xe6\x41\x3b\x4e\x3c\x75\x24\xb7"
14815                           "\x1d\x01\xac\xa2\x48\x7c\xa5\x82"
14816                           "\xcb\xf5\x46\x3e\x66\x98\x53\x9b",
14817                 .len    = 32,
14818         }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.3, Example 2 */
14819                 .key    = "\xfe\xdc\xba\x98\x76\x54\x32\x10"
14820                           "\x01\x23\x45\x67\x89\xab\xcd\xef",
14821                 .klen   = 16,
14822                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14823                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14824                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14825                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14826                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14827                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14828                 .ctext  = "\x5d\xcc\xcd\x25\xa8\x4b\xa1\x65"
14829                           "\x60\xd7\xf2\x65\x88\x70\x68\x49"
14830                           "\x33\xfa\x16\xbd\x5c\xd9\xc8\x56"
14831                           "\xca\xca\xa1\xe1\x01\x89\x7a\x97",
14832                 .len    = 32,
14833         }
14834 };
14835
14836 static const struct cipher_testvec sm4_cfb_tv_template[] = {
14837         { /* From: draft-ribose-cfrg-sm4-02, paragraph 12.2.4 */
14838                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14839                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14840                 .klen   = 16,
14841                 .iv     = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14842                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14843                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14844                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
14845                           "\x01\x23\x45\x67\x89\xab\xcd\xef"
14846                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14847                 .ctext  = "\x69\x3d\x9a\x53\x5b\xad\x5b\xb1"
14848                           "\x78\x6f\x53\xd7\x25\x3a\x70\x56"
14849                           "\x9e\xd2\x58\xa8\x5a\x04\x67\xcc"
14850                           "\x92\xaa\xb3\x93\xdd\x97\x89\x95",
14851                 .len    = 32,
14852         }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.4, Example 1 */
14853                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14854                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14855                 .klen   = 16,
14856                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14857                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14858                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14859                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14860                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14861                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14862                 .ctext  = "\xac\x32\x36\xcb\x86\x1d\xd3\x16"
14863                           "\xe6\x41\x3b\x4e\x3c\x75\x24\xb7"
14864                           "\x69\xd4\xc5\x4e\xd4\x33\xb9\xa0"
14865                           "\x34\x60\x09\xbe\xb3\x7b\x2b\x3f",
14866                 .len    = 32,
14867         }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.4, Example 2 */
14868                 .key    = "\xfe\xdc\xba\x98\x76\x54\x32\x10"
14869                           "\x01\x23\x45\x67\x89\xab\xcd\xef",
14870                 .klen   = 16,
14871                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14872                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14873                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14874                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14875                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14876                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14877                 .ctext  = "\x5d\xcc\xcd\x25\xa8\x4b\xa1\x65"
14878                           "\x60\xd7\xf2\x65\x88\x70\x68\x49"
14879                           "\x0d\x9b\x86\xff\x20\xc3\xbf\xe1"
14880                           "\x15\xff\xa0\x2c\xa6\x19\x2c\xc5",
14881                 .len    = 32,
14882         }
14883 };
14884
14885 static const struct aead_testvec sm4_gcm_tv_template[] = {
14886         { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.1 */
14887                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14888                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14889                 .klen   = 16,
14890                 .iv     = "\x00\x00\x12\x34\x56\x78\x00\x00"
14891                           "\x00\x00\xAB\xCD",
14892                 .ptext  = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
14893                           "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
14894                           "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
14895                           "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
14896                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
14897                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
14898                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
14899                           "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
14900                 .plen   = 64,
14901                 .assoc  = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
14902                           "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
14903                           "\xAB\xAD\xDA\xD2",
14904                 .alen   = 20,
14905                 .ctext  = "\x17\xF3\x99\xF0\x8C\x67\xD5\xEE"
14906                           "\x19\xD0\xDC\x99\x69\xC4\xBB\x7D"
14907                           "\x5F\xD4\x6F\xD3\x75\x64\x89\x06"
14908                           "\x91\x57\xB2\x82\xBB\x20\x07\x35"
14909                           "\xD8\x27\x10\xCA\x5C\x22\xF0\xCC"
14910                           "\xFA\x7C\xBF\x93\xD4\x96\xAC\x15"
14911                           "\xA5\x68\x34\xCB\xCF\x98\xC3\x97"
14912                           "\xB4\x02\x4A\x26\x91\x23\x3B\x8D"
14913                           "\x83\xDE\x35\x41\xE4\xC2\xB5\x81"
14914                           "\x77\xE0\x65\xA9\xBF\x7B\x62\xEC",
14915                 .clen   = 80,
14916         }
14917 };
14918
14919 static const struct aead_testvec sm4_ccm_tv_template[] = {
14920         { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.2 */
14921                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14922                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14923                 .klen   = 16,
14924                 .iv     = "\x02\x00\x00\x12\x34\x56\x78\x00"
14925                           "\x00\x00\x00\xAB\xCD\x00\x00\x00",
14926                 .ptext  = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
14927                           "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
14928                           "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
14929                           "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
14930                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
14931                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
14932                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
14933                           "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
14934                 .plen   = 64,
14935                 .assoc  = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
14936                           "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
14937                           "\xAB\xAD\xDA\xD2",
14938                 .alen   = 20,
14939                 .ctext  = "\x48\xAF\x93\x50\x1F\xA6\x2A\xDB"
14940                           "\xCD\x41\x4C\xCE\x60\x34\xD8\x95"
14941                           "\xDD\xA1\xBF\x8F\x13\x2F\x04\x20"
14942                           "\x98\x66\x15\x72\xE7\x48\x30\x94"
14943                           "\xFD\x12\xE5\x18\xCE\x06\x2C\x98"
14944                           "\xAC\xEE\x28\xD9\x5D\xF4\x41\x6B"
14945                           "\xED\x31\xA2\xF0\x44\x76\xC1\x8B"
14946                           "\xB4\x0C\x84\xA7\x4B\x97\xDC\x5B"
14947                           "\x16\x84\x2D\x4F\xA1\x86\xF5\x6A"
14948                           "\xB3\x32\x56\x97\x1F\xA1\x10\xF4",
14949                 .clen   = 80,
14950         }
14951 };
14952
14953 static const struct hash_testvec sm4_cbcmac_tv_template[] = {
14954         {
14955                 .key            = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
14956                                   "\x77\x66\x55\x44\x33\x22\x11\x00",
14957                 .plaintext      = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14958                                   "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14959                 .digest         = "\x97\xb4\x75\x8f\x84\x92\x3d\x3f"
14960                                   "\x86\x81\x0e\x0e\xea\x14\x6d\x73",
14961                 .psize          = 16,
14962                 .ksize          = 16,
14963         }, {
14964                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14965                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
14966                 .plaintext      = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14967                                   "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
14968                                   "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
14969                                   "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
14970                                   "\xee",
14971                 .digest         = "\xc7\xdb\x17\x71\xa1\x5c\x0d\x22"
14972                                   "\xa3\x39\x3a\x31\x88\x91\x49\xa1",
14973                 .psize          = 33,
14974                 .ksize          = 16,
14975         }, {
14976                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14977                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
14978                 .plaintext      = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
14979                                   "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
14980                                   "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
14981                                   "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
14982                                   "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
14983                                   "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
14984                                   "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
14985                                   "\xfd\xdb\xb1\x9b\x76\x5c\x37",
14986                 .digest         = "\x9b\x07\x88\x7f\xd5\x95\x23\x12"
14987                                   "\x64\x0a\x66\x7f\x4e\x25\xca\xd0",
14988                 .psize          = 63,
14989                 .ksize          = 16,
14990         }
14991 };
14992
14993 static const struct hash_testvec sm4_cmac128_tv_template[] = {
14994         {
14995                 .key            = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
14996                                   "\x77\x66\x55\x44\x33\x22\x11\x00",
14997                 .plaintext      = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14998                                   "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14999                 .digest         = "\x00\xd4\x63\xb4\x9a\xf3\x52\xe2"
15000                                   "\x74\xa9\x00\x55\x13\x54\x2a\xd1",
15001                 .psize          = 16,
15002                 .ksize          = 16,
15003         }, {
15004                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15005                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
15006                 .plaintext      = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
15007                                   "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
15008                                   "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
15009                                   "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
15010                                   "\xee",
15011                 .digest         = "\x8a\x8a\xe9\xc0\xc8\x97\x0e\x85"
15012                                   "\x21\x57\x02\x10\x1a\xbf\x9c\xc6",
15013                 .psize          = 33,
15014                 .ksize          = 16,
15015         }, {
15016                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15017                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
15018                 .plaintext      = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
15019                                   "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
15020                                   "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
15021                                   "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
15022                                   "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
15023                                   "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
15024                                   "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
15025                                   "\xfd\xdb\xb1\x9b\x76\x5c\x37",
15026                 .digest         = "\x5f\x14\xc9\xa9\x20\xb2\xb4\xf0"
15027                                   "\x76\xe0\xd8\xd6\xdc\x4f\xe1\xbc",
15028                 .psize          = 63,
15029                 .ksize          = 16,
15030         }
15031 };
15032
15033 /* Cast6 test vectors from RFC 2612 */
15034 static const struct cipher_testvec cast6_tv_template[] = {
15035         {
15036                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
15037                           "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
15038                 .klen   = 16,
15039                 .ptext  = zeroed_string,
15040                 .ctext  = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
15041                           "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
15042                 .len    = 16,
15043         }, {
15044                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
15045                           "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
15046                           "\xba\xc7\x7a\x77\x17\x94\x28\x63",
15047                 .klen   = 24,
15048                 .ptext  = zeroed_string,
15049                 .ctext  = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
15050                           "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
15051                 .len    = 16,
15052         }, {
15053                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
15054                           "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
15055                           "\x8d\x7c\x47\xce\x26\x49\x08\x46"
15056                           "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
15057                 .klen   = 32,
15058                 .ptext  = zeroed_string,
15059                 .ctext  = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
15060                           "\xc9\x87\x01\x36\x55\x33\x17\xfa",
15061                 .len    = 16,
15062         }, { /* Generated from TF test vectors */
15063                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
15064                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
15065                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
15066                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
15067                 .klen   = 32,
15068                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15069                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
15070                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
15071                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
15072                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
15073                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
15074                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
15075                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
15076                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
15077                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
15078                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
15079                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
15080                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
15081                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
15082                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
15083                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
15084                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
15085                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
15086                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
15087                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
15088                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
15089                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
15090                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
15091                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
15092                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
15093                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
15094                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
15095                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
15096                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
15097                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
15098                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
15099                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
15100                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
15101                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
15102                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
15103                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
15104                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
15105                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
15106                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
15107                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
15108                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
15109                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
15110                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
15111                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
15112                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
15113                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
15114                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
15115                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
15116                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
15117                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
15118                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
15119                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
15120                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
15121                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
15122                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
15123                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
15124                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
15125                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
15126                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
15127                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
15128                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
15129                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
15130                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
15131                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
15132                 .ctext  = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
15133                           "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
15134                           "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
15135                           "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
15136                           "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
15137                           "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
15138                           "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
15139                           "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
15140                           "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
15141                           "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
15142                           "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
15143                           "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
15144                           "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
15145                           "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
15146                           "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
15147                           "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
15148                           "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
15149                           "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
15150                           "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
15151                           "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
15152                           "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
15153                           "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
15154                           "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
15155                           "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
15156                           "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
15157                           "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
15158                           "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
15159                           "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
15160                           "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
15161                           "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
15162                           "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
15163                           "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
15164                           "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
15165                           "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
15166                           "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
15167                           "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
15168                           "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
15169                           "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
15170                           "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
15171                           "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
15172                           "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
15173                           "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
15174                           "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
15175                           "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
15176                           "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
15177                           "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
15178                           "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
15179                           "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
15180                           "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
15181                           "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
15182                           "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
15183                           "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
15184                           "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
15185                           "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
15186                           "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
15187                           "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
15188                           "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
15189                           "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
15190                           "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
15191                           "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
15192                           "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
15193                           "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
15194                 .len    = 496,
15195         },
15196 };
15197
15198 static const struct cipher_testvec cast6_cbc_tv_template[] = {
15199         { /* Generated from TF test vectors */
15200                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
15201                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
15202                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
15203                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
15204                 .klen   = 32,
15205                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15206                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
15207                 .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
15208                           "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
15209                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
15210                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
15211                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
15212                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
15213                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
15214                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
15215                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
15216                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
15217                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
15218                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
15219                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
15220                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
15221                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
15222                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
15223                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
15224                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
15225                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
15226                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
15227                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
15228                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
15229                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
15230                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
15231                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
15232                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
15233                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
15234                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
15235                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
15236                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
15237                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
15238                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
15239                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
15240                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
15241                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
15242                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
15243                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
15244                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
15245                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
15246                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
15247                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
15248                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
15249                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
15250                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
15251                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
15252                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
15253                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
15254                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
15255                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
15256                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
15257                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
15258                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
15259                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
15260                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
15261                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
15262                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
15263                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
15264                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
15265                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
15266                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
15267                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
15268                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
15269                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
15270                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
15271                 .ctext  = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
15272                           "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
15273                           "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
15274                           "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
15275                           "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
15276                           "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
15277                           "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
15278                           "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
15279                           "\x57\x95\xE1\x21\x26\x10\x9A\x21"
15280                           "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
15281                           "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
15282                           "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
15283                           "\x23\x16\x47\x72\x81\x13\x3A\x72"
15284                           "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
15285                           "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
15286                           "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
15287                           "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
15288                           "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
15289                           "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
15290                           "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
15291                           "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
15292                           "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
15293                           "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
15294                           "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
15295                           "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
15296                           "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
15297                           "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
15298                           "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
15299                           "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
15300                           "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
15301                           "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
15302                           "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
15303                           "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
15304                           "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
15305                           "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
15306                           "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
15307                           "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
15308                           "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
15309                           "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
15310                           "\x73\x3F\x12\x91\x47\x54\xBA\x39"
15311                           "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
15312                           "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
15313                           "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
15314                           "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
15315                           "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
15316                           "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
15317                           "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
15318                           "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
15319                           "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
15320                           "\x80\x21\x83\x58\x3C\x76\xFD\x28"
15321                           "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
15322                           "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
15323                           "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
15324                           "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
15325                           "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
15326                           "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
15327                           "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
15328                           "\x56\x4D\x82\x62\x37\xA3\x48\x01"
15329                           "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
15330                           "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
15331                           "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
15332                           "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
15333                 .len    = 496,
15334         },
15335 };
15336
15337 static const struct cipher_testvec cast6_ctr_tv_template[] = {
15338         { /* Generated from TF test vectors */
15339                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
15340                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
15341                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
15342                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
15343                 .klen   = 32,
15344                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15345                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
15346                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15347                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
15348                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
15349                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
15350                           "\x3A",
15351                 .ctext  = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
15352                           "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
15353                           "\x57",
15354                 .len    = 17,
15355         }, { /* Generated from TF test vectors */
15356                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
15357                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
15358                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
15359                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
15360                 .klen   = 32,
15361                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15362                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
15363                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15364                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
15365                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
15366                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
15367                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
15368                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
15369                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
15370                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
15371                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
15372                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
15373                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
15374                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
15375                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
15376                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
15377                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
15378                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
15379                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
15380                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
15381                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
15382                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
15383                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
15384                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
15385                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
15386                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
15387                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
15388                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
15389                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
15390                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
15391                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
15392                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
15393                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
15394                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
15395                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
15396                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
15397                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
15398                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
15399                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
15400                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
15401                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
15402                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
15403                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
15404                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
15405                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
15406                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
15407                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
15408                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
15409                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
15410                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
15411                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
15412                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
15413                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
15414                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
15415                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
15416                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
15417                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
15418                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
15419                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
15420                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
15421                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
15422                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
15423                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
15424                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
15425                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
15426                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
15427                 .ctext  = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
15428                           "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
15429                           "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
15430                           "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
15431                           "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
15432                           "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
15433                           "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
15434                           "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
15435                           "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
15436                           "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
15437                           "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
15438                           "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
15439                           "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
15440                           "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
15441                           "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
15442                           "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
15443                           "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
15444                           "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
15445                           "\x49\x61\x22\x52\x64\x8C\x46\x41"
15446                           "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
15447                           "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
15448                           "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
15449                           "\x00\x14\x15\x59\xC1\x30\x64\xAF"
15450                           "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
15451                           "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
15452                           "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
15453                           "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
15454                           "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
15455                           "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
15456                           "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
15457                           "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
15458                           "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
15459                           "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
15460                           "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
15461                           "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
15462                           "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
15463                           "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
15464                           "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
15465                           "\x60\x40\x38\x90\x20\x46\xC7\xB3"
15466                           "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
15467                           "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
15468                           "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
15469                           "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
15470                           "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
15471                           "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
15472                           "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
15473                           "\x73\xFC\x91\xAB\x79\x41\x23\x14"
15474                           "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
15475                           "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
15476                           "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
15477                           "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
15478                           "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
15479                           "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
15480                           "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
15481                           "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
15482                           "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
15483                           "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
15484                           "\x19\x35\x88\x22\x45\x59\x0E\x8F"
15485                           "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
15486                           "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
15487                           "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
15488                           "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
15489                 .len    = 496,
15490         },
15491 };
15492
15493 static const struct cipher_testvec cast6_lrw_tv_template[] = {
15494         { /* Generated from TF test vectors */
15495                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
15496                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
15497                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
15498                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
15499                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
15500                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
15501                 .klen   = 48,
15502                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
15503                           "\x00\x00\x00\x00\x00\x00\x00\x01",
15504                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
15505                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
15506                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
15507                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
15508                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
15509                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
15510                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
15511                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
15512                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
15513                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
15514                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
15515                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
15516                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
15517                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
15518                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
15519                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
15520                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
15521                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
15522                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
15523                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
15524                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
15525                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
15526                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
15527                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
15528                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
15529                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
15530                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
15531                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
15532                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
15533                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
15534                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
15535                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
15536                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
15537                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
15538                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
15539                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
15540                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
15541                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
15542                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
15543                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
15544                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
15545                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
15546                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
15547                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
15548                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
15549                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
15550                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
15551                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
15552                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
15553                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
15554                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
15555                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
15556                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
15557                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
15558                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
15559                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
15560                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
15561                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
15562                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
15563                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
15564                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
15565                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
15566                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
15567                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
15568                 .ctext  = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
15569                           "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
15570                           "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
15571                           "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
15572                           "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
15573                           "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
15574                           "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
15575                           "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
15576                           "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
15577                           "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
15578                           "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
15579                           "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
15580                           "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
15581                           "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
15582                           "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
15583                           "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
15584                           "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
15585                           "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
15586                           "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
15587                           "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
15588                           "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
15589                           "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
15590                           "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
15591                           "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
15592                           "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
15593                           "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
15594                           "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
15595                           "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
15596                           "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
15597                           "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
15598                           "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
15599                           "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
15600                           "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
15601                           "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
15602                           "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
15603                           "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
15604                           "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
15605                           "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
15606                           "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
15607                           "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
15608                           "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
15609                           "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
15610                           "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
15611                           "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
15612                           "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
15613                           "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
15614                           "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
15615                           "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
15616                           "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
15617                           "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
15618                           "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
15619                           "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
15620                           "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
15621                           "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
15622                           "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
15623                           "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
15624                           "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
15625                           "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
15626                           "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
15627                           "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
15628                           "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
15629                           "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
15630                           "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
15631                           "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
15632                 .len    = 512,
15633         },
15634 };
15635
15636 static const struct cipher_testvec cast6_xts_tv_template[] = {
15637         { /* Generated from TF test vectors */
15638                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
15639                           "\x23\x53\x60\x28\x74\x71\x35\x26"
15640                           "\x62\x49\x77\x57\x24\x70\x93\x69"
15641                           "\x99\x59\x57\x49\x66\x96\x76\x27"
15642                           "\x31\x41\x59\x26\x53\x58\x97\x93"
15643                           "\x23\x84\x62\x64\x33\x83\x27\x95"
15644                           "\x02\x88\x41\x97\x16\x93\x99\x37"
15645                           "\x51\x05\x82\x09\x74\x94\x45\x92",
15646                 .klen   = 64,
15647                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
15648                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15649                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15650                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15651                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15652                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15653                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15654                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15655                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15656                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15657                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15658                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15659                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15660                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15661                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15662                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15663                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15664                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15665                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15666                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15667                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15668                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15669                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15670                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15671                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15672                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15673                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15674                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15675                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15676                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15677                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15678                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15679                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15680                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15681                           "\x00\x01\x02\x03\x04\x05\x06\x07"
15682                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15683                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15684                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15685                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15686                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15687                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15688                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15689                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15690                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15691                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15692                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15693                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15694                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15695                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15696                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15697                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15698                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15699                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15700                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15701                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15702                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15703                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15704                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15705                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15706                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15707                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15708                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15709                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15710                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15711                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15712                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15713                 .ctext  = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
15714                           "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
15715                           "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
15716                           "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
15717                           "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
15718                           "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
15719                           "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
15720                           "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
15721                           "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
15722                           "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
15723                           "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
15724                           "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
15725                           "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
15726                           "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
15727                           "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
15728                           "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
15729                           "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
15730                           "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
15731                           "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
15732                           "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
15733                           "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
15734                           "\x71\x38\x17\x91\x44\xE8\xFC\x65"
15735                           "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
15736                           "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
15737                           "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
15738                           "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
15739                           "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
15740                           "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
15741                           "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
15742                           "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
15743                           "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
15744                           "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
15745                           "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
15746                           "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
15747                           "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
15748                           "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
15749                           "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
15750                           "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
15751                           "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15752                           "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15753                           "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15754                           "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15755                           "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15756                           "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15757                           "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15758                           "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15759                           "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15760                           "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15761                           "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15762                           "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15763                           "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15764                           "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15765                           "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15766                           "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15767                           "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15768                           "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15769                           "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15770                           "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15771                           "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15772                           "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15773                           "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15774                           "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15775                           "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15776                           "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15777                 .len    = 512,
15778         },
15779 };
15780
15781 /*
15782  * AES test vectors.
15783  */
15784 static const struct cipher_testvec aes_tv_template[] = {
15785         { /* From FIPS-197 */
15786                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
15787                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15788                 .klen   = 16,
15789                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
15790                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15791                 .ctext  = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15792                           "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15793                 .len    = 16,
15794         }, {
15795                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
15796                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15797                           "\x10\x11\x12\x13\x14\x15\x16\x17",
15798                 .klen   = 24,
15799                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
15800                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15801                 .ctext  = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15802                           "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15803                 .len    = 16,
15804         }, {
15805                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
15806                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15807                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15808                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15809                 .klen   = 32,
15810                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
15811                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15812                 .ctext  = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15813                           "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15814                 .len    = 16,
15815         }, { /* Generated with Crypto++ */
15816                 .key    = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15817                           "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15818                           "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15819                           "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15820                 .klen   = 32,
15821                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15822                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15823                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15824                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15825                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15826                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15827                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15828                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15829                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15830                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15831                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15832                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15833                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15834                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15835                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15836                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15837                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15838                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15839                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15840                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15841                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15842                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15843                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15844                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15845                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15846                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15847                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15848                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15849                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15850                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15851                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15852                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15853                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15854                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15855                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15856                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15857                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15858                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15859                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15860                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15861                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15862                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15863                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15864                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15865                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15866                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15867                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15868                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15869                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15870                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15871                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15872                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15873                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15874                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15875                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15876                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15877                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15878                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15879                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15880                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15881                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15882                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15883                 .ctext  = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15884                           "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15885                           "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15886                           "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15887                           "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15888                           "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15889                           "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15890                           "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15891                           "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15892                           "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15893                           "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15894                           "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15895                           "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15896                           "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15897                           "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15898                           "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15899                           "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15900                           "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15901                           "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15902                           "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15903                           "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15904                           "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15905                           "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15906                           "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15907                           "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15908                           "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15909                           "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15910                           "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15911                           "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15912                           "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15913                           "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15914                           "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15915                           "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15916                           "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15917                           "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15918                           "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15919                           "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15920                           "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15921                           "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15922                           "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15923                           "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15924                           "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15925                           "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15926                           "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15927                           "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15928                           "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15929                           "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15930                           "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15931                           "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15932                           "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15933                           "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15934                           "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15935                           "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15936                           "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15937                           "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15938                           "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15939                           "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15940                           "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15941                           "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15942                           "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15943                           "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15944                           "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15945                 .len    = 496,
15946         },
15947 };
15948
15949 static const struct cipher_testvec aes_cbc_tv_template[] = {
15950         { /* From RFC 3602 */
15951                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15952                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15953                 .klen   = 16,
15954                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15955                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15956                 .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15957                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15958                 .ptext  = "Single block msg",
15959                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15960                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15961                 .len    = 16,
15962         }, {
15963                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15964                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15965                 .klen   = 16,
15966                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15967                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15968                 .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15969                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15970                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15971                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15972                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15973                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15974                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15975                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15976                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15977                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15978                 .len    = 32,
15979         }, { /* From NIST SP800-38A */
15980                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15981                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15982                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15983                 .klen   = 24,
15984                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
15985                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15986                 .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15987                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15988                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15989                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15990                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15991                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15992                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15993                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15994                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15995                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15996                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15997                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15998                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15999                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16000                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16001                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16002                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16003                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
16004                 .len    = 64,
16005         }, {
16006                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16007                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16008                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16009                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16010                 .klen   = 32,
16011                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16012                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16013                 .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16014                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
16015                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16016                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16017                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16018                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16019                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16020                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16021                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16022                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16023                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16024                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16025                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16026                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16027                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16028                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16029                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16030                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
16031                 .len    = 64,
16032         }, { /* Generated with Crypto++ */
16033                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
16034                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
16035                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
16036                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
16037                 .klen   = 32,
16038                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
16039                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
16040                 .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
16041                           "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
16042                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16043                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16044                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16045                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16046                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16047                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16048                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16049                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16050                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16051                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16052                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16053                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16054                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16055                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16056                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16057                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16058                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16059                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16060                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16061                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16062                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16063                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16064                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16065                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16066                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16067                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16068                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16069                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16070                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16071                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16072                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16073                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16074                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16075                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16076                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16077                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16078                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16079                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16080                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16081                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16082                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16083                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16084                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16085                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16086                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16087                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16088                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16089                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16090                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16091                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16092                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16093                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16094                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16095                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16096                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16097                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16098                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16099                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16100                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16101                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16102                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16103                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16104                 .ctext  = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
16105                           "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
16106                           "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
16107                           "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
16108                           "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
16109                           "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
16110                           "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
16111                           "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
16112                           "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
16113                           "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
16114                           "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
16115                           "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
16116                           "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
16117                           "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
16118                           "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
16119                           "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
16120                           "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
16121                           "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
16122                           "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
16123                           "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
16124                           "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
16125                           "\x16\x24\x02\x07\x48\xAE\xF2\x31"
16126                           "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
16127                           "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
16128                           "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
16129                           "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
16130                           "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
16131                           "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
16132                           "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
16133                           "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
16134                           "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
16135                           "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
16136                           "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
16137                           "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
16138                           "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
16139                           "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
16140                           "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
16141                           "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
16142                           "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
16143                           "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
16144                           "\x22\x39\x7B\x16\x03\x01\x69\xAF"
16145                           "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
16146                           "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
16147                           "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
16148                           "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
16149                           "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
16150                           "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
16151                           "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
16152                           "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
16153                           "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
16154                           "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
16155                           "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
16156                           "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
16157                           "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
16158                           "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
16159                           "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
16160                           "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
16161                           "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
16162                           "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
16163                           "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
16164                           "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
16165                           "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
16166                 .len    = 496,
16167         },
16168 };
16169
16170 static const struct cipher_testvec aes_cfb_tv_template[] = {
16171         { /* From NIST SP800-38A */
16172                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
16173                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
16174                 .klen   = 16,
16175                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16176                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16177                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16178                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16179                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16180                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16181                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16182                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16183                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16184                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16185                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
16186                           "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
16187                           "\xc8\xa6\x45\x37\xa0\xb3\xa9\x3f"
16188                           "\xcd\xe3\xcd\xad\x9f\x1c\xe5\x8b"
16189                           "\x26\x75\x1f\x67\xa3\xcb\xb1\x40"
16190                           "\xb1\x80\x8c\xf1\x87\xa4\xf4\xdf"
16191                           "\xc0\x4b\x05\x35\x7c\x5d\x1c\x0e"
16192                           "\xea\xc4\xc6\x6f\x9f\xf7\xf2\xe6",
16193                 .len    = 64,
16194         }, {
16195                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16196                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16197                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16198                 .klen   = 24,
16199                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16200                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16201                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16202                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16203                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16204                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16205                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16206                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16207                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16208                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16209                 .ctext  = "\xcd\xc8\x0d\x6f\xdd\xf1\x8c\xab"
16210                           "\x34\xc2\x59\x09\xc9\x9a\x41\x74"
16211                           "\x67\xce\x7f\x7f\x81\x17\x36\x21"
16212                           "\x96\x1a\x2b\x70\x17\x1d\x3d\x7a"
16213                           "\x2e\x1e\x8a\x1d\xd5\x9b\x88\xb1"
16214                           "\xc8\xe6\x0f\xed\x1e\xfa\xc4\xc9"
16215                           "\xc0\x5f\x9f\x9c\xa9\x83\x4f\xa0"
16216                           "\x42\xae\x8f\xba\x58\x4b\x09\xff",
16217                 .len    = 64,
16218         }, {
16219                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16220                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16221                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16222                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16223                 .klen   = 32,
16224                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16225                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16226                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16227                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16228                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16229                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16230                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16231                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16232                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16233                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16234                 .ctext  = "\xdc\x7e\x84\xbf\xda\x79\x16\x4b"
16235                           "\x7e\xcd\x84\x86\x98\x5d\x38\x60"
16236                           "\x39\xff\xed\x14\x3b\x28\xb1\xc8"
16237                           "\x32\x11\x3c\x63\x31\xe5\x40\x7b"
16238                           "\xdf\x10\x13\x24\x15\xe5\x4b\x92"
16239                           "\xa1\x3e\xd0\xa8\x26\x7a\xe2\xf9"
16240                           "\x75\xa3\x85\x74\x1a\xb9\xce\xf8"
16241                           "\x20\x31\x62\x3d\x55\xb1\xe4\x71",
16242                 .len    = 64,
16243         }, { /* > 16 bytes, not a multiple of 16 bytes */
16244                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
16245                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
16246                 .klen   = 16,
16247                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16248                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16249                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16250                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16251                           "\xae",
16252                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
16253                           "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
16254                           "\xc8",
16255                 .len    = 17,
16256         }, { /* < 16 bytes */
16257                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
16258                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
16259                 .klen   = 16,
16260                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16261                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16262                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
16263                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
16264                 .len    = 7,
16265         },
16266 };
16267
16268 static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
16269         { /* Input data from RFC 2410 Case 1 */
16270 #ifdef __LITTLE_ENDIAN
16271                 .key    = "\x08\x00"            /* rta length */
16272                           "\x01\x00"            /* rta type */
16273 #else
16274                 .key    = "\x00\x08"            /* rta length */
16275                           "\x00\x01"            /* rta type */
16276 #endif
16277                           "\x00\x00\x00\x00"    /* enc key length */
16278                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16279                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16280                 .klen   = 8 + 16 + 0,
16281                 .iv     = "",
16282                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16283                 .plen   = 8,
16284                 .ctext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16285                           "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16286                           "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16287                 .clen   = 8 + 16,
16288         }, { /* Input data from RFC 2410 Case 2 */
16289 #ifdef __LITTLE_ENDIAN
16290                 .key    = "\x08\x00"            /* rta length */
16291                           "\x01\x00"            /* rta type */
16292 #else
16293                 .key    = "\x00\x08"            /* rta length */
16294                           "\x00\x01"            /* rta type */
16295 #endif
16296                           "\x00\x00\x00\x00"    /* enc key length */
16297                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16298                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16299                 .klen   = 8 + 16 + 0,
16300                 .iv     = "",
16301                 .ptext  = "Network Security People Have A Strange Sense Of Humor",
16302                 .plen   = 53,
16303                 .ctext  = "Network Security People Have A Strange Sense Of Humor"
16304                           "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
16305                           "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
16306                 .clen   = 53 + 16,
16307         },
16308 };
16309
16310 static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
16311         { /* RFC 3602 Case 1 */
16312 #ifdef __LITTLE_ENDIAN
16313                 .key    = "\x08\x00"            /* rta length */
16314                           "\x01\x00"            /* rta type */
16315 #else
16316                 .key    = "\x00\x08"            /* rta length */
16317                           "\x00\x01"            /* rta type */
16318 #endif
16319                           "\x00\x00\x00\x10"    /* enc key length */
16320                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16321                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16322                           "\x00\x00\x00\x00"
16323                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16324                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16325                 .klen   = 8 + 20 + 16,
16326                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16327                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16328                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16329                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16330                 .alen   = 16,
16331                 .ptext  = "Single block msg",
16332                 .plen   = 16,
16333                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16334                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16335                           "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
16336                           "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
16337                           "\x03\x71\xa2\x06",
16338                 .clen   = 16 + 20,
16339         }, { /* RFC 3602 Case 2 */
16340 #ifdef __LITTLE_ENDIAN
16341                 .key    = "\x08\x00"            /* rta length */
16342                           "\x01\x00"            /* rta type */
16343 #else
16344                 .key    = "\x00\x08"            /* rta length */
16345                           "\x00\x01"            /* rta type */
16346 #endif
16347                           "\x00\x00\x00\x10"    /* enc key length */
16348                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16349                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16350                           "\x30\x31\x32\x33"
16351                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16352                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16353                 .klen   = 8 + 20 + 16,
16354                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16355                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16356                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16357                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16358                 .alen   = 16,
16359                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16360                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16361                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16362                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16363                 .plen   = 32,
16364                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16365                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16366                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16367                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16368                           "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
16369                           "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
16370                           "\x65\x39\xf8\xde",
16371                 .clen   = 32 + 20,
16372         }, { /* RFC 3602 Case 3 */
16373 #ifdef __LITTLE_ENDIAN
16374                 .key    = "\x08\x00"            /* rta length */
16375                           "\x01\x00"            /* rta type */
16376 #else
16377                 .key    = "\x00\x08"            /* rta length */
16378                           "\x00\x01"            /* rta type */
16379 #endif
16380                           "\x00\x00\x00\x10"    /* enc key length */
16381                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16382                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16383                           "\x22\x33\x44\x55"
16384                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16385                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16386                 .klen   = 8 + 20 + 16,
16387                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16388                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16389                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16390                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16391                 .alen   = 16,
16392                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
16393                 .plen   = 48,
16394                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16395                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16396                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16397                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16398                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16399                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
16400                           "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
16401                           "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
16402                           "\x8d\x62\xf2\x1e",
16403                 .clen   = 48 + 20,
16404         }, { /* RFC 3602 Case 4 */
16405 #ifdef __LITTLE_ENDIAN
16406                 .key    = "\x08\x00"            /* rta length */
16407                           "\x01\x00"            /* rta type */
16408 #else
16409                 .key    = "\x00\x08"            /* rta length */
16410                           "\x00\x01"            /* rta type */
16411 #endif
16412                           "\x00\x00\x00\x10"    /* enc key length */
16413                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16414                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16415                           "\x22\x33\x44\x55"
16416                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16417                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16418                 .klen   = 8 + 20 + 16,
16419                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16420                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16421                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16422                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16423                 .alen   = 16,
16424                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16425                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16426                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16427                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16428                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16429                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16430                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16431                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16432                 .plen   = 64,
16433                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16434                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16435                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16436                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16437                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16438                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16439                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16440                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16441                           "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
16442                           "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
16443                           "\x1d\xbe\xc6\xe9",
16444                 .clen   = 64 + 20,
16445         }, { /* RFC 3602 Case 5 */
16446 #ifdef __LITTLE_ENDIAN
16447                 .key    = "\x08\x00"            /* rta length */
16448                           "\x01\x00"            /* rta type */
16449 #else
16450                 .key    = "\x00\x08"            /* rta length */
16451                           "\x00\x01"            /* rta type */
16452 #endif
16453                           "\x00\x00\x00\x10"    /* enc key length */
16454                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16455                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16456                           "\x22\x33\x44\x55"
16457                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16458                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16459                 .klen   = 8 + 20 + 16,
16460                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16461                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16462                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16463                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16464                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16465                 .alen   = 24,
16466                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16467                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16468                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16469                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16470                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16471                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16472                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16473                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16474                           "\x01\x02\x03\x04\x05\x06\x07\x08"
16475                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16476                 .plen   = 80,
16477                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16478                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16479                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16480                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16481                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16482                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16483                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16484                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16485                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16486                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16487                           "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
16488                           "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
16489                           "\x85\xe1\x59\xf7",
16490                 .clen   = 80 + 20,
16491        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16492 #ifdef __LITTLE_ENDIAN
16493                 .key    = "\x08\x00"            /* rta length */
16494                           "\x01\x00"            /* rta type */
16495 #else
16496                 .key    = "\x00\x08"            /* rta length */
16497                           "\x00\x01"            /* rta type */
16498 #endif
16499                           "\x00\x00\x00\x18"    /* enc key length */
16500                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16501                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16502                           "\x22\x33\x44\x55"
16503                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16504                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16505                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16506                 .klen   = 8 + 20 + 24,
16507                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16508                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16509                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16510                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16511                 .alen   = 16,
16512                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16513                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16514                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16515                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16516                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16517                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16518                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16519                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16520                 .plen   = 64,
16521                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16522                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16523                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16524                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16525                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16526                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16527                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16528                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16529                           "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
16530                           "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
16531                           "\x47\x4c\xfc\x36",
16532                 .clen   = 64 + 20,
16533         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16534 #ifdef __LITTLE_ENDIAN
16535                 .key    = "\x08\x00"            /* rta length */
16536                           "\x01\x00"            /* rta type */
16537 #else
16538                 .key    = "\x00\x08"            /* rta length */
16539                           "\x00\x01"            /* rta type */
16540 #endif
16541                           "\x00\x00\x00\x20"    /* enc key length */
16542                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16543                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16544                           "\x22\x33\x44\x55"
16545                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16546                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16547                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16548                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16549                 .klen   = 8 + 20 + 32,
16550                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16551                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16552                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16553                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16554                 .alen   = 16,
16555                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16556                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16557                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16558                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16559                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16560                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16561                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16562                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16563                 .plen   = 64,
16564                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16565                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16566                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16567                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16568                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16569                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16570                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16571                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16572                           "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
16573                           "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
16574                           "\x51\xee\xd6\x4e",
16575                 .clen   = 64 + 20,
16576         },
16577 };
16578
16579 static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
16580         { /* Input data from RFC 2410 Case 1 */
16581 #ifdef __LITTLE_ENDIAN
16582                 .key    = "\x08\x00"            /* rta length */
16583                           "\x01\x00"            /* rta type */
16584 #else
16585                 .key    = "\x00\x08"            /* rta length */
16586                           "\x00\x01"            /* rta type */
16587 #endif
16588                           "\x00\x00\x00\x00"    /* enc key length */
16589                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16590                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16591                           "\x00\x00\x00\x00",
16592                 .klen   = 8 + 20 + 0,
16593                 .iv     = "",
16594                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16595                 .plen   = 8,
16596                 .ctext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16597                           "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16598                           "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16599                           "\x8c\x5e\xe4\x08",
16600                 .clen   = 8 + 20,
16601         }, { /* Input data from RFC 2410 Case 2 */
16602 #ifdef __LITTLE_ENDIAN
16603                 .key    = "\x08\x00"            /* rta length */
16604                           "\x01\x00"            /* rta type */
16605 #else
16606                 .key    = "\x00\x08"            /* rta length */
16607                           "\x00\x01"            /* rta type */
16608 #endif
16609                           "\x00\x00\x00\x00"    /* enc key length */
16610                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16611                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16612                           "\x00\x00\x00\x00",
16613                 .klen   = 8 + 20 + 0,
16614                 .iv     = "",
16615                 .ptext  = "Network Security People Have A Strange Sense Of Humor",
16616                 .plen   = 53,
16617                 .ctext  = "Network Security People Have A Strange Sense Of Humor"
16618                           "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16619                           "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16620                           "\x91\x56\xe4\xd6",
16621                 .clen   = 53 + 20,
16622         },
16623 };
16624
16625 static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
16626         { /* RFC 3602 Case 1 */
16627 #ifdef __LITTLE_ENDIAN
16628                 .key    = "\x08\x00"            /* rta length */
16629                           "\x01\x00"            /* rta type */
16630 #else
16631                 .key    = "\x00\x08"            /* rta length */
16632                           "\x00\x01"            /* rta type */
16633 #endif
16634                           "\x00\x00\x00\x10"    /* enc key length */
16635                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16636                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16637                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16638                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16639                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16640                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16641                 .klen   = 8 + 32 + 16,
16642                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16643                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16644                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16645                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16646                 .alen   = 16,
16647                 .ptext  = "Single block msg",
16648                 .plen   = 16,
16649                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16650                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16651                           "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
16652                           "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
16653                           "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
16654                           "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
16655                 .clen   = 16 + 32,
16656         }, { /* RFC 3602 Case 2 */
16657 #ifdef __LITTLE_ENDIAN
16658                 .key    = "\x08\x00"            /* rta length */
16659                           "\x01\x00"            /* rta type */
16660 #else
16661                 .key    = "\x00\x08"            /* rta length */
16662                           "\x00\x01"            /* rta type */
16663 #endif
16664                           "\x00\x00\x00\x10"    /* enc key length */
16665                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16666                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16667                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16668                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16669                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16670                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16671                 .klen   = 8 + 32 + 16,
16672                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16673                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16674                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16675                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16676                 .alen   = 16,
16677                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16678                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16679                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16680                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16681                 .plen   = 32,
16682                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16683                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16684                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16685                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16686                           "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
16687                           "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
16688                           "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
16689                           "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
16690                 .clen   = 32 + 32,
16691         }, { /* RFC 3602 Case 3 */
16692 #ifdef __LITTLE_ENDIAN
16693                 .key    = "\x08\x00"            /* rta length */
16694                           "\x01\x00"            /* rta type */
16695 #else
16696                 .key    = "\x00\x08"            /* rta length */
16697                           "\x00\x01"            /* rta type */
16698 #endif
16699                           "\x00\x00\x00\x10"    /* enc key length */
16700                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16701                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16702                           "\x22\x33\x44\x55\x66\x77\x88\x99"
16703                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16704                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16705                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16706                 .klen   = 8 + 32 + 16,
16707                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16708                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16709                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16710                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16711                 .alen   = 16,
16712                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
16713                 .plen   = 48,
16714                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16715                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16716                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16717                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16718                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16719                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
16720                           "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
16721                           "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
16722                           "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
16723                           "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
16724                 .clen   = 48 + 32,
16725         }, { /* RFC 3602 Case 4 */
16726 #ifdef __LITTLE_ENDIAN
16727                 .key    = "\x08\x00"            /* rta length */
16728                           "\x01\x00"            /* rta type */
16729 #else
16730                 .key    = "\x00\x08"            /* rta length */
16731                           "\x00\x01"            /* rta type */
16732 #endif
16733                           "\x00\x00\x00\x10"    /* enc key length */
16734                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16735                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16736                           "\x22\x33\x44\x55\x66\x77\x88\x99"
16737                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16738                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16739                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16740                 .klen   = 8 + 32 + 16,
16741                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16742                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16743                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16744                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16745                 .alen   = 16,
16746                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16747                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16748                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16749                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16750                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16751                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16752                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16753                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16754                 .plen   = 64,
16755                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16756                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16757                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16758                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16759                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16760                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16761                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16762                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16763                           "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
16764                           "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
16765                           "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
16766                           "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
16767                 .clen   = 64 + 32,
16768         }, { /* RFC 3602 Case 5 */
16769 #ifdef __LITTLE_ENDIAN
16770                 .key    = "\x08\x00"            /* rta length */
16771                           "\x01\x00"            /* rta type */
16772 #else
16773                 .key    = "\x00\x08"            /* rta length */
16774                           "\x00\x01"            /* rta type */
16775 #endif
16776                           "\x00\x00\x00\x10"    /* enc key length */
16777                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16778                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16779                           "\x22\x33\x44\x55\x66\x77\x88\x99"
16780                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16781                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16782                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16783                 .klen   = 8 + 32 + 16,
16784                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16785                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16786                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16787                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16788                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16789                 .alen   = 24,
16790                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16791                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16792                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16793                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16794                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16795                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16796                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16797                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16798                           "\x01\x02\x03\x04\x05\x06\x07\x08"
16799                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16800                 .plen   = 80,
16801                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16802                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16803                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16804                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16805                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16806                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16807                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16808                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16809                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16810                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16811                           "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
16812                           "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
16813                           "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
16814                           "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
16815                 .clen   = 80 + 32,
16816        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16817 #ifdef __LITTLE_ENDIAN
16818                 .key    = "\x08\x00"            /* rta length */
16819                           "\x01\x00"            /* rta type */
16820 #else
16821                 .key    = "\x00\x08"            /* rta length */
16822                           "\x00\x01"            /* rta type */
16823 #endif
16824                           "\x00\x00\x00\x18"    /* enc key length */
16825                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16826                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16827                           "\x22\x33\x44\x55\x66\x77\x88\x99"
16828                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16829                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16830                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16831                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16832                 .klen   = 8 + 32 + 24,
16833                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16834                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16835                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16836                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16837                 .alen   = 16,
16838                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16839                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16840                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16841                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16842                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16843                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16844                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16845                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16846                 .plen   = 64,
16847                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16848                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16849                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16850                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16851                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16852                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16853                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16854                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16855                           "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
16856                           "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
16857                           "\xca\x71\x85\x93\xf7\x85\x55\x8b"
16858                           "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
16859                 .clen   = 64 + 32,
16860         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16861 #ifdef __LITTLE_ENDIAN
16862                 .key    = "\x08\x00"            /* rta length */
16863                           "\x01\x00"            /* rta type */
16864 #else
16865                 .key    = "\x00\x08"            /* rta length */
16866                           "\x00\x01"            /* rta type */
16867 #endif
16868                           "\x00\x00\x00\x20"    /* enc key length */
16869                           "\x11\x22\x33\x44\x55\x66\x77\x88"
16870                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16871                           "\x22\x33\x44\x55\x66\x77\x88\x99"
16872                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16873                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16874                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16875                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16876                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16877                 .klen   = 8 + 32 + 32,
16878                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16879                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16880                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16881                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16882                 .alen   = 16,
16883                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16884                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16885                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16886                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16887                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16888                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16889                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16890                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16891                 .plen   = 64,
16892                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16893                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16894                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16895                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16896                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16897                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16898                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16899                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16900                           "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
16901                           "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
16902                           "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
16903                           "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
16904                 .clen   = 64 + 32,
16905         },
16906 };
16907
16908 static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
16909         { /* RFC 3602 Case 1 */
16910 #ifdef __LITTLE_ENDIAN
16911                 .key    = "\x08\x00"            /* rta length */
16912                           "\x01\x00"            /* rta type */
16913 #else
16914                 .key    = "\x00\x08"            /* rta length */
16915                           "\x00\x01"            /* rta type */
16916 #endif
16917                           "\x00\x00\x00\x10"    /* enc key length */
16918                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16919                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16920                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16921                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16922                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16923                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16924                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16925                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16926                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16927                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16928                 .klen   = 8 + 64 + 16,
16929                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16930                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16931                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16932                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16933                 .alen   = 16,
16934                 .ptext  = "Single block msg",
16935                 .plen   = 16,
16936                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16937                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16938                           "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
16939                           "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
16940                           "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
16941                           "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
16942                           "\xec\xbd\x50\x08\x07\x64\x1a\x49"
16943                           "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
16944                           "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
16945                           "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
16946                 .clen   = 16 + 64,
16947         }, { /* RFC 3602 Case 2 */
16948 #ifdef __LITTLE_ENDIAN
16949                 .key    = "\x08\x00"            /* rta length */
16950                           "\x01\x00"            /* rta type */
16951 #else
16952                 .key    = "\x00\x08"            /* rta length */
16953                           "\x00\x01"            /* rta type */
16954 #endif
16955                           "\x00\x00\x00\x10"    /* enc key length */
16956                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16957                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16958                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16959                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16960                           "\x40\x41\x42\x43\x44\x45\x46\x47"
16961                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16962                           "\x50\x51\x52\x53\x54\x55\x56\x57"
16963                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16964                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16965                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16966                 .klen   = 8 + 64 + 16,
16967                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16968                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16969                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16970                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16971                 .alen   = 16,
16972                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16973                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16974                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16975                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16976                 .plen   = 32,
16977                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16978                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16979                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16980                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16981                           "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
16982                           "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
16983                           "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
16984                           "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
16985                           "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
16986                           "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
16987                           "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
16988                           "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
16989                 .clen   = 32 + 64,
16990         }, { /* RFC 3602 Case 3 */
16991 #ifdef __LITTLE_ENDIAN
16992                 .key    = "\x08\x00"            /* rta length */
16993                           "\x01\x00"            /* rta type */
16994 #else
16995                 .key    = "\x00\x08"            /* rta length */
16996                           "\x00\x01"            /* rta type */
16997 #endif
16998                           "\x00\x00\x00\x10"    /* enc key length */
16999                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17000                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17001                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17002                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17003                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17004                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17005                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17006                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17007                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
17008                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
17009                 .klen   = 8 + 64 + 16,
17010                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17011                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17012                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17013                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17014                 .alen   = 16,
17015                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
17016                 .plen   = 48,
17017                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
17018                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
17019                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
17020                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
17021                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
17022                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
17023                           "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
17024                           "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
17025                           "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
17026                           "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
17027                           "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
17028                           "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
17029                           "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
17030                           "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
17031                 .clen   = 48 + 64,
17032         }, { /* RFC 3602 Case 4 */
17033 #ifdef __LITTLE_ENDIAN
17034                 .key    = "\x08\x00"            /* rta length */
17035                           "\x01\x00"            /* rta type */
17036 #else
17037                 .key    = "\x00\x08"            /* rta length */
17038                           "\x00\x01"            /* rta type */
17039 #endif
17040                           "\x00\x00\x00\x10"    /* enc key length */
17041                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17042                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17043                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17044                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17045                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17046                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17047                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17048                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17049                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
17050                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
17051                 .klen   = 8 + 64 + 16,
17052                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17053                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17054                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17055                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17056                 .alen   = 16,
17057                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17058                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17059                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17060                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17061                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17062                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17063                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17064                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
17065                 .plen   = 64,
17066                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
17067                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
17068                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
17069                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
17070                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
17071                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
17072                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
17073                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
17074                           "\x82\xcd\x42\x28\x21\x20\x15\xcc"
17075                           "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
17076                           "\x61\x32\x82\x85\xcf\x27\xed\xb4"
17077                           "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
17078                           "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
17079                           "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
17080                           "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
17081                           "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
17082                 .clen   = 64 + 64,
17083         }, { /* RFC 3602 Case 5 */
17084 #ifdef __LITTLE_ENDIAN
17085                 .key    = "\x08\x00"            /* rta length */
17086                           "\x01\x00"            /* rta type */
17087 #else
17088                 .key    = "\x00\x08"            /* rta length */
17089                           "\x00\x01"            /* rta type */
17090 #endif
17091                           "\x00\x00\x00\x10"    /* enc key length */
17092                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17093                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17094                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17095                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17096                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17097                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17098                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17099                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17100                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
17101                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
17102                 .klen   = 8 + 64 + 16,
17103                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17104                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17105                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17106                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17107                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17108                 .alen   = 24,
17109                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
17110                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
17111                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17112                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17113                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17114                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17115                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17116                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17117                           "\x01\x02\x03\x04\x05\x06\x07\x08"
17118                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
17119                 .plen   = 80,
17120                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
17121                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
17122                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
17123                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
17124                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
17125                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
17126                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
17127                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
17128                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
17129                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
17130                           "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
17131                           "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
17132                           "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
17133                           "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
17134                           "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
17135                           "\x92\x26\xc1\x76\x20\x11\xeb\xba"
17136                           "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
17137                           "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
17138                 .clen   = 80 + 64,
17139        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
17140 #ifdef __LITTLE_ENDIAN
17141                 .key    = "\x08\x00"            /* rta length */
17142                           "\x01\x00"            /* rta type */
17143 #else
17144                 .key    = "\x00\x08"            /* rta length */
17145                           "\x00\x01"            /* rta type */
17146 #endif
17147                           "\x00\x00\x00\x18"    /* enc key length */
17148                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17149                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17150                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17151                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17152                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17153                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17154                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17155                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17156                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17157                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17158                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17159                 .klen   = 8 + 64 + 24,
17160                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17161                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17162                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17163                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17164                 .alen   = 16,
17165                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17166                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17167                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17168                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17169                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17170                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17171                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17172                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17173                 .plen   = 64,
17174                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17175                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17176                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17177                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17178                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17179                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17180                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17181                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
17182                           "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
17183                           "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
17184                           "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
17185                           "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
17186                           "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
17187                           "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
17188                           "\x8d\x43\x98\xa7\x94\x16\x07\x02"
17189                           "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
17190                 .clen   = 64 + 64,
17191         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
17192 #ifdef __LITTLE_ENDIAN
17193                 .key    = "\x08\x00"            /* rta length */
17194                           "\x01\x00"            /* rta type */
17195 #else
17196                 .key    = "\x00\x08"            /* rta length */
17197                           "\x00\x01"            /* rta type */
17198 #endif
17199                           "\x00\x00\x00\x20"    /* enc key length */
17200                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17201                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17202                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17203                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17204                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17205                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17206                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17207                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17208                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17209                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17210                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17211                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17212                 .klen   = 8 + 64 + 32,
17213                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17214                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17215                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17216                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17217                 .alen   = 16,
17218                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17219                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17220                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17221                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17222                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17223                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17224                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17225                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17226                 .plen   = 64,
17227                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17228                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17229                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17230                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17231                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17232                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17233                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17234                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17235                           "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
17236                           "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
17237                           "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
17238                           "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
17239                           "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
17240                           "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
17241                           "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
17242                           "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
17243                 .clen   = 64 + 64,
17244         },
17245 };
17246
17247 static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
17248         { /*Generated with cryptopp*/
17249 #ifdef __LITTLE_ENDIAN
17250                 .key    = "\x08\x00"            /* rta length */
17251                           "\x01\x00"            /* rta type */
17252 #else
17253         .key    = "\x00\x08"            /* rta length */
17254                           "\x00\x01"            /* rta type */
17255 #endif
17256                           "\x00\x00\x00\x08"    /* enc key length */
17257                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17258                   "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17259                           "\x22\x33\x44\x55"
17260                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17261                 .klen   = 8 + 20 + 8,
17262                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17263                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17264                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17265                 .alen   = 16,
17266                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17267                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17268                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17269                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17270                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17271                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17272                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17273                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17274                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17275                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17276                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17277                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17278                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17279                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17280                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17281                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17282                 .plen   = 128,
17283                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17284                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17285                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17286                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17287                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17288                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17289                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17290                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17291                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17292                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17293                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17294                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17295                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17296                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17297                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17298                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17299                           "\x95\x16\x20\x09\xf5\x95\x19\xfd"
17300                           "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
17301                           "\x5c\x44\xa9\x37",
17302                           .clen = 128 + 20,
17303         },
17304 };
17305
17306 static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
17307         { /*Generated with cryptopp*/
17308 #ifdef __LITTLE_ENDIAN
17309                 .key    = "\x08\x00"            /* rta length */
17310                           "\x01\x00"            /* rta type */
17311 #else
17312                 .key    = "\x00\x08"            /* rta length */
17313                           "\x00\x01"            /* rta type */
17314 #endif
17315                           "\x00\x00\x00\x08"    /* enc key length */
17316                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17317                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17318                   "\x22\x33\x44\x55\x66\x77\x88\x99"
17319                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17320                 .klen   = 8 + 24 + 8,
17321                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17322                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17323                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17324                 .alen   = 16,
17325                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17326                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17327                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17328                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17329                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17330                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17331                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17332                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17333                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17334                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17335                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17336                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17337                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17338                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17339                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17340                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17341                 .plen   = 128,
17342                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17343                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17344                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17345                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17346                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17347                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17348                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17349                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17350                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17351                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17352                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17353                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17354                   "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17355                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17356                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17357                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17358                           "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
17359                           "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
17360                           "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
17361                 .clen   = 128 + 24,
17362         },
17363 };
17364
17365 static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
17366         { /*Generated with cryptopp*/
17367 #ifdef __LITTLE_ENDIAN
17368                 .key    = "\x08\x00"            /* rta length */
17369                           "\x01\x00"            /* rta type */
17370 #else
17371                 .key    = "\x00\x08"            /* rta length */
17372                           "\x00\x01"            /* rta type */
17373 #endif
17374                           "\x00\x00\x00\x08"    /* enc key length */
17375                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17376                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17377                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17378                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17379                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17380                 .klen   = 8 + 32 + 8,
17381                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17382                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17383                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17384                 .alen   = 16,
17385                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17386                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17387                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17388                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17389                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17390                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17391                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17392                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17393                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17394                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17395                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17396                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17397                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17398                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17399                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17400                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17401                 .plen   = 128,
17402                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17403                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17404                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17405                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17406                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17407                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17408                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17409                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17410                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17411                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17412                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17413                   "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17414                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17415                   "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17416                   "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17417                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17418                           "\xc6\x58\xa1\x60\x70\x91\x39\x36"
17419                           "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
17420                           "\xde\x63\xde\x76\x52\xde\x9f\xba"
17421                           "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
17422                 .clen   = 128 + 32,
17423         },
17424 };
17425
17426 static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
17427         { /*Generated with cryptopp*/
17428 #ifdef __LITTLE_ENDIAN
17429                 .key    = "\x08\x00"            /* rta length */
17430                           "\x01\x00"            /* rta type */
17431 #else
17432                 .key    = "\x00\x08"            /* rta length */
17433                           "\x00\x01"            /* rta type */
17434 #endif
17435                           "\x00\x00\x00\x08"    /* enc key length */
17436                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17437                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17438                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17439                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17440                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17441                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17442                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17443                 .klen   = 8 + 48 + 8,
17444                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17445                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17446                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17447                 .alen   = 16,
17448                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17449                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17450                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17451                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17452                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17453                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17454                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17455                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17456                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17457                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17458                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17459                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17460                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17461                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17462                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17463                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17464                 .plen   = 128,
17465                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17466                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17467                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17468                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17469                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17470                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17471                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17472                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17473                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17474                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17475                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17476                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17477                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17478                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17479                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17480                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17481                           "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
17482                           "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
17483                           "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
17484                           "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
17485                           "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
17486                           "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
17487                 .clen   = 128 + 48,
17488         },
17489 };
17490
17491 static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
17492         { /*Generated with cryptopp*/
17493 #ifdef __LITTLE_ENDIAN
17494                 .key    = "\x08\x00"            /* rta length */
17495                   "\x01\x00"            /* rta type */
17496 #else
17497                 .key    = "\x00\x08"            /* rta length */
17498                           "\x00\x01"            /* rta type */
17499 #endif
17500                           "\x00\x00\x00\x08"    /* enc key length */
17501                   "\x11\x22\x33\x44\x55\x66\x77\x88"
17502                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17503                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17504                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17505                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17506                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17507                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17508                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17509                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17510                 .klen   = 8 + 64 + 8,
17511                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17512                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17513                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17514                 .alen   = 16,
17515                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17516                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17517                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17518                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17519                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17520                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17521                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17522                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17523                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17524                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17525                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17526                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17527                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17528                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17529                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17530                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17531                 .plen   = 128,
17532                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17533                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17534                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17535                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17536                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17537                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17538                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17539                   "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17540                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17541                   "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17542                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17543                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17544                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17545                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17546                   "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17547                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17548                           "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
17549                           "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
17550                           "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
17551                           "\x58\x83\xda\x67\xfb\x21\x24\xa2"
17552                           "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
17553                           "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
17554                           "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
17555                           "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
17556                 .clen   = 128 + 64,
17557         },
17558 };
17559
17560 static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
17561         { /*Generated with cryptopp*/
17562 #ifdef __LITTLE_ENDIAN
17563                 .key    = "\x08\x00"            /* rta length */
17564                           "\x01\x00"            /* rta type */
17565 #else
17566                 .key    = "\x00\x08"            /* rta length */
17567                           "\x00\x01"            /* rta type */
17568 #endif
17569                           "\x00\x00\x00\x18"    /* enc key length */
17570                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17571                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17572                           "\x22\x33\x44\x55"
17573                   "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17574                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17575                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17576                 .klen   = 8 + 20 + 24,
17577                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17578                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17579                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17580                 .alen   = 16,
17581                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17582                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17583                   "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17584                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17585                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17586                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17587                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17588                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17589                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17590                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17591                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17592                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17593                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17594                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17595                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17596                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17597                 .plen   = 128,
17598                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17599                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17600                   "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17601                   "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17602                   "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17603                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17604                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17605                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17606                   "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17607                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17608                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17609                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17610                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17611                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17612                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17613                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17614                           "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
17615                           "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
17616                           "\xd1\x60\x91\xb3",
17617                           .clen = 128 + 20,
17618         },
17619 };
17620
17621 static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
17622         { /*Generated with cryptopp*/
17623 #ifdef __LITTLE_ENDIAN
17624                 .key    = "\x08\x00"            /* rta length */
17625                           "\x01\x00"            /* rta type */
17626 #else
17627                 .key    = "\x00\x08"            /* rta length */
17628                           "\x00\x01"            /* rta type */
17629 #endif
17630                           "\x00\x00\x00\x18"    /* enc key length */
17631                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17632                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17633                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17634                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17635                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17636                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17637                 .klen   = 8 + 24 + 24,
17638                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17639                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17640                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17641                 .alen   = 16,
17642                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17643                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17644                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17645                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17646                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17647                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17648                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17649                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17650                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17651                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17652                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17653                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17654                   "\x72\x63\x74\x65\x20\x73\x6f\x54"
17655                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17656                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17657                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17658                 .plen   = 128,
17659                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17660                   "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17661                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17662                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17663                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17664                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17665                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17666                   "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17667                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17668                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17669                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17670                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17671                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17672                   "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17673                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17674                   "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17675                           "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
17676                           "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
17677                           "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
17678                           .clen = 128 + 24,
17679         },
17680 };
17681
17682 static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
17683         { /*Generated with cryptopp*/
17684 #ifdef __LITTLE_ENDIAN
17685                 .key    = "\x08\x00"            /* rta length */
17686                           "\x01\x00"            /* rta type */
17687 #else
17688                 .key    = "\x00\x08"            /* rta length */
17689                           "\x00\x01"            /* rta type */
17690 #endif
17691                           "\x00\x00\x00\x18"    /* enc key length */
17692                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17693                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17694                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17695                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17696                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17697                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17698                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17699                 .klen   = 8 + 32 + 24,
17700                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17701                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17702                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17703                 .alen   = 16,
17704                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17705                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17706                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17707                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17708                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17709                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17710                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17711                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17712                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17713                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17714                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17715                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17716                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17717                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17718                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17719                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17720                 .plen   = 128,
17721                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17722                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17723                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17724                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17725                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17726                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17727                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17728                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17729                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17730                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17731                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17732                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17733                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17734                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17735                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17736                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17737                           "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
17738                           "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
17739                           "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
17740                           "\xca\x43\x95\xdf\x80\x61\x81\xa9",
17741                 .clen   = 128 + 32,
17742         },
17743 };
17744
17745 static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
17746         { /*Generated with cryptopp*/
17747 #ifdef __LITTLE_ENDIAN
17748                 .key    = "\x08\x00"            /* rta length */
17749                           "\x01\x00"            /* rta type */
17750 #else
17751                 .key    = "\x00\x08"            /* rta length */
17752                           "\x00\x01"            /* rta type */
17753 #endif
17754                           "\x00\x00\x00\x18"    /* enc key length */
17755                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17756                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17757                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17758                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17759                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17760                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17761                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17762                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17763                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17764                 .klen   = 8 + 48 + 24,
17765                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17766                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17767                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17768                 .alen   = 16,
17769                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17770                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17771                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17772                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17773                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17774                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17775                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17776                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17777                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17778                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17779                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17780                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17781                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17782                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17783                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17784                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17785                 .plen   = 128,
17786                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17787                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17788                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17789                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17790                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17791                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17792                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17793                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17794                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17795                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17796                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17797                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17798                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17799                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17800                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17801                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17802                           "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
17803                   "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
17804                           "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
17805                           "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
17806                           "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
17807                           "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
17808                 .clen   = 128 + 48,
17809         },
17810 };
17811
17812 static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
17813         { /*Generated with cryptopp*/
17814 #ifdef __LITTLE_ENDIAN
17815                 .key    = "\x08\x00"            /* rta length */
17816                           "\x01\x00"            /* rta type */
17817 #else
17818                 .key    = "\x00\x08"            /* rta length */
17819                           "\x00\x01"            /* rta type */
17820 #endif
17821                           "\x00\x00\x00\x18"    /* enc key length */
17822                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17823                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17824                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17825                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17826                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17827                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17828                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17829                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17830                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17831                   "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17832                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17833                 .klen   = 8 + 64 + 24,
17834                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17835                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17836                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17837                 .alen   = 16,
17838                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17839                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17840                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17841                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17842                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17843                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17844                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17845                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17846                   "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17847                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17848                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17849                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17850                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17851                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17852                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17853                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17854                 .plen   = 128,
17855                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17856                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17857                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17858                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17859                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17860                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17861                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17862                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17863                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17864                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17865                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17866                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17867                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17868                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17869                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17870                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17871                           "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
17872                           "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
17873                           "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
17874                           "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
17875                           "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
17876                           "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
17877                           "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
17878                           "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
17879                 .clen   = 128 + 64,
17880         },
17881 };
17882
17883 static const struct cipher_testvec aes_lrw_tv_template[] = {
17884         /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
17885         { /* LRW-32-AES 1 */
17886                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17887                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17888                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17889                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17890                 .klen   = 32,
17891                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17892                           "\x00\x00\x00\x00\x00\x00\x00\x01",
17893                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17894                           "\x38\x39\x41\x42\x43\x44\x45\x46",
17895                 .ctext  = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
17896                           "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
17897                 .len    = 16,
17898         }, { /* LRW-32-AES 2 */
17899                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
17900                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
17901                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
17902                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
17903                 .klen   = 32,
17904                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17905                           "\x00\x00\x00\x00\x00\x00\x00\x02",
17906                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17907                           "\x38\x39\x41\x42\x43\x44\x45\x46",
17908                 .ctext  = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
17909                           "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
17910                 .len    = 16,
17911         }, { /* LRW-32-AES 3 */
17912                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
17913                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
17914                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
17915                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
17916                 .klen   = 32,
17917                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17918                           "\x00\x00\x00\x02\x00\x00\x00\x00",
17919                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17920                           "\x38\x39\x41\x42\x43\x44\x45\x46",
17921                 .ctext  = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
17922                           "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
17923                 .len    = 16,
17924         }, { /* LRW-32-AES 4 */
17925                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
17926                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
17927                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
17928                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
17929                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
17930                 .klen   = 40,
17931                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17932                           "\x00\x00\x00\x00\x00\x00\x00\x01",
17933                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17934                           "\x38\x39\x41\x42\x43\x44\x45\x46",
17935                 .ctext  = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
17936                           "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
17937                 .len    = 16,
17938         }, { /* LRW-32-AES 5 */
17939                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
17940                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
17941                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
17942                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
17943                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
17944                 .klen   = 40,
17945                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17946                           "\x00\x00\x00\x02\x00\x00\x00\x00",
17947                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17948                           "\x38\x39\x41\x42\x43\x44\x45\x46",
17949                 .ctext  = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
17950                           "\xc8\x60\x48\x02\x87\xe3\x34\x06",
17951                 .len    = 16,
17952         }, { /* LRW-32-AES 6 */
17953                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17954                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17955                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17956                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17957                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17958                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17959                 .klen   = 48,
17960                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17961                           "\x00\x00\x00\x00\x00\x00\x00\x01",
17962                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17963                           "\x38\x39\x41\x42\x43\x44\x45\x46",
17964                 .ctext  = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
17965                           "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
17966                 .len    = 16,
17967         }, { /* LRW-32-AES 7 */
17968                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
17969                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
17970                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
17971                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
17972                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
17973                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
17974                 .klen   = 48,
17975                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17976                           "\x00\x00\x00\x02\x00\x00\x00\x00",
17977                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17978                           "\x38\x39\x41\x42\x43\x44\x45\x46",
17979                 .ctext  = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
17980                           "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
17981                 .len    = 16,
17982         }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
17983                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17984                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17985                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17986                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17987                 .klen   = 32,
17988                 .iv     = "\xff\xff\xff\xff\xff\xff\xff\xff"
17989                           "\xff\xff\xff\xff\xff\xff\xff\xff",
17990                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17991                           "\x38\x39\x41\x42\x43\x44\x45\x46"
17992                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17993                           "\x38\x39\x41\x42\x43\x44\x45\x46"
17994                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17995                           "\x38\x39\x41\x42\x43\x44\x45\x46",
17996                 .ctext  = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
17997                           "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
17998                           "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
17999                           "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
18000                           "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
18001                           "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
18002                 .len    = 48,
18003         }, {
18004 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
18005                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18006                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18007                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18008                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18009                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18010                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18011                 .klen   = 48,
18012                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18013                           "\x00\x00\x00\x00\x00\x00\x00\x01",
18014                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
18015                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
18016                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
18017                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
18018                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
18019                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
18020                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
18021                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
18022                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
18023                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
18024                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
18025                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
18026                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
18027                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
18028                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
18029                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
18030                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
18031                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
18032                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
18033                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
18034                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
18035                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
18036                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
18037                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
18038                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
18039                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
18040                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
18041                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
18042                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
18043                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
18044                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
18045                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
18046                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
18047                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
18048                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
18049                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
18050                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
18051                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
18052                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
18053                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
18054                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
18055                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
18056                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
18057                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
18058                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
18059                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
18060                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
18061                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
18062                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
18063                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
18064                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
18065                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
18066                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
18067                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
18068                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
18069                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
18070                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
18071                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
18072                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
18073                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
18074                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
18075                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
18076                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
18077                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
18078                 .ctext  = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
18079                           "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
18080                           "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
18081                           "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
18082                           "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
18083                           "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
18084                           "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
18085                           "\xe8\x58\x46\x97\x39\x51\x07\xde"
18086                           "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
18087                           "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
18088                           "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
18089                           "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
18090                           "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
18091                           "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
18092                           "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
18093                           "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
18094                           "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
18095                           "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
18096                           "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
18097                           "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
18098                           "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
18099                           "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
18100                           "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
18101                           "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
18102                           "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
18103                           "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
18104                           "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
18105                           "\x41\x30\x58\xc5\x62\x74\x52\x1d"
18106                           "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
18107                           "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
18108                           "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
18109                           "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
18110                           "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
18111                           "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
18112                           "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
18113                           "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
18114                           "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
18115                           "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
18116                           "\xb8\x79\x78\x97\x94\xff\x72\x13"
18117                           "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
18118                           "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18119                           "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18120                           "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18121                           "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18122                           "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18123                           "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18124                           "\x1e\x86\x53\x11\x53\x94\x00\xee"
18125                           "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18126                           "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18127                           "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18128                           "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18129                           "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18130                           "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18131                           "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18132                           "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18133                           "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18134                           "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18135                           "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18136                           "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18137                           "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18138                           "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18139                           "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18140                           "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18141                           "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18142                 .len    = 512,
18143         }
18144 };
18145
18146 static const struct cipher_testvec aes_xts_tv_template[] = {
18147         /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18148         { /* XTS-AES 1 */
18149                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18150                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18151                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18152                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18153                 .klen   = 32,
18154                 .fips_skip = 1,
18155                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18156                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18157                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18158                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18159                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18160                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18161                 .ctext  = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18162                           "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18163                           "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18164                           "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18165                 .len    = 32,
18166         }, { /* XTS-AES 2 */
18167                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
18168                           "\x11\x11\x11\x11\x11\x11\x11\x11"
18169                           "\x22\x22\x22\x22\x22\x22\x22\x22"
18170                           "\x22\x22\x22\x22\x22\x22\x22\x22",
18171                 .klen   = 32,
18172                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18173                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18174                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18175                           "\x44\x44\x44\x44\x44\x44\x44\x44"
18176                           "\x44\x44\x44\x44\x44\x44\x44\x44"
18177                           "\x44\x44\x44\x44\x44\x44\x44\x44",
18178                 .ctext  = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18179                           "\x39\x33\x40\x38\xac\xef\x83\x8b"
18180                           "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18181                           "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18182                 .len    = 32,
18183         }, { /* XTS-AES 3 */
18184                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18185                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18186                           "\x22\x22\x22\x22\x22\x22\x22\x22"
18187                           "\x22\x22\x22\x22\x22\x22\x22\x22",
18188                 .klen   = 32,
18189                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18190                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18191                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18192                           "\x44\x44\x44\x44\x44\x44\x44\x44"
18193                           "\x44\x44\x44\x44\x44\x44\x44\x44"
18194                           "\x44\x44\x44\x44\x44\x44\x44\x44",
18195                 .ctext  = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18196                           "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18197                           "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18198                           "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18199                 .len    = 32,
18200         }, { /* XTS-AES 4 */
18201                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18202                           "\x23\x53\x60\x28\x74\x71\x35\x26"
18203                           "\x31\x41\x59\x26\x53\x58\x97\x93"
18204                           "\x23\x84\x62\x64\x33\x83\x27\x95",
18205                 .klen   = 32,
18206                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18207                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18208                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18209                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18210                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18211                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18212                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18213                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18214                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18215                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18216                           "\x40\x41\x42\x43\x44\x45\x46\x47"
18217                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18218                           "\x50\x51\x52\x53\x54\x55\x56\x57"
18219                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18220                           "\x60\x61\x62\x63\x64\x65\x66\x67"
18221                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18222                           "\x70\x71\x72\x73\x74\x75\x76\x77"
18223                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18224                           "\x80\x81\x82\x83\x84\x85\x86\x87"
18225                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18226                           "\x90\x91\x92\x93\x94\x95\x96\x97"
18227                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18228                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18229                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18230                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18231                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18232                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18233                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18234                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18235                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18236                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18237                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18238                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18239                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18240                           "\x00\x01\x02\x03\x04\x05\x06\x07"
18241                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18242                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18243                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18244                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18245                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18246                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18247                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18248                           "\x40\x41\x42\x43\x44\x45\x46\x47"
18249                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18250                           "\x50\x51\x52\x53\x54\x55\x56\x57"
18251                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18252                           "\x60\x61\x62\x63\x64\x65\x66\x67"
18253                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18254                           "\x70\x71\x72\x73\x74\x75\x76\x77"
18255                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18256                           "\x80\x81\x82\x83\x84\x85\x86\x87"
18257                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18258                           "\x90\x91\x92\x93\x94\x95\x96\x97"
18259                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18260                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18261                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18262                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18263                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18264                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18265                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18266                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18267                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18268                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18269                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18270                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18271                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18272                 .ctext  = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18273                           "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18274                           "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18275                           "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18276                           "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18277                           "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18278                           "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18279                           "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18280                           "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18281                           "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18282                           "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18283                           "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18284                           "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18285                           "\x22\x97\x61\x46\xae\x20\xce\x84"
18286                           "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18287                           "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18288                           "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18289                           "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18290                           "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18291                           "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18292                           "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18293                           "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18294                           "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18295                           "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18296                           "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18297                           "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18298                           "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18299                           "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18300                           "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18301                           "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18302                           "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18303                           "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18304                           "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18305                           "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18306                           "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18307                           "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18308                           "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18309                           "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18310                           "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18311                           "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18312                           "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18313                           "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18314                           "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18315                           "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18316                           "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18317                           "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18318                           "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18319                           "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18320                           "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18321                           "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18322                           "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18323                           "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18324                           "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18325                           "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18326                           "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18327                           "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18328                           "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18329                           "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18330                           "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18331                           "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18332                           "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18333                           "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18334                           "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18335                           "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18336                 .len    = 512,
18337         }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18338                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18339                           "\x23\x53\x60\x28\x74\x71\x35\x26"
18340                           "\x62\x49\x77\x57\x24\x70\x93\x69"
18341                           "\x99\x59\x57\x49\x66\x96\x76\x27"
18342                           "\x31\x41\x59\x26\x53\x58\x97\x93"
18343                           "\x23\x84\x62\x64\x33\x83\x27\x95"
18344                           "\x02\x88\x41\x97\x16\x93\x99\x37"
18345                           "\x51\x05\x82\x09\x74\x94\x45\x92",
18346                 .klen   = 64,
18347                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
18348                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18349                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18350                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18351                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18352                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18353                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18354                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18355                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18356                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18357                           "\x40\x41\x42\x43\x44\x45\x46\x47"
18358                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18359                           "\x50\x51\x52\x53\x54\x55\x56\x57"
18360                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18361                           "\x60\x61\x62\x63\x64\x65\x66\x67"
18362                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18363                           "\x70\x71\x72\x73\x74\x75\x76\x77"
18364                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18365                           "\x80\x81\x82\x83\x84\x85\x86\x87"
18366                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18367                           "\x90\x91\x92\x93\x94\x95\x96\x97"
18368                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18369                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18370                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18371                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18372                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18373                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18374                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18375                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18376                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18377                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18378                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18379                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18380                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18381                           "\x00\x01\x02\x03\x04\x05\x06\x07"
18382                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18383                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18384                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18385                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18386                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18387                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18388                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18389                           "\x40\x41\x42\x43\x44\x45\x46\x47"
18390                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18391                           "\x50\x51\x52\x53\x54\x55\x56\x57"
18392                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18393                           "\x60\x61\x62\x63\x64\x65\x66\x67"
18394                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18395                           "\x70\x71\x72\x73\x74\x75\x76\x77"
18396                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18397                           "\x80\x81\x82\x83\x84\x85\x86\x87"
18398                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18399                           "\x90\x91\x92\x93\x94\x95\x96\x97"
18400                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18401                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18402                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18403                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18404                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18405                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18406                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18407                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18408                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18409                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18410                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18411                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18412                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18413                 .ctext  = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18414                           "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18415                           "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18416                           "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18417                           "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18418                           "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18419                           "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18420                           "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18421                           "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18422                           "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18423                           "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18424                           "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18425                           "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18426                           "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18427                           "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18428                           "\x00\x02\x08\x87\x89\x14\x29\xca"
18429                           "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18430                           "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18431                           "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18432                           "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18433                           "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18434                           "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18435                           "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18436                           "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18437                           "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18438                           "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18439                           "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18440                           "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18441                           "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18442                           "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18443                           "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18444                           "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18445                           "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18446                           "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18447                           "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18448                           "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18449                           "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18450                           "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18451                           "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18452                           "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18453                           "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18454                           "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18455                           "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18456                           "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18457                           "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18458                           "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18459                           "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18460                           "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18461                           "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18462                           "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18463                           "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18464                           "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18465                           "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18466                           "\x94\x30\x54\xff\x84\x01\x14\x93"
18467                           "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18468                           "\x53\x76\x44\x1a\x77\xed\x43\x85"
18469                           "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18470                           "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18471                           "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18472                           "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18473                           "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18474                           "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18475                           "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18476                           "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18477                 .len    = 512,
18478         }
18479 };
18480
18481 static const struct cipher_testvec aes_ctr_tv_template[] = {
18482         { /* From NIST Special Publication 800-38A, Appendix F.5 */
18483                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
18484                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
18485                 .klen   = 16,
18486                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18487                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18488                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18489                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
18490                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18491                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18492                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18493                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18494                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18495                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18496                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18497                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18498                 .ctext  = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
18499                           "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
18500                           "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
18501                           "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
18502                           "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
18503                           "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
18504                           "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
18505                           "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
18506                 .len    = 64,
18507         }, {
18508                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
18509                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
18510                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
18511                 .klen   = 24,
18512                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18513                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18514                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18515                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
18516                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18517                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18518                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18519                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18520                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18521                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18522                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18523                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18524                 .ctext  = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
18525                           "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
18526                           "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
18527                           "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
18528                           "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
18529                           "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
18530                           "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
18531                           "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
18532                 .len    = 64,
18533         }, {
18534                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
18535                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
18536                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
18537                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
18538                 .klen   = 32,
18539                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18540                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18541                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18542                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
18543                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18544                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18545                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18546                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18547                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18548                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18549                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18550                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18551                 .ctext  = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
18552                           "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
18553                           "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
18554                           "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
18555                           "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
18556                           "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
18557                           "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
18558                           "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
18559                 .len    = 64,
18560         }, { /* Generated with Crypto++ */
18561                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
18562                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
18563                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
18564                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
18565                 .klen   = 32,
18566                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
18567                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
18568                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
18569                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
18570                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
18571                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
18572                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
18573                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
18574                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
18575                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
18576                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
18577                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
18578                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
18579                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
18580                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
18581                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
18582                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
18583                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
18584                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
18585                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
18586                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
18587                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
18588                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
18589                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
18590                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
18591                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
18592                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
18593                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
18594                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
18595                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
18596                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
18597                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
18598                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
18599                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
18600                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
18601                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
18602                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
18603                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
18604                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
18605                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
18606                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
18607                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
18608                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
18609                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
18610                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
18611                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
18612                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
18613                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
18614                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
18615                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
18616                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
18617                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
18618                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
18619                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
18620                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
18621                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
18622                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
18623                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
18624                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
18625                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
18626                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
18627                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
18628                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
18629                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
18630                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
18631                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
18632                 .ctext  = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
18633                           "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
18634                           "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
18635                           "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
18636                           "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
18637                           "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
18638                           "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
18639                           "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
18640                           "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
18641                           "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
18642                           "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
18643                           "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
18644                           "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
18645                           "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
18646                           "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
18647                           "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
18648                           "\x34\x4B\x31\x69\x84\x66\x96\x44"
18649                           "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
18650                           "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
18651                           "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
18652                           "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
18653                           "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
18654                           "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
18655                           "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
18656                           "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
18657                           "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
18658                           "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
18659                           "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
18660                           "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
18661                           "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
18662                           "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
18663                           "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
18664                           "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
18665                           "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
18666                           "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
18667                           "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
18668                           "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
18669                           "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
18670                           "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
18671                           "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
18672                           "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
18673                           "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
18674                           "\x85\x99\x22\xE8\x91\x38\x70\x83"
18675                           "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
18676                           "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
18677                           "\x2F\x69\xEE\x84\x36\x44\x76\x98"
18678                           "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
18679                           "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
18680                           "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
18681                           "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
18682                           "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
18683                           "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
18684                           "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
18685                           "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
18686                           "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
18687                           "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
18688                           "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
18689                           "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
18690                           "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
18691                           "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
18692                           "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
18693                           "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
18694                 .len    = 496,
18695         }, { /* Generated with Crypto++ */
18696                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
18697                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
18698                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
18699                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
18700                 .klen   = 32,
18701                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
18702                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
18703                 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
18704                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
18705                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
18706                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
18707                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
18708                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
18709                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
18710                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
18711                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
18712                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
18713                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
18714                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
18715                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
18716                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
18717                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
18718                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
18719                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
18720                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
18721                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
18722                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
18723                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
18724                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
18725                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
18726                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
18727                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
18728                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
18729                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
18730                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
18731                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
18732                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
18733                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
18734                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
18735                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
18736                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
18737                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
18738                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
18739                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
18740                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
18741                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
18742                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
18743                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
18744                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
18745                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
18746                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
18747                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
18748                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
18749                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
18750                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
18751                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
18752                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
18753                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
18754                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
18755                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
18756                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
18757                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
18758                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
18759                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
18760                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
18761                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
18762                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
18763                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
18764                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
18765                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
18766                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
18767                           "\x7B\xE4\x4D",
18768                 .ctext  = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
18769                           "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
18770                           "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
18771                           "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
18772                           "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
18773                           "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
18774                           "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
18775                           "\x75\xDE\x71\x86\x3C\x98\x23\x44"
18776                           "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
18777                           "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
18778                           "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
18779                           "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
18780                           "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
18781                           "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
18782                           "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
18783                           "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
18784                           "\xA8\x28\x69\x65\x31\xE1\x45\x83"
18785                           "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
18786                           "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
18787                           "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
18788                           "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
18789                           "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
18790                           "\x45\x18\x18\x74\x19\xAD\x71\x01"
18791                           "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
18792                           "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
18793                           "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
18794                           "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
18795                           "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
18796                           "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
18797                           "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
18798                           "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
18799                           "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
18800                           "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
18801                           "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
18802                           "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
18803                           "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
18804                           "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
18805                           "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
18806                           "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
18807                           "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
18808                           "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
18809                           "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
18810                           "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
18811                           "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
18812                           "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
18813                           "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
18814                           "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
18815                           "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
18816                           "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
18817                           "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
18818                           "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
18819                           "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
18820                           "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
18821                           "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
18822                           "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
18823                           "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
18824                           "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
18825                           "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
18826                           "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
18827                           "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
18828                           "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
18829                           "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
18830                           "\xFB\xF2\x3F",
18831                 .len    = 499,
18832         },
18833 };
18834
18835 static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
18836         { /* From RFC 3686 */
18837                 .key    = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
18838                           "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
18839                           "\x00\x00\x00\x30",
18840                 .klen   = 20,
18841                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
18842                 .ptext  = "Single block msg",
18843                 .ctext  = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
18844                           "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
18845                 .len    = 16,
18846         }, {
18847                 .key    = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
18848                           "\x43\xd6\xce\x1f\x32\x53\x91\x63"
18849                           "\x00\x6c\xb6\xdb",
18850                 .klen   = 20,
18851                 .iv     = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
18852                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18853                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18854                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18855                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18856                 .ctext  = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
18857                           "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
18858                           "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
18859                           "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
18860                 .len    = 32,
18861         }, {
18862                 .key    = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
18863                           "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
18864                           "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
18865                           "\x00\x00\x00\x48",
18866                 .klen   = 28,
18867                 .iv     = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
18868                 .ptext  = "Single block msg",
18869                 .ctext  = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
18870                           "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
18871                 .len    = 16,
18872         }, {
18873                 .key    = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
18874                           "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
18875                           "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
18876                           "\x00\x96\xb0\x3b",
18877                 .klen   = 28,
18878                 .iv     = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
18879                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18880                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18881                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18882                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18883                 .ctext  = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
18884                           "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
18885                           "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
18886                           "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
18887                 .len    = 32,
18888         }, {
18889                 .key    = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
18890                           "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
18891                           "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
18892                           "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
18893                           "\x00\x00\x00\x60",
18894                 .klen   = 36,
18895                 .iv     = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
18896                 .ptext  = "Single block msg",
18897                 .ctext  = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
18898                           "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
18899                 .len    = 16,
18900         }, {
18901                 .key    = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
18902                           "\x07\x96\x36\x58\x79\xef\xf8\x86"
18903                           "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
18904                           "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
18905                           "\x00\xfa\xac\x24",
18906                 .klen   = 36,
18907                 .iv     = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
18908                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18909                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18910                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18911                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18912                 .ctext  = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
18913                           "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
18914                           "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
18915                           "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
18916                 .len    = 32,
18917         }, {
18918         // generated using Crypto++
18919                 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
18920                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18921                         "\x10\x11\x12\x13\x14\x15\x16\x17"
18922                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18923                         "\x00\x00\x00\x00",
18924                 .klen = 32 + 4,
18925                 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
18926                 .ptext =
18927                         "\x00\x01\x02\x03\x04\x05\x06\x07"
18928                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18929                         "\x10\x11\x12\x13\x14\x15\x16\x17"
18930                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18931                         "\x20\x21\x22\x23\x24\x25\x26\x27"
18932                         "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18933                         "\x30\x31\x32\x33\x34\x35\x36\x37"
18934                         "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18935                         "\x40\x41\x42\x43\x44\x45\x46\x47"
18936                         "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18937                         "\x50\x51\x52\x53\x54\x55\x56\x57"
18938                         "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18939                         "\x60\x61\x62\x63\x64\x65\x66\x67"
18940                         "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18941                         "\x70\x71\x72\x73\x74\x75\x76\x77"
18942                         "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18943                         "\x80\x81\x82\x83\x84\x85\x86\x87"
18944                         "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18945                         "\x90\x91\x92\x93\x94\x95\x96\x97"
18946                         "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18947                         "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18948                         "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18949                         "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18950                         "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18951                         "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18952                         "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18953                         "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18954                         "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18955                         "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18956                         "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18957                         "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18958                         "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18959                         "\x00\x03\x06\x09\x0c\x0f\x12\x15"
18960                         "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
18961                         "\x30\x33\x36\x39\x3c\x3f\x42\x45"
18962                         "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
18963                         "\x60\x63\x66\x69\x6c\x6f\x72\x75"
18964                         "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
18965                         "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
18966                         "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
18967                         "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
18968                         "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
18969                         "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
18970                         "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
18971                         "\x20\x23\x26\x29\x2c\x2f\x32\x35"
18972                         "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
18973                         "\x50\x53\x56\x59\x5c\x5f\x62\x65"
18974                         "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
18975                         "\x80\x83\x86\x89\x8c\x8f\x92\x95"
18976                         "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
18977                         "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
18978                         "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
18979                         "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
18980                         "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
18981                         "\x10\x13\x16\x19\x1c\x1f\x22\x25"
18982                         "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
18983                         "\x40\x43\x46\x49\x4c\x4f\x52\x55"
18984                         "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
18985                         "\x70\x73\x76\x79\x7c\x7f\x82\x85"
18986                         "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
18987                         "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
18988                         "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
18989                         "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
18990                         "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
18991                         "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
18992                         "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
18993                         "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
18994                         "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
18995                         "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
18996                         "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
18997                         "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
18998                         "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
18999                         "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
19000                         "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
19001                         "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
19002                         "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
19003                         "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
19004                         "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
19005                         "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
19006                         "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
19007                         "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
19008                         "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
19009                         "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
19010                         "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
19011                         "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
19012                         "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
19013                         "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
19014                         "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
19015                         "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
19016                         "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
19017                         "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
19018                         "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
19019                         "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
19020                         "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
19021                         "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
19022                         "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
19023                         "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
19024                         "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
19025                         "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
19026                         "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
19027                         "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
19028                         "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
19029                         "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
19030                         "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
19031                         "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
19032                         "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
19033                         "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
19034                         "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
19035                         "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
19036                         "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
19037                         "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
19038                         "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
19039                         "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
19040                         "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
19041                         "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
19042                         "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
19043                         "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
19044                         "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
19045                         "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
19046                         "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
19047                         "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
19048                         "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
19049                         "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
19050                         "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
19051                         "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
19052                         "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
19053                         "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
19054                         "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
19055                         "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
19056                         "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
19057                         "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
19058                         "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
19059                         "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
19060                         "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
19061                         "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
19062                         "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
19063                         "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
19064                         "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
19065                         "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
19066                         "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
19067                         "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
19068                         "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
19069                         "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
19070                         "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
19071                         "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
19072                         "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
19073                         "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
19074                         "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
19075                         "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
19076                         "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
19077                         "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
19078                         "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
19079                         "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
19080                         "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
19081                         "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
19082                         "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
19083                         "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
19084                         "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
19085                         "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
19086                         "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
19087                         "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
19088                         "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
19089                         "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
19090                         "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
19091                         "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
19092                         "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
19093                         "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
19094                         "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
19095                         "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
19096                         "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
19097                         "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
19098                         "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
19099                         "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
19100                         "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
19101                         "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
19102                         "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
19103                         "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
19104                         "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
19105                         "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
19106                         "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
19107                         "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
19108                         "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
19109                         "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
19110                         "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
19111                         "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
19112                         "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
19113                         "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
19114                         "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
19115                         "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
19116                         "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
19117                         "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
19118                         "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
19119                         "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
19120                         "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
19121                         "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
19122                         "\x38\x45\x52\x5f\x6c\x79\x86\x93"
19123                         "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
19124                         "\x08\x15\x22\x2f\x3c\x49\x56\x63"
19125                         "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
19126                         "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
19127                         "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
19128                         "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
19129                         "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
19130                         "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
19131                         "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
19132                         "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
19133                         "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
19134                         "\x18\x25\x32\x3f\x4c\x59\x66\x73"
19135                         "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
19136                         "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
19137                         "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
19138                         "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
19139                         "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
19140                         "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
19141                         "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
19142                         "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
19143                         "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
19144                         "\x28\x35\x42\x4f\x5c\x69\x76\x83"
19145                         "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
19146                         "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
19147                         "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
19148                         "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
19149                         "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
19150                         "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
19151                         "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
19152                         "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
19153                         "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
19154                         "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
19155                         "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
19156                         "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
19157                         "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
19158                         "\x48\x57\x66\x75\x84\x93\xa2\xb1"
19159                         "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
19160                         "\x38\x47\x56\x65\x74\x83\x92\xa1"
19161                         "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
19162                         "\x28\x37\x46\x55\x64\x73\x82\x91"
19163                         "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
19164                         "\x18\x27\x36\x45\x54\x63\x72\x81"
19165                         "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
19166                         "\x08\x17\x26\x35\x44\x53\x62\x71"
19167                         "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
19168                         "\xf8\x07\x16\x25\x34\x43\x52\x61"
19169                         "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
19170                         "\xe8\xf7\x06\x15\x24\x33\x42\x51"
19171                         "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
19172                         "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
19173                         "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
19174                         "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
19175                         "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
19176                         "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
19177                         "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
19178                         "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
19179                         "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
19180                         "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
19181                         "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
19182                         "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
19183                         "\x00\x11\x22\x33\x44\x55\x66\x77"
19184                         "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
19185                         "\x10\x21\x32\x43\x54\x65\x76\x87"
19186                         "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
19187                         "\x20\x31\x42\x53\x64\x75\x86\x97"
19188                         "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
19189                         "\x30\x41\x52\x63\x74\x85\x96\xa7"
19190                         "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
19191                         "\x40\x51\x62\x73\x84\x95\xa6\xb7"
19192                         "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
19193                         "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
19194                         "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
19195                         "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
19196                         "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
19197                         "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
19198                         "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
19199                         "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
19200                         "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
19201                         "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
19202                         "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
19203                         "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
19204                         "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
19205                         "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
19206                         "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
19207                         "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
19208                         "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
19209                         "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
19210                         "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
19211                         "\xe0\xf1\x02\x13\x24\x35\x46\x57"
19212                         "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
19213                         "\xf0\x01\x12\x23\x34\x45\x56\x67"
19214                         "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
19215                         "\x00\x13\x26\x39\x4c\x5f\x72\x85"
19216                         "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
19217                         "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
19218                         "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
19219                         "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
19220                         "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
19221                         "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
19222                         "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
19223                         "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
19224                         "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
19225                         "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
19226                         "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
19227                         "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
19228                         "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
19229                         "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
19230                         "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
19231                         "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
19232                         "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
19233                         "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
19234                         "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
19235                         "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
19236                         "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
19237                         "\x10\x23\x36\x49\x5c\x6f\x82\x95"
19238                         "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
19239                         "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
19240                         "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
19241                         "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
19242                         "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
19243                         "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
19244                         "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
19245                         "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
19246                         "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
19247                         "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
19248                         "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
19249                         "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
19250                         "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
19251                         "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
19252                         "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
19253                         "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
19254                         "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
19255                         "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
19256                         "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
19257                         "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
19258                         "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
19259                         "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
19260                         "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
19261                         "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
19262                         "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
19263                         "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
19264                         "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
19265                         "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
19266                         "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
19267                         "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
19268                         "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
19269                         "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
19270                         "\x18\x2d\x42\x57\x6c\x81\x96\xab"
19271                         "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
19272                         "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
19273                         "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
19274                         "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
19275                         "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
19276                         "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
19277                         "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
19278                         "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
19279                         "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
19280                         "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
19281                         "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
19282                         "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
19283                         "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
19284                         "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
19285                         "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
19286                         "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
19287                         "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
19288                         "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
19289                         "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
19290                         "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
19291                         "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
19292                         "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
19293                         "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
19294                         "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
19295                         "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
19296                         "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
19297                         "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
19298                         "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
19299                         "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
19300                         "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
19301                         "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
19302                         "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
19303                         "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
19304                         "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
19305                         "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
19306                         "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
19307                         "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
19308                         "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
19309                         "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
19310                         "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
19311                         "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
19312                         "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
19313                         "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
19314                         "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
19315                         "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
19316                         "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
19317                         "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
19318                         "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
19319                         "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
19320                         "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
19321                         "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
19322                         "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
19323                         "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
19324                         "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
19325                         "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
19326                         "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
19327                         "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
19328                         "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
19329                         "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
19330                         "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
19331                         "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
19332                         "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
19333                         "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
19334                         "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
19335                         "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
19336                         "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
19337                         "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
19338                         "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
19339                         "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
19340                         "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
19341                         "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
19342                         "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
19343                         "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
19344                         "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
19345                         "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
19346                         "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
19347                         "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
19348                         "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
19349                         "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
19350                         "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
19351                         "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
19352                         "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
19353                         "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
19354                         "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
19355                         "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
19356                         "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
19357                         "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
19358                         "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
19359                         "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
19360                         "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
19361                         "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
19362                         "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
19363                         "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
19364                         "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
19365                         "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
19366                         "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
19367                         "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
19368                         "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
19369                         "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
19370                         "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
19371                         "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
19372                         "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
19373                         "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
19374                         "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
19375                         "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
19376                         "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
19377                         "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
19378                         "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
19379                         "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
19380                         "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
19381                         "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
19382                         "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
19383                         "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
19384                         "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
19385                         "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
19386                         "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
19387                         "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
19388                         "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
19389                         "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
19390                         "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
19391                         "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
19392                         "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
19393                         "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
19394                         "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
19395                         "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
19396                         "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
19397                         "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
19398                         "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
19399                         "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
19400                         "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
19401                         "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
19402                         "\x78\x95\xb2\xcf\xec\x09\x26\x43"
19403                         "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
19404                         "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
19405                         "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
19406                         "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
19407                         "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
19408                         "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
19409                         "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
19410                         "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
19411                         "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
19412                         "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
19413                         "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
19414                         "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
19415                         "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
19416                         "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
19417                         "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
19418                         "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
19419                         "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
19420                         "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
19421                         "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
19422                         "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
19423                         "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
19424                         "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
19425                         "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
19426                         "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
19427                         "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
19428                         "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
19429                         "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
19430                         "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
19431                         "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
19432                         "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
19433                         "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
19434                         "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
19435                         "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
19436                         "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
19437                         "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
19438                         "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
19439                         "\x00\x21\x42\x63",
19440                 .ctext =
19441                         "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
19442                         "\xae\xff\x91\x3a\x44\xcf\x38\x32"
19443                         "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
19444                         "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
19445                         "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
19446                         "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
19447                         "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
19448                         "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
19449                         "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
19450                         "\x18\xff\x75\x6d\x06\x2d\x00\xab"
19451                         "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
19452                         "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
19453                         "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
19454                         "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
19455                         "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
19456                         "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
19457                         "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
19458                         "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
19459                         "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
19460                         "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
19461                         "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
19462                         "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
19463                         "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
19464                         "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
19465                         "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
19466                         "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
19467                         "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
19468                         "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
19469                         "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
19470                         "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
19471                         "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
19472                         "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
19473                         "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
19474                         "\x6a\x25\x15\x33\x4e\x45\x08\xec"
19475                         "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
19476                         "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
19477                         "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
19478                         "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
19479                         "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
19480                         "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
19481                         "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
19482                         "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
19483                         "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
19484                         "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
19485                         "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
19486                         "\x04\x02\xef\xd3\x44\xde\x76\x31"
19487                         "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
19488                         "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
19489                         "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
19490                         "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
19491                         "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
19492                         "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
19493                         "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
19494                         "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
19495                         "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
19496                         "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
19497                         "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
19498                         "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
19499                         "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
19500                         "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
19501                         "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
19502                         "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
19503                         "\x32\x03\xed\xf0\x50\x1c\x56\x39"
19504                         "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
19505                         "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
19506                         "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
19507                         "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
19508                         "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
19509                         "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
19510                         "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
19511                         "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
19512                         "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
19513                         "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
19514                         "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
19515                         "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
19516                         "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
19517                         "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
19518                         "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
19519                         "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
19520                         "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
19521                         "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
19522                         "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
19523                         "\x69\x3a\x29\x23\xac\x86\x32\xa5"
19524                         "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
19525                         "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
19526                         "\x59\x6a\xd3\x50\x59\x43\x59\xde"
19527                         "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
19528                         "\x18\x34\x0d\x1a\x63\x33\xed\x10"
19529                         "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
19530                         "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
19531                         "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
19532                         "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
19533                         "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
19534                         "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
19535                         "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
19536                         "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
19537                         "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
19538                         "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
19539                         "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
19540                         "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
19541                         "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
19542                         "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
19543                         "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
19544                         "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
19545                         "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
19546                         "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
19547                         "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
19548                         "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
19549                         "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
19550                         "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
19551                         "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
19552                         "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
19553                         "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
19554                         "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
19555                         "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
19556                         "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
19557                         "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
19558                         "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
19559                         "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
19560                         "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
19561                         "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
19562                         "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
19563                         "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
19564                         "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
19565                         "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
19566                         "\x26\x39\x83\x94\xef\x27\xd8\x53"
19567                         "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
19568                         "\x43\x7c\x95\x0a\x53\xef\x66\xda"
19569                         "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
19570                         "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
19571                         "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
19572                         "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
19573                         "\x88\xee\x73\xcf\x66\x2f\x52\x56"
19574                         "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
19575                         "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
19576                         "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
19577                         "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
19578                         "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
19579                         "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
19580                         "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
19581                         "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
19582                         "\xba\x61\x34\x38\x7c\xda\x48\x3e"
19583                         "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
19584                         "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
19585                         "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
19586                         "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
19587                         "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
19588                         "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
19589                         "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
19590                         "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
19591                         "\x35\x12\xe3\x36\x28\x27\x36\x58"
19592                         "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
19593                         "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
19594                         "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
19595                         "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
19596                         "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
19597                         "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
19598                         "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
19599                         "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
19600                         "\x89\xf3\x78\x35\x44\x62\x78\x72"
19601                         "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
19602                         "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
19603                         "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
19604                         "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
19605                         "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
19606                         "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
19607                         "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
19608                         "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
19609                         "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
19610                         "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
19611                         "\xd2\x49\x77\x81\x6d\x90\x70\xae"
19612                         "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
19613                         "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
19614                         "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
19615                         "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
19616                         "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
19617                         "\x45\x42\x27\x75\x50\xe5\xee\xb8"
19618                         "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
19619                         "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
19620                         "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
19621                         "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
19622                         "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
19623                         "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
19624                         "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
19625                         "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
19626                         "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
19627                         "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
19628                         "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
19629                         "\xa9\x21\x2b\x92\x94\x87\x62\x57"
19630                         "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
19631                         "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
19632                         "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
19633                         "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
19634                         "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
19635                         "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
19636                         "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
19637                         "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
19638                         "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
19639                         "\x69\x34\x78\x61\x24\x21\x9c\x8a"
19640                         "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
19641                         "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
19642                         "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
19643                         "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
19644                         "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
19645                         "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
19646                         "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
19647                         "\xb1\x95\x28\x86\x20\xe9\x17\x49"
19648                         "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
19649                         "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
19650                         "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
19651                         "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
19652                         "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
19653                         "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
19654                         "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
19655                         "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
19656                         "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
19657                         "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
19658                         "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
19659                         "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
19660                         "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
19661                         "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
19662                         "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
19663                         "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
19664                         "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
19665                         "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
19666                         "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
19667                         "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
19668                         "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
19669                         "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
19670                         "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
19671                         "\x29\x90\x46\x30\x92\x69\x7d\x13"
19672                         "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
19673                         "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
19674                         "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
19675                         "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
19676                         "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
19677                         "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
19678                         "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
19679                         "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
19680                         "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
19681                         "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
19682                         "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
19683                         "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
19684                         "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
19685                         "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
19686                         "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
19687                         "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
19688                         "\x77\x65\x08\x60\x11\x76\x4c\x8d"
19689                         "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
19690                         "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
19691                         "\x03\xd1\x24\x95\xec\x6d\xab\x38"
19692                         "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
19693                         "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
19694                         "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
19695                         "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
19696                         "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
19697                         "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
19698                         "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
19699                         "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
19700                         "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
19701                         "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
19702                         "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
19703                         "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
19704                         "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
19705                         "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
19706                         "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
19707                         "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
19708                         "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
19709                         "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
19710                         "\xe5\x79\x81\x73\xcd\x43\x59\x68"
19711                         "\x73\x02\x3b\x78\x21\x72\x43\x00"
19712                         "\x49\x17\xf7\x00\xaf\x68\x24\x53"
19713                         "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
19714                         "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
19715                         "\x11\x94\x13\x69\x51\x09\x28\xde"
19716                         "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
19717                         "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
19718                         "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
19719                         "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
19720                         "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
19721                         "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
19722                         "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
19723                         "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
19724                         "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
19725                         "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
19726                         "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
19727                         "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
19728                         "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
19729                         "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
19730                         "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
19731                         "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
19732                         "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
19733                         "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
19734                         "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
19735                         "\x69\xdc\xab\x24\x57\x60\x47\xc1"
19736                         "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
19737                         "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
19738                         "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
19739                         "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
19740                         "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
19741                         "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
19742                         "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
19743                         "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
19744                         "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
19745                         "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
19746                         "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
19747                         "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
19748                         "\x85\x62\x82\x70\x18\xe2\x9a\x78"
19749                         "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
19750                         "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
19751                         "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
19752                         "\x35\xf3\x61\x06\x72\x84\xc4\x32"
19753                         "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
19754                         "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
19755                         "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
19756                         "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
19757                         "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
19758                         "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
19759                         "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
19760                         "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
19761                         "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
19762                         "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
19763                         "\x4f\x73\x38\x09\x75\x64\x48\xe0"
19764                         "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
19765                         "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
19766                         "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
19767                         "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
19768                         "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
19769                         "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
19770                         "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
19771                         "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
19772                         "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
19773                         "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
19774                         "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
19775                         "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
19776                         "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
19777                         "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
19778                         "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
19779                         "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
19780                         "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
19781                         "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
19782                         "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
19783                         "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
19784                         "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
19785                         "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
19786                         "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
19787                         "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
19788                         "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
19789                         "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
19790                         "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
19791                         "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
19792                         "\xce\x4d\x5f\x18\x60\xce\x87\x22"
19793                         "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
19794                         "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
19795                         "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
19796                         "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
19797                         "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
19798                         "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
19799                         "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
19800                         "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
19801                         "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
19802                         "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
19803                         "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
19804                         "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
19805                         "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
19806                         "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
19807                         "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
19808                         "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
19809                         "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
19810                         "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
19811                         "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
19812                         "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
19813                         "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
19814                         "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
19815                         "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
19816                         "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
19817                         "\xce\x54\xf9\x18\x58\xb5\xff\x44"
19818                         "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
19819                         "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
19820                         "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
19821                         "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
19822                         "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
19823                         "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
19824                         "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
19825                         "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
19826                         "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
19827                         "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
19828                         "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
19829                         "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
19830                         "\x0c\xd6\x04\x14\xde\x51\x74\x75"
19831                         "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
19832                         "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
19833                         "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
19834                         "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
19835                         "\x75\x46\x65\x4e\x07\x34\x37\xa3"
19836                         "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
19837                         "\x69\x24\x0e\x38\x67\x43\x8c\xde"
19838                         "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
19839                         "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
19840                         "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
19841                         "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
19842                         "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
19843                         "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
19844                         "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
19845                         "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
19846                         "\x91\x7d\x62\x64\x96\x72\xde\xfc"
19847                         "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
19848                         "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
19849                         "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
19850                         "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
19851                         "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
19852                         "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
19853                         "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
19854                         "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
19855                         "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
19856                         "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
19857                         "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
19858                         "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
19859                         "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
19860                         "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
19861                         "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
19862                         "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
19863                         "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
19864                         "\xae\xed\x39\x88\x42\x11\x3c\xed"
19865                         "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
19866                         "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
19867                         "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
19868                         "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
19869                         "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
19870                         "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
19871                         "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
19872                         "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
19873                         "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
19874                         "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
19875                         "\x34\x17\xde\xba\x47\xf1\x06\x18"
19876                         "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
19877                         "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
19878                         "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
19879                         "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
19880                         "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
19881                         "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
19882                         "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
19883                         "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
19884                         "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
19885                         "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
19886                         "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
19887                         "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
19888                         "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
19889                         "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
19890                         "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
19891                         "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
19892                         "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
19893                         "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
19894                         "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
19895                         "\x2c\x56\x39\x79\x0f\x69\x44\x75"
19896                         "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
19897                         "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
19898                         "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
19899                         "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
19900                         "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
19901                         "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
19902                         "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
19903                         "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
19904                         "\x63\x9b\xce\x61\x24\x79\xc0\x70"
19905                         "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
19906                         "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
19907                         "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
19908                         "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
19909                         "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
19910                         "\x74\x56\x58\x40\x02\x37\x52\x2c"
19911                         "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
19912                         "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
19913                         "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
19914                         "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
19915                         "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
19916                         "\xed\x38\x80\x36\x72\x43\x27\x49"
19917                         "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
19918                         "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
19919                         "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
19920                         "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
19921                         "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
19922                         "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
19923                         "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
19924                         "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
19925                         "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
19926                         "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
19927                         "\x12\xee\x30\xfe\xd8\x30\xef\x34"
19928                         "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
19929                         "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
19930                         "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
19931                         "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
19932                         "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
19933                         "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
19934                         "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
19935                         "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
19936                         "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
19937                         "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
19938                         "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
19939                         "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
19940                         "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
19941                         "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
19942                         "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
19943                         "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
19944                         "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
19945                         "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
19946                         "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
19947                         "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
19948                         "\x44\x12\xfb\x73\x77\xd4\x13\x39"
19949                         "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
19950                         "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
19951                         "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
19952                         "\x4b\xef\x31\x18\xea\xac\xb1\x84"
19953                         "\x21\xed\xda\x86",
19954                 .len    = 4100,
19955         },
19956 };
19957
19958 static const struct cipher_testvec aes_ofb_tv_template[] = {
19959         { /* From NIST Special Publication 800-38A, Appendix F.5 */
19960                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19961                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19962                 .klen   = 16,
19963                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
19964                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
19965                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19966                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19967                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19968                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19969                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19970                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19971                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19972                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19973                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
19974                           "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
19975                           "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
19976                           "\x3c\x52\xda\xc5\x4e\xd8\x25"
19977                           "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
19978                           "\x44\xf7\xa8\x22\x60\xed\xcc"
19979                           "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
19980                           "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
19981                 .len    = 64,
19982         }, { /* > 16 bytes, not a multiple of 16 bytes */
19983                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19984                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19985                 .klen   = 16,
19986                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
19987                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
19988                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19989                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19990                           "\xae",
19991                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
19992                           "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
19993                           "\x77",
19994                 .len    = 17,
19995         }, { /* < 16 bytes */
19996                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19997                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19998                 .klen   = 16,
19999                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
20000                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
20001                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
20002                 .ctext  = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
20003                 .len    = 7,
20004         }
20005 };
20006
20007 static const struct aead_testvec aes_gcm_tv_template[] = {
20008         { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
20009                 .key    = zeroed_string,
20010                 .klen   = 16,
20011                 .ctext  = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
20012                           "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
20013                 .clen   = 16,
20014         }, {
20015                 .key    = zeroed_string,
20016                 .klen   = 16,
20017                 .ptext  = zeroed_string,
20018                 .plen   = 16,
20019                 .ctext  = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
20020                           "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
20021                           "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
20022                           "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
20023                 .clen   = 32,
20024         }, {
20025                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20026                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20027                 .klen   = 16,
20028                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20029                           "\xde\xca\xf8\x88",
20030                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20031                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20032                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20033                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20034                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20035                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20036                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20037                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20038                 .plen   = 64,
20039                 .ctext  = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20040                           "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20041                           "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20042                           "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20043                           "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20044                           "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20045                           "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20046                           "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
20047                           "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
20048                           "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
20049                 .clen   = 80,
20050         }, {
20051                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20052                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20053                 .klen   = 16,
20054                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20055                           "\xde\xca\xf8\x88",
20056                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20057                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20058                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20059                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20060                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20061                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20062                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20063                           "\xba\x63\x7b\x39",
20064                 .plen   = 60,
20065                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20066                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20067                           "\xab\xad\xda\xd2",
20068                 .alen   = 20,
20069                 .ctext  = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20070                           "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20071                           "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20072                           "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20073                           "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20074                           "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20075                           "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20076                           "\x3d\x58\xe0\x91"
20077                           "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
20078                           "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
20079                 .clen   = 76,
20080         }, {
20081                 .key    = zeroed_string,
20082                 .klen   = 24,
20083                 .ctext  = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
20084                           "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
20085                 .clen   = 16,
20086         }, {
20087                 .key    = zeroed_string,
20088                 .klen   = 24,
20089                 .ptext  = zeroed_string,
20090                 .plen   = 16,
20091                 .ctext  = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
20092                           "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
20093                           "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
20094                           "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
20095                 .clen   = 32,
20096         }, {
20097                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20098                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20099                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
20100                 .klen   = 24,
20101                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20102                           "\xde\xca\xf8\x88",
20103                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20104                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20105                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20106                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20107                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20108                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20109                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20110                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20111                 .plen   = 64,
20112                 .ctext  = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
20113                           "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
20114                           "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
20115                           "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
20116                           "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
20117                           "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
20118                           "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
20119                           "\xcc\xda\x27\x10\xac\xad\xe2\x56"
20120                           "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
20121                           "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
20122                 .clen   = 80,
20123         }, {
20124                 .key    = zeroed_string,
20125                 .klen   = 32,
20126                 .ctext  = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
20127                           "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
20128                 .clen   = 16,
20129         }, {
20130                 .key    = zeroed_string,
20131                 .klen   = 32,
20132                 .ptext  = zeroed_string,
20133                 .plen   = 16,
20134                 .ctext  = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
20135                           "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
20136                           "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
20137                           "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
20138                 .clen   = 32,
20139         }, {
20140                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20141                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20142                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20143                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20144                 .klen   = 32,
20145                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20146                           "\xde\xca\xf8\x88",
20147                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20148                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20149                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20150                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20151                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20152                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20153                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20154                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20155                 .plen   = 64,
20156                 .ctext  = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
20157                           "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
20158                           "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
20159                           "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
20160                           "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
20161                           "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
20162                           "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
20163                           "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
20164                           "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
20165                           "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
20166                 .clen   = 80,
20167         }, {
20168                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20169                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20170                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20171                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20172                 .klen   = 32,
20173                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20174                           "\xde\xca\xf8\x88",
20175                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20176                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20177                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20178                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20179                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20180                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20181                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20182                           "\xba\x63\x7b\x39",
20183                 .plen   = 60,
20184                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20185                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20186                           "\xab\xad\xda\xd2",
20187                 .alen   = 20,
20188                 .ctext  = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
20189                           "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
20190                           "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
20191                           "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
20192                           "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
20193                           "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
20194                           "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
20195                           "\xbc\xc9\xf6\x62"
20196                           "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
20197                           "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
20198                 .clen   = 76,
20199         }, {
20200                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20201                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20202                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
20203                 .klen   = 24,
20204                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20205                           "\xde\xca\xf8\x88",
20206                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20207                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20208                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20209                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20210                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20211                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20212                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20213                           "\xba\x63\x7b\x39",
20214                 .plen   = 60,
20215                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20216                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20217                           "\xab\xad\xda\xd2",
20218                 .alen   = 20,
20219                 .ctext  = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
20220                           "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
20221                           "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
20222                           "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
20223                           "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
20224                           "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
20225                           "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
20226                           "\xcc\xda\x27\x10"
20227                           "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
20228                           "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
20229                 .clen   = 76,
20230         }, {
20231                 .key    = "\x62\x35\xf8\x95\xfc\xa5\xeb\xf6"
20232                           "\x0e\x92\x12\x04\xd3\xa1\x3f\x2e"
20233                           "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
20234                           "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
20235                 .klen   = 32,
20236                 .iv     = "\x00\xff\xff\xff\xff\x00\x00\xff"
20237                           "\xff\xff\x00\xff",
20238                 .ptext  = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
20239                           "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
20240                           "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
20241                           "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
20242                           "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
20243                           "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
20244                           "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
20245                           "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
20246                           "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
20247                           "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
20248                           "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
20249                           "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
20250                           "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
20251                           "\x35\x23\xf4\x20\x41\xd4\xad\x82"
20252                           "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
20253                           "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
20254                           "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
20255                           "\xad\x49\x3a\xae\x98\xce\xa6\x66"
20256                           "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
20257                           "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
20258                           "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
20259                           "\x57\xcc\x89\x09\x75\x9b\x78\x70"
20260                           "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
20261                           "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
20262                           "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
20263                           "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
20264                           "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
20265                           "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
20266                           "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
20267                           "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
20268                           "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
20269                           "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
20270                           "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
20271                           "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
20272                           "\x02\x66\x49\xca\x7c\x91\x05\xf2"
20273                           "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
20274                           "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
20275                           "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
20276                           "\x45\xea\x78\x73\xd9\xb7\x39\x11"
20277                           "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
20278                           "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
20279                           "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
20280                           "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
20281                           "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
20282                           "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
20283                           "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
20284                           "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
20285                           "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
20286                           "\x03\x25\x3c\x8d\x48\x58\x71\x34"
20287                           "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
20288                           "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
20289                           "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
20290                           "\x87\x79\x60\x38\x46\xb4\x25\x57"
20291                           "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
20292                           "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
20293                           "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
20294                           "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
20295                           "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
20296                           "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
20297                           "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
20298                           "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
20299                           "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
20300                           "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
20301                           "\x0b\x63\xde\x87\x42\x79\x8a\x68"
20302                           "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
20303                           "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
20304                           "\xe9\x83\x84\xcb\x28\x69\x09\x69"
20305                           "\xce\x99\x46\x00\x54\xcb\xd8\x38"
20306                           "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
20307                           "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
20308                           "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
20309                           "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
20310                           "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
20311                           "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
20312                           "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
20313                           "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
20314                           "\x78\xc6\x91\x22\x40\x91\x80\xbe"
20315                           "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
20316                           "\x67\x10\xa4\x83\x98\x79\x23\xe7"
20317                           "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
20318                           "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
20319                           "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
20320                           "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
20321                           "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
20322                           "\x3f\x73\x09\xe2\x45\x56\x31\x51"
20323                           "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
20324                           "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
20325                           "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
20326                           "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
20327                           "\xa4\x78\xdb\x74\x3d\x8b\xb5",
20328                 .plen   = 719,
20329                 .ctext  = "\x84\x0b\xdb\xd5\xb7\xa8\xfe\x20"
20330                           "\xbb\xb1\x12\x7f\x41\xea\xb3\xc0"
20331                           "\xa2\xb4\x37\x19\x11\x58\xb6\x0b"
20332                           "\x4c\x1d\x38\x05\x54\xd1\x16\x73"
20333                           "\x8e\x1c\x20\x90\xa2\x9a\xb7\x74"
20334                           "\x47\xe6\xd8\xfc\x18\x3a\xb4\xea"
20335                           "\xd5\x16\x5a\x2c\x53\x01\x46\xb3"
20336                           "\x18\x33\x74\x6c\x50\xf2\xe8\xc0"
20337                           "\x73\xda\x60\x22\xeb\xe3\xe5\x9b"
20338                           "\x20\x93\x6c\x4b\x37\x99\xb8\x23"
20339                           "\x3b\x4e\xac\xe8\x5b\xe8\x0f\xb7"
20340                           "\xc3\x8f\xfb\x4a\x37\xd9\x39\x95"
20341                           "\x34\xf1\xdb\x8f\x71\xd9\xc7\x0b"
20342                           "\x02\xf1\x63\xfc\x9b\xfc\xc5\xab"
20343                           "\xb9\x14\x13\x21\xdf\xce\xaa\x88"
20344                           "\x44\x30\x1e\xce\x26\x01\x92\xf8"
20345                           "\x9f\x00\x4b\x0c\x4b\xf7\x5f\xe0"
20346                           "\x89\xca\x94\x66\x11\x21\x97\xca"
20347                           "\x3e\x83\x74\x2d\xdb\x4d\x11\xeb"
20348                           "\x97\xc2\x14\xff\x9e\x1e\xa0\x6b"
20349                           "\x08\xb4\x31\x2b\x85\xc6\x85\x6c"
20350                           "\x90\xec\x39\xc0\xec\xb3\xb5\x4e"
20351                           "\xf3\x9c\xe7\x83\x3a\x77\x0a\xf4"
20352                           "\x56\xfe\xce\x18\x33\x6d\x0b\x2d"
20353                           "\x33\xda\xc8\x05\x5c\xb4\x09\x2a"
20354                           "\xde\x6b\x52\x98\x01\xef\x36\x3d"
20355                           "\xbd\xf9\x8f\xa8\x3e\xaa\xcd\xd1"
20356                           "\x01\x2d\x42\x49\xc3\xb6\x84\xbb"
20357                           "\x48\x96\xe0\x90\x93\x6c\x48\x64"
20358                           "\xd4\xfa\x7f\x93\x2c\xa6\x21\xc8"
20359                           "\x7a\x23\x7b\xaa\x20\x56\x12\xae"
20360                           "\x16\x9d\x94\x0f\x54\xa1\xec\xca"
20361                           "\x51\x4e\xf2\x39\xf4\xf8\x5f\x04"
20362                           "\x5a\x0d\xbf\xf5\x83\xa1\x15\xe1"
20363                           "\xf5\x3c\xd8\x62\xa3\xed\x47\x89"
20364                           "\x85\x4c\xe5\xdb\xac\x9e\x17\x1d"
20365                           "\x0c\x09\xe3\x3e\x39\x5b\x4d\x74"
20366                           "\x0e\xf5\x34\xee\x70\x11\x4c\xfd"
20367                           "\xdb\x34\xb1\xb5\x10\x3f\x73\xb7"
20368                           "\xf5\xfa\xed\xb0\x1f\xa5\xcd\x3c"
20369                           "\x8d\x35\x83\xd4\x11\x44\x6e\x6c"
20370                           "\x5b\xe0\x0e\x69\xa5\x39\xe5\xbb"
20371                           "\xa9\x57\x24\x37\xe6\x1f\xdd\xcf"
20372                           "\x16\x2a\x13\xf9\x6a\x2d\x90\xa0"
20373                           "\x03\x60\x7a\xed\x69\xd5\x00\x8b"
20374                           "\x7e\x4f\xcb\xb9\xfa\x91\xb9\x37"
20375                           "\xc1\x26\xce\x90\x97\x22\x64\x64"
20376                           "\xc1\x72\x43\x1b\xf6\xac\xc1\x54"
20377                           "\x8a\x10\x9c\xdd\x8d\xd5\x8e\xb2"
20378                           "\xe4\x85\xda\xe0\x20\x5f\xf4\xb4"
20379                           "\x15\xb5\xa0\x8d\x12\x74\x49\x23"
20380                           "\x3a\xdf\x4a\xd3\xf0\x3b\x89\xeb"
20381                           "\xf8\xcc\x62\x7b\xfb\x93\x07\x41"
20382                           "\x61\x26\x94\x58\x70\xa6\x3c\xe4"
20383                           "\xff\x58\xc4\x13\x3d\xcb\x36\x6b"
20384                           "\x32\xe5\xb2\x6d\x03\x74\x6f\x76"
20385                           "\x93\x77\xde\x48\xc4\xfa\x30\x4a"
20386                           "\xda\x49\x80\x77\x0f\x1c\xbe\x11"
20387                           "\xc8\x48\xb1\xe5\xbb\xf2\x8a\xe1"
20388                           "\x96\x2f\x9f\xd1\x8e\x8a\x5c\xe2"
20389                           "\xf7\xd7\xd8\x54\xf3\x3f\xc4\x91"
20390                           "\xb8\xfb\x86\xdc\x46\x24\x91\x60"
20391                           "\x6c\x2f\xc9\x41\x37\x51\x49\x54"
20392                           "\x09\x81\x21\xf3\x03\x9f\x2b\xe3"
20393                           "\x1f\x39\x63\xaf\xf4\xd7\x53\x60"
20394                           "\xa7\xc7\x54\xf9\xee\xb1\xb1\x7d"
20395                           "\x75\x54\x65\x93\xfe\xb1\x68\x6b"
20396                           "\x57\x02\xf9\xbb\x0e\xf9\xf8\xbf"
20397                           "\x01\x12\x27\xb4\xfe\xe4\x79\x7a"
20398                           "\x40\x5b\x51\x4b\xdf\x38\xec\xb1"
20399                           "\x6a\x56\xff\x35\x4d\x42\x33\xaa"
20400                           "\x6f\x1b\xe4\xdc\xe0\xdb\x85\x35"
20401                           "\x62\x10\xd4\xec\xeb\xc5\x7e\x45"
20402                           "\x1c\x6f\x17\xca\x3b\x8e\x2d\x66"
20403                           "\x4f\x4b\x36\x56\xcd\x1b\x59\xaa"
20404                           "\xd2\x9b\x17\xb9\x58\xdf\x7b\x64"
20405                           "\x8a\xff\x3b\x9c\xa6\xb5\x48\x9e"
20406                           "\xaa\xe2\x5d\x09\x71\x32\x5f\xb6"
20407                           "\x29\xbe\xe7\xc7\x52\x7e\x91\x82"
20408                           "\x6b\x6d\x33\xe1\x34\x06\x36\x21"
20409                           "\x5e\xbe\x1e\x2f\x3e\xc1\xfb\xea"
20410                           "\x49\x2c\xb5\xca\xf7\xb0\x37\xea"
20411                           "\x1f\xed\x10\x04\xd9\x48\x0d\x1a"
20412                           "\x1c\xfb\xe7\x84\x0e\x83\x53\x74"
20413                           "\xc7\x65\xe2\x5c\xe5\xba\x73\x4c"
20414                           "\x0e\xe1\xb5\x11\x45\x61\x43\x46"
20415                           "\xaa\x25\x8f\xbd\x85\x08\xfa\x4c"
20416                           "\x15\xc1\xc0\xd8\xf5\xdc\x16\xbb"
20417                           "\x7b\x1d\xe3\x87\x57\xa7\x2a\x1d"
20418                           "\x38\x58\x9e\x8a\x43\xdc\x57"
20419                           "\xd1\x81\x7d\x2b\xe9\xff\x99\x3a"
20420                           "\x4b\x24\x52\x58\x55\xe1\x49\x14",
20421                 .clen   = 735,
20422         }
20423 };
20424
20425 static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
20426         { /* Generated using Crypto++ */
20427                 .key    = zeroed_string,
20428                 .klen   = 20,
20429                 .iv     = zeroed_string,
20430                 .ptext  = zeroed_string,
20431                 .plen   = 16,
20432                 .assoc  = zeroed_string,
20433                 .alen   = 16,
20434                 .ctext  = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
20435                           "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
20436                           "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
20437                           "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
20438                 .clen   = 32,
20439         },{
20440                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20441                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20442                           "\x00\x00\x00\x00",
20443                 .klen   = 20,
20444                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
20445                 .ptext  = zeroed_string,
20446                 .plen   = 16,
20447                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
20448                           "\x00\x00\x00\x00\x00\x00\x00\x01",
20449                 .alen   = 16,
20450                 .ctext  = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
20451                           "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
20452                           "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
20453                           "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
20454                 .clen   = 32,
20455
20456         }, {
20457                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20458                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20459                           "\x00\x00\x00\x00",
20460                 .klen   = 20,
20461                 .iv     = zeroed_string,
20462                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
20463                           "\x01\x01\x01\x01\x01\x01\x01\x01",
20464                 .plen   = 16,
20465                 .assoc  = zeroed_string,
20466                 .alen   = 16,
20467                 .ctext  = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
20468                           "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
20469                           "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
20470                           "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
20471                 .clen   = 32,
20472         }, {
20473                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20474                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20475                           "\x00\x00\x00\x00",
20476                 .klen   = 20,
20477                 .iv     = zeroed_string,
20478                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
20479                           "\x01\x01\x01\x01\x01\x01\x01\x01",
20480                 .plen   = 16,
20481                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
20482                           "\x00\x00\x00\x00\x00\x00\x00\x00",
20483                 .alen   = 16,
20484                 .ctext  = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
20485                           "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
20486                           "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
20487                           "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
20488                 .clen   = 32,
20489         }, {
20490                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20491                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20492                           "\x00\x00\x00\x00",
20493                 .klen   = 20,
20494                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
20495                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
20496                           "\x01\x01\x01\x01\x01\x01\x01\x01",
20497                 .plen   = 16,
20498                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
20499                           "\x00\x00\x00\x00\x00\x00\x00\x01",
20500                 .alen   = 16,
20501                 .ctext  = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
20502                           "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
20503                           "\x64\x50\xF9\x32\x13\xFB\x74\x61"
20504                           "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
20505                 .clen   = 32,
20506         }, {
20507                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20508                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20509                           "\x00\x00\x00\x00",
20510                 .klen   = 20,
20511                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
20512                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
20513                           "\x01\x01\x01\x01\x01\x01\x01\x01"
20514                           "\x01\x01\x01\x01\x01\x01\x01\x01"
20515                           "\x01\x01\x01\x01\x01\x01\x01\x01"
20516                           "\x01\x01\x01\x01\x01\x01\x01\x01"
20517                           "\x01\x01\x01\x01\x01\x01\x01\x01"
20518                           "\x01\x01\x01\x01\x01\x01\x01\x01"
20519                           "\x01\x01\x01\x01\x01\x01\x01\x01",
20520                 .plen   = 64,
20521                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
20522                           "\x00\x00\x00\x00\x00\x00\x00\x01",
20523                 .alen   = 16,
20524                 .ctext  = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
20525                           "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
20526                           "\x98\x14\xA1\x42\x37\x80\xFD\x90"
20527                           "\x68\x12\x01\xA8\x91\x89\xB9\x83"
20528                           "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
20529                           "\x94\x5F\x18\x12\xBA\x27\x09\x39"
20530                           "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
20531                           "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
20532                           "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
20533                           "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
20534                 .clen   = 80,
20535         }, {
20536                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
20537                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20538                           "\x00\x00\x00\x00",
20539                 .klen   = 20,
20540                 .iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
20541                 .ptext  = "\xff\xff\xff\xff\xff\xff\xff\xff"
20542                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20543                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20544                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20545                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20546                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20547                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20548                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20549                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20550                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20551                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20552                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20553                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20554                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20555                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20556                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20557                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20558                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20559                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20560                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20561                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20562                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20563                           "\xff\xff\xff\xff\xff\xff\xff\xff"
20564                           "\xff\xff\xff\xff\xff\xff\xff\xff",
20565                 .plen   = 192,
20566                 .assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
20567                           "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
20568                           "\x89\xab\xcd\xef",
20569                 .alen   = 20,
20570                 .ctext  = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
20571                           "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
20572                           "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
20573                           "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
20574                           "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
20575                           "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
20576                           "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
20577                           "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
20578                           "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
20579                           "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
20580                           "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
20581                           "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
20582                           "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
20583                           "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
20584                           "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
20585                           "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
20586                           "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
20587                           "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
20588                           "\x7E\x13\x06\x82\x08\x17\xA4\x35"
20589                           "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
20590                           "\xA3\x05\x38\x95\x20\x1A\x47\x04"
20591                           "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
20592                           "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
20593                           "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
20594                           "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
20595                           "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
20596                 .clen   = 208,
20597         }, { /* From draft-mcgrew-gcm-test-01 */
20598                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
20599                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
20600                           "\x2E\x44\x3B\x68",
20601                 .klen   = 20,
20602                 .iv     = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
20603                 .ptext  = "\x45\x00\x00\x48\x69\x9A\x00\x00"
20604                           "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
20605                           "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
20606                           "\x38\xD3\x01\x00\x00\x01\x00\x00"
20607                           "\x00\x00\x00\x00\x04\x5F\x73\x69"
20608                           "\x70\x04\x5F\x75\x64\x70\x03\x73"
20609                           "\x69\x70\x09\x63\x79\x62\x65\x72"
20610                           "\x63\x69\x74\x79\x02\x64\x6B\x00"
20611                           "\x00\x21\x00\x01\x01\x02\x02\x01",
20612                 .plen   = 72,
20613                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
20614                           "\x00\x00\x00\x00\x49\x56\xED\x7E"
20615                           "\x3B\x24\x4C\xFE",
20616                 .alen   = 20,
20617                 .ctext  = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
20618                           "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
20619                           "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
20620                           "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
20621                           "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
20622                           "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
20623                           "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
20624                           "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
20625                           "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
20626                           "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
20627                           "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
20628                 .clen   = 88,
20629         }, {
20630                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20631                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
20632                           "\xCA\xFE\xBA\xBE",
20633                 .klen   = 20,
20634                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20635                 .ptext  = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
20636                           "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
20637                           "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
20638                           "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
20639                           "\x00\x01\x00\x00\x00\x00\x00\x00"
20640                           "\x03\x73\x69\x70\x09\x63\x79\x62"
20641                           "\x65\x72\x63\x69\x74\x79\x02\x64"
20642                           "\x6B\x00\x00\x01\x00\x01\x00\x01",
20643                 .plen   = 64,
20644                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
20645                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20646                 .alen   = 16,
20647                 .ctext  = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
20648                           "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
20649                           "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
20650                           "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
20651                           "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
20652                           "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
20653                           "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
20654                           "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
20655                           "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
20656                           "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
20657                 .clen   = 80,
20658         }, {
20659                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20660                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20661                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20662                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20663                           "\x11\x22\x33\x44",
20664                 .klen   = 36,
20665                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
20666                 .ptext  = "\x45\x00\x00\x30\x69\xA6\x40\x00"
20667                           "\x80\x06\x26\x90\xC0\xA8\x01\x02"
20668                           "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
20669                           "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
20670                           "\x70\x02\x40\x00\x20\xBF\x00\x00"
20671                           "\x02\x04\x05\xB4\x01\x01\x04\x02"
20672                           "\x01\x02\x02\x01",
20673                 .plen   = 52,
20674                 .assoc  = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
20675                           "\x01\x02\x03\x04\x05\x06\x07\x08",
20676                 .alen   = 16,
20677                 .ctext  = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
20678                           "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
20679                           "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
20680                           "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
20681                           "\x74\x8A\x63\x79\x85\x77\x1D\x34"
20682                           "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
20683                           "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
20684                           "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
20685                           "\x15\x95\x6C\x96",
20686                 .clen   = 68,
20687         }, {
20688                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
20689                           "\x00\x00\x00\x00\x00\x00\x00\x00"
20690                           "\x00\x00\x00\x00",
20691                 .klen   = 20,
20692                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
20693                 .ptext  = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
20694                           "\x80\x01\xCB\x7A\x40\x67\x93\x18"
20695                           "\x01\x01\x01\x01\x08\x00\x07\x5C"
20696                           "\x02\x00\x44\x00\x61\x62\x63\x64"
20697                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20698                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20699                           "\x75\x76\x77\x61\x62\x63\x64\x65"
20700                           "\x66\x67\x68\x69\x01\x02\x02\x01",
20701                 .plen   = 64,
20702                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x01"
20703                           "\x00\x00\x00\x00\x00\x00\x00\x00",
20704                 .alen   = 16,
20705                 .ctext  = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
20706                           "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
20707                           "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
20708                           "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
20709                           "\x45\x64\x76\x49\x27\x19\xFF\xB6"
20710                           "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
20711                           "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
20712                           "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
20713                           "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
20714                           "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
20715                 .clen   = 80,
20716         }, {
20717                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20718                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20719                           "\x57\x69\x0E\x43",
20720                 .klen   = 20,
20721                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20722                 .ptext  = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
20723                           "\x80\x01\xCB\x7C\x40\x67\x93\x18"
20724                           "\x01\x01\x01\x01\x08\x00\x08\x5C"
20725                           "\x02\x00\x43\x00\x61\x62\x63\x64"
20726                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20727                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20728                           "\x75\x76\x77\x61\x62\x63\x64\x65"
20729                           "\x66\x67\x68\x69\x01\x02\x02\x01",
20730                 .plen   = 64,
20731                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20732                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
20733                           "\xA2\xFC\xA1\xA3",
20734                 .alen   = 20,
20735                 .ctext  = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
20736                           "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
20737                           "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
20738                           "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
20739                           "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
20740                           "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
20741                           "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
20742                           "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
20743                           "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
20744                           "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
20745                 .clen   = 80,
20746         }, {
20747                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20748                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20749                           "\x57\x69\x0E\x43",
20750                 .klen   = 20,
20751                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20752                 .ptext  = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
20753                           "\x80\x01\x44\x1F\x40\x67\x93\xB6"
20754                           "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
20755                           "\x01\x02\x02\x01",
20756                 .plen   = 28,
20757                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20758                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
20759                           "\xA2\xFC\xA1\xA3",
20760                 .alen   = 20,
20761                 .ctext  = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
20762                           "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
20763                           "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
20764                           "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
20765                           "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
20766                           "\xE7\xD0\x5D\x35",
20767                 .clen   = 44,
20768         }, {
20769                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20770                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
20771                           "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20772                           "\xCA\xFE\xBA\xBE",
20773                 .klen   = 28,
20774                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20775                 .ptext  = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
20776                           "\x40\x06\x78\x80\x0A\x01\x03\x8F"
20777                           "\x0A\x01\x06\x12\x80\x23\x06\xB8"
20778                           "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
20779                           "\x50\x10\x16\xD0\x75\x68\x00\x01",
20780                 .plen   = 40,
20781                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
20782                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20783                 .alen   = 16,
20784                 .ctext  = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
20785                           "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
20786                           "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
20787                           "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
20788                           "\x31\x5B\x27\x45\x21\x44\xCC\x77"
20789                           "\x95\x45\x7B\x96\x52\x03\x7F\x53"
20790                           "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
20791                 .clen   = 56,
20792         }, {
20793                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20794                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20795                           "\xDE\xCA\xF8\x88",
20796                 .klen   = 20,
20797                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
20798                 .ptext  = "\x45\x00\x00\x49\x33\xBA\x00\x00"
20799                           "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
20800                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
20801                           "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
20802                           "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
20803                           "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
20804                           "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
20805                           "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
20806                           "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
20807                           "\x23\x01\x01\x01",
20808                 .plen   = 76,
20809                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
20810                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
20811                           "\xCE\xFA\xCE\x74",
20812                 .alen   = 20,
20813                 .ctext  = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
20814                           "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
20815                           "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
20816                           "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
20817                           "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
20818                           "\x84\xE6\x58\x63\x96\x5D\x74\x72"
20819                           "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
20820                           "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
20821                           "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
20822                           "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
20823                           "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
20824                           "\x69\x62\x34\x36",
20825                 .clen   = 92,
20826         }, {
20827                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20828                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20829                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20830                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20831                           "\x73\x61\x6C\x74",
20832                 .klen   = 36,
20833                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
20834                 .ptext  = "\x45\x08\x00\x28\x73\x2C\x00\x00"
20835                           "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
20836                           "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
20837                           "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
20838                           "\x50\x10\x1F\x64\x6D\x54\x00\x01",
20839                 .plen   = 40,
20840                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
20841                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
20842                           "\x69\x76\x65\x63",
20843                 .alen   = 20,
20844                 .ctext  = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
20845                           "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
20846                           "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
20847                           "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
20848                           "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
20849                           "\x45\x16\x26\xC2\x41\x57\x71\xE3"
20850                           "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
20851                 .clen   = 56,
20852         }, {
20853                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20854                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20855                           "\x57\x69\x0E\x43",
20856                 .klen   = 20,
20857                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20858                 .ptext  = "\x45\x00\x00\x49\x33\x3E\x00\x00"
20859                           "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
20860                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
20861                           "\x00\x35\xCB\x45\x80\x03\x02\x5B"
20862                           "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
20863                           "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
20864                           "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
20865                           "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
20866                           "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
20867                           "\x15\x01\x01\x01",
20868                 .plen   = 76,
20869                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20870                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
20871                           "\xA2\xFC\xA1\xA3",
20872                 .alen   = 20,
20873                 .ctext  = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
20874                           "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
20875                           "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
20876                           "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
20877                           "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
20878                           "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
20879                           "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
20880                           "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
20881                           "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
20882                           "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
20883                           "\x76\x91\x89\x60\x97\x63\xB8\xE1"
20884                           "\x8C\xAA\x81\xE2",
20885                 .clen   = 92,
20886         }, {
20887                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20888                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20889                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20890                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20891                           "\x73\x61\x6C\x74",
20892                 .klen   = 36,
20893                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
20894                 .ptext  = "\x63\x69\x73\x63\x6F\x01\x72\x75"
20895                           "\x6C\x65\x73\x01\x74\x68\x65\x01"
20896                           "\x6E\x65\x74\x77\x65\x01\x64\x65"
20897                           "\x66\x69\x6E\x65\x01\x74\x68\x65"
20898                           "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
20899                           "\x67\x69\x65\x73\x01\x74\x68\x61"
20900                           "\x74\x77\x69\x6C\x6C\x01\x64\x65"
20901                           "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
20902                           "\x72\x72\x6F\x77\x01\x02\x02\x01",
20903                 .plen   = 72,
20904                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
20905                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
20906                           "\x69\x76\x65\x63",
20907                 .alen   = 20,
20908                 .ctext  = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
20909                           "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
20910                           "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
20911                           "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
20912                           "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
20913                           "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
20914                           "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
20915                           "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
20916                           "\x12\xA4\x93\x63\x41\x23\x64\xF8"
20917                           "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
20918                           "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
20919                 .clen   = 88,
20920         }, {
20921                 .key    = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
20922                           "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
20923                           "\xD9\x66\x42\x67",
20924                 .klen   = 20,
20925                 .iv     = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
20926                 .ptext  = "\x01\x02\x02\x01",
20927                 .plen   = 4,
20928                 .assoc  = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
20929                           "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
20930                 .alen   = 16,
20931                 .ctext  = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
20932                           "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
20933                           "\x04\xBE\xF2\x70",
20934                 .clen   = 20,
20935         }, {
20936                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20937                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20938                           "\xDE\xCA\xF8\x88",
20939                 .klen   = 20,
20940                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
20941                 .ptext  = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
20942                           "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
20943                           "\x62\x65\x00\x01",
20944                 .plen   = 20,
20945                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
20946                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
20947                           "\xCE\xFA\xCE\x74",
20948                 .alen   = 20,
20949                 .ctext  = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
20950                           "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
20951                           "\x43\x33\x21\x64\x41\x25\x03\x52"
20952                           "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
20953                           "\x43\xAF\x8C\x3E",
20954                 .clen   = 36,
20955         }, {
20956                 .key    = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
20957                           "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
20958                           "\x61\x61\x6E\x64\x64\x6F\x69\x74"
20959                           "\x62\x65\x66\x6F\x72\x65\x69\x61"
20960                           "\x74\x75\x72\x6E",
20961                 .klen   = 36,
20962                 .iv     = "\x33\x30\x21\x69\x67\x65\x74\x6D",
20963                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
20964                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
20965                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
20966                           "\x02\x00\x07\x00\x61\x62\x63\x64"
20967                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20968                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20969                           "\x01\x02\x02\x01",
20970                 .plen   = 52,
20971                 .assoc  = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
20972                           "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
20973                           "\x67\x65\x74\x6D",
20974                 .alen   = 20,
20975                 .ctext  = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
20976                           "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
20977                           "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
20978                           "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
20979                           "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
20980                           "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
20981                           "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
20982                           "\x94\x5F\x66\x93\x68\x66\x1A\x32"
20983                           "\x9F\xB4\xC0\x53",
20984                 .clen   = 68,
20985         }, {
20986                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20987                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20988                           "\x57\x69\x0E\x43",
20989                 .klen   = 20,
20990                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20991                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
20992                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
20993                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
20994                           "\x02\x00\x07\x00\x61\x62\x63\x64"
20995                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20996                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20997                           "\x01\x02\x02\x01",
20998                 .plen   = 52,
20999                 .assoc  = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
21000                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
21001                           "\xA2\xFC\xA1\xA3",
21002                 .alen   = 20,
21003                 .ctext  = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
21004                           "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
21005                           "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
21006                           "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
21007                           "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21008                           "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21009                           "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
21010                           "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
21011                           "\x40\xD7\xCB\x05",
21012                 .clen   = 68,
21013         }, {
21014                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21015                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21016                           "\x22\x43\x3C\x64",
21017                 .klen   = 20,
21018                 .iv     = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
21019                 .ptext  = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
21020                           "\x61\x62\x63\x64\x65\x66\x67\x68"
21021                           "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
21022                           "\x71\x72\x73\x74\x01\x02\x02\x01",
21023                 .plen   = 32,
21024                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
21025                           "\x00\x00\x00\x07\x48\x55\xEC\x7D"
21026                           "\x3A\x23\x4B\xFD",
21027                 .alen   = 20,
21028                 .ctext  = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
21029                           "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
21030                           "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
21031                           "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
21032                           "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
21033                           "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
21034                 .clen   = 48,
21035         }
21036 };
21037
21038 static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
21039         { /* From draft-mcgrew-gcm-test-01 */
21040                 .key    = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
21041                           "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
21042                           "\x22\x43\x3c\x64",
21043                 .klen   = 20,
21044                 .iv     = zeroed_string,
21045                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x07"
21046                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21047                 .alen   = 16,
21048                 .ptext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21049                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21050                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21051                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21052                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21053                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21054                           "\x01\x02\x02\x01",
21055                 .plen   = 52,
21056                 .ctext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21057                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21058                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21059                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21060                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21061                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21062                           "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
21063                           "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
21064                           "\xe4\x09\x9a\xaa",
21065                 .clen   = 68,
21066         }, { /* nearly same as previous, but should fail */
21067                 .key    = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
21068                           "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
21069                           "\x22\x43\x3c\x64",
21070                 .klen   = 20,
21071                 .iv     = zeroed_string,
21072                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x07"
21073                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21074                 .alen   = 16,
21075                 .ptext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21076                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21077                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21078                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21079                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21080                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21081                           "\x01\x02\x02\x01",
21082                 .plen   = 52,
21083                 .novrfy = 1,
21084                 .ctext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21085                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21086                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21087                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21088                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21089                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21090                           "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
21091                           "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
21092                           "\x00\x00\x00\x00",
21093                 .clen   = 68,
21094         },
21095 };
21096
21097 static const struct aead_testvec aes_ccm_tv_template[] = {
21098         { /* From RFC 3610 */
21099                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21100                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21101                 .klen   = 16,
21102                 .iv     = "\x01\x00\x00\x00\x03\x02\x01\x00"
21103                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21104                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
21105                 .alen   = 8,
21106                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21107                           "\x10\x11\x12\x13\x14\x15\x16\x17"
21108                           "\x18\x19\x1a\x1b\x1c\x1d\x1e",
21109                 .plen   = 23,
21110                 .ctext  = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
21111                           "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
21112                           "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
21113                           "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
21114                 .clen   = 31,
21115         }, {
21116                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21117                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21118                 .klen   = 16,
21119                 .iv     = "\x01\x00\x00\x00\x07\x06\x05\x04"
21120                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21121                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
21122                           "\x08\x09\x0a\x0b",
21123                 .alen   = 12,
21124                 .ptext  = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
21125                           "\x14\x15\x16\x17\x18\x19\x1a\x1b"
21126                           "\x1c\x1d\x1e\x1f",
21127                 .plen   = 20,
21128                 .ctext  = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
21129                           "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
21130                           "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
21131                           "\x7d\x9c\x2d\x93",
21132                 .clen   = 28,
21133         }, {
21134                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21135                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21136                 .klen   = 16,
21137                 .iv     = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
21138                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21139                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
21140                 .alen   = 8,
21141                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21142                           "\x10\x11\x12\x13\x14\x15\x16\x17"
21143                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
21144                           "\x20",
21145                 .plen   = 25,
21146                 .ctext  = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
21147                           "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
21148                           "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
21149                           "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
21150                           "\x7e\x5f\x4e",
21151                 .clen   = 35,
21152         }, {
21153                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21154                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21155                 .klen   = 16,
21156                 .iv     = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
21157                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21158                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
21159                           "\x08\x09\x0a\x0b",
21160                 .alen   = 12,
21161                 .ptext  = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
21162                           "\x14\x15\x16\x17\x18\x19\x1a\x1b"
21163                           "\x1c\x1d\x1e",
21164                 .plen   = 19,
21165                 .ctext  = "\x07\x34\x25\x94\x15\x77\x85\x15"
21166                           "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
21167                           "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
21168                           "\x4d\x99\x99\x88\xdd",
21169                 .clen   = 29,
21170         }, {
21171                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
21172                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
21173                 .klen   = 16,
21174                 .iv     = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
21175                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
21176                 .assoc  = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
21177                 .alen   = 8,
21178                 .ptext  = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
21179                           "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
21180                           "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
21181                 .plen   = 24,
21182                 .ctext  = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
21183                           "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
21184                           "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
21185                           "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
21186                 .clen   = 32,
21187         }, {
21188                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
21189                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
21190                 .klen   = 16,
21191                 .iv     = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
21192                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
21193                 .assoc  = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
21194                           "\x20\xea\x60\xc0",
21195                 .alen   = 12,
21196                 .ptext  = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
21197                           "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
21198                           "\x3a\x80\x3b\xa8\x7f",
21199                 .plen   = 21,
21200                 .ctext  = "\x00\x97\x69\xec\xab\xdf\x48\x62"
21201                           "\x55\x94\xc5\x92\x51\xe6\x03\x57"
21202                           "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
21203                           "\x5a\xe0\x70\x45\x51",
21204                 .clen   = 29,
21205         }, {
21206                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
21207                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
21208                 .klen   = 16,
21209                 .iv     = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
21210                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
21211                 .assoc  = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
21212                 .alen   = 8,
21213                 .ptext  = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
21214                           "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
21215                           "\x98\x09\xd6\x7d\xbe\xdd\x18",
21216                 .plen   = 23,
21217                 .ctext  = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
21218                           "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
21219                           "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
21220                           "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
21221                           "\xba",
21222                 .clen   = 33,
21223         }, {
21224                 /* This is taken from FIPS CAVS. */
21225                 .key    = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
21226                           "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
21227                 .klen   = 16,
21228                 .iv     = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
21229                 .alen   = 0,
21230                 .ptext  = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
21231                           "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
21232                           "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
21233                           "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
21234                 .plen   = 32,
21235                 .ctext  = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
21236                           "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
21237                           "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
21238                           "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
21239                           "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
21240                           "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
21241                 .clen   = 48,
21242         }, {
21243                 .key    = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
21244                           "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
21245                 .klen   = 16,
21246                 .iv     = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
21247                           "\x30\x60\x15\x56\x00\x00\x00\x00",
21248                 .assoc  = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
21249                           "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
21250                           "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
21251                           "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
21252                 .alen   = 32,
21253                 .ptext  = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
21254                           "\xa9\x28\x63\xba\x12\xa3\x14\x85"
21255                           "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
21256                           "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
21257                 .plen   = 32,
21258                 .ctext  = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
21259                           "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
21260                           "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
21261                           "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
21262                           "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
21263                           "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
21264                 .clen   = 48,
21265         }, {
21266                 .key    = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
21267                           "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
21268                           "\x53\x14\x73\x66\x8d\x88\xf6\x80",
21269                 .klen   = 24,
21270                 .iv     = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
21271                           "\x50\x20\xda\xe2\x00\x00\x00\x00",
21272                 .assoc  = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
21273                           "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
21274                           "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
21275                           "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
21276                 .alen   = 32,
21277                 .ctext  = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
21278                           "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
21279                 .clen   = 16,
21280         }, {
21281                 .key    = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
21282                           "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
21283                           "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
21284                 .klen   = 24,
21285                 .iv     = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
21286                           "\xef\x09\x2e\x94\x00\x00\x00\x00",
21287                 .assoc  = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
21288                           "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
21289                           "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
21290                           "\xe3\x00\x73\x69\x84\x69\x87\x79",
21291                 .alen   = 32,
21292                 .ptext  = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
21293                           "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
21294                           "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
21295                           "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
21296                 .plen   = 32,
21297                 .ctext  = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
21298                           "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
21299                           "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
21300                           "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
21301                           "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
21302                           "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
21303                 .clen   = 48,
21304         }, {
21305                 .key    = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
21306                           "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
21307                           "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
21308                           "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
21309                 .klen   = 32,
21310                 .iv     = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
21311                           "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
21312                 .assoc  = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
21313                           "\x78\x2b\x94\x02\x29\x0f\x42\x27"
21314                           "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
21315                           "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
21316                 .alen   = 32,
21317                 .ptext  = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
21318                           "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
21319                           "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
21320                           "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
21321                 .plen   = 32,
21322                 .ctext  = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
21323                           "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
21324                           "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
21325                           "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
21326                           "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
21327                 .clen   = 40,
21328         }, {
21329                 .key    = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
21330                           "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
21331                           "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
21332                           "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
21333                 .klen   = 32,
21334                 .iv     = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
21335                           "\x43\xf6\x1e\x50\0\0\0\0",
21336                 .assoc  = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
21337                           "\x13\x02\x01\x0c\x83\x4c\x96\x35"
21338                           "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
21339                           "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
21340                 .alen   = 32,
21341                 .ptext  = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
21342                           "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
21343                           "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
21344                           "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
21345                 .plen   = 32,
21346                 .ctext  = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
21347                           "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
21348                           "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
21349                           "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
21350                           "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
21351                           "\x7b\x72\x8a\xf7",
21352                 .clen   = 44,
21353         }, {
21354                 .key    = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
21355                           "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
21356                           "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
21357                           "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
21358                 .klen   = 32,
21359                 .iv     = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
21360                           "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
21361                 .assoc  = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
21362                           "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
21363                           "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
21364                           "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
21365                 .alen   = 32,
21366                 .ptext  = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
21367                           "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
21368                           "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
21369                           "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
21370                 .plen   = 32,
21371                 .ctext  = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
21372                           "\xef\xbb\x80\x21\x04\x6c\x58\x09"
21373                           "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
21374                           "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
21375                           "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
21376                           "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
21377                 .clen   = 48,
21378         }, {
21379                 /* This is taken from FIPS CAVS. */
21380                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
21381                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
21382                 .klen   = 16,
21383                 .iv     = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
21384                           "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
21385                 .alen   = 0,
21386                 .ptext  = "\x00",
21387                 .plen   = 0,
21388                 .ctext  = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
21389                 .clen   = 8,
21390                 .novrfy = 1,
21391         }, {
21392                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
21393                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
21394                 .klen   = 16,
21395                 .iv     = "\x03\xaf\x94\x87\x78\x35\x82\x81"
21396                           "\x7f\x88\x94\x68\x00\x00\x00\x00",
21397                 .alen   = 0,
21398                 .ptext  = "\x00",
21399                 .plen   = 0,
21400                 .ctext  = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
21401                 .clen   = 8,
21402         }, {
21403                 .key    = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
21404                           "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
21405                 .klen   = 16,
21406                 .iv     = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
21407                           "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
21408                 .assoc  = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
21409                           "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
21410                           "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
21411                           "\xd8\x94\x99\x91\x81\x54\x62\x57",
21412                 .alen   = 32,
21413                 .ptext  = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
21414                           "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
21415                           "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
21416                           "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
21417                 .plen   = 32,
21418                 .ctext  = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
21419                           "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
21420                           "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
21421                           "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
21422                           "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
21423                           "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
21424                 .clen   = 48,
21425                 .novrfy = 1,
21426         }, {
21427                 .key    = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
21428                           "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
21429                 .klen   = 16,
21430                 .iv     = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
21431                           "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
21432                 .assoc  = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
21433                           "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
21434                           "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
21435                           "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
21436                 .alen   = 32,
21437                 .ptext  = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
21438                           "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
21439                           "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
21440                           "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
21441                 .plen   = 32,
21442                 .ctext  = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
21443                           "\xad\x83\x52\x6d\x71\x03\x25\x1c"
21444                           "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
21445                           "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
21446                           "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
21447                           "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
21448                 .clen   = 48,
21449         }, {
21450                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
21451                           "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
21452                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
21453                 .klen   = 24,
21454                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
21455                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
21456                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
21457                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
21458                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
21459                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
21460                 .alen   = 32,
21461                 .ptext  = "\x00",
21462                 .plen   = 0,
21463                 .ctext  = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
21464                 .clen   = 8,
21465         }, {
21466                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
21467                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
21468                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
21469                 .klen   = 24,
21470                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
21471                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
21472                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
21473                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
21474                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
21475                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
21476                 .alen   = 32,
21477                 .ptext  = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
21478                           "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
21479                           "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
21480                           "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
21481                 .plen   = 32,
21482                 .ctext  = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
21483                           "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
21484                           "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
21485                           "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
21486                           "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
21487                 .clen   = 40,
21488         }, {
21489                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
21490                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
21491                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
21492                 .klen   = 24,
21493                 .iv     = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
21494                           "\xad\x71\xaa\x1f\x00\x00\x00\x00",
21495                 .assoc  = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
21496                           "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
21497                           "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
21498                           "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
21499                 .alen   = 32,
21500                 .ptext  = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
21501                           "\x99\x2a\xa8\xca\x04\x25\x45\x90"
21502                           "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
21503                           "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
21504                 .plen   = 32,
21505                 .ctext  = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
21506                           "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
21507                           "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
21508                           "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
21509                           "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
21510                           "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
21511                 .clen   = 48,
21512                 .novrfy = 1,
21513         }, {
21514                 .key    = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
21515                           "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
21516                           "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
21517                           "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
21518                 .klen   = 32,
21519                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
21520                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
21521                 .alen   = 0,
21522                 .ptext  = "\x00",
21523                 .plen   = 0,
21524                 .ctext  = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
21525                 .clen   = 8,
21526         }, {
21527                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
21528                           "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
21529                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
21530                           "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
21531                 .klen   = 32,
21532                 .iv     = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
21533                           "\x36\x58\xe0\x6b\x00\x00\x00\x00",
21534                 .alen   = 0,
21535                 .ptext  = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
21536                           "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
21537                           "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
21538                           "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
21539                 .plen   = 32,
21540                 .ctext  = "\x48\x01\x5e\x02\x24\x04\x66\x47"
21541                           "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
21542                           "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
21543                           "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
21544                           "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
21545                           "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
21546                 .clen   = 48,
21547                 .novrfy = 1,
21548         }, {
21549                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
21550                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
21551                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
21552                           "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
21553                 .klen   = 32,
21554                 .iv     = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
21555                           "\x44\x89\x40\x7b\x00\x00\x00\x00",
21556                 .assoc  = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
21557                           "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
21558                           "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
21559                           "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
21560                 .alen   = 32,
21561                 .ptext  = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
21562                           "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
21563                           "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
21564                           "\x04\x49\x3b\x19\x93\x57\x25\x5d",
21565                 .plen   = 32,
21566                 .ctext  = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
21567                           "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
21568                           "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
21569                           "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
21570                           "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
21571                           "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
21572                 .clen   = 48,
21573         },
21574 };
21575
21576 /*
21577  * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
21578  * use a 13-byte nonce, we only support an 11-byte nonce.  Worse,
21579  * they use AD lengths which are not valid ESP header lengths.
21580  *
21581  * These vectors are copied/generated from the ones for rfc4106 with
21582  * the key truncated by one byte..
21583  */
21584 static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
21585         { /* Generated using Crypto++ */
21586                 .key    = zeroed_string,
21587                 .klen   = 19,
21588                 .iv     = zeroed_string,
21589                 .ptext  = zeroed_string,
21590                 .plen   = 16,
21591                 .assoc  = zeroed_string,
21592                 .alen   = 16,
21593                 .ctext  = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
21594                           "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
21595                           "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
21596                           "\x27\x50\x01\xAC\x03\x33\x39\xFB",
21597                 .clen   = 32,
21598         },{
21599                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21600                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21601                           "\x00\x00\x00",
21602                 .klen   = 19,
21603                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21604                 .ptext  = zeroed_string,
21605                 .plen   = 16,
21606                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21607                           "\x00\x00\x00\x00\x00\x00\x00\x01",
21608                 .alen   = 16,
21609                 .ctext  = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
21610                           "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
21611                           "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
21612                           "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
21613                 .clen   = 32,
21614
21615         }, {
21616                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21617                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21618                           "\x00\x00\x00",
21619                 .klen   = 19,
21620                 .iv     = zeroed_string,
21621                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21622                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21623                 .plen   = 16,
21624                 .assoc  = zeroed_string,
21625                 .alen   = 16,
21626                 .ctext  = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
21627                           "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
21628                           "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
21629                           "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
21630                 .clen   = 32,
21631         }, {
21632                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21633                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21634                           "\x00\x00\x00",
21635                 .klen   = 19,
21636                 .iv     = zeroed_string,
21637                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21638                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21639                 .plen   = 16,
21640                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21641                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21642                 .alen   = 16,
21643                 .ctext  = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
21644                           "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
21645                           "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
21646                           "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
21647                 .clen   = 32,
21648         }, {
21649                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21650                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21651                           "\x00\x00\x00",
21652                 .klen   = 19,
21653                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21654                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21655                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21656                 .plen   = 16,
21657                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21658                           "\x00\x00\x00\x00\x00\x00\x00\x01",
21659                 .alen   = 16,
21660                 .ctext  = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
21661                           "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
21662                           "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
21663                           "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
21664                 .clen   = 32,
21665         }, {
21666                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21667                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21668                           "\x00\x00\x00",
21669                 .klen   = 19,
21670                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21671                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21672                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21673                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21674                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21675                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21676                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21677                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21678                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21679                 .plen   = 64,
21680                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21681                           "\x00\x00\x00\x00\x00\x00\x00\x01",
21682                 .alen   = 16,
21683                 .ctext  = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
21684                           "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
21685                           "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
21686                           "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
21687                           "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
21688                           "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
21689                           "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
21690                           "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
21691                           "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
21692                           "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
21693                 .clen   = 80,
21694         }, {
21695                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
21696                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21697                           "\x00\x00\x00",
21698                 .klen   = 19,
21699                 .iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21700                 .ptext  = "\xff\xff\xff\xff\xff\xff\xff\xff"
21701                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21702                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21703                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21704                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21705                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21706                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21707                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21708                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21709                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21710                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21711                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21712                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21713                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21714                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21715                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21716                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21717                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21718                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21719                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21720                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21721                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21722                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21723                           "\xff\xff\xff\xff\xff\xff\xff\xff",
21724                 .plen   = 192,
21725                 .assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
21726                           "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
21727                           "\x89\xab\xcd\xef",
21728                 .alen   = 20,
21729                 .ctext  = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
21730                           "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
21731                           "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
21732                           "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
21733                           "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
21734                           "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
21735                           "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
21736                           "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
21737                           "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
21738                           "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
21739                           "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
21740                           "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
21741                           "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
21742                           "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
21743                           "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
21744                           "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
21745                           "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
21746                           "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
21747                           "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
21748                           "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
21749                           "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
21750                           "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
21751                           "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
21752                           "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
21753                           "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
21754                           "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
21755                 .clen   = 208,
21756         }, { /* From draft-mcgrew-gcm-test-01 */
21757                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21758                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21759                           "\x2E\x44\x3B",
21760                 .klen   = 19,
21761                 .iv     = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
21762                 .ptext  = "\x45\x00\x00\x48\x69\x9A\x00\x00"
21763                           "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
21764                           "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
21765                           "\x38\xD3\x01\x00\x00\x01\x00\x00"
21766                           "\x00\x00\x00\x00\x04\x5F\x73\x69"
21767                           "\x70\x04\x5F\x75\x64\x70\x03\x73"
21768                           "\x69\x70\x09\x63\x79\x62\x65\x72"
21769                           "\x63\x69\x74\x79\x02\x64\x6B\x00"
21770                           "\x00\x21\x00\x01\x01\x02\x02\x01",
21771                 .plen   = 72,
21772                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
21773                           "\x00\x00\x00\x00\x49\x56\xED\x7E"
21774                           "\x3B\x24\x4C\xFE",
21775                 .alen   = 20,
21776                 .ctext  = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
21777                           "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
21778                           "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
21779                           "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
21780                           "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
21781                           "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
21782                           "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
21783                           "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
21784                           "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
21785                           "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
21786                           "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
21787                 .clen   = 88,
21788         }, {
21789                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21790                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21791                           "\xCA\xFE\xBA",
21792                 .klen   = 19,
21793                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21794                 .ptext  = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
21795                           "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
21796                           "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
21797                           "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
21798                           "\x00\x01\x00\x00\x00\x00\x00\x00"
21799                           "\x03\x73\x69\x70\x09\x63\x79\x62"
21800                           "\x65\x72\x63\x69\x74\x79\x02\x64"
21801                           "\x6B\x00\x00\x01\x00\x01\x00\x01",
21802                 .plen   = 64,
21803                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21804                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21805                 .alen   = 16,
21806                 .ctext  = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
21807                           "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
21808                           "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
21809                           "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
21810                           "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
21811                           "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
21812                           "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
21813                           "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
21814                           "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
21815                           "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
21816                 .clen   = 80,
21817         }, {
21818                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21819                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21820                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21821                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21822                           "\x11\x22\x33",
21823                 .klen   = 35,
21824                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
21825                 .ptext  = "\x45\x00\x00\x30\x69\xA6\x40\x00"
21826                           "\x80\x06\x26\x90\xC0\xA8\x01\x02"
21827                           "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
21828                           "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
21829                           "\x70\x02\x40\x00\x20\xBF\x00\x00"
21830                           "\x02\x04\x05\xB4\x01\x01\x04\x02"
21831                           "\x01\x02\x02\x01",
21832                 .plen   = 52,
21833                 .assoc  = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
21834                           "\x01\x02\x03\x04\x05\x06\x07\x08",
21835                 .alen   = 16,
21836                 .ctext  = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
21837                           "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
21838                           "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
21839                           "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
21840                           "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
21841                           "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
21842                           "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
21843                           "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
21844                           "\x5A\x48\x6A\x3E",
21845                 .clen   = 68,
21846         }, {
21847                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
21848                           "\x00\x00\x00\x00\x00\x00\x00\x00"
21849                           "\x00\x00\x00",
21850                 .klen   = 19,
21851                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
21852                 .ptext  = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
21853                           "\x80\x01\xCB\x7A\x40\x67\x93\x18"
21854                           "\x01\x01\x01\x01\x08\x00\x07\x5C"
21855                           "\x02\x00\x44\x00\x61\x62\x63\x64"
21856                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21857                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21858                           "\x75\x76\x77\x61\x62\x63\x64\x65"
21859                           "\x66\x67\x68\x69\x01\x02\x02\x01",
21860                 .plen   = 64,
21861                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x01"
21862                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21863                 .alen   = 16,
21864                 .ctext  = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
21865                           "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
21866                           "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
21867                           "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
21868                           "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
21869                           "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
21870                           "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
21871                           "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
21872                           "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
21873                           "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
21874                 .clen   = 80,
21875         }, {
21876                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21877                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21878                           "\x57\x69\x0E",
21879                 .klen   = 19,
21880                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21881                 .ptext  = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
21882                           "\x80\x01\xCB\x7C\x40\x67\x93\x18"
21883                           "\x01\x01\x01\x01\x08\x00\x08\x5C"
21884                           "\x02\x00\x43\x00\x61\x62\x63\x64"
21885                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21886                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21887                           "\x75\x76\x77\x61\x62\x63\x64\x65"
21888                           "\x66\x67\x68\x69\x01\x02\x02\x01",
21889                 .plen   = 64,
21890                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21891                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
21892                           "\xA2\xFC\xA1\xA3",
21893                 .alen   = 20,
21894                 .ctext  = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
21895                           "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
21896                           "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
21897                           "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
21898                           "\x79\x01\x58\x50\x01\x06\xE1\xE0"
21899                           "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
21900                           "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
21901                           "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
21902                           "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
21903                           "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
21904                 .clen   = 80,
21905         }, {
21906                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21907                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21908                           "\x57\x69\x0E",
21909                 .klen   = 19,
21910                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21911                 .ptext  = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
21912                           "\x80\x01\x44\x1F\x40\x67\x93\xB6"
21913                           "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
21914                           "\x01\x02\x02\x01",
21915                 .plen   = 28,
21916                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21917                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
21918                           "\xA2\xFC\xA1\xA3",
21919                 .alen   = 20,
21920                 .ctext  = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
21921                           "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
21922                           "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
21923                           "\xA1\xE5\x90\x40\x05\x37\x45\x70"
21924                           "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
21925                           "\x08\xB4\x22\xE4",
21926                 .clen   = 44,
21927         }, {
21928                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21929                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21930                           "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21931                           "\xCA\xFE\xBA",
21932                 .klen   = 27,
21933                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21934                 .ptext  = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
21935                           "\x40\x06\x78\x80\x0A\x01\x03\x8F"
21936                           "\x0A\x01\x06\x12\x80\x23\x06\xB8"
21937                           "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
21938                           "\x50\x10\x16\xD0\x75\x68\x00\x01",
21939                 .plen   = 40,
21940                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21941                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21942                 .alen   = 16,
21943                 .ctext  = "\x05\x22\x15\xD1\x52\x56\x85\x04"
21944                           "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
21945                           "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
21946                           "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
21947                           "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
21948                           "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
21949                           "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
21950                 .clen   = 56,
21951         }, {
21952                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21953                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21954                           "\xDE\xCA\xF8",
21955                 .klen   = 19,
21956                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21957                 .ptext  = "\x45\x00\x00\x49\x33\xBA\x00\x00"
21958                           "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
21959                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21960                           "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
21961                           "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
21962                           "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
21963                           "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
21964                           "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
21965                           "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
21966                           "\x23\x01\x01\x01",
21967                 .plen   = 76,
21968                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
21969                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21970                           "\xCE\xFA\xCE\x74",
21971                 .alen   = 20,
21972                 .ctext  = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
21973                           "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
21974                           "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
21975                           "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
21976                           "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
21977                           "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
21978                           "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
21979                           "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
21980                           "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
21981                           "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
21982                           "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
21983                           "\x12\x25\x0B\xF9",
21984                 .clen   = 92,
21985         }, {
21986                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21987                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21988                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21989                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21990                           "\x73\x61\x6C",
21991                 .klen   = 35,
21992                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
21993                 .ptext  = "\x45\x08\x00\x28\x73\x2C\x00\x00"
21994                           "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
21995                           "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
21996                           "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
21997                           "\x50\x10\x1F\x64\x6D\x54\x00\x01",
21998                 .plen   = 40,
21999                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22000                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22001                           "\x69\x76\x65\x63",
22002                 .alen   = 20,
22003                 .ctext  = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
22004                           "\x2C\x64\x87\x46\x1E\x34\x10\x05"
22005                           "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
22006                           "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
22007                           "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
22008                           "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
22009                           "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
22010                 .clen   = 56,
22011         }, {
22012                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22013                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22014                           "\x57\x69\x0E",
22015                 .klen   = 19,
22016                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22017                 .ptext  = "\x45\x00\x00\x49\x33\x3E\x00\x00"
22018                           "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22019                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22020                           "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22021                           "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22022                           "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22023                           "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22024                           "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22025                           "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22026                           "\x15\x01\x01\x01",
22027                 .plen   = 76,
22028                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22029                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22030                           "\xA2\xFC\xA1\xA3",
22031                 .alen   = 20,
22032                 .ctext  = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
22033                           "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
22034                           "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
22035                           "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
22036                           "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
22037                           "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
22038                           "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
22039                           "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
22040                           "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
22041                           "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
22042                           "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
22043                           "\xCC\xF7\x46\x6F",
22044                 .clen   = 92,
22045         }, {
22046                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22047                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22048                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22049                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22050                           "\x73\x61\x6C",
22051                 .klen   = 35,
22052                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
22053                 .ptext  = "\x63\x69\x73\x63\x6F\x01\x72\x75"
22054                           "\x6C\x65\x73\x01\x74\x68\x65\x01"
22055                           "\x6E\x65\x74\x77\x65\x01\x64\x65"
22056                           "\x66\x69\x6E\x65\x01\x74\x68\x65"
22057                           "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22058                           "\x67\x69\x65\x73\x01\x74\x68\x61"
22059                           "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22060                           "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22061                           "\x72\x72\x6F\x77\x01\x02\x02\x01",
22062                 .plen   = 72,
22063                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22064                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22065                           "\x69\x76\x65\x63",
22066                 .alen   = 20,
22067                 .ctext  = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
22068                           "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
22069                           "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
22070                           "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
22071                           "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
22072                           "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
22073                           "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
22074                           "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
22075                           "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
22076                           "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
22077                           "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
22078                 .clen   = 88,
22079         }, {
22080                 .key    = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
22081                           "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
22082                           "\xD9\x66\x42",
22083                 .klen   = 19,
22084                 .iv     = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22085                 .ptext  = "\x01\x02\x02\x01",
22086                 .plen   = 4,
22087                 .assoc  = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
22088                           "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22089                 .alen   = 16,
22090                 .ctext  = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
22091                           "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
22092                           "\xF7\x61\x24\x62",
22093                 .clen   = 20,
22094         }, {
22095                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22096                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22097                           "\xDE\xCA\xF8",
22098                 .klen   = 19,
22099                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22100                 .ptext  = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
22101                           "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
22102                           "\x62\x65\x00\x01",
22103                 .plen   = 20,
22104                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
22105                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22106                           "\xCE\xFA\xCE\x74",
22107                 .alen   = 20,
22108                 .ctext  = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
22109                           "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
22110                           "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
22111                           "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
22112                           "\x17\x17\x65\xAD",
22113                 .clen   = 36,
22114         }, {
22115                 .key    = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
22116                           "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
22117                           "\x61\x61\x6E\x64\x64\x6F\x69\x74"
22118                           "\x62\x65\x66\x6F\x72\x65\x69\x61"
22119                           "\x74\x75\x72",
22120                 .klen   = 35,
22121                 .iv     = "\x33\x30\x21\x69\x67\x65\x74\x6D",
22122                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22123                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22124                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22125                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22126                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22127                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22128                           "\x01\x02\x02\x01",
22129                 .plen   = 52,
22130                 .assoc  = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
22131                           "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
22132                           "\x67\x65\x74\x6D",
22133                 .alen   = 20,
22134                 .ctext  = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
22135                           "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
22136                           "\x48\x59\x80\x18\x1A\x18\x1A\x04"
22137                           "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
22138                           "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
22139                           "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
22140                           "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
22141                           "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
22142                           "\x39\xDB\xC8\xDC",
22143                 .clen   = 68,
22144         }, {
22145                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22146                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22147                           "\x57\x69\x0E",
22148                 .klen   = 19,
22149                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22150                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22151                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22152                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22153                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22154                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22155                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22156                           "\x01\x02\x02\x01",
22157                 .plen   = 52,
22158                 .assoc  = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
22159                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22160                           "\xA2\xFC\xA1\xA3",
22161                 .alen   = 20,
22162                 .ctext  = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
22163                           "\x10\x60\x54\x25\xEB\x80\x04\x93"
22164                           "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
22165                           "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
22166                           "\x79\x01\x58\x50\x01\x06\xE1\xE0"
22167                           "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
22168                           "\x44\xCC\x90\xBF\x00\x94\x94\x92"
22169                           "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
22170                           "\xF4\x95\x5D\x4F",
22171                 .clen   = 68,
22172         }, {
22173                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22174                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22175                           "\x22\x43\x3C",
22176                 .klen   = 19,
22177                 .iv     = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
22178                 .ptext  = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
22179                           "\x61\x62\x63\x64\x65\x66\x67\x68"
22180                           "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
22181                           "\x71\x72\x73\x74\x01\x02\x02\x01",
22182                 .plen   = 32,
22183                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
22184                           "\x00\x00\x00\x07\x48\x55\xEC\x7D"
22185                           "\x3A\x23\x4B\xFD",
22186                 .alen   = 20,
22187                 .ctext  = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
22188                           "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
22189                           "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
22190                           "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
22191                           "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
22192                           "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
22193                 .clen   = 48,
22194         }
22195 };
22196
22197 /*
22198  * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
22199  */
22200 static const struct aead_testvec rfc7539_tv_template[] = {
22201         {
22202                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
22203                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
22204                           "\x90\x91\x92\x93\x94\x95\x96\x97"
22205                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
22206                 .klen   = 32,
22207                 .iv     = "\x07\x00\x00\x00\x40\x41\x42\x43"
22208                           "\x44\x45\x46\x47",
22209                 .assoc  = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
22210                           "\xc4\xc5\xc6\xc7",
22211                 .alen   = 12,
22212                 .ptext  = "\x4c\x61\x64\x69\x65\x73\x20\x61"
22213                           "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
22214                           "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
22215                           "\x74\x68\x65\x20\x63\x6c\x61\x73"
22216                           "\x73\x20\x6f\x66\x20\x27\x39\x39"
22217                           "\x3a\x20\x49\x66\x20\x49\x20\x63"
22218                           "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
22219                           "\x65\x72\x20\x79\x6f\x75\x20\x6f"
22220                           "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
22221                           "\x74\x69\x70\x20\x66\x6f\x72\x20"
22222                           "\x74\x68\x65\x20\x66\x75\x74\x75"
22223                           "\x72\x65\x2c\x20\x73\x75\x6e\x73"
22224                           "\x63\x72\x65\x65\x6e\x20\x77\x6f"
22225                           "\x75\x6c\x64\x20\x62\x65\x20\x69"
22226                           "\x74\x2e",
22227                 .plen   = 114,
22228                 .ctext  = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
22229                           "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
22230                           "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
22231                           "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
22232                           "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
22233                           "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
22234                           "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
22235                           "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
22236                           "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
22237                           "\x98\x03\xae\xe3\x28\x09\x1b\x58"
22238                           "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
22239                           "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
22240                           "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
22241                           "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
22242                           "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
22243                           "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
22244                           "\x06\x91",
22245                 .clen   = 130,
22246         }, {
22247                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
22248                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
22249                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
22250                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
22251                 .klen   = 32,
22252                 .iv     = "\x00\x00\x00\x00\x01\x02\x03\x04"
22253                           "\x05\x06\x07\x08",
22254                 .assoc  = "\xf3\x33\x88\x86\x00\x00\x00\x00"
22255                           "\x00\x00\x4e\x91",
22256                 .alen   = 12,
22257                 .ptext  = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
22258                           "\x2d\x44\x72\x61\x66\x74\x73\x20"
22259                           "\x61\x72\x65\x20\x64\x72\x61\x66"
22260                           "\x74\x20\x64\x6f\x63\x75\x6d\x65"
22261                           "\x6e\x74\x73\x20\x76\x61\x6c\x69"
22262                           "\x64\x20\x66\x6f\x72\x20\x61\x20"
22263                           "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
22264                           "\x6f\x66\x20\x73\x69\x78\x20\x6d"
22265                           "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
22266                           "\x64\x20\x6d\x61\x79\x20\x62\x65"
22267                           "\x20\x75\x70\x64\x61\x74\x65\x64"
22268                           "\x2c\x20\x72\x65\x70\x6c\x61\x63"
22269                           "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
22270                           "\x62\x73\x6f\x6c\x65\x74\x65\x64"
22271                           "\x20\x62\x79\x20\x6f\x74\x68\x65"
22272                           "\x72\x20\x64\x6f\x63\x75\x6d\x65"
22273                           "\x6e\x74\x73\x20\x61\x74\x20\x61"
22274                           "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
22275                           "\x20\x49\x74\x20\x69\x73\x20\x69"
22276                           "\x6e\x61\x70\x70\x72\x6f\x70\x72"
22277                           "\x69\x61\x74\x65\x20\x74\x6f\x20"
22278                           "\x75\x73\x65\x20\x49\x6e\x74\x65"
22279                           "\x72\x6e\x65\x74\x2d\x44\x72\x61"
22280                           "\x66\x74\x73\x20\x61\x73\x20\x72"
22281                           "\x65\x66\x65\x72\x65\x6e\x63\x65"
22282                           "\x20\x6d\x61\x74\x65\x72\x69\x61"
22283                           "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
22284                           "\x63\x69\x74\x65\x20\x74\x68\x65"
22285                           "\x6d\x20\x6f\x74\x68\x65\x72\x20"
22286                           "\x74\x68\x61\x6e\x20\x61\x73\x20"
22287                           "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
22288                           "\x20\x69\x6e\x20\x70\x72\x6f\x67"
22289                           "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
22290                           "\x9d",
22291                 .plen   = 265,
22292                 .ctext  = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
22293                           "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
22294                           "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
22295                           "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
22296                           "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
22297                           "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
22298                           "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
22299                           "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
22300                           "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
22301                           "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
22302                           "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
22303                           "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
22304                           "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
22305                           "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
22306                           "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
22307                           "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
22308                           "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
22309                           "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
22310                           "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
22311                           "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
22312                           "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
22313                           "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
22314                           "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
22315                           "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
22316                           "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
22317                           "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
22318                           "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
22319                           "\x73\xa6\x72\x76\x27\x09\x7a\x10"
22320                           "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
22321                           "\xfa\x68\xf0\xff\x77\x98\x71\x30"
22322                           "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
22323                           "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
22324                           "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
22325                           "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
22326                           "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
22327                           "\x38",
22328                 .clen   = 281,
22329         },
22330 };
22331
22332 /*
22333  * draft-irtf-cfrg-chacha20-poly1305
22334  */
22335 static const struct aead_testvec rfc7539esp_tv_template[] = {
22336         {
22337                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
22338                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
22339                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
22340                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
22341                           "\x00\x00\x00\x00",
22342                 .klen   = 36,
22343                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
22344                 .assoc  = "\xf3\x33\x88\x86\x00\x00\x00\x00"
22345                           "\x00\x00\x4e\x91\x01\x02\x03\x04"
22346                           "\x05\x06\x07\x08",
22347                 .alen   = 20,
22348                 .ptext  = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
22349                           "\x2d\x44\x72\x61\x66\x74\x73\x20"
22350                           "\x61\x72\x65\x20\x64\x72\x61\x66"
22351                           "\x74\x20\x64\x6f\x63\x75\x6d\x65"
22352                           "\x6e\x74\x73\x20\x76\x61\x6c\x69"
22353                           "\x64\x20\x66\x6f\x72\x20\x61\x20"
22354                           "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
22355                           "\x6f\x66\x20\x73\x69\x78\x20\x6d"
22356                           "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
22357                           "\x64\x20\x6d\x61\x79\x20\x62\x65"
22358                           "\x20\x75\x70\x64\x61\x74\x65\x64"
22359                           "\x2c\x20\x72\x65\x70\x6c\x61\x63"
22360                           "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
22361                           "\x62\x73\x6f\x6c\x65\x74\x65\x64"
22362                           "\x20\x62\x79\x20\x6f\x74\x68\x65"
22363                           "\x72\x20\x64\x6f\x63\x75\x6d\x65"
22364                           "\x6e\x74\x73\x20\x61\x74\x20\x61"
22365                           "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
22366                           "\x20\x49\x74\x20\x69\x73\x20\x69"
22367                           "\x6e\x61\x70\x70\x72\x6f\x70\x72"
22368                           "\x69\x61\x74\x65\x20\x74\x6f\x20"
22369                           "\x75\x73\x65\x20\x49\x6e\x74\x65"
22370                           "\x72\x6e\x65\x74\x2d\x44\x72\x61"
22371                           "\x66\x74\x73\x20\x61\x73\x20\x72"
22372                           "\x65\x66\x65\x72\x65\x6e\x63\x65"
22373                           "\x20\x6d\x61\x74\x65\x72\x69\x61"
22374                           "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
22375                           "\x63\x69\x74\x65\x20\x74\x68\x65"
22376                           "\x6d\x20\x6f\x74\x68\x65\x72\x20"
22377                           "\x74\x68\x61\x6e\x20\x61\x73\x20"
22378                           "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
22379                           "\x20\x69\x6e\x20\x70\x72\x6f\x67"
22380                           "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
22381                           "\x9d",
22382                 .plen   = 265,
22383                 .ctext  = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
22384                           "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
22385                           "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
22386                           "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
22387                           "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
22388                           "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
22389                           "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
22390                           "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
22391                           "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
22392                           "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
22393                           "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
22394                           "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
22395                           "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
22396                           "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
22397                           "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
22398                           "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
22399                           "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
22400                           "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
22401                           "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
22402                           "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
22403                           "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
22404                           "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
22405                           "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
22406                           "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
22407                           "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
22408                           "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
22409                           "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
22410                           "\x73\xa6\x72\x76\x27\x09\x7a\x10"
22411                           "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
22412                           "\xfa\x68\xf0\xff\x77\x98\x71\x30"
22413                           "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
22414                           "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
22415                           "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
22416                           "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
22417                           "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
22418                           "\x38",
22419                 .clen   = 281,
22420         },
22421 };
22422
22423 /*
22424  * AEGIS-128 test vectors - generated via reference implementation from
22425  * SUPERCOP (https://bench.cr.yp.to/supercop.html):
22426  *
22427  *   https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
22428  *   (see crypto_aead/aegis128/)
22429  */
22430 static const struct aead_testvec aegis128_tv_template[] = {
22431         {
22432                 .key    = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
22433                           "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
22434                 .klen   = 16,
22435                 .iv     = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
22436                           "\x40\x6d\x59\x48\xfc\x92\x61\x03",
22437                 .assoc  = "",
22438                 .alen   = 0,
22439                 .ptext  = "",
22440                 .plen   = 0,
22441                 .ctext  = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
22442                           "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
22443                 .clen   = 16,
22444         }, {
22445                 .key    = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
22446                           "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
22447                 .klen   = 16,
22448                 .iv     = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
22449                           "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
22450                 .assoc  = "",
22451                 .alen   = 0,
22452                 .ptext  = "\x79",
22453                 .plen   = 1,
22454                 .ctext  = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
22455                           "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
22456                           "\xcc",
22457                 .clen   = 17,
22458         }, {
22459                 .key    = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
22460                           "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
22461                 .klen   = 16,
22462                 .iv     = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
22463                           "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
22464                 .assoc  = "",
22465                 .alen   = 0,
22466                 .ptext  = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
22467                           "\x82\x8e\x16\xb4\xed\x6d\x47",
22468                 .plen   = 15,
22469                 .ctext  = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
22470                           "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
22471                           "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
22472                           "\x7a\x21\x16\xb3\xe6\x67\x66",
22473                 .clen   = 31,
22474         }, {
22475                 .key    = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
22476                           "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
22477                 .klen   = 16,
22478                 .iv     = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
22479                           "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
22480                 .assoc  = "",
22481                 .alen   = 0,
22482                 .ptext  = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
22483                           "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
22484                 .plen   = 16,
22485                 .ctext  = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
22486                           "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
22487                           "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
22488                           "\x51\x10\x16\x27\x70\x9b\x64\x29",
22489                 .clen   = 32,
22490         }, {
22491                 .key    = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
22492                           "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
22493                 .klen   = 16,
22494                 .iv     = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
22495                           "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
22496                 .assoc  = "",
22497                 .alen   = 0,
22498                 .ptext  = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
22499                           "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
22500                           "\xd3",
22501                 .plen   = 17,
22502                 .ctext  = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
22503                           "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
22504                           "\x46\x80\xb1\x0e\x18\x30\x40\x97"
22505                           "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
22506                           "\x3b",
22507                 .clen   = 33,
22508         }, {
22509                 .key    = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
22510                           "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
22511                 .klen   = 16,
22512                 .iv     = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
22513                           "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
22514                 .assoc  = "",
22515                 .alen   = 0,
22516                 .ptext  = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
22517                           "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
22518                           "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
22519                           "\x88\x11\x39\x12\x1c\x3a\xbb",
22520                 .plen   = 31,
22521                 .ctext  = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
22522                           "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
22523                           "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
22524                           "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
22525                           "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
22526                           "\x75\xc4\x53\x01\x89\x45\x59",
22527                 .clen   = 47,
22528         }, {
22529                 .key    = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
22530                           "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
22531                 .klen   = 16,
22532                 .iv     = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
22533                           "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
22534                 .assoc  = "",
22535                 .alen   = 0,
22536                 .ptext  = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
22537                           "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
22538                           "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
22539                           "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
22540                 .plen   = 32,
22541                 .ctext  = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
22542                           "\x95\xf4\x58\x38\x14\x83\x27\x01"
22543                           "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
22544                           "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
22545                           "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
22546                           "\x51\x52\x77\xf2\x5e\x85\x80\x41",
22547                 .clen   = 48,
22548         }, {
22549                 .key    = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
22550                           "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
22551                 .klen   = 16,
22552                 .iv     = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
22553                           "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
22554                 .assoc  = "\xd5",
22555                 .alen   = 1,
22556                 .ptext  = "",
22557                 .plen   = 0,
22558                 .ctext  = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
22559                           "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
22560                 .clen   = 16,
22561         }, {
22562                 .key    = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
22563                           "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
22564                 .klen   = 16,
22565                 .iv     = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
22566                           "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
22567                 .assoc  = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
22568                           "\x68\x75\x16\xf8\xcb\x7e\xa7",
22569                 .alen   = 15,
22570                 .ptext  = "",
22571                 .plen   = 0,
22572                 .ctext  = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
22573                           "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
22574                 .clen   = 16,
22575         }, {
22576                 .key    = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
22577                           "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
22578                 .klen   = 16,
22579                 .iv     = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
22580                           "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
22581                 .assoc  = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
22582                           "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
22583                 .alen   = 16,
22584                 .ptext  = "",
22585                 .plen   = 0,
22586                 .ctext  = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
22587                           "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
22588                 .clen   = 16,
22589         }, {
22590                 .key    = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
22591                           "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
22592                 .klen   = 16,
22593                 .iv     = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
22594                           "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
22595                 .assoc  = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
22596                           "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
22597                           "\x07",
22598                 .alen   = 17,
22599                 .ptext  = "",
22600                 .plen   = 0,
22601                 .ctext  = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
22602                           "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
22603                 .clen   = 16,
22604         }, {
22605                 .key    = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
22606                           "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
22607                 .klen   = 16,
22608                 .iv     = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
22609                           "\xca\xcd\xff\x88\xba\x22\xbe\x47",
22610                 .assoc  = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
22611                           "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
22612                           "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
22613                           "\xe0\x17\x3a\x2e\x83\x5c\x8f",
22614                 .alen   = 31,
22615                 .ptext  = "",
22616                 .plen   = 0,
22617                 .ctext  = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
22618                           "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
22619                 .clen   = 16,
22620         }, {
22621                 .key    = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
22622                           "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
22623                 .klen   = 16,
22624                 .iv     = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
22625                           "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
22626                 .assoc  = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
22627                           "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
22628                           "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
22629                           "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
22630                 .alen   = 32,
22631                 .ptext  = "",
22632                 .plen   = 0,
22633                 .ctext  = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
22634                           "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
22635                 .clen   = 16,
22636         }, {
22637                 .key    = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
22638                           "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
22639                 .klen   = 16,
22640                 .iv     = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
22641                           "\xcc\x81\x63\xab\xae\x6b\x43\x54",
22642                 .assoc  = "\x40",
22643                 .alen   = 1,
22644                 .ptext  = "\x4f",
22645                 .plen   = 1,
22646                 .ctext  = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
22647                           "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
22648                           "\x39",
22649                 .clen   = 17,
22650         }, {
22651                 .key    = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
22652                           "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
22653                 .klen   = 16,
22654                 .iv     = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
22655                           "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
22656                 .assoc  = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
22657                           "\x6d\x92\x42\x61\xa7\x58\x37",
22658                 .alen   = 15,
22659                 .ptext  = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
22660                           "\x8d\xc8\x6e\x85\xa5\x21\x67",
22661                 .plen   = 15,
22662                 .ctext  = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
22663                           "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
22664                           "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
22665                           "\x98\xbd\x71\x7a\xef\xa4\xfa",
22666                 .clen   = 31,
22667         }, {
22668                 .key    = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
22669                           "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
22670                 .klen   = 16,
22671                 .iv     = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
22672                           "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
22673                 .assoc  = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
22674                           "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
22675                 .alen   = 16,
22676                 .ptext  = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
22677                           "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
22678                 .plen   = 16,
22679                 .ctext  = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
22680                           "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
22681                           "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
22682                           "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
22683                 .clen   = 32,
22684         }, {
22685                 .key    = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
22686                           "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
22687                 .klen   = 16,
22688                 .iv     = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
22689                           "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
22690                 .assoc  = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
22691                           "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
22692                           "\x05",
22693                 .alen   = 17,
22694                 .ptext  = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
22695                           "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
22696                           "\xd0",
22697                 .plen   = 17,
22698                 .ctext  = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
22699                           "\x38\x2d\x69\x90\x1c\x71\x38\x98"
22700                           "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
22701                           "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
22702                           "\x93",
22703                 .clen   = 33,
22704         }, {
22705                 .key    = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
22706                           "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
22707                 .klen   = 16,
22708                 .iv     = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
22709                           "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
22710                 .assoc  = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
22711                           "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
22712                           "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
22713                           "\x68\x28\x73\x40\x9f\x96\x4a",
22714                 .alen   = 31,
22715                 .ptext  = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
22716                           "\x10\x57\x85\x39\x93\x8f\xaf\x70"
22717                           "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
22718                           "\x98\x34\xab\x37\x56\xae\x32",
22719                 .plen   = 31,
22720                 .ctext  = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
22721                           "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
22722                           "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
22723                           "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
22724                           "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
22725                           "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
22726                 .clen   = 47,
22727         }, {
22728                 .key    = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
22729                           "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
22730                 .klen   = 16,
22731                 .iv     = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
22732                           "\x50\xc4\xde\x82\x90\x21\x11\x73",
22733                 .assoc  = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
22734                           "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
22735                           "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
22736                           "\x29\x56\x52\x19\x79\xf5\xe9\x37",
22737                 .alen   = 32,
22738                 .ptext  = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
22739                           "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
22740                           "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
22741                           "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
22742                 .plen   = 32,
22743                 .ctext  = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
22744                           "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
22745                           "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
22746                           "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
22747                           "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
22748                           "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
22749                 .clen   = 48,
22750         }, {
22751                 .key    = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
22752                           "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
22753                 .klen   = 16,
22754                 .iv     = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
22755                           "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
22756                 .assoc  = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
22757                           "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
22758                           "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
22759                           "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
22760                           "\x9d",
22761                 .alen   = 33,
22762                 .ptext  = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
22763                           "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
22764                           "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
22765                           "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
22766                           "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
22767                           "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
22768                           "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
22769                           "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
22770                           "\xbd",
22771                 .plen   = 65,
22772                 .ctext  = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
22773                           "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
22774                           "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
22775                           "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
22776                           "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
22777                           "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
22778                           "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
22779                           "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
22780                           "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
22781                           "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
22782                           "\x3f",
22783                 .clen   = 81,
22784         }, {
22785                 .key    = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
22786                           "\x32\x42\x15\x80\x85\xa1\x65\xfe",
22787                 .klen   = 16,
22788                 .iv     = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
22789                           "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
22790                 .assoc  = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
22791                           "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
22792                           "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
22793                           "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
22794                           "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
22795                           "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
22796                           "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
22797                           "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
22798                           "\x54",
22799                 .alen   = 65,
22800                 .ptext  = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
22801                           "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
22802                           "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
22803                           "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
22804                           "\x2f",
22805                 .plen   = 33,
22806                 .ctext  = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
22807                           "\x77\x09\xac\x74\xef\xd2\x56\xae"
22808                           "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
22809                           "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
22810                           "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
22811                           "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
22812                           "\x39",
22813                 .clen   = 49,
22814         }, {
22815                 .key    = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
22816                           "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
22817                 .klen   = 16,
22818                 .iv     = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
22819                           "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
22820                 .assoc  = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
22821                           "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
22822                 .alen   = 16,
22823                 .ptext  = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
22824                           "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
22825                 .plen   = 16,
22826                 .ctext  = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
22827                           "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
22828                           "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
22829                           "\xde\x20\x59\x77\xc1\x74\x90",
22830                 .clen   = 31,
22831         }, {
22832                 .key    = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
22833                           "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
22834                 .klen   = 16,
22835                 .iv     = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
22836                           "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
22837                 .assoc  = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
22838                           "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
22839                 .alen   = 16,
22840                 .ptext  = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
22841                           "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
22842                 .plen   = 16,
22843                 .ctext  = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
22844                           "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
22845                           "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
22846                           "\xe9\xe0\x17\x45\x70\x12",
22847                 .clen   = 30,
22848         }, {
22849                 .key    = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
22850                           "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
22851                 .klen   = 16,
22852                 .iv     = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
22853                           "\xd5\x07\x58\x59\x72\xd7\xde\x92",
22854                 .assoc  = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
22855                           "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
22856                 .alen   = 16,
22857                 .ptext  = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
22858                           "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
22859                 .plen   = 16,
22860                 .ctext  = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
22861                           "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
22862                           "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
22863                 .clen   = 24,
22864         },
22865 };
22866
22867 /*
22868  * All key wrapping test vectors taken from
22869  * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
22870  *
22871  * Note: as documented in keywrap.c, the ivout for encryption is the first
22872  * semiblock of the ciphertext from the test vector. For decryption, iv is
22873  * the first semiblock of the ciphertext.
22874  */
22875 static const struct cipher_testvec aes_kw_tv_template[] = {
22876         {
22877                 .key    = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
22878                           "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
22879                 .klen   = 16,
22880                 .ptext  = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
22881                           "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
22882                 .ctext  = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
22883                           "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
22884                 .len    = 16,
22885                 .iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
22886                 .generates_iv = true,
22887         }, {
22888                 .key    = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
22889                           "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
22890                           "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
22891                           "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
22892                 .klen   = 32,
22893                 .ptext  = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
22894                           "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
22895                 .ctext  = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
22896                           "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
22897                 .len    = 16,
22898                 .iv_out = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
22899                 .generates_iv = true,
22900         },
22901 };
22902
22903 /*
22904  * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
22905  * test vectors, taken from Appendix B.2.9 and B.2.10:
22906  *     http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
22907  * Only AES-128 is supported at this time.
22908  */
22909 static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
22910         {
22911                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22912                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
22913                 .klen   = 16,
22914                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22915                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
22916                 .dtlen  = 16,
22917                 .v      = "\x80\x00\x00\x00\x00\x00\x00\x00"
22918                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22919                 .vlen   = 16,
22920                 .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
22921                           "\x84\x79\x66\x85\xc1\x2f\x76\x41",
22922                 .rlen   = 16,
22923                 .loops  = 1,
22924         }, {
22925                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22926                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
22927                 .klen   = 16,
22928                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22929                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
22930                 .dtlen  = 16,
22931                 .v      = "\xc0\x00\x00\x00\x00\x00\x00\x00"
22932                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22933                 .vlen   = 16,
22934                 .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
22935                           "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
22936                 .rlen   = 16,
22937                 .loops  = 1,
22938         }, {
22939                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22940                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
22941                 .klen   = 16,
22942                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22943                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
22944                 .dtlen  = 16,
22945                 .v      = "\xe0\x00\x00\x00\x00\x00\x00\x00"
22946                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22947                 .vlen   = 16,
22948                 .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
22949                           "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
22950                 .rlen   = 16,
22951                 .loops  = 1,
22952         }, {
22953                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22954                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
22955                 .klen   = 16,
22956                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22957                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
22958                 .dtlen  = 16,
22959                 .v      = "\xf0\x00\x00\x00\x00\x00\x00\x00"
22960                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22961                 .vlen   = 16,
22962                 .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
22963                           "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
22964                 .rlen   = 16,
22965                 .loops  = 1,
22966         }, {
22967                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22968                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
22969                 .klen   = 16,
22970                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22971                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
22972                 .dtlen  = 16,
22973                 .v      = "\xf8\x00\x00\x00\x00\x00\x00\x00"
22974                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22975                 .vlen   = 16,
22976                 .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
22977                           "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
22978                 .rlen   = 16,
22979                 .loops  = 1,
22980         }, {    /* Monte Carlo Test */
22981                 .key    = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
22982                           "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
22983                 .klen   = 16,
22984                 .dt     = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
22985                           "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
22986                 .dtlen  = 16,
22987                 .v      = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
22988                           "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
22989                 .vlen   = 16,
22990                 .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
22991                           "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
22992                 .rlen   = 16,
22993                 .loops  = 10000,
22994         },
22995 };
22996
22997 /*
22998  * SP800-90A DRBG Test vectors from
22999  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
23000  *
23001  * Test vectors for DRBG with prediction resistance. All types of DRBGs
23002  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
23003  * w/o personalization string, w/ and w/o additional input string).
23004  */
23005 static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
23006         {
23007                 .entropy = (unsigned char *)
23008                         "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
23009                         "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
23010                         "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
23011                         "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
23012                 .entropylen = 48,
23013                 .entpra = (unsigned char *)
23014                         "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
23015                         "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
23016                         "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
23017                 .entprb = (unsigned char *)
23018                         "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
23019                         "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
23020                         "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
23021                 .entprlen = 32,
23022                 .expected = (unsigned char *)
23023                         "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
23024                         "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
23025                         "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
23026                         "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
23027                         "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
23028                         "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
23029                         "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
23030                         "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
23031                         "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
23032                         "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
23033                         "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
23034                 .expectedlen = 128,
23035                 .addtla = NULL,
23036                 .addtlb = NULL,
23037                 .addtllen = 0,
23038                 .pers = NULL,
23039                 .perslen = 0,
23040         }, {
23041                 .entropy = (unsigned char *)
23042                         "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
23043                         "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
23044                         "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
23045                         "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
23046                 .entropylen = 48,
23047                 .entpra = (unsigned char *)
23048                         "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
23049                         "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
23050                         "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
23051                 .entprb = (unsigned char *)
23052                         "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
23053                         "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
23054                         "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
23055                 .entprlen = 32,
23056                 .expected = (unsigned char *)
23057                         "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
23058                         "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
23059                         "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
23060                         "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
23061                         "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
23062                         "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
23063                         "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
23064                         "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
23065                         "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
23066                         "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
23067                         "\x50\x47\xa3\x63\x81\x16\xaf\x19",
23068                 .expectedlen = 128,
23069                 .addtla = (unsigned char *)
23070                         "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
23071                         "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
23072                         "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
23073                 .addtlb = (unsigned char *)
23074                         "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
23075                         "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
23076                         "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
23077                 .addtllen = 32,
23078                 .pers = NULL,
23079                 .perslen = 0,
23080         }, {
23081                 .entropy = (unsigned char *)
23082                         "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
23083                         "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
23084                         "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
23085                         "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
23086                 .entropylen = 48,
23087                 .entpra = (unsigned char *)
23088                         "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
23089                         "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
23090                         "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
23091                 .entprb = (unsigned char *)
23092                         "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
23093                         "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
23094                         "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
23095                 .entprlen = 32,
23096                 .expected = (unsigned char *)
23097                         "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
23098                         "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
23099                         "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
23100                         "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
23101                         "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
23102                         "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
23103                         "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
23104                         "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
23105                         "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
23106                         "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
23107                         "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
23108                 .expectedlen = 128,
23109                 .addtla = NULL,
23110                 .addtlb = NULL,
23111                 .addtllen = 0,
23112                 .pers = (unsigned char *)
23113                         "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
23114                         "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
23115                         "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
23116                 .perslen = 32,
23117         }, {
23118                 .entropy = (unsigned char *)
23119                         "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
23120                         "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
23121                         "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
23122                         "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
23123                 .entropylen = 48,
23124                 .entpra = (unsigned char *)
23125                         "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
23126                         "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
23127                         "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
23128                 .entprb = (unsigned char *)
23129                         "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
23130                         "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
23131                         "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
23132                 .entprlen = 32,
23133                 .expected = (unsigned char *)
23134                         "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
23135                         "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
23136                         "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
23137                         "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
23138                         "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
23139                         "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
23140                         "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
23141                         "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
23142                         "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
23143                         "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
23144                         "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
23145                 .expectedlen = 128,
23146                 .addtla = (unsigned char *)
23147                         "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
23148                         "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
23149                         "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
23150                 .addtlb = (unsigned char *)
23151                         "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
23152                         "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
23153                         "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
23154                 .addtllen = 32,
23155                 .pers = (unsigned char *)
23156                         "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
23157                         "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
23158                         "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
23159                 .perslen = 32,
23160         },
23161 };
23162
23163 static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
23164         {
23165                 .entropy = (unsigned char *)
23166                         "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
23167                         "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
23168                         "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
23169                         "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
23170                 .entropylen = 48,
23171                 .entpra = (unsigned char *)
23172                         "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
23173                         "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
23174                         "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
23175                 .entprb = (unsigned char *)
23176                         "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
23177                         "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
23178                         "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
23179                 .entprlen = 32,
23180                 .expected = (unsigned char *)
23181                         "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
23182                         "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
23183                         "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
23184                         "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
23185                         "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
23186                         "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
23187                         "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
23188                         "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
23189                         "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
23190                         "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
23191                         "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
23192                 .expectedlen = 128,
23193                 .addtla = NULL,
23194                 .addtlb = NULL,
23195                 .addtllen = 0,
23196                 .pers = NULL,
23197                 .perslen = 0,
23198         }, {
23199                 .entropy = (unsigned char *)
23200                         "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
23201                         "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
23202                         "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
23203                         "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
23204                 .entropylen = 48,
23205                 .entpra = (unsigned char *)
23206                         "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
23207                         "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
23208                         "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
23209                 .entprb = (unsigned char *)
23210                         "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
23211                         "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
23212                         "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
23213                 .entprlen = 32,
23214                 .expected = (unsigned char *)
23215                         "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
23216                         "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
23217                         "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
23218                         "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
23219                         "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
23220                         "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
23221                         "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
23222                         "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
23223                         "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
23224                         "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
23225                         "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
23226                 .expectedlen = 128,
23227                 .addtla = (unsigned char *)
23228                         "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
23229                         "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
23230                         "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
23231                 .addtlb = (unsigned char *)
23232                         "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
23233                         "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
23234                         "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
23235                 .addtllen = 32,
23236                 .pers = NULL,
23237                 .perslen = 0,
23238         }, {
23239                 .entropy = (unsigned char *)
23240                         "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
23241                         "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
23242                         "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
23243                         "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
23244                 .entropylen = 48,
23245                 .entpra = (unsigned char *)
23246                         "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
23247                         "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
23248                         "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
23249                 .entprb = (unsigned char *)
23250                         "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
23251                         "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
23252                         "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
23253                 .entprlen = 32,
23254                 .expected = (unsigned char *)
23255                         "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
23256                         "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
23257                         "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
23258                         "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
23259                         "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
23260                         "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
23261                         "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
23262                         "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
23263                         "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
23264                         "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
23265                         "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
23266                 .expectedlen = 128,
23267                 .addtla = NULL,
23268                 .addtlb = NULL,
23269                 .addtllen = 0,
23270                 .pers = (unsigned char *)
23271                         "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
23272                         "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
23273                         "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
23274                 .perslen = 32,
23275         }, {
23276                 .entropy = (unsigned char *)
23277                         "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
23278                         "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
23279                         "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
23280                         "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
23281                 .entropylen = 48,
23282                 .entpra = (unsigned char *)
23283                         "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
23284                         "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
23285                         "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
23286                 .entprb = (unsigned char *)
23287                         "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
23288                         "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
23289                         "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
23290                 .entprlen = 32,
23291                 .expected = (unsigned char *)
23292                         "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
23293                         "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
23294                         "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
23295                         "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
23296                         "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
23297                         "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
23298                         "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
23299                         "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
23300                         "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
23301                         "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
23302                         "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
23303                 .expectedlen = 128,
23304                 .addtla = (unsigned char *)
23305                         "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
23306                         "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
23307                         "\x86\x88\x55\x28\xc1\x69\xdd\x76",
23308                 .addtlb = (unsigned char *)
23309                         "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
23310                         "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
23311                         "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
23312                 .addtllen = 32,
23313                 .pers = (unsigned char *)
23314                         "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
23315                         "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
23316                         "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
23317                 .perslen = 32,
23318         },
23319 };
23320
23321 static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
23322         {
23323                 .entropy = (unsigned char *)
23324                         "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
23325                         "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
23326                 .entropylen = 24,
23327                 .entpra = (unsigned char *)
23328                         "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
23329                         "\xb4\xec\x80\xb1",
23330                 .entprb = (unsigned char *)
23331                         "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
23332                         "\x28\x07\xeb\xc2",
23333                 .entprlen = 16,
23334                 .expected = (unsigned char *)
23335                         "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
23336                         "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
23337                         "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
23338                         "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
23339                         "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
23340                         "\x8a\xf1\x23\xa8",
23341                 .expectedlen = 64,
23342                 .addtla = NULL,
23343                 .addtlb = NULL,
23344                 .addtllen = 0,
23345                 .pers = NULL,
23346                 .perslen = 0,
23347         }, {
23348                 .entropy = (unsigned char *)
23349                         "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
23350                         "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
23351                 .entropylen = 24,
23352                 .entpra = (unsigned char *)
23353                         "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
23354                         "\x67\xd1\x08\xf8",
23355                 .entprb = (unsigned char *)
23356                         "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
23357                         "\xd4\xba\x04\x58",
23358                 .entprlen = 16,
23359                 .expected = (unsigned char *)
23360                         "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
23361                         "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
23362                         "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
23363                         "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
23364                         "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
23365                         "\xc1\x02\x41\x82",
23366                 .expectedlen = 64,
23367                 .addtla = (unsigned char *)
23368                         "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
23369                         "\xeb\xb3\x01\x76",
23370                 .addtlb = (unsigned char *)
23371                         "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
23372                         "\xd0\x7f\xcc\x43",
23373                 .addtllen = 16,
23374                 .pers = NULL,
23375                 .perslen = 0,
23376         }, {
23377                 .entropy = (unsigned char *)
23378                         "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
23379                         "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
23380                 .entropylen = 24,
23381                 .entpra = (unsigned char *)
23382                         "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
23383                         "\xc3\x0f\xe3\xb0",
23384                 .entprb = (unsigned char *)
23385                         "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
23386                         "\xd6\x9c\x9d\xe8",
23387                 .entprlen = 16,
23388                 .expected = (unsigned char *)
23389                         "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
23390                         "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
23391                         "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
23392                         "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
23393                         "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
23394                         "\x72\x82\x0c\xcf",
23395                 .expectedlen = 64,
23396                 .addtla = NULL,
23397                 .addtlb = NULL,
23398                 .addtllen = 0,
23399                 .pers = (unsigned char *)
23400                         "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
23401                         "\x21\x52\xb3\xad",
23402                 .perslen = 16,
23403         }, {
23404                 .entropy = (unsigned char *)
23405                         "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
23406                         "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
23407                 .entropylen = 24,
23408                 .entpra = (unsigned char *)
23409                         "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
23410                         "\xc4\x2c\xe8\x10",
23411                 .entprb = (unsigned char *)
23412                         "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
23413                         "\x08\xf7\xa5\x01",
23414                 .entprlen = 16,
23415                 .expected = (unsigned char *)
23416                         "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
23417                         "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
23418                         "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
23419                         "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
23420                         "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
23421                         "\x23\xc5\x1f\x68",
23422                 .expectedlen = 64,
23423                 .addtla = (unsigned char *)
23424                         "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
23425                         "\x23\x6d\xad\x1d",
23426                 .addtlb = (unsigned char *)
23427                         "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
23428                         "\xbc\x59\x31\x8c",
23429                 .addtllen = 16,
23430                 .pers = (unsigned char *)
23431                         "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
23432                         "\x37\x3c\x5c\x0b",
23433                 .perslen = 16,
23434         },
23435 };
23436
23437 /*
23438  * SP800-90A DRBG Test vectors from
23439  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
23440  *
23441  * Test vectors for DRBG without prediction resistance. All types of DRBGs
23442  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
23443  * w/o personalization string, w/ and w/o additional input string).
23444  */
23445 static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
23446         {
23447                 .entropy = (unsigned char *)
23448                         "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
23449                         "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
23450                         "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
23451                         "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
23452                 .entropylen = 48,
23453                 .expected = (unsigned char *)
23454                         "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
23455                         "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
23456                         "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
23457                         "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
23458                         "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
23459                         "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
23460                         "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
23461                         "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
23462                         "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
23463                         "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
23464                         "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
23465                 .expectedlen = 128,
23466                 .addtla = NULL,
23467                 .addtlb = NULL,
23468                 .addtllen = 0,
23469                 .pers = NULL,
23470                 .perslen = 0,
23471         }, {
23472                 .entropy = (unsigned char *)
23473                         "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
23474                         "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
23475                         "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
23476                         "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
23477                 .entropylen = 48,
23478                 .expected = (unsigned char *)
23479                         "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
23480                         "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
23481                         "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
23482                         "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
23483                         "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
23484                         "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
23485                         "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
23486                         "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
23487                         "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
23488                         "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
23489                         "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
23490                 .expectedlen = 128,
23491                 .addtla = (unsigned char *)
23492                         "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
23493                         "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
23494                         "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
23495                 .addtlb = (unsigned char *)
23496                         "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
23497                         "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
23498                         "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
23499                 .addtllen = 32,
23500                 .pers = NULL,
23501                 .perslen = 0,
23502         }, {
23503                 .entropy = (unsigned char *)
23504                         "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
23505                         "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
23506                         "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
23507                         "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
23508                 .entropylen = 48,
23509                 .expected = (unsigned char *)
23510                         "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
23511                         "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
23512                         "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
23513                         "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
23514                         "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
23515                         "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
23516                         "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
23517                         "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
23518                         "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
23519                         "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
23520                         "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
23521                 .expectedlen = 128,
23522                 .addtla = NULL,
23523                 .addtlb = NULL,
23524                 .addtllen = 0,
23525                 .pers = (unsigned char *)
23526                         "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
23527                         "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
23528                         "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
23529                 .perslen = 32,
23530         }, {
23531                 .entropy = (unsigned char *)
23532                         "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
23533                         "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
23534                         "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
23535                         "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
23536                 .entropylen = 48,
23537                 .expected = (unsigned char *)
23538                         "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
23539                         "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
23540                         "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
23541                         "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
23542                         "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
23543                         "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
23544                         "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
23545                         "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
23546                         "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
23547                         "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
23548                         "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
23549                 .expectedlen = 128,
23550                 .addtla = (unsigned char *)
23551                         "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
23552                         "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
23553                         "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
23554                 .addtlb = (unsigned char *)
23555                         "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
23556                         "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
23557                         "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
23558                 .addtllen = 32,
23559                 .pers = (unsigned char *)
23560                         "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
23561                         "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
23562                         "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
23563                 .perslen = 32,
23564         },
23565 };
23566
23567 static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
23568         {
23569                 .entropy = (unsigned char *)
23570                         "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
23571                         "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
23572                         "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
23573                         "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
23574                 .entropylen = 48,
23575                 .expected = (unsigned char *)
23576                         "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
23577                         "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
23578                         "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
23579                         "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
23580                         "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
23581                         "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
23582                         "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
23583                         "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
23584                         "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
23585                         "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
23586                         "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
23587                 .expectedlen = 128,
23588                 .addtla = NULL,
23589                 .addtlb = NULL,
23590                 .addtllen = 0,
23591                 .pers = NULL,
23592                 .perslen = 0,
23593         }, {
23594                 .entropy = (unsigned char *)
23595                         "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
23596                         "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
23597                         "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
23598                         "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
23599                 .entropylen = 48,
23600                 .expected = (unsigned char *)
23601                         "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
23602                         "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
23603                         "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
23604                         "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
23605                         "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
23606                         "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
23607                         "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
23608                         "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
23609                         "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
23610                         "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
23611                         "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
23612                 .expectedlen = 128,
23613                 .addtla = (unsigned char *)
23614                         "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
23615                         "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
23616                         "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
23617                 .addtlb = (unsigned char *)
23618                         "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
23619                         "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
23620                         "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
23621                 .addtllen = 32,
23622                 .pers = NULL,
23623                 .perslen = 0,
23624         }, {
23625                 .entropy = (unsigned char *)
23626                         "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
23627                         "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
23628                         "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
23629                         "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
23630                 .entropylen = 48,
23631                 .expected = (unsigned char *)
23632                         "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
23633                         "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
23634                         "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
23635                         "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
23636                         "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
23637                         "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
23638                         "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
23639                         "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
23640                         "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
23641                         "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
23642                         "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
23643                 .expectedlen = 128,
23644                 .addtla = NULL,
23645                 .addtlb = NULL,
23646                 .addtllen = 0,
23647                 .pers = (unsigned char *)
23648                         "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
23649                         "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
23650                         "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
23651                 .perslen = 32,
23652         }, {
23653                 .entropy = (unsigned char *)
23654                         "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
23655                         "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
23656                         "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
23657                         "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
23658                 .entropylen = 48,
23659                 .expected = (unsigned char *)
23660                         "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
23661                         "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
23662                         "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
23663                         "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
23664                         "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
23665                         "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
23666                         "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
23667                         "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
23668                         "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
23669                         "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
23670                         "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
23671                 .expectedlen = 128,
23672                 .addtla = (unsigned char *)
23673                         "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
23674                         "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
23675                         "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
23676                 .addtlb = (unsigned char *)
23677                         "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
23678                         "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
23679                         "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
23680                 .addtllen = 32,
23681                 .pers = (unsigned char *)
23682                         "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
23683                         "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
23684                         "\x36\x60\x3b\xca\x37\xc9\xee\x29",
23685                 .perslen = 32,
23686         },
23687 };
23688
23689 /* Test vector obtained during NIST ACVP testing */
23690 static const struct drbg_testvec drbg_nopr_hmac_sha512_tv_template[] = {
23691         {
23692                 .entropy = (unsigned char *)
23693                         "\xDF\xB0\xF2\x18\xF0\x78\x07\x01\x29\xA4\x29\x26"
23694                         "\x2F\x8A\x34\xCB\x37\xEF\xEE\x41\xE6\x96\xF7\xFF"
23695                         "\x61\x47\xD3\xED\x41\x97\xEF\x64\x0C\x48\x56\x5A"
23696                         "\xE6\x40\x6E\x4A\x3B\x9E\x7F\xAC\x08\xEC\x25\xAE"
23697                         "\x0B\x51\x0E\x2C\x44\x2E\xBD\xDB\x57\xD0\x4A\x6D"
23698                         "\x80\x3E\x37\x0F",
23699                 .entropylen = 64,
23700                 .expected = (unsigned char *)
23701                         "\x48\xc6\xa8\xdb\x09\xae\xde\x5d\x8c\x77\xf3\x52"
23702                         "\x92\x71\xa7\xb9\x6d\x53\x6d\xa3\x73\xe3\x55\xb8"
23703                         "\x39\xd6\x44\x2b\xee\xcb\xe1\x32\x15\x30\xbe\x4e"
23704                         "\x9b\x1e\x06\xd1\x6b\xbf\xd5\x3e\xea\x7c\xf5\xaa"
23705                         "\x4b\x05\xb5\xd3\xa7\xb2\xc4\xfe\xe7\x1b\xda\x11"
23706                         "\x43\x98\x03\x70\x90\xbf\x6e\x43\x9b\xe4\x14\xef"
23707                         "\x71\xa3\x2a\xef\x9f\x0d\xb9\xe3\x52\xf2\x89\xc9"
23708                         "\x66\x9a\x60\x60\x99\x60\x62\x4c\xd6\x45\x52\x54"
23709                         "\xe6\x32\xb2\x1b\xd4\x48\xb5\xa6\xf9\xba\xd3\xff"
23710                         "\x29\xc5\x21\xe0\x91\x31\xe0\x38\x8c\x93\x0f\x3c"
23711                         "\x30\x7b\x53\xa3\xc0\x7f\x2d\xc1\x39\xec\x69\x0e"
23712                         "\xf2\x4a\x3c\x65\xcc\xed\x07\x2a\xf2\x33\x83\xdb"
23713                         "\x10\x74\x96\x40\xa7\xc5\x1b\xde\x81\xca\x0b\x8f"
23714                         "\x1e\x0a\x1a\x7a\xbf\x3c\x4a\xb8\x8c\xaf\x7b\x80"
23715                         "\xb7\xdc\x5d\x0f\xef\x1b\x97\x6e\x3d\x17\x23\x5a"
23716                         "\x31\xb9\x19\xcf\x5a\xc5\x00\x2a\xb6\xf3\x99\x34"
23717                         "\x65\xee\xe9\x1c\x55\xa0\x3b\x07\x60\xc9\xc4\xe4"
23718                         "\xf7\x57\x5c\x34\x9f\xc6\x31\x30\x3f\x23\xb2\x89"
23719                         "\xc0\xe7\x50\xf3\xde\x59\xd1\x0e\xb3\x0f\x78\xcc"
23720                         "\x7e\x54\x5e\x61\xf6\x86\x3d\xb3\x11\x94\x36\x3e"
23721                         "\x61\x5c\x48\x99\xf6\x7b\x02\x9a\xdc\x6a\x28\xe6"
23722                         "\xd1\xa7\xd1\xa3",
23723                 .expectedlen = 256,
23724                 .addtla = (unsigned char *)
23725                         "\x6B\x0F\x4A\x48\x0B\x12\x85\xE4\x72\x23\x7F\x7F"
23726                         "\x94\x7C\x24\x69\x14\x9F\xDC\x72\xA6\x33\xAD\x3C"
23727                         "\x8C\x72\xC1\x88\x49\x59\x82\xC5",
23728                 .addtlb = (unsigned char *)
23729                         "\xC4\xAF\x36\x3D\xB8\x5D\x9D\xFA\x92\xF5\xC3\x3C"
23730                         "\x2D\x1E\x22\x2A\xBD\x8B\x05\x6F\xA3\xFC\xBF\x16"
23731                         "\xED\xAA\x75\x8D\x73\x9A\xF6\xEC",
23732                 .addtllen = 32,
23733                 .pers = NULL,
23734                 .perslen = 0,
23735         }
23736 };
23737
23738 static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
23739         {
23740                 .entropy = (unsigned char *)
23741                         "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
23742                         "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
23743                         "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
23744                         "\xac\x9b\xbb\x00",
23745                 .entropylen = 40,
23746                 .expected = (unsigned char *)
23747                         "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
23748                         "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
23749                         "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
23750                         "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
23751                         "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
23752                         "\x9a\x9d\xf1\x0d",
23753                 .expectedlen = 64,
23754                 .addtla = NULL,
23755                 .addtlb = NULL,
23756                 .addtllen = 0,
23757                 .pers = NULL,
23758                 .perslen = 0,
23759         },
23760 };
23761
23762 static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
23763         {
23764                 .entropy = (unsigned char *)
23765                         "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
23766                         "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
23767                         "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
23768                         "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
23769                 .entropylen = 48,
23770                 .expected = (unsigned char *)
23771                         "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
23772                         "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
23773                         "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
23774                         "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
23775                         "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
23776                         "\xb4\xf0\x7e\x1d",
23777                 .expectedlen = 64,
23778                 .addtla = NULL,
23779                 .addtlb = NULL,
23780                 .addtllen = 0,
23781                 .pers = NULL,
23782                 .perslen = 0,
23783         },
23784 };
23785
23786 static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
23787         {
23788                 .entropy = (unsigned char *)
23789                         "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
23790                         "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
23791                 .entropylen = 24,
23792                 .expected = (unsigned char *)
23793                         "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
23794                         "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
23795                         "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
23796                         "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
23797                         "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
23798                         "\xcb\x2d\xd6\xb0",
23799                 .expectedlen = 64,
23800                 .addtla = NULL,
23801                 .addtlb = NULL,
23802                 .addtllen = 0,
23803                 .pers = NULL,
23804                 .perslen = 0,
23805         }, {
23806                 .entropy = (unsigned char *)
23807                         "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
23808                         "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
23809                 .entropylen = 24,
23810                 .expected = (unsigned char *)
23811                         "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
23812                         "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
23813                         "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
23814                         "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
23815                         "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
23816                         "\xc3\xdf\xb3\x81",
23817                 .expectedlen = 64,
23818                 .addtla = (unsigned char *)
23819                         "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
23820                         "\x91\x4d\x81\x56",
23821                 .addtlb = (unsigned char *)
23822                         "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
23823                         "\x4a\x55\xd1\xc6",
23824                 .addtllen = 16,
23825                 .pers = NULL,
23826                 .perslen = 0,
23827         }, {
23828                 .entropy = (unsigned char *)
23829                         "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
23830                         "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
23831                 .entropylen = 24,
23832                 .expected = (unsigned char *)
23833                         "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
23834                         "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
23835                         "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
23836                         "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
23837                         "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
23838                         "\x34\x30\x0c\x3d",
23839                 .expectedlen = 64,
23840                 .addtla = NULL,
23841                 .addtlb = NULL,
23842                 .addtllen = 0,
23843                 .pers = (unsigned char *)
23844                         "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
23845                         "\x0b\xc6\x97\x54",
23846                 .perslen = 16,
23847         }, {
23848                 .entropy = (unsigned char *)
23849                         "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
23850                         "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
23851                 .entropylen = 24,
23852                 .expected = (unsigned char *)
23853                         "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
23854                         "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
23855                         "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
23856                         "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
23857                         "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
23858                         "\x2b\x49\x1e\x5c",
23859                 .expectedlen = 64,
23860                 .addtla = (unsigned char *)
23861                         "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
23862                         "\x44\x85\xe7\xfe",
23863                 .addtlb = (unsigned char *)
23864                         "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
23865                         "\x82\x16\x62\x7f",
23866                 .addtllen = 16,
23867                 .pers = (unsigned char *)
23868                         "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
23869                         "\x8e\xcf\xe0\x02",
23870                 .perslen = 16,
23871         },
23872 };
23873
23874 /* Cast5 test vectors from RFC 2144 */
23875 static const struct cipher_testvec cast5_tv_template[] = {
23876         {
23877                 .key    = "\x01\x23\x45\x67\x12\x34\x56\x78"
23878                           "\x23\x45\x67\x89\x34\x56\x78\x9a",
23879                 .klen   = 16,
23880                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23881                 .ctext  = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
23882                 .len    = 8,
23883         }, {
23884                 .key    = "\x01\x23\x45\x67\x12\x34\x56\x78"
23885                           "\x23\x45",
23886                 .klen   = 10,
23887                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23888                 .ctext  = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
23889                 .len    = 8,
23890         }, {
23891                 .key    = "\x01\x23\x45\x67\x12",
23892                 .klen   = 5,
23893                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23894                 .ctext  = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
23895                 .len    = 8,
23896         }, { /* Generated from TF test vectors */
23897                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23898                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23899                 .klen   = 16,
23900                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23901                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23902                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23903                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23904                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23905                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23906                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23907                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23908                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23909                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23910                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23911                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23912                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23913                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23914                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23915                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23916                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23917                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23918                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23919                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23920                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23921                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23922                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23923                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23924                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23925                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23926                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23927                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23928                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23929                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23930                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23931                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23932                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23933                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23934                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23935                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23936                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23937                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23938                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23939                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23940                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23941                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23942                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23943                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23944                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23945                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23946                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23947                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23948                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23949                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23950                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23951                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23952                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23953                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23954                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23955                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23956                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23957                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23958                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23959                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23960                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23961                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23962                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23963                 .ctext  = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
23964                           "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
23965                           "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
23966                           "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
23967                           "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
23968                           "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
23969                           "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
23970                           "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
23971                           "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
23972                           "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
23973                           "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
23974                           "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
23975                           "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
23976                           "\xED\x34\x35\x78\x6B\x91\xC9\x32"
23977                           "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
23978                           "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
23979                           "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
23980                           "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
23981                           "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
23982                           "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
23983                           "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
23984                           "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
23985                           "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
23986                           "\x78\x75\x37\x55\xC1\xF5\x90\x40"
23987                           "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
23988                           "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
23989                           "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
23990                           "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
23991                           "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
23992                           "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
23993                           "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
23994                           "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
23995                           "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
23996                           "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
23997                           "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
23998                           "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
23999                           "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
24000                           "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
24001                           "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
24002                           "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
24003                           "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
24004                           "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
24005                           "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
24006                           "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
24007                           "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
24008                           "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
24009                           "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
24010                           "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
24011                           "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
24012                           "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
24013                           "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
24014                           "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
24015                           "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
24016                           "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
24017                           "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
24018                           "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
24019                           "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
24020                           "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
24021                           "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
24022                           "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
24023                           "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
24024                           "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
24025                 .len    = 496,
24026         },
24027 };
24028
24029 static const struct cipher_testvec cast5_cbc_tv_template[] = {
24030         { /* Generated from TF test vectors */
24031                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24032                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
24033                 .klen   = 16,
24034                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
24035                 .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
24036                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24037                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24038                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24039                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24040                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24041                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24042                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24043                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24044                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24045                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24046                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24047                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24048                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24049                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24050                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24051                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24052                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24053                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24054                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24055                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24056                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24057                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24058                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24059                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24060                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24061                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24062                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24063                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24064                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24065                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24066                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24067                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24068                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24069                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24070                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24071                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24072                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24073                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24074                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24075                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24076                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24077                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24078                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24079                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24080                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24081                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24082                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24083                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24084                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24085                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24086                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24087                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24088                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24089                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24090                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24091                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24092                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24093                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24094                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24095                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24096                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24097                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
24098                 .ctext  = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
24099                           "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
24100                           "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
24101                           "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
24102                           "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
24103                           "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
24104                           "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
24105                           "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
24106                           "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
24107                           "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
24108                           "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
24109                           "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
24110                           "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
24111                           "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
24112                           "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
24113                           "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
24114                           "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
24115                           "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
24116                           "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
24117                           "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
24118                           "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
24119                           "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
24120                           "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
24121                           "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
24122                           "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
24123                           "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
24124                           "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
24125                           "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
24126                           "\x90\x12\x37\x49\x27\x98\x69\x18"
24127                           "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
24128                           "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
24129                           "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
24130                           "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
24131                           "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
24132                           "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
24133                           "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
24134                           "\x03\x55\x0E\x02\x41\x4A\x45\x06"
24135                           "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
24136                           "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
24137                           "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
24138                           "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
24139                           "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
24140                           "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
24141                           "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
24142                           "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
24143                           "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
24144                           "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
24145                           "\x11\xB4\x18\x17\x1A\x65\x92\x56"
24146                           "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
24147                           "\x1A\x01\x22\x45\x17\x62\x52\x6C"
24148                           "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
24149                           "\x32\x66\x6F\x23\x7F\x94\x36\x88"
24150                           "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
24151                           "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
24152                           "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
24153                           "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
24154                           "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
24155                           "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
24156                           "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
24157                           "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
24158                           "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
24159                           "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
24160                 .len    = 496,
24161         },
24162 };
24163
24164 static const struct cipher_testvec cast5_ctr_tv_template[] = {
24165         { /* Generated from TF test vectors */
24166                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24167                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
24168                 .klen   = 16,
24169                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
24170                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
24171                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24172                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24173                           "\x3A",
24174                 .ctext  = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
24175                           "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
24176                           "\x0C",
24177                 .len    = 17,
24178         }, { /* Generated from TF test vectors */
24179                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24180                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
24181                 .klen   = 16,
24182                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
24183                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
24184                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24185                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24186                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24187                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24188                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24189                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24190                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24191                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24192                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24193                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24194                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24195                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24196                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24197                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24198                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24199                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24200                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24201                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24202                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24203                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24204                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24205                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24206                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24207                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24208                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24209                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24210                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24211                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24212                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24213                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24214                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24215                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24216                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24217                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24218                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24219                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24220                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24221                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24222                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24223                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24224                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24225                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24226                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24227                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24228                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24229                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24230                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24231                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24232                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24233                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24234                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24235                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24236                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24237                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24238                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24239                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24240                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24241                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24242                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24243                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24244                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24245                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
24246                 .ctext  = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
24247                           "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
24248                           "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
24249                           "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
24250                           "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
24251                           "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
24252                           "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
24253                           "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
24254                           "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
24255                           "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
24256                           "\x88\x18\x52\x56\x48\x58\xD1\x6B"
24257                           "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
24258                           "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
24259                           "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
24260                           "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
24261                           "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
24262                           "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
24263                           "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
24264                           "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
24265                           "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
24266                           "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
24267                           "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
24268                           "\x44\x67\x90\x20\xAC\x41\xDF\x43"
24269                           "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
24270                           "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
24271                           "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
24272                           "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
24273                           "\xAE\x59\x0F\x07\x88\x79\x53\x26"
24274                           "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
24275                           "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
24276                           "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
24277                           "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
24278                           "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
24279                           "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
24280                           "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
24281                           "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
24282                           "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
24283                           "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
24284                           "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
24285                           "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
24286                           "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
24287                           "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
24288                           "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
24289                           "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
24290                           "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
24291                           "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
24292                           "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
24293                           "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
24294                           "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
24295                           "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
24296                           "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
24297                           "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
24298                           "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
24299                           "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
24300                           "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
24301                           "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
24302                           "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
24303                           "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
24304                           "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
24305                           "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
24306                           "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
24307                           "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
24308                 .len    = 496,
24309         },
24310 };
24311
24312 /*
24313  * ARC4 test vectors from OpenSSL
24314  */
24315 static const struct cipher_testvec arc4_tv_template[] = {
24316         {
24317                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24318                 .klen   = 8,
24319                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24320                 .ctext  = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
24321                 .len    = 8,
24322         }, {
24323                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24324                 .klen   = 8,
24325                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
24326                 .ctext  = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
24327                 .len    = 8,
24328         }, {
24329                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
24330                 .klen   = 8,
24331                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
24332                 .ctext  = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
24333                 .len    = 8,
24334         }, {
24335                 .key    = "\xef\x01\x23\x45",
24336                 .klen   = 4,
24337                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
24338                           "\x00\x00\x00\x00\x00\x00\x00\x00"
24339                           "\x00\x00\x00\x00",
24340                 .ctext  = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
24341                           "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
24342                           "\x36\xb6\x78\x58",
24343                 .len    = 20,
24344         }, {
24345                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24346                 .klen   = 8,
24347                 .ptext  = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
24348                           "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
24349                           "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
24350                           "\x12\x34\x56\x78",
24351                 .ctext  = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
24352                           "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
24353                           "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
24354                           "\x40\x01\x1e\xcf",
24355                 .len    = 28,
24356         }, {
24357                 .key    = "\xef\x01\x23\x45",
24358                 .klen   = 4,
24359                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
24360                           "\x00\x00",
24361                 .ctext  = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
24362                           "\xbd\x61",
24363                 .len    = 10,
24364         }, {
24365                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
24366                         "\x00\x00\x00\x00\x00\x00\x00\x00",
24367                 .klen   = 16,
24368                 .ptext  = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
24369                 .ctext  = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
24370                 .len    = 8,
24371         },
24372 };
24373
24374 /*
24375  * TEA test vectors
24376  */
24377 static const struct cipher_testvec tea_tv_template[] = {
24378         {
24379                 .key    = zeroed_string,
24380                 .klen   = 16,
24381                 .ptext  = zeroed_string,
24382                 .ctext  = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
24383                 .len    = 8,
24384         }, {
24385                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
24386                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
24387                 .klen   = 16,
24388                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
24389                 .ctext  = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
24390                 .len    = 8,
24391         }, {
24392                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
24393                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
24394                 .klen   = 16,
24395                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
24396                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
24397                 .ctext  = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
24398                           "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
24399                 .len    = 16,
24400         }, {
24401                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
24402                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
24403                 .klen   = 16,
24404                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
24405                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
24406                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
24407                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
24408                 .ctext  = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
24409                           "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
24410                           "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
24411                           "\x07\x89\x73\xc2\x45\x92\xc6\x90",
24412                 .len    = 32,
24413         }
24414 };
24415
24416 /*
24417  * XTEA test vectors
24418  */
24419 static const struct cipher_testvec xtea_tv_template[] = {
24420         {
24421                 .key    = zeroed_string,
24422                 .klen   = 16,
24423                 .ptext  = zeroed_string,
24424                 .ctext  = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
24425                 .len    = 8,
24426         }, {
24427                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
24428                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
24429                 .klen   = 16,
24430                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
24431                 .ctext  = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
24432                 .len    = 8,
24433         }, {
24434                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
24435                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
24436                 .klen   = 16,
24437                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
24438                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
24439                 .ctext  = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
24440                           "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
24441                 .len    = 16,
24442         }, {
24443                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
24444                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
24445                 .klen   = 16,
24446                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
24447                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
24448                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
24449                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
24450                 .ctext  = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
24451                           "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
24452                           "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
24453                           "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
24454                 .len    = 32,
24455         }
24456 };
24457
24458 /*
24459  * KHAZAD test vectors.
24460  */
24461 static const struct cipher_testvec khazad_tv_template[] = {
24462         {
24463                 .key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
24464                           "\x00\x00\x00\x00\x00\x00\x00\x00",
24465                 .klen   = 16,
24466                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
24467                 .ctext  = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
24468                 .len    = 8,
24469         }, {
24470                 .key    = "\x38\x38\x38\x38\x38\x38\x38\x38"
24471                           "\x38\x38\x38\x38\x38\x38\x38\x38",
24472                 .klen   = 16,
24473                 .ptext  = "\x38\x38\x38\x38\x38\x38\x38\x38",
24474                 .ctext  = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
24475                 .len    = 8,
24476         }, {
24477                 .key    = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
24478                         "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
24479                 .klen   = 16,
24480                 .ptext  = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
24481                 .ctext  = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
24482                 .len    = 8,
24483         }, {
24484                 .key    = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
24485                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
24486                 .klen   = 16,
24487                 .ptext  = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
24488                 .ctext  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
24489                 .len    = 8,
24490         }, {
24491                 .key    = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
24492                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
24493                 .klen   = 16,
24494                 .ptext  = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
24495                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
24496                 .ctext  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
24497                         "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
24498                 .len    = 16,
24499         },
24500 };
24501
24502 /*
24503  * Anubis test vectors.
24504  */
24505
24506 static const struct cipher_testvec anubis_tv_template[] = {
24507         {
24508                 .key    = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24509                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24510                 .klen   = 16,
24511                 .ptext  = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24512                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24513                 .ctext  = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
24514                           "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
24515                 .len    = 16,
24516         }, {
24517
24518                 .key    = "\x03\x03\x03\x03\x03\x03\x03\x03"
24519                           "\x03\x03\x03\x03\x03\x03\x03\x03"
24520                           "\x03\x03\x03\x03",
24521                 .klen   = 20,
24522                 .ptext  = "\x03\x03\x03\x03\x03\x03\x03\x03"
24523                           "\x03\x03\x03\x03\x03\x03\x03\x03",
24524                 .ctext  = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
24525                           "\x87\x41\x6f\x82\x0a\x98\x64\xae",
24526                 .len    = 16,
24527         }, {
24528                 .key    = "\x24\x24\x24\x24\x24\x24\x24\x24"
24529                           "\x24\x24\x24\x24\x24\x24\x24\x24"
24530                           "\x24\x24\x24\x24\x24\x24\x24\x24"
24531                           "\x24\x24\x24\x24",
24532                 .klen   = 28,
24533                 .ptext  = "\x24\x24\x24\x24\x24\x24\x24\x24"
24534                           "\x24\x24\x24\x24\x24\x24\x24\x24",
24535                 .ctext  = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
24536                           "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
24537                 .len    = 16,
24538         }, {
24539                 .key    = "\x25\x25\x25\x25\x25\x25\x25\x25"
24540                           "\x25\x25\x25\x25\x25\x25\x25\x25"
24541                           "\x25\x25\x25\x25\x25\x25\x25\x25"
24542                           "\x25\x25\x25\x25\x25\x25\x25\x25",
24543                 .klen   = 32,
24544                 .ptext  = "\x25\x25\x25\x25\x25\x25\x25\x25"
24545                           "\x25\x25\x25\x25\x25\x25\x25\x25",
24546                 .ctext  = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
24547                         "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
24548                 .len    = 16,
24549         }, {
24550                 .key    = "\x35\x35\x35\x35\x35\x35\x35\x35"
24551                           "\x35\x35\x35\x35\x35\x35\x35\x35"
24552                           "\x35\x35\x35\x35\x35\x35\x35\x35"
24553                           "\x35\x35\x35\x35\x35\x35\x35\x35"
24554                           "\x35\x35\x35\x35\x35\x35\x35\x35",
24555                 .klen   = 40,
24556                 .ptext  = "\x35\x35\x35\x35\x35\x35\x35\x35"
24557                           "\x35\x35\x35\x35\x35\x35\x35\x35",
24558                 .ctext  = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
24559                           "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
24560                 .len    = 16,
24561         },
24562 };
24563
24564 static const struct cipher_testvec anubis_cbc_tv_template[] = {
24565         {
24566                 .key    = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24567                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24568                 .klen   = 16,
24569                 .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
24570                           "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
24571                 .ptext  = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24572                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24573                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24574                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24575                 .ctext  = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
24576                           "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
24577                           "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
24578                           "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
24579                 .len    = 32,
24580         }, {
24581                 .key    = "\x35\x35\x35\x35\x35\x35\x35\x35"
24582                           "\x35\x35\x35\x35\x35\x35\x35\x35"
24583                           "\x35\x35\x35\x35\x35\x35\x35\x35"
24584                           "\x35\x35\x35\x35\x35\x35\x35\x35"
24585                           "\x35\x35\x35\x35\x35\x35\x35\x35",
24586                 .klen   = 40,
24587                 .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
24588                           "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
24589                 .ptext  = "\x35\x35\x35\x35\x35\x35\x35\x35"
24590                           "\x35\x35\x35\x35\x35\x35\x35\x35"
24591                           "\x35\x35\x35\x35\x35\x35\x35\x35"
24592                           "\x35\x35\x35\x35\x35\x35\x35\x35",
24593                 .ctext  = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
24594                           "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
24595                           "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
24596                           "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
24597                 .len    = 32,
24598         },
24599 };
24600
24601 /*
24602  * XETA test vectors
24603  */
24604 static const struct cipher_testvec xeta_tv_template[] = {
24605         {
24606                 .key    = zeroed_string,
24607                 .klen   = 16,
24608                 .ptext  = zeroed_string,
24609                 .ctext  = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
24610                 .len    = 8,
24611         }, {
24612                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
24613                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
24614                 .klen   = 16,
24615                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
24616                 .ctext  = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
24617                 .len    = 8,
24618         }, {
24619                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
24620                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
24621                 .klen   = 16,
24622                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
24623                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
24624                 .ctext  = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
24625                           "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
24626                 .len    = 16,
24627         }, {
24628                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
24629                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
24630                 .klen   = 16,
24631                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
24632                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
24633                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
24634                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
24635                 .ctext  = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
24636                           "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
24637                           "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
24638                           "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
24639                 .len    = 32,
24640         }
24641 };
24642
24643 /*
24644  * FCrypt test vectors
24645  */
24646 static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
24647         { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
24648                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
24649                 .klen   = 8,
24650                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
24651                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
24652                 .ctext  = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
24653                 .len    = 8,
24654         }, {
24655                 .key    = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
24656                 .klen   = 8,
24657                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
24658                 .ptext  = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
24659                 .ctext  = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
24660                 .len    = 8,
24661         }, { /* From Arla */
24662                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
24663                 .klen   = 8,
24664                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24665                 .ptext  = "The quick brown fox jumps over the lazy dogs.\0\0",
24666                 .ctext  = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
24667                           "\xee\xac\x98\x62\x44\x51\xe4\x84"
24668                           "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
24669                           "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
24670                           "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
24671                           "\xf8\x91\x3c\xac\x44\x22\x92\xef",
24672                 .len    = 48,
24673         }, {
24674                 .key    = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24675                 .klen   = 8,
24676                 .iv     = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
24677                 .ptext  = "The quick brown fox jumps over the lazy dogs.\0\0",
24678                 .ctext  = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
24679                           "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
24680                           "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
24681                           "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
24682                           "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
24683                           "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
24684                 .len    = 48,
24685         }
24686 };
24687
24688 /*
24689  * CAMELLIA test vectors.
24690  */
24691 static const struct cipher_testvec camellia_tv_template[] = {
24692         {
24693                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24694                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24695                 .klen   = 16,
24696                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24697                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24698                 .ctext  = "\x67\x67\x31\x38\x54\x96\x69\x73"
24699                           "\x08\x57\x06\x56\x48\xea\xbe\x43",
24700                 .len    = 16,
24701         }, {
24702                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24703                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
24704                           "\x00\x11\x22\x33\x44\x55\x66\x77",
24705                 .klen   = 24,
24706                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24707                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24708                 .ctext  = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
24709                           "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
24710                 .len    = 16,
24711         }, {
24712                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24713                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
24714                           "\x00\x11\x22\x33\x44\x55\x66\x77"
24715                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
24716                 .klen   = 32,
24717                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24718                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24719                 .ctext  = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
24720                           "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
24721                 .len    = 16,
24722         }, { /* Generated with Crypto++ */
24723                 .key    = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
24724                           "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
24725                           "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
24726                           "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
24727                 .klen   = 32,
24728                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24729                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24730                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24731                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24732                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24733                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24734                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24735                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24736                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24737                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24738                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24739                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24740                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24741                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24742                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24743                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24744                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24745                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24746                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24747                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24748                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24749                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24750                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24751                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24752                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24753                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24754                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24755                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24756                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24757                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24758                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24759                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24760                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24761                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24762                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24763                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24764                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24765                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24766                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24767                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24768                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24769                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24770                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24771                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24772                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24773                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24774                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24775                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24776                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24777                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24778                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24779                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24780                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24781                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24782                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24783                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24784                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24785                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24786                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24787                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24788                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24789                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
24790                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
24791                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
24792                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
24793                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
24794                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
24795                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
24796                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
24797                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
24798                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
24799                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
24800                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
24801                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
24802                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
24803                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
24804                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
24805                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
24806                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
24807                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
24808                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
24809                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
24810                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
24811                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
24812                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
24813                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
24814                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
24815                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
24816                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
24817                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
24818                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
24819                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
24820                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
24821                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
24822                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
24823                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
24824                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
24825                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
24826                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
24827                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
24828                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
24829                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
24830                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
24831                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
24832                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
24833                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
24834                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
24835                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
24836                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
24837                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
24838                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
24839                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
24840                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
24841                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
24842                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
24843                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
24844                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
24845                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
24846                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
24847                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
24848                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
24849                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
24850                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
24851                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
24852                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
24853                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
24854                 .ctext  = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
24855                           "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
24856                           "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
24857                           "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
24858                           "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
24859                           "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
24860                           "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
24861                           "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
24862                           "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
24863                           "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
24864                           "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
24865                           "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
24866                           "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
24867                           "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
24868                           "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
24869                           "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
24870                           "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
24871                           "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
24872                           "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
24873                           "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
24874                           "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
24875                           "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
24876                           "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
24877                           "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
24878                           "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
24879                           "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
24880                           "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
24881                           "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
24882                           "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
24883                           "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
24884                           "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
24885                           "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
24886                           "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
24887                           "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
24888                           "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
24889                           "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
24890                           "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
24891                           "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
24892                           "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
24893                           "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
24894                           "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
24895                           "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
24896                           "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
24897                           "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
24898                           "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
24899                           "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
24900                           "\x83\x06\xAB\x82\x99\x01\x16\x1A"
24901                           "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
24902                           "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
24903                           "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
24904                           "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
24905                           "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
24906                           "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
24907                           "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
24908                           "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
24909                           "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
24910                           "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
24911                           "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
24912                           "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
24913                           "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
24914                           "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
24915                           "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
24916                           "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
24917                           "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
24918                           "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
24919                           "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
24920                           "\xED\x28\x39\xE9\x63\xED\x41\x70"
24921                           "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
24922                           "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
24923                           "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
24924                           "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
24925                           "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
24926                           "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
24927                           "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
24928                           "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
24929                           "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
24930                           "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
24931                           "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
24932                           "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
24933                           "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
24934                           "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
24935                           "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
24936                           "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
24937                           "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
24938                           "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
24939                           "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
24940                           "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
24941                           "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
24942                           "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
24943                           "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
24944                           "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
24945                           "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
24946                           "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
24947                           "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
24948                           "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
24949                           "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
24950                           "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
24951                           "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
24952                           "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
24953                           "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
24954                           "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
24955                           "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
24956                           "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
24957                           "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
24958                           "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
24959                           "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
24960                           "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
24961                           "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
24962                           "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
24963                           "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
24964                           "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
24965                           "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
24966                           "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
24967                           "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
24968                           "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
24969                           "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
24970                           "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
24971                           "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
24972                           "\x31\x93\x51\x1C\x63\x97\x70\xB0"
24973                           "\x99\x78\x83\x13\xFD\xCF\x53\x81"
24974                           "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
24975                           "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
24976                           "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
24977                           "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
24978                           "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
24979                           "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
24980                 .len    = 1008,
24981         },
24982 };
24983
24984 static const struct cipher_testvec camellia_cbc_tv_template[] = {
24985         {
24986                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
24987                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
24988                 .klen   = 16,
24989                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
24990                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
24991                 .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
24992                           "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
24993                 .ptext  = "Single block msg",
24994                 .ctext  = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
24995                           "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
24996                 .len    = 16,
24997         }, {
24998                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
24999                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
25000                 .klen   = 16,
25001                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
25002                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
25003                 .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
25004                           "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
25005                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
25006                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25007                           "\x10\x11\x12\x13\x14\x15\x16\x17"
25008                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
25009                 .ctext  = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
25010                           "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
25011                           "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
25012                           "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
25013                 .len    = 32,
25014         }, { /* Generated with Crypto++ */
25015                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25016                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25017                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25018                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25019                 .klen   = 32,
25020                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25021                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
25022                 .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
25023                           "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
25024                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25025                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25026                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25027                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25028                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25029                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25030                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25031                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25032                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25033                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25034                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25035                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25036                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25037                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25038                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25039                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25040                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25041                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25042                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25043                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25044                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25045                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25046                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25047                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25048                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25049                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25050                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25051                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25052                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25053                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25054                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25055                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25056                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25057                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25058                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25059                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25060                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25061                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25062                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25063                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25064                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25065                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25066                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25067                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25068                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25069                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25070                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25071                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25072                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25073                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25074                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25075                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25076                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25077                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25078                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25079                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25080                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25081                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25082                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25083                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25084                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25085                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
25086                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
25087                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
25088                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
25089                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
25090                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
25091                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
25092                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
25093                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
25094                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
25095                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
25096                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
25097                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
25098                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
25099                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
25100                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
25101                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
25102                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
25103                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25104                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25105                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25106                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25107                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25108                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25109                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25110                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25111                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25112                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25113                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25114                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25115                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25116                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25117                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25118                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25119                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25120                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25121                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25122                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25123                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25124                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25125                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25126                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25127                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25128                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25129                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25130                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25131                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25132                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25133                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25134                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25135                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25136                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25137                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25138                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25139                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25140                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25141                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25142                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25143                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25144                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25145                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25146                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25147                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25148                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
25149                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
25150                 .ctext  = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
25151                           "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
25152                           "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
25153                           "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
25154                           "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
25155                           "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
25156                           "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
25157                           "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
25158                           "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
25159                           "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
25160                           "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
25161                           "\x37\x49\x88\xA4\xEF\x91\x21\x47"
25162                           "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
25163                           "\x28\x90\x77\x46\xD8\xD2\x35\x16"
25164                           "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
25165                           "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
25166                           "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
25167                           "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
25168                           "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
25169                           "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
25170                           "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
25171                           "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
25172                           "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
25173                           "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
25174                           "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
25175                           "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
25176                           "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
25177                           "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
25178                           "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
25179                           "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
25180                           "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
25181                           "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
25182                           "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
25183                           "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
25184                           "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
25185                           "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
25186                           "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
25187                           "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
25188                           "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
25189                           "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
25190                           "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
25191                           "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
25192                           "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
25193                           "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
25194                           "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
25195                           "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
25196                           "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
25197                           "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
25198                           "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
25199                           "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
25200                           "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
25201                           "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
25202                           "\x38\xB8\x48\x36\x66\x4E\x20\x43"
25203                           "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
25204                           "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
25205                           "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
25206                           "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
25207                           "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
25208                           "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
25209                           "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
25210                           "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
25211                           "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
25212                           "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
25213                           "\x21\x41\x56\x72\x13\xE1\x86\x07"
25214                           "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
25215                           "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
25216                           "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
25217                           "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
25218                           "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
25219                           "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
25220                           "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
25221                           "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
25222                           "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
25223                           "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
25224                           "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
25225                           "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
25226                           "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
25227                           "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
25228                           "\xBE\x31\x31\x96\x8B\x40\x18\x75"
25229                           "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
25230                           "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
25231                           "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
25232                           "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
25233                           "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
25234                           "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
25235                           "\x09\xB0\x43\x96\x4A\x64\x80\x40"
25236                           "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
25237                           "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
25238                           "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
25239                           "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
25240                           "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
25241                           "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
25242                           "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
25243                           "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
25244                           "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
25245                           "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
25246                           "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
25247                           "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
25248                           "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
25249                           "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
25250                           "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
25251                           "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
25252                           "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
25253                           "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
25254                           "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
25255                           "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
25256                           "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
25257                           "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
25258                           "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
25259                           "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
25260                           "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
25261                           "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
25262                           "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
25263                           "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
25264                           "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
25265                           "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
25266                           "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
25267                           "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
25268                           "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
25269                           "\x80\xE7\x29\xDC\x23\x55\x98\x54"
25270                           "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
25271                           "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
25272                           "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
25273                           "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
25274                           "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
25275                           "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
25276                 .len    = 1008,
25277         },
25278 };
25279
25280 static const struct cipher_testvec camellia_ctr_tv_template[] = {
25281         { /* Generated with Crypto++ */
25282                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25283                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25284                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25285                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25286                 .klen   = 32,
25287                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25288                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
25289                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25290                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
25291                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25292                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25293                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25294                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25295                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25296                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25297                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25298                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25299                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25300                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25301                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25302                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25303                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25304                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25305                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25306                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25307                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25308                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25309                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25310                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25311                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25312                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25313                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25314                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25315                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25316                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25317                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25318                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25319                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25320                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25321                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25322                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25323                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25324                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25325                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25326                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25327                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25328                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25329                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25330                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25331                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25332                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25333                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25334                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25335                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25336                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25337                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25338                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25339                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25340                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25341                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25342                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25343                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25344                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25345                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25346                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25347                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25348                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25349                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25350                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25351                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25352                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
25353                 .ctext  = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
25354                           "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
25355                           "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
25356                           "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
25357                           "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
25358                           "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
25359                           "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
25360                           "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
25361                           "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
25362                           "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
25363                           "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
25364                           "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
25365                           "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
25366                           "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
25367                           "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
25368                           "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
25369                           "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
25370                           "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
25371                           "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
25372                           "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
25373                           "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
25374                           "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
25375                           "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
25376                           "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
25377                           "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
25378                           "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
25379                           "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
25380                           "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
25381                           "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
25382                           "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
25383                           "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
25384                           "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
25385                           "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
25386                           "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
25387                           "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
25388                           "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
25389                           "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
25390                           "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
25391                           "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
25392                           "\x79\xA2\x99\x28\x93\x1B\x00\x57"
25393                           "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
25394                           "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
25395                           "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
25396                           "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
25397                           "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
25398                           "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
25399                           "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
25400                           "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
25401                           "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
25402                           "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
25403                           "\x76\x44\x45\xF3\x24\x11\x57\x98"
25404                           "\x9A\x86\xB4\x12\x80\x28\x86\x20"
25405                           "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
25406                           "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
25407                           "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
25408                           "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
25409                           "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
25410                           "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
25411                           "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
25412                           "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
25413                           "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
25414                           "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
25415                 .len    = 496,
25416         }, { /* Generated with Crypto++ */
25417                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25418                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25419                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25420                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25421                 .klen   = 32,
25422                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25423                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
25424                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25425                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
25426                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25427                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25428                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25429                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25430                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25431                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25432                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25433                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25434                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25435                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25436                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25437                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25438                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25439                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25440                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25441                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25442                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25443                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25444                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25445                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25446                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25447                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25448                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25449                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25450                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25451                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25452                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25453                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25454                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25455                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25456                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25457                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25458                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25459                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25460                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25461                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25462                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25463                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25464                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25465                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25466                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25467                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25468                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25469                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25470                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25471                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25472                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25473                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25474                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25475                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25476                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25477                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25478                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25479                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25480                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25481                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25482                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25483                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25484                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25485                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25486                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25487                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
25488                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
25489                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
25490                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
25491                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
25492                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
25493                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
25494                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
25495                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
25496                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
25497                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
25498                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
25499                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
25500                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
25501                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
25502                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
25503                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
25504                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
25505                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25506                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25507                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25508                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25509                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25510                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25511                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25512                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25513                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25514                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25515                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25516                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25517                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25518                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25519                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25520                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25521                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25522                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25523                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25524                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25525                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25526                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25527                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25528                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25529                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25530                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25531                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25532                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25533                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25534                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25535                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25536                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25537                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25538                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25539                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25540                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25541                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25542                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25543                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25544                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25545                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25546                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25547                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25548                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25549                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25550                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
25551                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
25552                           "\xE4\x7B\x12",
25553                 .ctext  = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
25554                           "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
25555                           "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
25556                           "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
25557                           "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
25558                           "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
25559                           "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
25560                           "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
25561                           "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
25562                           "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
25563                           "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
25564                           "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
25565                           "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
25566                           "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
25567                           "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
25568                           "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
25569                           "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
25570                           "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
25571                           "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
25572                           "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
25573                           "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
25574                           "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
25575                           "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
25576                           "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
25577                           "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
25578                           "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
25579                           "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
25580                           "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
25581                           "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
25582                           "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
25583                           "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
25584                           "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
25585                           "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
25586                           "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
25587                           "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
25588                           "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
25589                           "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
25590                           "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
25591                           "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
25592                           "\x79\xA2\x99\x28\x93\x1B\x00\x57"
25593                           "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
25594                           "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
25595                           "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
25596                           "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
25597                           "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
25598                           "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
25599                           "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
25600                           "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
25601                           "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
25602                           "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
25603                           "\x76\x44\x45\xF3\x24\x11\x57\x98"
25604                           "\x9A\x86\xB4\x12\x80\x28\x86\x20"
25605                           "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
25606                           "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
25607                           "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
25608                           "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
25609                           "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
25610                           "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
25611                           "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
25612                           "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
25613                           "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
25614                           "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
25615                           "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
25616                           "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
25617                           "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
25618                           "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
25619                           "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
25620                           "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
25621                           "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
25622                           "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
25623                           "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
25624                           "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
25625                           "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
25626                           "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
25627                           "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
25628                           "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
25629                           "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
25630                           "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
25631                           "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
25632                           "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
25633                           "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
25634                           "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
25635                           "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
25636                           "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
25637                           "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
25638                           "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
25639                           "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
25640                           "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
25641                           "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
25642                           "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
25643                           "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
25644                           "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
25645                           "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
25646                           "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
25647                           "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
25648                           "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
25649                           "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
25650                           "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
25651                           "\x00\x70\x12\x56\x56\x50\xAD\x14"
25652                           "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
25653                           "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
25654                           "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
25655                           "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
25656                           "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
25657                           "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
25658                           "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
25659                           "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
25660                           "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
25661                           "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
25662                           "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
25663                           "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
25664                           "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
25665                           "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
25666                           "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
25667                           "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
25668                           "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
25669                           "\x40\x48\x19\x73\x7C\x78\x64\x0B"
25670                           "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
25671                           "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
25672                           "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
25673                           "\x74\x28\x9D\x05\x30\x20\x62\x41"
25674                           "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
25675                           "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
25676                           "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
25677                           "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
25678                           "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
25679                           "\xF1\x6B\xD9",
25680                 .len    = 1011,
25681         }, { /* Generated with Crypto++ */
25682                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25683                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25684                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25685                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25686                 .klen   = 32,
25687                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
25688                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
25689                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
25690                           "\x00\x00\x00\x00\x00\x00\x00\x3C",
25691                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25692                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25693                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25694                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25695                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25696                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25697                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25698                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25699                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25700                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25701                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25702                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25703                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25704                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25705                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25706                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25707                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25708                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25709                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25710                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25711                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25712                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25713                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25714                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25715                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25716                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25717                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25718                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25719                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25720                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25721                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25722                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25723                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25724                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25725                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25726                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25727                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25728                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25729                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25730                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25731                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25732                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25733                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25734                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25735                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25736                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25737                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25738                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25739                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25740                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25741                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25742                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25743                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25744                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25745                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25746                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25747                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25748                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25749                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25750                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25751                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25752                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
25753                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
25754                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
25755                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
25756                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
25757                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
25758                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
25759                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
25760                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
25761                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
25762                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
25763                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
25764                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
25765                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
25766                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
25767                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
25768                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
25769                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
25770                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25771                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25772                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25773                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25774                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25775                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25776                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25777                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25778                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25779                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25780                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25781                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25782                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25783                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25784                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25785                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25786                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25787                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25788                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25789                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25790                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25791                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25792                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25793                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25794                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25795                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25796                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25797                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25798                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25799                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25800                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25801                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25802                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25803                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25804                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25805                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25806                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25807                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25808                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25809                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25810                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25811                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25812                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25813                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25814                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25815                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
25816                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
25817                 .ctext  = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
25818                           "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
25819                           "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
25820                           "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
25821                           "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
25822                           "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
25823                           "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
25824                           "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
25825                           "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
25826                           "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
25827                           "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
25828                           "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
25829                           "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
25830                           "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
25831                           "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
25832                           "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
25833                           "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
25834                           "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
25835                           "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
25836                           "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
25837                           "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
25838                           "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
25839                           "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
25840                           "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
25841                           "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
25842                           "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
25843                           "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
25844                           "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
25845                           "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
25846                           "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
25847                           "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
25848                           "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
25849                           "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
25850                           "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
25851                           "\x93\x78\x86\x05\x69\x46\xD0\xC5"
25852                           "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
25853                           "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
25854                           "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
25855                           "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
25856                           "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
25857                           "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
25858                           "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
25859                           "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
25860                           "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
25861                           "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
25862                           "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
25863                           "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
25864                           "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
25865                           "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
25866                           "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
25867                           "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
25868                           "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
25869                           "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
25870                           "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
25871                           "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
25872                           "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
25873                           "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
25874                           "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
25875                           "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
25876                           "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
25877                           "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
25878                           "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
25879                           "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
25880                           "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
25881                           "\x3F\x23\x69\x63\x56\x96\x45\xD6"
25882                           "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
25883                           "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
25884                           "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
25885                           "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
25886                           "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
25887                           "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
25888                           "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
25889                           "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
25890                           "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
25891                           "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
25892                           "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
25893                           "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
25894                           "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
25895                           "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
25896                           "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
25897                           "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
25898                           "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
25899                           "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
25900                           "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
25901                           "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
25902                           "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
25903                           "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
25904                           "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
25905                           "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
25906                           "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
25907                           "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
25908                           "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
25909                           "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
25910                           "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
25911                           "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
25912                           "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
25913                           "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
25914                           "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
25915                           "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
25916                           "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
25917                           "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
25918                           "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
25919                           "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
25920                           "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
25921                           "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
25922                           "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
25923                           "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
25924                           "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
25925                           "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
25926                           "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
25927                           "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
25928                           "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
25929                           "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
25930                           "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
25931                           "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
25932                           "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
25933                           "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
25934                           "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
25935                           "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
25936                           "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
25937                           "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
25938                           "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
25939                           "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
25940                           "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
25941                           "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
25942                           "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
25943                 .len    = 1008,
25944         },
25945 };
25946
25947 static const struct cipher_testvec camellia_lrw_tv_template[] = {
25948         /* Generated from AES-LRW test vectors */
25949         {
25950                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
25951                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
25952                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
25953                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
25954                 .klen   = 32,
25955                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
25956                           "\x00\x00\x00\x00\x00\x00\x00\x01",
25957                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
25958                           "\x38\x39\x41\x42\x43\x44\x45\x46",
25959                 .ctext  = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
25960                           "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
25961                 .len    = 16,
25962         }, {
25963                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
25964                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
25965                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
25966                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
25967                 .klen   = 32,
25968                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
25969                           "\x00\x00\x00\x00\x00\x00\x00\x02",
25970                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
25971                           "\x38\x39\x41\x42\x43\x44\x45\x46",
25972                 .ctext  = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
25973                           "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
25974                 .len    = 16,
25975         }, {
25976                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
25977                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
25978                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
25979                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
25980                 .klen   = 32,
25981                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
25982                           "\x00\x00\x00\x02\x00\x00\x00\x00",
25983                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
25984                           "\x38\x39\x41\x42\x43\x44\x45\x46",
25985                 .ctext  = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
25986                           "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
25987                 .len    = 16,
25988         }, {
25989                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
25990                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
25991                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
25992                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
25993                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
25994                 .klen   = 40,
25995                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
25996                           "\x00\x00\x00\x00\x00\x00\x00\x01",
25997                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
25998                           "\x38\x39\x41\x42\x43\x44\x45\x46",
25999                 .ctext  = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
26000                           "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
26001                 .len    = 16,
26002         }, {
26003                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
26004                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
26005                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
26006                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
26007                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
26008                 .klen   = 40,
26009                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26010                           "\x00\x00\x00\x02\x00\x00\x00\x00",
26011                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26012                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26013                 .ctext  = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
26014                           "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
26015                 .len    = 16,
26016         }, {
26017                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
26018                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
26019                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
26020                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
26021                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
26022                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
26023                 .klen   = 48,
26024                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26025                           "\x00\x00\x00\x00\x00\x00\x00\x01",
26026                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26027                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26028                 .ctext  = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
26029                           "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
26030                 .len    = 16,
26031         }, {
26032                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
26033                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
26034                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
26035                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
26036                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
26037                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
26038                 .klen   = 48,
26039                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26040                           "\x00\x00\x00\x02\x00\x00\x00\x00",
26041                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26042                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26043                 .ctext  = "\x04\xab\x28\x37\x31\x7a\x26\xab"
26044                           "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
26045                 .len    = 16,
26046         }, {
26047                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
26048                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
26049                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
26050                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
26051                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
26052                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
26053                 .klen   = 48,
26054                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26055                           "\x00\x00\x00\x00\x00\x00\x00\x01",
26056                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
26057                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
26058                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
26059                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
26060                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
26061                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
26062                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
26063                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
26064                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
26065                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
26066                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
26067                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
26068                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
26069                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
26070                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
26071                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
26072                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
26073                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
26074                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
26075                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
26076                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
26077                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
26078                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
26079                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
26080                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
26081                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
26082                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
26083                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
26084                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
26085                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
26086                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
26087                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
26088                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
26089                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
26090                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
26091                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
26092                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
26093                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
26094                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
26095                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
26096                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
26097                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
26098                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
26099                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
26100                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
26101                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
26102                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
26103                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
26104                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
26105                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
26106                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
26107                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
26108                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
26109                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
26110                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
26111                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
26112                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
26113                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
26114                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
26115                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
26116                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
26117                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
26118                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
26119                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
26120                 .ctext  = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
26121                           "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
26122                           "\x67\x76\xac\x2c\xd2\x63\x18\x93"
26123                           "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
26124                           "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
26125                           "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
26126                           "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
26127                           "\x62\xdd\x78\x81\xea\x1d\xef\x04"
26128                           "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
26129                           "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
26130                           "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
26131                           "\x40\x41\x69\xaa\x71\xc0\x37\xec"
26132                           "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
26133                           "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
26134                           "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
26135                           "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
26136                           "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
26137                           "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
26138                           "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
26139                           "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
26140                           "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
26141                           "\x42\x08\x40\x82\x06\x1c\x2d\x55"
26142                           "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
26143                           "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
26144                           "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
26145                           "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
26146                           "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
26147                           "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
26148                           "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
26149                           "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
26150                           "\xed\x14\xa9\x57\x19\x63\x40\x04"
26151                           "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
26152                           "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
26153                           "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
26154                           "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
26155                           "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
26156                           "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
26157                           "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
26158                           "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
26159                           "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
26160                           "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
26161                           "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
26162                           "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
26163                           "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
26164                           "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
26165                           "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
26166                           "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
26167                           "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
26168                           "\x35\xa5\x83\x04\x84\x01\x99\x56"
26169                           "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
26170                           "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
26171                           "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
26172                           "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
26173                           "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
26174                           "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
26175                           "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
26176                           "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
26177                           "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
26178                           "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
26179                           "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
26180                           "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
26181                           "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
26182                           "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
26183                           "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
26184                 .len    = 512,
26185         },
26186 };
26187
26188 static const struct cipher_testvec camellia_xts_tv_template[] = {
26189         /* Generated from AES-XTS test vectors */
26190         {
26191                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
26192                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26193                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26194                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26195                 .klen   = 32,
26196                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26197                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26198                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
26199                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26200                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26201                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26202                 .ctext  = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
26203                           "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
26204                           "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
26205                           "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
26206                 .len    = 32,
26207         }, {
26208                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
26209                           "\x11\x11\x11\x11\x11\x11\x11\x11"
26210                           "\x22\x22\x22\x22\x22\x22\x22\x22"
26211                           "\x22\x22\x22\x22\x22\x22\x22\x22",
26212                 .klen   = 32,
26213                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
26214                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26215                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
26216                           "\x44\x44\x44\x44\x44\x44\x44\x44"
26217                           "\x44\x44\x44\x44\x44\x44\x44\x44"
26218                           "\x44\x44\x44\x44\x44\x44\x44\x44",
26219                 .ctext  = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
26220                           "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
26221                           "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
26222                           "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
26223                 .len    = 32,
26224         }, {
26225                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
26226                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
26227                           "\x22\x22\x22\x22\x22\x22\x22\x22"
26228                           "\x22\x22\x22\x22\x22\x22\x22\x22",
26229                 .klen   = 32,
26230                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
26231                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26232                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
26233                           "\x44\x44\x44\x44\x44\x44\x44\x44"
26234                           "\x44\x44\x44\x44\x44\x44\x44\x44"
26235                           "\x44\x44\x44\x44\x44\x44\x44\x44",
26236                 .ctext  = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
26237                           "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
26238                           "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
26239                           "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
26240                 .len    = 32,
26241         }, {
26242                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
26243                           "\x23\x53\x60\x28\x74\x71\x35\x26"
26244                           "\x31\x41\x59\x26\x53\x58\x97\x93"
26245                           "\x23\x84\x62\x64\x33\x83\x27\x95",
26246                 .klen   = 32,
26247                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26248                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26249                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
26250                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26251                           "\x10\x11\x12\x13\x14\x15\x16\x17"
26252                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26253                           "\x20\x21\x22\x23\x24\x25\x26\x27"
26254                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26255                           "\x30\x31\x32\x33\x34\x35\x36\x37"
26256                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26257                           "\x40\x41\x42\x43\x44\x45\x46\x47"
26258                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26259                           "\x50\x51\x52\x53\x54\x55\x56\x57"
26260                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26261                           "\x60\x61\x62\x63\x64\x65\x66\x67"
26262                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26263                           "\x70\x71\x72\x73\x74\x75\x76\x77"
26264                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26265                           "\x80\x81\x82\x83\x84\x85\x86\x87"
26266                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26267                           "\x90\x91\x92\x93\x94\x95\x96\x97"
26268                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
26269                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
26270                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
26271                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
26272                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
26273                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
26274                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
26275                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
26276                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
26277                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
26278                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
26279                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
26280                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
26281                           "\x00\x01\x02\x03\x04\x05\x06\x07"
26282                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26283                           "\x10\x11\x12\x13\x14\x15\x16\x17"
26284                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26285                           "\x20\x21\x22\x23\x24\x25\x26\x27"
26286                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26287                           "\x30\x31\x32\x33\x34\x35\x36\x37"
26288                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26289                           "\x40\x41\x42\x43\x44\x45\x46\x47"
26290                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26291                           "\x50\x51\x52\x53\x54\x55\x56\x57"
26292                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26293                           "\x60\x61\x62\x63\x64\x65\x66\x67"
26294                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26295                           "\x70\x71\x72\x73\x74\x75\x76\x77"
26296                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26297                           "\x80\x81\x82\x83\x84\x85\x86\x87"
26298                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26299                           "\x90\x91\x92\x93\x94\x95\x96\x97"
26300                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
26301                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
26302                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
26303                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
26304                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
26305                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
26306                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
26307                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
26308                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
26309                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
26310                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
26311                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
26312                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
26313                 .ctext  = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
26314                           "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
26315                           "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
26316                           "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
26317                           "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
26318                           "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
26319                           "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
26320                           "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
26321                           "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
26322                           "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
26323                           "\x08\xda\x76\x00\x65\xcf\x7b\x31"
26324                           "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
26325                           "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
26326                           "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
26327                           "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
26328                           "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
26329                           "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
26330                           "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
26331                           "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
26332                           "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
26333                           "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
26334                           "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
26335                           "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
26336                           "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
26337                           "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
26338                           "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
26339                           "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
26340                           "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
26341                           "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
26342                           "\x16\x31\xb2\x47\x91\x67\xaa\x28"
26343                           "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
26344                           "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
26345                           "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
26346                           "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
26347                           "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
26348                           "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
26349                           "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
26350                           "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
26351                           "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
26352                           "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
26353                           "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
26354                           "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
26355                           "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
26356                           "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
26357                           "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
26358                           "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
26359                           "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
26360                           "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
26361                           "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
26362                           "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
26363                           "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
26364                           "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
26365                           "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
26366                           "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
26367                           "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
26368                           "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
26369                           "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
26370                           "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
26371                           "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
26372                           "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
26373                           "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
26374                           "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
26375                           "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
26376                           "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
26377                 .len    = 512,
26378         }, {
26379                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
26380                           "\x23\x53\x60\x28\x74\x71\x35\x26"
26381                           "\x62\x49\x77\x57\x24\x70\x93\x69"
26382                           "\x99\x59\x57\x49\x66\x96\x76\x27"
26383                           "\x31\x41\x59\x26\x53\x58\x97\x93"
26384                           "\x23\x84\x62\x64\x33\x83\x27\x95"
26385                           "\x02\x88\x41\x97\x16\x93\x99\x37"
26386                           "\x51\x05\x82\x09\x74\x94\x45\x92",
26387                 .klen   = 64,
26388                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
26389                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26390                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
26391                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26392                           "\x10\x11\x12\x13\x14\x15\x16\x17"
26393                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26394                           "\x20\x21\x22\x23\x24\x25\x26\x27"
26395                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26396                           "\x30\x31\x32\x33\x34\x35\x36\x37"
26397                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26398                           "\x40\x41\x42\x43\x44\x45\x46\x47"
26399                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26400                           "\x50\x51\x52\x53\x54\x55\x56\x57"
26401                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26402                           "\x60\x61\x62\x63\x64\x65\x66\x67"
26403                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26404                           "\x70\x71\x72\x73\x74\x75\x76\x77"
26405                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26406                           "\x80\x81\x82\x83\x84\x85\x86\x87"
26407                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26408                           "\x90\x91\x92\x93\x94\x95\x96\x97"
26409                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
26410                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
26411                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
26412                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
26413                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
26414                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
26415                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
26416                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
26417                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
26418                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
26419                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
26420                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
26421                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
26422                           "\x00\x01\x02\x03\x04\x05\x06\x07"
26423                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26424                           "\x10\x11\x12\x13\x14\x15\x16\x17"
26425                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26426                           "\x20\x21\x22\x23\x24\x25\x26\x27"
26427                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26428                           "\x30\x31\x32\x33\x34\x35\x36\x37"
26429                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26430                           "\x40\x41\x42\x43\x44\x45\x46\x47"
26431                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26432                           "\x50\x51\x52\x53\x54\x55\x56\x57"
26433                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26434                           "\x60\x61\x62\x63\x64\x65\x66\x67"
26435                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26436                           "\x70\x71\x72\x73\x74\x75\x76\x77"
26437                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26438                           "\x80\x81\x82\x83\x84\x85\x86\x87"
26439                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26440                           "\x90\x91\x92\x93\x94\x95\x96\x97"
26441                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
26442                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
26443                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
26444                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
26445                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
26446                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
26447                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
26448                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
26449                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
26450                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
26451                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
26452                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
26453                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
26454                 .ctext  = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
26455                           "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
26456                           "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
26457                           "\xf1\x74\xac\x96\x05\x7b\x32\xca"
26458                           "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
26459                           "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
26460                           "\x97\x07\x82\xf0\x07\x12\x38\x0a"
26461                           "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
26462                           "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
26463                           "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
26464                           "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
26465                           "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
26466                           "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
26467                           "\x41\x82\x0c\x45\x39\x35\xa8\x75"
26468                           "\x03\x29\x01\x84\x8c\xab\x48\xbe"
26469                           "\x11\x56\x22\x67\xb7\x67\x1a\x09"
26470                           "\xa1\x72\x25\x41\x3c\x39\x65\x80"
26471                           "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
26472                           "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
26473                           "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
26474                           "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
26475                           "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
26476                           "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
26477                           "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
26478                           "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
26479                           "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
26480                           "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
26481                           "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
26482                           "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
26483                           "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
26484                           "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
26485                           "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
26486                           "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
26487                           "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
26488                           "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
26489                           "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
26490                           "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
26491                           "\xef\x38\x52\x18\x0e\x29\x7e\xef"
26492                           "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
26493                           "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
26494                           "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
26495                           "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
26496                           "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
26497                           "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
26498                           "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
26499                           "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
26500                           "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
26501                           "\x21\x17\xf8\x59\x15\x24\x64\x22"
26502                           "\x57\x48\x80\xd5\x3d\x92\x30\x07"
26503                           "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
26504                           "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
26505                           "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
26506                           "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
26507                           "\x6b\x84\xf3\x00\xba\x52\x05\x02"
26508                           "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
26509                           "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
26510                           "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
26511                           "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
26512                           "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
26513                           "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
26514                           "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
26515                           "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
26516                           "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
26517                           "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
26518                 .len    = 512,
26519         },
26520 };
26521
26522 /*
26523  * SEED test vectors
26524  */
26525 static const struct cipher_testvec seed_tv_template[] = {
26526         {
26527                 .key    = zeroed_string,
26528                 .klen   = 16,
26529                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
26530                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
26531                 .ctext  = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
26532                           "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
26533                 .len    = 16,
26534         }, {
26535                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
26536                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
26537                 .klen   = 16,
26538                 .ptext  = zeroed_string,
26539                 .ctext  = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
26540                           "\x84\x48\x35\x97\xe4\x37\x0f\x43",
26541                 .len    = 16,
26542         }, {
26543                 .key    = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
26544                           "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
26545                 .klen   = 16,
26546                 .ptext  = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
26547                           "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
26548                 .ctext  = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
26549                           "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
26550                 .len    = 16,
26551         }, {
26552                 .key    = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
26553                           "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
26554                 .klen   = 16,
26555                 .ptext  = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
26556                           "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
26557                 .ctext  = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
26558                           "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
26559                 .len    = 16,
26560         }
26561 };
26562
26563 /*
26564  * ARIA test vectors
26565  */
26566 static const struct cipher_testvec aria_tv_template[] = {
26567         {
26568                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
26569                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
26570                 .klen   = 16,
26571                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
26572                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26573                 .ctext  = "\xd7\x18\xfb\xd6\xab\x64\x4c\x73"
26574                           "\x9d\xa9\x5f\x3b\xe6\x45\x17\x78",
26575                 .len    = 16,
26576         }, {
26577                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
26578                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26579                           "\x10\x11\x12\x13\x14\x15\x16\x17",
26580                 .klen   = 24,
26581                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
26582                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26583                 .ctext  = "\x26\x44\x9c\x18\x05\xdb\xe7\xaa"
26584                           "\x25\xa4\x68\xce\x26\x3a\x9e\x79",
26585                 .len    = 16,
26586         }, {
26587                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
26588                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26589                           "\x10\x11\x12\x13\x14\x15\x16\x17"
26590                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
26591                 .klen   = 32,
26592                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
26593                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26594                 .ctext  = "\xf9\x2b\xd7\xc7\x9f\xb7\x2e\x2f"
26595                           "\x2b\x8f\x80\xc1\x97\x2d\x24\xfc",
26596                 .len    = 16,
26597         }
26598 };
26599
26600 static const struct cipher_testvec aria_cbc_tv_template[] = {
26601         {
26602                 .key    = "\x7c\x95\x0d\x07\xe6\x14\x98\x92"
26603                           "\x07\xac\x22\x41\x4d\x23\x27\x37",
26604                 .klen   = 16,
26605                 .iv     = "\x9d\xd5\x62\xce\x3d\x07\xd9\x89"
26606                           "\xf2\x78\x19\x4b\x65\x39\xc3\xc6",
26607                 .ptext  = "\xcb\xbf\x47\x35\xc5\x37\xf0\x4e"
26608                           "\x85\x19\x21\x72\x33\x00\xde\x28",
26609                 .ctext  = "\xf4\x80\x89\x89\x4a\x37\xda\x98"
26610                           "\x80\x52\x74\x75\xd9\xef\x58\xff",
26611                 .len    = 16,
26612         }, {
26613                 .key    = "\x8f\xb9\x8d\xc9\xd7\x99\xfe\x7d"
26614                           "\xeb\x14\xaa\x65\xaf\x8c\x38\x1a",
26615                 .klen   = 16,
26616                 .iv     = "\xb1\x67\x46\x57\x0c\x64\x65\xf2"
26617                           "\x8c\x2f\x65\x11\x12\x33\xd4\x9a",
26618                 .ptext  = "\x3a\xaf\xc1\xeb\x3c\x0c\xc5\xcc"
26619                           "\x10\x6e\x45\xa1\xd6\x89\xf1\xe5"
26620                           "\x74\xb6\x90\xd3\x81\x45\x00\x66"
26621                           "\x62\x15\x78\x84\xb2\x63\x11\x76",
26622                 .ctext  = "\x3d\x7d\x3a\xeb\x23\x85\x3e\x72"
26623                           "\x12\x45\xbb\x5b\x42\x99\xec\xa0"
26624                           "\xa2\xbe\x75\xd6\xb1\xd8\xea\x6f"
26625                           "\x97\xfe\xfd\xcc\xfc\x08\x38\x00",
26626                 .len    = 32,
26627         }, {
26628                 .key    = "\xe8\xe0\x85\x9c\x33\x06\x36\x5f"
26629                           "\xa9\xab\x72\x66\xa1\xd7\xf5\x0d",
26630                 .klen   = 16,
26631                 .iv     = "\x5d\xd3\xaf\x13\xed\x82\xc8\x92"
26632                           "\x4f\xf4\xe2\x35\xdb\x39\x9e\xa5",
26633                 .ptext  = "\xdf\x73\x61\x44\x86\x2f\x58\x1e"
26634                           "\xfe\xf6\xb9\x1d\xd9\x1e\x4c\x7c"
26635                           "\xb4\xe6\x2b\x7d\x17\xc3\xc6\x5f"
26636                           "\x9d\xf4\x29\x8a\x55\x5c\x82\x0e"
26637                           "\x67\x91\xdd\x4b\xfb\x31\x33\xf1"
26638                           "\x56\x75\xa3\x2c\x46\x08\xff\x18",
26639                 .ctext  = "\x85\x07\x8c\x88\x70\x7b\x39\xb8"
26640                           "\xfd\x1d\xa1\xd0\x89\x5f\x3f\x85"
26641                           "\x18\x5a\xde\x64\xbd\x54\xd5\x67"
26642                           "\xd1\x27\x4c\x98\x82\x76\xea\x22"
26643                           "\x52\x98\x79\xb4\x1d\xe8\x16\xd0"
26644                           "\xc6\xea\xf7\xbb\x38\x89\xf2\x5d",
26645                 .len    = 48,
26646         }, {
26647                 .key    = "\xc1\x19\x8a\x7b\xc9\xaf\x00\xb3"
26648                           "\x92\x3c\xd7\xed\xe7\x76\xc5\x98",
26649                 .klen   = 16,
26650                 .iv     = "\xca\x62\x82\x1a\x5b\xb1\xcf\xc1"
26651                           "\xfb\x50\xb7\xfc\xb0\x3b\x15\xcb",
26652                 .ptext  = "\xcb\x92\x56\x74\xc9\xee\x80\x78"
26653                           "\x78\xf5\x73\xc5\x5b\x2c\x70\x2d"
26654                           "\x4e\x0d\xd7\x17\x6d\x5a\x35\x74"
26655                           "\x33\xb0\x7d\xf5\xdf\x5f\x96\x7b"
26656                           "\x1c\x79\x16\xd0\xe0\x29\x4e\x94"
26657                           "\x95\x46\x86\x7a\x77\x28\x89\xb4"
26658                           "\x3d\xbb\x65\xab\xfb\xd1\x6c\xf4"
26659                           "\x47\xbd\x7e\x7f\x9b\x1d\x8b\x12",
26660                 .ctext  = "\x69\xd2\x56\xdf\xa8\x1a\x97\xbd"
26661                           "\x69\xb5\xbb\x6b\x29\x1d\x5f\x0f"
26662                           "\xdf\x5f\x63\xc0\x83\x0b\xd7\xb1"
26663                           "\x31\x2d\xbf\x73\xe1\xe5\x5d\x0e"
26664                           "\x0c\x8d\xc4\x8a\xa9\xbd\x5f\xc7"
26665                           "\xb5\x61\xa0\x2b\x90\x64\x1a\xde"
26666                           "\xd2\xe1\x61\xb9\xce\xf4\x0b\x1c"
26667                           "\x9c\x43\x69\x6d\xb2\x32\x98\x44",
26668                 .len    = 64,
26669         }, {
26670                 .key    = "\xfa\xf7\x53\xf6\xd6\x08\x70\xf1"
26671                           "\x32\x58\x97\x74\x04\x12\x1b\x14",
26672                 .klen   = 16,
26673                 .iv     = "\xdd\x93\xb2\x3e\xcb\xc1\x7c\x27"
26674                           "\x7f\x9e\x41\x03\xab\x1d\xfb\x77",
26675                 .ptext  = "\xae\x34\x94\x50\x73\x32\xf0\x75"
26676                           "\x96\x53\x2e\x1a\xc9\x91\x2b\x37"
26677                           "\x77\xbe\x48\x39\xa7\xd0\x6e\xf7"
26678                           "\x22\x7c\x4f\xe7\xd8\x06\xee\x92"
26679                           "\x80\x57\x61\x45\x7f\x50\xd5\x0a"
26680                           "\x0b\x5e\xd4\xd6\x90\x4e\xc3\x04"
26681                           "\x52\x63\xaf\x02\x55\xa6\x49\x4b"
26682                           "\x7a\x7e\x2e\x95\xea\x80\x6c\x4b"
26683                           "\xb7\x88\x42\x3d\xc1\x09\x28\x97"
26684                           "\xd7\xa1\x0f\x0f\x1f\xf1\xea\x63",
26685                 .ctext  = "\x6b\x83\x00\xf1\x79\xb2\x23\xbf"
26686                           "\x17\x26\x8a\xef\xd3\xe1\x0e\x82"
26687                           "\x5b\xc7\xde\x3e\x39\x72\x2d\xb0"
26688                           "\xad\x25\x3b\xe6\x3b\x9f\xe9\x4b"
26689                           "\x6e\xe8\x77\xf5\x9d\x7d\x00\xae"
26690                           "\x73\x7b\x81\xff\xe3\x55\x8e\x90"
26691                           "\xdf\xe4\xcd\xd5\xdc\x16\x8b\x7a"
26692                           "\xe5\x04\x92\x18\xff\xcc\x63\x1b"
26693                           "\x53\xf3\x26\x44\x5c\x48\x1d\xa2"
26694                           "\x1f\x3f\xe0\x8b\x8f\x6f\xc2\x38",
26695                 .len    = 80,
26696         }, {
26697                 .key    = "\xb8\xab\x6d\x03\x9d\xec\x15\x0a"
26698                           "\xcd\xcd\x68\x73\xa9\x35\x7e\x8a",
26699                 .klen   = 16,
26700                 .iv     = "\x9d\xf1\xc0\xa0\x02\x06\xf0\x03"
26701                           "\x43\x45\x6a\x2e\x3f\x21\xa9\x3c",
26702                 .ptext  = "\xef\xbe\x0c\xa3\x49\x4a\xda\x1e"
26703                           "\x64\x90\x85\xeb\xdc\xca\x2b\x37"
26704                           "\x78\xb7\x62\xd7\x0a\xee\x35\x38"
26705                           "\x97\x72\x6a\x99\xb8\x86\x07\x77"
26706                           "\x40\xc3\x14\x49\x1f\x67\xa1\x6e"
26707                           "\x87\xf0\x0b\x64\x4d\xea\x7c\x3a"
26708                           "\x91\x05\xb1\x48\xa1\x6a\x00\x1d"
26709                           "\x1b\x4f\x99\xb9\x52\xc9\x0c\xfd"
26710                           "\xf3\xe2\x0b\x5f\xe9\xec\x71\xe2"
26711                           "\x7d\x15\x84\x46\xc2\x3b\x77\x7b"
26712                           "\x30\x01\x34\x5c\x8f\x22\x58\x9a"
26713                           "\x17\x05\x7e\xf6\xd5\x92\xc0\xb4",
26714                 .ctext  = "\x79\x50\x9b\x34\xd7\x22\x9a\x72"
26715                           "\x61\xd7\xd8\xa9\xdb\xcf\x2f\xb0"
26716                           "\x81\x11\xe3\xed\xa0\xe4\xbd\x8d"
26717                           "\xe6\xf2\x52\x52\x40\xec\x9f\x3b"
26718                           "\xd4\x48\xc6\xdf\xfd\x36\x90\x8a"
26719                           "\x2f\x3b\xb0\xfb\xf4\x2b\x99\xa5"
26720                           "\xb2\x39\xc7\x52\x57\x2b\xbc\xd7"
26721                           "\x3f\x06\x10\x15\x2e\xf7\xaa\x79"
26722                           "\xd6\x6a\xe5\x4e\x2d\x0f\x5f\xaf"
26723                           "\xf9\x5a\x63\x28\x33\xf0\x85\x8a"
26724                           "\x06\x45\xce\x73\xaa\x96\x1d\xcc"
26725                           "\x6e\xb9\x25\xb8\x4c\xfe\xeb\x64",
26726                 .len    = 96,
26727         }, {
26728                 .key    = "\x50\x45\x7b\x4c\x6d\x80\x53\x62"
26729                           "\x90\x26\x77\xf8\x04\x65\x26\xe3",
26730                 .klen   = 16,
26731                 .iv     = "\x9d\xd3\x73\x7b\x9b\xbd\x45\x97"
26732                           "\xd2\xbb\xa1\xb9\x08\x88\x2c\x85",
26733                 .ptext  = "\x9f\x11\xeb\x78\x74\xcc\x4e\xd6"
26734                           "\x06\x4b\x6d\xe4\xdb\x11\x91\x58"
26735                           "\x1f\xa4\xf6\x0e\x8f\xe4\xcf\xfc"
26736                           "\x95\x9a\x8b\x68\xb4\x54\x57\x58"
26737                           "\x27\x71\xe4\x4b\xc5\x78\x6a\x26"
26738                           "\x28\xae\xed\x71\x0e\xe7\xbf\xc3"
26739                           "\xff\x9c\x46\x7b\x31\x3e\xff\xb1"
26740                           "\xa8\xca\xc3\x6d\xa1\x9e\x49\x16"
26741                           "\x31\x8b\xed\x2d\x2a\x2b\xaf\x3b"
26742                           "\x3e\x74\x7f\x07\x67\x8e\xb8\x0d"
26743                           "\x86\xe2\xea\x2c\x4a\x74\xdc\x9f"
26744                           "\x53\x72\xd1\x2e\x97\x0d\x0b\xa5"
26745                           "\x05\x87\x8e\x86\x69\x8d\x26\xfb"
26746                           "\x90\xc8\xab\x0e\xac\xaf\x84\x1c",
26747                 .ctext  = "\x3c\x91\xab\x71\xe4\x77\x3e\xb0"
26748                           "\x7f\x20\x2e\xd0\xe1\xbe\xfd\x3c"
26749                           "\x06\x6c\x36\x75\x46\x27\xfd\x2d"
26750                           "\xba\x0f\xf0\x3c\x6d\x1e\x4b\x20"
26751                           "\xe9\x5e\x30\xd8\x03\xc6\xa0\x86"
26752                           "\xa8\xc7\xa4\x7f\x0e\x1f\x35\x55"
26753                           "\x24\x53\x02\xd5\x77\x30\x73\xdc"
26754                           "\xa5\xaf\x19\x92\x5b\x36\x86\x0e"
26755                           "\xcf\xf2\x5c\x00\xde\x92\xbf\x89"
26756                           "\x76\x46\xd5\x26\xb1\x8d\xa4\xef"
26757                           "\x61\x7e\x78\xb4\x68\xf5\x5b\x1d"
26758                           "\x39\x65\x32\x3a\xad\xff\x8b\x37"
26759                           "\x60\xc2\x8a\xaf\x48\x96\x8b\x9f"
26760                           "\x12\x6c\x70\x77\x95\xf3\x58\xb0",
26761                 .len    = 112,
26762         }, {
26763                 .key    = "\xf9\x9f\x6a\x87\xa1\x2d\x6e\xac"
26764                           "\xde\xbb\x3e\x15\x5e\x49\xa4\xef",
26765                 .klen   = 16,
26766                 .iv     = "\xeb\x8e\x4f\xbe\x4b\x47\xd6\x4f"
26767                           "\x65\xd0\xfa\xee\xa6\xf1\x2c\xda",
26768                 .ptext  = "\xa3\xfa\x4f\xf6\x00\x12\xbe\xc1"
26769                           "\x90\xcc\x91\x88\xbd\xfb\x1c\xdb"
26770                           "\x2b\xc8\xb9\x3d\x98\x01\xc8\x1f"
26771                           "\x07\xb4\xf3\x10\x1d\xfd\xb7\x2e"
26772                           "\xcb\x1c\x1f\xe0\x2d\xca\xd3\xc7"
26773                           "\xb2\xce\x52\xf1\x7e\xcb\x7c\x50"
26774                           "\x0c\x5c\x53\x6b\x18\x62\x02\x54"
26775                           "\xbc\x9d\x1f\xda\xd9\x7a\x2d\xff"
26776                           "\xb8\x2c\x65\xad\xf1\xfe\xb6\xa4"
26777                           "\x8c\xe8\x0a\xb7\x67\x60\xcb\x38"
26778                           "\xd7\x72\xa5\xb1\x92\x13\x8e\xd4"
26779                           "\xcd\xb3\x04\xb5\xa1\x11\x96\x37"
26780                           "\xb3\x53\xa6\xc4\x14\x56\x6d\x42"
26781                           "\x66\x43\x40\x42\x41\x63\x11\x7a"
26782                           "\xd5\x34\x38\x75\xd0\xbc\x74\x89"
26783                           "\x82\x1d\x2c\x0a\x3e\x6a\xfb\xbd",
26784                 .ctext  = "\x09\x58\xf3\x22\xe5\x10\xf6\x3d"
26785                           "\xba\xb1\xfa\x5a\x16\xfe\xc5\x32"
26786                           "\x3d\x34\x59\x2e\x81\xde\x99\x2f"
26787                           "\xeb\x6a\x97\x86\x1f\x47\x8d\xe6"
26788                           "\x87\x79\x0e\xfe\xa4\xca\x09\xdc"
26789                           "\x24\x9b\xbb\xb1\x90\x33\xce\xd7"
26790                           "\x62\xfd\xfd\xa3\x65\x50\x07\x7c"
26791                           "\x4c\xa2\x10\xc7\x32\x0a\x0d\x5e"
26792                           "\x22\x29\x40\x71\xe5\xcc\x3a\x5b"
26793                           "\x5b\x53\x51\xa5\x5b\xc1\x76\x05"
26794                           "\x84\x6e\xe3\x58\x2b\xf2\x28\x76"
26795                           "\x5c\x66\x90\xfe\x63\x30\x1c\x45"
26796                           "\x26\x34\x80\xfe\x76\x87\x5b\xb1"
26797                           "\x63\x10\x09\xf6\x9d\x35\xcb\xee"
26798                           "\x3c\x60\x9d\x77\x5b\x36\x70\x09"
26799                           "\x4b\x63\x63\x90\x97\x3a\x6c\x8a",
26800                 .len    = 128,
26801         }, {
26802                 .key    = "\x04\xb9\x6c\x8f\x5e\x79\x02\x87"
26803                           "\x88\x06\x7c\xfa\xd3\x7b\x56\xfe",
26804                 .klen   = 16,
26805                 .iv     = "\x4b\xc8\x93\x20\x98\x04\xba\x5a"
26806                           "\x22\x04\x1f\x3f\x79\x2c\x63\x79",
26807                 .ptext  = "\xf3\x85\x3e\x75\x97\x10\x7c\x5d"
26808                           "\x39\x5a\x46\x47\xe7\x51\xa3\xac"
26809                           "\x84\x56\x3f\x1b\xb3\x93\x6a\x2e"
26810                           "\xf7\x8f\x63\xbe\x18\xff\xd7\x53"
26811                           "\xc8\xe0\xa5\xde\x86\xc2\xe4\xab"
26812                           "\xc3\x67\x27\x91\x43\x8c\xff\x6c"
26813                           "\xc7\x07\xc2\xcd\xe9\x12\x8b\xef"
26814                           "\x47\xe7\x82\xed\xe3\x8d\x5e\x33"
26815                           "\xca\xf1\x28\x32\xf4\x38\x41\x59"
26816                           "\x6c\x54\xa6\x40\xb0\xd5\x73\x26"
26817                           "\x5b\x02\xa6\x9d\x01\x29\x26\x84"
26818                           "\x5b\x33\x04\x36\xa4\x7b\x00\x01"
26819                           "\x42\xe1\x4f\xda\xa9\x1a\x9b\x4e"
26820                           "\x7d\x4a\x4c\xbc\xf6\xd4\x06\xc2"
26821                           "\x89\x70\x72\xf5\xc5\x7f\x42\xd5"
26822                           "\x7b\x9c\x6f\x00\x21\x74\xc5\xa5"
26823                           "\x78\xd7\xa2\x3c\x6d\x0f\xfb\x74"
26824                           "\x3d\x70\x9f\x6d\xdd\x30\xc0\x28",
26825                 .ctext  = "\xc0\x49\x98\xb9\xf6\x58\xeb\x56"
26826                           "\x36\x76\x7a\x40\x7c\x27\x80\x62"
26827                           "\xe3\xcb\x9c\x87\x2c\x03\xc2\x0c"
26828                           "\x82\x00\x50\xd2\xe4\x61\x4d\x54"
26829                           "\x88\x10\x6f\x0a\xb4\x25\x57\xba"
26830                           "\xf0\x07\xe3\x55\x06\xb3\x72\xe9"
26831                           "\x2f\x9f\x1e\x50\xa8\x15\x69\x71"
26832                           "\xe3\xe5\x50\x32\xe5\xe0\x47\x0f"
26833                           "\x3a\xaa\x7d\xc0\x09\x0e\xdb\x1a"
26834                           "\xae\xb6\xa5\x87\x63\xd6\xbe\x8b"
26835                           "\xb2\x3d\x10\x1e\xb3\x68\xcf\x8a"
26836                           "\xe5\xa8\x89\xa9\xfe\x79\x13\x77"
26837                           "\xc4\x3f\x6f\x9f\xdd\x76\x5b\xf2"
26838                           "\x05\x67\x8a\x58\xb4\x31\xac\x64"
26839                           "\x6f\xc4\xc1\x6b\x08\x79\x3f\xe5"
26840                           "\x1c\x9a\x66\x3f\x7d\x1f\x18\xb1"
26841                           "\x07\xa5\x7b\x4f\x2c\x43\x33\x84"
26842                           "\xab\x1b\xc0\x7d\x49\x2f\x27\x9b",
26843                 .len    = 144,
26844         }, {
26845                 .key    = "\x99\x79\xaf\x3c\xfb\xbd\xe7\xca"
26846                           "\xee\x4a\x4d\xb2\x23\x1e\xb6\x07",
26847                 .klen   = 16,
26848                 .iv     = "\xb4\xfc\xaa\xc1\x08\xbf\x68\xb2"
26849                           "\xf6\xef\x29\xbc\x2d\x92\xa9\x40",
26850                 .ptext  = "\xd3\x44\xe4\xd9\x6c\x8a\x1d\x4b"
26851                           "\xfe\x64\x25\xb6\x72\x21\xda\x10"
26852                           "\x3e\x77\xee\xd1\x41\xd3\xea\xf0"
26853                           "\xee\xee\x72\x0f\xad\xa1\xca\xf3"
26854                           "\x7e\xfa\x99\x36\xe0\x8f\xed\x40"
26855                           "\xf1\x12\x80\x73\xd6\x26\x3a\xa6"
26856                           "\x5d\x71\xf6\xd5\xe1\xf3\x89\x16"
26857                           "\x6f\x96\x00\xcf\x26\x06\x2a\x27"
26858                           "\xe4\xc2\x57\xba\x1f\x74\x5e\x91"
26859                           "\x10\x7e\xe5\x51\x17\xd5\xdc\xb2"
26860                           "\x5b\x12\x4b\x33\xb1\xc6\x4e\x0d"
26861                           "\xbf\x0e\x5d\x65\x61\x68\xd1\xc5"
26862                           "\x4b\xc5\xa4\xcd\xf0\xe0\x79\x26"
26863                           "\xa3\xcd\xdc\xb8\xfc\xd5\xca\x1d"
26864                           "\x7e\x81\x74\x55\x76\xf5\x40\xbb"
26865                           "\x26\x7f\x11\x37\x23\x70\xc8\xb6"
26866                           "\xfc\x2b\x0b\xd7\x1c\x7b\x45\xe7"
26867                           "\xf2\x2a\xed\x10\x4f\xcf\x0c\xcd"
26868                           "\x0f\xe7\xf9\xa1\xfb\x27\x67\x09"
26869                           "\xee\x11\xa2\xaf\x37\xc6\x16\xe0",
26870                 .ctext  = "\x60\xce\x9a\xdb\xb2\xe8\xa2\x64"
26871                           "\x35\x9c\x5b\x97\x21\x9b\x95\x89"
26872                           "\x7b\x89\x15\x01\x97\x8b\xec\x9b"
26873                           "\xb9\xce\x7d\xb9\x9d\xcc\xd0\xa0"
26874                           "\xda\x39\x5d\xfd\xb9\x51\xe7\x2f"
26875                           "\xe7\x9b\x73\x1b\x07\xfb\xfd\xbb"
26876                           "\xce\x84\x68\x76\x12\xc9\x6c\x38"
26877                           "\xc0\xdc\x67\x96\x5e\x63\xcf\xe5"
26878                           "\x57\x84\x7a\x14\x8c\xab\x38\x94"
26879                           "\x1c\x27\xc3\xe0\x03\x58\xfe\x98"
26880                           "\x97\xfc\x96\xba\x65\x87\x1e\x44"
26881                           "\xf8\x00\x91\x6a\x14\x05\xf3\xf9"
26882                           "\x8e\x3e\x7a\x3c\x41\x96\x15\x4f"
26883                           "\xa8\xc0\x73\x1f\x1b\xeb\xaf\xec"
26884                           "\xc4\x5a\x35\xed\x42\x2f\x47\xea"
26885                           "\xfd\x2f\x29\xf6\x0f\x58\x8b\x3d"
26886                           "\x15\x81\xe3\xa4\xa6\x5f\x33\x33"
26887                           "\xe9\x0d\x06\x4f\x7f\x89\x2c\x3d"
26888                           "\x18\x45\x1f\xd1\xc5\x74\xf7\x52"
26889                           "\x2f\x9b\x72\x3d\x1f\xad\x12\x1b",
26890                 .len    = 160,
26891         }, {
26892                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
26893                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
26894                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
26895                 .klen   = 24,
26896                 .iv     = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
26897                           "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
26898                 .ptext  = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
26899                           "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
26900                 .ctext  = "\x2d\x8f\x39\x71\x0a\x2c\xc9\x93"
26901                           "\xb6\x1a\x5c\x53\x06\x4d\xaa\xcf",
26902                 .len    = 16,
26903         }, {
26904                 .key    = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
26905                           "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
26906                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
26907                 .klen   = 24,
26908                 .iv     = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
26909                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
26910                 .ptext  = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
26911                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
26912                           "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
26913                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
26914                 .ctext  = "\xc1\x53\x86\xf8\x60\x5d\x72\x59"
26915                           "\x7e\xdf\xc8\xdb\x85\xd6\x9f\x2a"
26916                           "\xa1\xda\xe5\x85\x78\x4f\x1b\x6f"
26917                           "\x58\xf3\x2b\xff\x34\xe4\x97\x4e",
26918                 .len    = 32,
26919         }, {
26920                 .key    = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
26921                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
26922                           "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
26923                 .klen   = 24,
26924                 .iv     = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
26925                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
26926                 .ptext  = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
26927                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
26928                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
26929                           "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
26930                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
26931                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
26932                 .ctext  = "\x25\x5f\x66\x15\xb5\x62\xfb\x55"
26933                           "\xb3\x77\xa1\x7d\x03\xba\x86\x0a"
26934                           "\x0d\x5b\xbb\x06\xe9\xe2\xa8\x41"
26935                           "\xa3\x58\xd6\x4b\xcb\x7f\xd0\x15"
26936                           "\x3b\x02\x74\x5d\x4c\x4c\xb0\xa5"
26937                           "\x06\xc9\x59\x53\x2a\x36\xeb\x59",
26938                 .len    = 48,
26939         }, {
26940                 .key    = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
26941                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
26942                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
26943                 .klen   = 24,
26944                 .iv     = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
26945                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
26946                 .ptext  = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
26947                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
26948                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
26949                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
26950                           "\x30\x9d\x59\x8d\x64\x76\xad\x37"
26951                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
26952                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
26953                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
26954                 .ctext  = "\x91\x02\xa9\xd3\x4b\x9a\x8f\xe6"
26955                           "\x9f\xe4\x51\x57\xc9\x42\xda\x68"
26956                           "\xca\xf6\x54\x51\x90\xec\x20\x2e"
26957                           "\xab\x25\x6c\xd9\x8b\x99\xa6\x1c"
26958                           "\x72\xc9\x01\xd6\xbc\x2b\x26\x78"
26959                           "\x42\x00\x84\x0a\xdd\xa8\xd9\xb5"
26960                           "\xc6\xc8\x30\xb6\xab\xea\x71\x84"
26961                           "\xb2\x57\x97\x32\xdb\x35\x23\xd8",
26962                 .len    = 64,
26963         }, {
26964                 .key    = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
26965                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
26966                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
26967                 .klen   = 24,
26968                 .iv     = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
26969                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
26970                 .ptext  = "\x91\xac\x17\x11\x1c\x03\x69\x53"
26971                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
26972                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
26973                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
26974                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
26975                           "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
26976                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
26977                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
26978                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
26979                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
26980                 .ctext  = "\x28\x23\x3a\x4a\x18\xb7\xb6\x05"
26981                           "\xd4\x1b\x6a\x9e\xa7\xf2\x38\x01"
26982                           "\x78\xd3\xb0\x1b\x95\x68\x59\xf1"
26983                           "\xc0\xed\x30\x46\x2e\xb9\xa6\xdc"
26984                           "\xde\xef\xa6\x85\x19\xfc\x4d\x36"
26985                           "\x5d\x24\x92\x62\x75\x32\x76\x6d"
26986                           "\x6d\xa9\x07\xe1\x4f\x59\x84\x1a"
26987                           "\x68\x9a\x07\x48\xd3\x86\xf6\xf1"
26988                           "\x5b\xf9\x35\xec\x7c\xaf\x47\x13"
26989                           "\x9c\xc9\x33\x12\x10\x2f\x94\x8a",
26990                 .len    = 80,
26991         }, {
26992                 .key    = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
26993                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
26994                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
26995                 .klen   = 24,
26996                 .iv     = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
26997                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
26998                 .ptext  = "\x84\xa0\x53\x97\x61\x30\x70\x15"
26999                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27000                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27001                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
27002                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27003                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
27004                           "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27005                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
27006                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27007                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
27008                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27009                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
27010                 .ctext  = "\x38\x5b\x16\xef\xb8\x8c\x74\x7a"
27011                           "\x55\x17\x71\xa7\x7d\x34\xd7\x6a"
27012                           "\xc6\x31\x55\x6f\xbb\x61\xf4\x12"
27013                           "\x81\x8c\x91\x0d\x10\xdb\xd5\x22"
27014                           "\x77\x36\x32\xb6\x77\xb1\x5e\x21"
27015                           "\xb5\xec\xf9\x64\x04\x90\x6f\xc6"
27016                           "\x8a\x86\x23\xb5\xfe\xa4\xb6\x84"
27017                           "\x91\xa1\x60\xe3\xd7\xf3\xb9\xda"
27018                           "\x96\x23\x4a\xb3\xab\x75\x84\x04"
27019                           "\x15\x1a\xbb\xe8\x02\x1e\x80\x7c"
27020                           "\xc1\x93\x01\x0f\x5c\x4a\xde\x85"
27021                           "\xbb\x93\x05\x66\x53\x74\x40\x56",
27022                 .len    = 96,
27023         }, {
27024                 .key    = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27025                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27026                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
27027                 .klen   = 24,
27028                 .iv     = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27029                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
27030                 .ptext  = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
27031                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27032                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27033                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27034                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
27035                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27036                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
27037                           "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27038                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
27039                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27040                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
27041                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27042                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27043                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
27044                 .ctext  = "\x4b\x56\xe0\xc2\x65\x2f\x7c\x6f"
27045                           "\xee\x22\xeb\x34\x1c\xa5\xb7\xc8"
27046                           "\x35\xd7\x51\xfd\x6a\xf4\xdd\xc3"
27047                           "\x38\xf4\xfc\x9d\x2e\xc2\x77\xb7"
27048                           "\x93\x8e\x8c\xb3\x44\x9b\xaf\xbb"
27049                           "\x99\xb9\xa8\x38\x1c\xfe\x63\xfb"
27050                           "\x1f\xa0\xaa\x35\x29\x7b\x87\x49"
27051                           "\x8e\x93\xa5\xb8\x5a\x85\x37\xa7"
27052                           "\x67\x69\x49\xbd\xc3\xfa\x89\x1c"
27053                           "\xf5\x60\x9b\xe7\x71\x96\x95\xd9"
27054                           "\x0b\x98\xe6\x74\x1d\xa3\xd9\x89"
27055                           "\x03\xe4\xf6\x66\xb3\x73\xb1\xac"
27056                           "\x9f\xee\x8f\xc2\x96\xcc\x97\x78"
27057                           "\x1b\x96\x63\x64\x00\x9c\x2d\x29",
27058                 .len    = 112,
27059         }, {
27060                 .key    = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27061                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27062                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
27063                 .klen   = 24,
27064                 .iv     = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27065                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
27066                 .ptext  = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27067                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
27068                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27069                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27070                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27071                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
27072                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27073                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
27074                           "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27075                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
27076                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27077                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
27078                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27079                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27080                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27081                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
27082                 .ctext  = "\x4d\x35\x70\xf1\x25\x02\x1d\x7f"
27083                           "\x9e\x0f\x5b\x4b\x65\xab\xcc\x6b"
27084                           "\x62\xab\x2b\xfa\xc0\x66\xee\x56"
27085                           "\xb4\x66\x95\x22\x84\x39\xd8\x3f"
27086                           "\x74\xba\x4f\x3f\xcd\xef\xcf\xf6"
27087                           "\x76\xeb\x9e\x8a\xec\x9c\x31\xa0"
27088                           "\x3e\x0c\xf9\xfa\x57\x90\xb4\x02"
27089                           "\xac\xc8\x28\xda\xa0\x05\xb7\x7e"
27090                           "\x75\x9c\x79\x36\xa9\x2f\x1a\x36"
27091                           "\x56\x77\xda\x74\xc7\xb3\xdf\xf3"
27092                           "\xb9\x83\x10\xf3\x6b\xe1\xdf\xcb"
27093                           "\x11\x70\xb1\xa0\x68\x48\x26\x95"
27094                           "\x10\x91\x94\xf3\xe9\x82\xb4\x8a"
27095                           "\xaa\xde\xf8\x9f\xce\x82\x47\x18"
27096                           "\x37\x5d\xda\x34\x74\x4d\x36\xbd"
27097                           "\xa5\x6c\xa4\xb3\x70\xad\x00\xbd",
27098                 .len    = 128,
27099         }, {
27100                 .key    = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
27101                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
27102                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
27103                 .klen   = 24,
27104                 .iv     = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
27105                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
27106                 .ptext  = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
27107                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
27108                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
27109                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
27110                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
27111                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
27112                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
27113                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
27114                           "\xc2\xab\x62\x54\xef\xba\xae\x46"
27115                           "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
27116                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
27117                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
27118                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
27119                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
27120                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
27121                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
27122                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
27123                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
27124                 .ctext  = "\xa1\x4a\x83\xb2\xe0\xef\x3d\x94"
27125                           "\xa4\x34\x66\x93\xb4\x89\x4e\x12"
27126                           "\xe5\x61\xc9\xea\xe0\x16\x96\x1a"
27127                           "\x3e\x94\x20\x81\xd4\x12\x7f\xf4"
27128                           "\xb8\x3f\xc9\xe2\x99\xb5\x0f\x9e"
27129                           "\x71\x86\x4f\x13\x78\x4e\xf1\x51"
27130                           "\xd4\x7d\x6e\x47\x31\x9a\xd8\xf7"
27131                           "\xb9\xb1\x17\xd0\xbd\xbf\x72\x86"
27132                           "\xb4\x58\x85\xf0\x05\x67\xc4\x00"
27133                           "\xca\xcb\xa7\x1a\x1d\x88\x29\xf4"
27134                           "\xe2\xf6\xdd\x5a\x3e\x5a\xbb\x29"
27135                           "\x48\x5a\x4a\x18\xcd\x5c\xf1\x09"
27136                           "\x5b\xbe\x1a\x43\x12\xc5\x6e\x6e"
27137                           "\x5e\x6d\x3b\x22\xf7\x58\xbd\xc8"
27138                           "\xb1\x04\xaf\x44\x9c\x2b\x98\x5a"
27139                           "\x14\xb7\x35\xb8\x9a\xce\x32\x28"
27140                           "\x1f\x8d\x08\x8a\xb9\x82\xf0\xa5"
27141                           "\x6a\x37\x29\xb6\x29\x3a\x53\x5e",
27142                 .len    = 144,
27143         }, {
27144                 .key    = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
27145                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
27146                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
27147                 .klen   = 24,
27148                 .iv     = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
27149                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
27150                 .ptext  = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
27151                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
27152                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
27153                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
27154                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
27155                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
27156                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
27157                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
27158                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
27159                           "\x20\xf0\x79\x67\xb1\x83\x26\x66"
27160                           "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
27161                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
27162                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
27163                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
27164                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
27165                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
27166                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
27167                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
27168                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
27169                           "\x43\x43\x51\x6a\x02\x81\x64\x0c",
27170                 .ctext  = "\xd9\xed\xc8\xc7\x66\xcd\x06\xc5"
27171                           "\xc1\x25\x9b\xf5\x14\x71\x1d\x69"
27172                           "\xc9\x7c\x04\x40\xab\xc0\x44\xf4"
27173                           "\xa1\xe6\x57\x8b\x35\x62\x4e\x3f"
27174                           "\xce\x4a\x99\xcd\x95\xc4\xd1\xf3"
27175                           "\xbc\x25\xa2\x18\xe6\xd1\xf7\xc0"
27176                           "\x13\x98\x60\x4c\x5c\xb1\x4f\x7a"
27177                           "\xbc\x45\x12\x52\xe8\x71\xb0\xf1"
27178                           "\x18\xef\x6f\x8a\x63\x35\x17\xae"
27179                           "\x90\x31\x41\x9d\xf4\xdc\x35\xcc"
27180                           "\x49\x72\x10\x11\x3b\xe3\x40\x7a"
27181                           "\x8e\x21\x39\xd0\x5b\x82\xb1\xe9"
27182                           "\x0c\x37\x5a\x7c\x11\xcb\x96\xd9"
27183                           "\xd4\x1c\x47\x4b\x70\xcb\xca\x08"
27184                           "\x5f\x71\xe9\x48\xf6\x29\xd8\xbb"
27185                           "\x5c\xad\x9b\x23\x9f\x62\xaf\xef"
27186                           "\x8e\xd8\x99\x1d\x60\xad\xc3\x6f"
27187                           "\xed\x06\x1a\xec\xfa\xc0\x0f\x0d"
27188                           "\xb7\x00\x02\x45\x7c\x94\x23\xb6"
27189                           "\xd7\x26\x6a\x16\x62\xc4\xd9\xee",
27190                 .len    = 160,
27191         }, {
27192                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
27193                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
27194                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
27195                           "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
27196                 .klen   = 32,
27197                 .iv     = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
27198                           "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
27199                 .ptext  = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
27200                           "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
27201                 .ctext  = "\x05\x31\x46\x6d\xb8\xf4\x92\x64"
27202                           "\x46\xfd\x0d\x96\x60\x01\xd7\x94",
27203                 .len    = 16,
27204         }, {
27205                 .key    = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
27206                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22"
27207                           "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
27208                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
27209                 .klen   = 32,
27210                 .iv     = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
27211                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
27212                 .ptext  = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
27213                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d"
27214                           "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
27215                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
27216                 .ctext  = "\x24\x36\xe4\x14\xb7\xe1\x56\x8a"
27217                           "\xf3\xc5\xaf\x0e\xa7\xeb\xbd\xcd"
27218                           "\x2d\xe9\xd7\x19\xae\x24\x5d\x3b"
27219                           "\x1d\xfb\xdc\x21\xb3\x1a\x37\x0b",
27220                 .len    = 32,
27221         }, {
27222                 .key    = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
27223                           "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
27224                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
27225                           "\x39\x56\x34\x63\x2c\xc5\x51\x13",
27226                 .klen   = 32,
27227                 .iv     = "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
27228                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
27229                 .ptext  = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
27230                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
27231                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
27232                           "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
27233                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
27234                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
27235                 .ctext  = "\x2e\x73\x60\xec\xd3\x95\x78\xe8"
27236                           "\x0f\x98\x1a\xc2\x92\x49\x0b\x49"
27237                           "\x71\x42\xf4\xb0\xaa\x8b\xf8\x53"
27238                           "\x16\xab\x6d\x74\xc0\xda\xab\xcd"
27239                           "\x85\x52\x11\x20\x2c\x59\x16\x00"
27240                           "\x26\x47\x4a\xea\x08\x5f\x38\x68",
27241                 .len    = 48,
27242         }, {
27243                 .key    = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27244                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
27245                           "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27246                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c",
27247                 .klen   = 32,
27248                 .iv     = "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27249                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
27250                 .ptext  = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27251                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
27252                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27253                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44"
27254                           "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27255                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27256                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
27257                           "\xb2\x92\x83\x70\x1e\xa3\x97\xa6",
27258                 .ctext  = "\xfb\xd3\xc3\x8b\xf7\x89\xcc\x31"
27259                           "\xb1\x7f\xc3\x91\xdc\x04\xc6\xd7"
27260                           "\x33\xbd\xe0\xee\x0c\xd5\x70\xed"
27261                           "\x1b\x1d\xad\x49\x6f\x5c\xa1\x68"
27262                           "\xd7\x03\xc9\x65\xa7\x90\x30\x2b"
27263                           "\x26\xeb\xf4\x7a\xac\xcc\x03\xe1"
27264                           "\x6a\xe5\xdb\x23\x10\x8a\xcd\x70"
27265                           "\x39\x4d\x7a\xc9\xcd\x62\xd1\x65",
27266                 .len    = 64,
27267         }, {
27268                 .key    = "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
27269                           "\x91\xac\x17\x11\x1c\x03\x69\x53"
27270                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27271                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8",
27272                 .klen   = 32,
27273                 .iv     = "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27274                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
27275                 .ptext  = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27276                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
27277                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27278                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
27279                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
27280                           "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27281                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27282                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
27283                           "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27284                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
27285                 .ctext  = "\xa2\x51\x28\xc2\x5e\x58\x1c\xaf"
27286                           "\x84\x92\x1c\xe1\x92\xf0\xf9\x9e"
27287                           "\xf2\xb3\xc6\x2b\x34\xd2\x8d\xa0"
27288                           "\xb3\xd7\x87\x56\xeb\xd9\x32\x6a"
27289                           "\xca\x90\x28\x26\x49\x34\xca\x41"
27290                           "\xce\xc5\x9e\xd6\xfe\x57\x71\x3c"
27291                           "\x98\xaf\xdd\xfc\x7d\xdf\x26\x7e"
27292                           "\xb7\x9c\xd5\x15\xe5\x81\x7a\x4f"
27293                           "\x4f\x4f\xe5\x77\xf2\x2e\x67\x68"
27294                           "\x52\xc1\xac\x28\x2c\x88\xf4\x38",
27295                 .len    = 80,
27296         }, {
27297                 .key    = "\x84\xa0\x53\x97\x61\x30\x70\x15"
27298                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27299                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27300                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95",
27301                 .klen   = 32,
27302                 .iv     = "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27303                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
27304                 .ptext  = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27305                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
27306                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27307                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
27308                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27309                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
27310                           "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27311                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27312                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
27313                           "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27314                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
27315                           "\x58\x2b\x1d\x73\x9a\x9c\x63\x18",
27316                 .ctext  = "\xd1\xce\xbe\xe0\x4a\x6e\x6d\x7f"
27317                           "\x89\x19\x28\xb1\xca\xe8\xc1\x9c"
27318                           "\x8c\x0b\x7d\x63\xfe\xff\x3d\xf4"
27319                           "\x65\x9e\xd6\xe7\x2f\x5a\xc1\x31"
27320                           "\x1e\xe7\x59\x27\x54\x92\xcc\xaa"
27321                           "\x5b\x3d\xeb\xe7\x96\xc1\x49\x54"
27322                           "\x18\xf3\x14\xaa\x56\x03\x28\x53"
27323                           "\xaa\x0a\x91\xdf\x92\x96\x9b\x06"
27324                           "\x1a\x24\x02\x09\xe7\xa6\xdc\x75"
27325                           "\xeb\x00\x1d\xf5\xf2\xa7\x4a\x9d"
27326                           "\x75\x80\xb7\x47\x63\xfc\xad\x18"
27327                           "\x85\x5f\xfc\x64\x03\x72\x38\xe7",
27328                 .len    = 96,
27329         }, {
27330                 .key    = "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27331                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27332                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27333                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0",
27334                 .klen   = 32,
27335                 .iv     = "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27336                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
27337                 .ptext  = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27338                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
27339                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27340                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
27341                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27342                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27343                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
27344                           "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27345                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27346                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
27347                           "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27348                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
27349                           "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27350                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c",
27351                 .ctext  = "\x0b\x07\xdc\x6a\x47\x45\xd2\xb0"
27352                           "\xa3\xf2\x42\x2f\xa4\x79\x6b\x4c"
27353                           "\x53\x9c\x8a\x2f\x48\x9c\xf2\x89"
27354                           "\x73\x8b\xdd\x97\xde\x41\x06\xc8"
27355                           "\x8a\x30\x7a\xa9\x90\x4a\x43\xd0"
27356                           "\xd5\xee\x16\x51\x44\xda\xe4\xb8"
27357                           "\xe8\x5f\x6f\xef\x84\xf3\x44\x43"
27358                           "\xbd\xdc\xc3\xdf\x65\x2b\xaf\xf6"
27359                           "\xfe\xd0\x4a\x5b\x30\x47\x8c\xaf"
27360                           "\x8d\xed\x2d\x91\xa1\x03\x9a\x80"
27361                           "\x58\xdd\xaa\x8f\x3b\x6b\x39\x10"
27362                           "\xe5\x92\xbc\xac\xaa\x25\xa1\x13"
27363                           "\x7e\xaa\x03\x83\x05\x83\x11\xfe"
27364                           "\x19\x5f\x04\x01\x48\x00\x3b\x58",
27365                 .len    = 112,
27366         }, {
27367                 .key    = "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27368                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27369                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27370                           "\x6a\x55\x84\x98\x28\x03\x02\xc2",
27371                 .klen   = 32,
27372                 .iv     = "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27373                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
27374                 .ptext  = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27375                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
27376                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27377                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
27378                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27379                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27380                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27381                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
27382                           "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
27383                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
27384                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
27385                           "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
27386                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
27387                           "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
27388                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
27389                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a",
27390                 .ctext  = "\xfe\xba\x8f\x68\x47\x55\xaa\x61"
27391                           "\x48\xdd\xf3\x7c\xc4\xdc\xa6\x93"
27392                           "\x4e\x72\x3f\xc7\xd0\x2b\x9b\xac"
27393                           "\xc1\xb5\x95\xf8\x8e\x75\x62\x0c"
27394                           "\x05\x6a\x90\x76\x35\xed\x73\xf2"
27395                           "\x0f\x44\x3d\xaf\xd4\x00\xeb\x1d"
27396                           "\xad\x27\xf2\x2f\x55\x65\x91\x0f"
27397                           "\xe4\x04\x9c\xfb\x8a\x18\x22\x8e"
27398                           "\x21\xbe\x93\x09\xdd\x3e\x93\x34"
27399                           "\x60\x82\xcd\xff\x42\x10\xed\x43"
27400                           "\x3a\x4b\xb8\x5c\x6c\xa8\x9e\x1c"
27401                           "\x95\x6a\x17\xa7\xa3\xe0\x7d\xdb"
27402                           "\x6e\xca\xaf\xc1\x1f\xb2\x86\x15"
27403                           "\xf0\xc1\x55\x72\xf2\x74\x44\xeb"
27404                           "\x09\x09\x83\x8b\x2c\xc9\x63\x13"
27405                           "\x99\xe3\xe1\x4b\x5c\xf7\xb1\x04",
27406                 .len    = 128,
27407         }, {
27408                 .key    = "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
27409                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
27410                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
27411                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62",
27412                 .klen   = 32,
27413                 .iv     = "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
27414                           "\xc2\xab\x62\x54\xef\xba\xae\x46",
27415                 .ptext  = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
27416                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
27417                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
27418                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
27419                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
27420                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
27421                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
27422                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
27423                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
27424                           "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
27425                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
27426                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
27427                           "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
27428                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
27429                           "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
27430                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
27431                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
27432                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01",
27433                 .ctext  = "\xa5\x19\x33\xad\x2d\x1a\x7b\x34"
27434                           "\xb0\x21\x68\x0e\x20\x11\x7a\x37"
27435                           "\xef\x35\x33\x64\x31\x0a\x42\x77"
27436                           "\x2c\x7f\x1a\x34\xd6\x93\x2d\xe9"
27437                           "\x26\xb9\x15\xec\x4f\x83\xbd\x48"
27438                           "\x5b\xe9\x63\xea\x10\x3b\xec\xfb"
27439                           "\xb0\x5e\x81\x90\xf0\x07\x43\xc4"
27440                           "\xda\x54\x69\x98\x13\x5d\x93\x16"
27441                           "\xca\x06\x81\x64\x36\xbe\x36\xa2"
27442                           "\xd4\xd8\x48\x63\xc7\x53\x39\x93"
27443                           "\x6d\x6b\xd6\x49\x00\x72\x5e\x02"
27444                           "\xc7\x88\x61\x0f\x10\x88\xd4\x9e"
27445                           "\x17\x81\xa4\xdc\x43\x4e\x83\x43"
27446                           "\xd4\xc3\xd7\x25\x9a\xd4\x76\xde"
27447                           "\x88\xe3\x98\x5a\x0e\x80\x23\xfb"
27448                           "\x49\xb3\x83\xf6\xb9\x16\x00\x06"
27449                           "\xa5\x06\x24\x17\x65\xbb\x68\xa9"
27450                           "\x56\x6d\xeb\xcd\x3c\x14\xd2\x64",
27451                 .len    = 144,
27452         }, {
27453                 .key    = "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
27454                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
27455                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
27456                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53",
27457                 .klen   = 32,
27458                 .iv     = "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
27459                           "\x20\xf0\x79\x67\xb1\x83\x26\x66",
27460                 .ptext  = "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
27461                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
27462                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
27463                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
27464                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
27465                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
27466                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
27467                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
27468                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
27469                           "\x43\x43\x51\x6a\x02\x81\x64\x0c"
27470                           "\xcd\x4b\xbf\x0f\xcb\x81\xd4\xec"
27471                           "\x1e\x07\x05\x4d\x5c\x6b\xba\xcc"
27472                           "\x43\xc7\xb1\xfe\xa8\xe9\x96\xb0"
27473                           "\xb1\xb2\xd4\x70\x44\xbc\xaa\x50"
27474                           "\xbf\x3f\x81\xe6\xea\x36\x7d\x97"
27475                           "\x2a\xbd\x52\x16\xf7\xbe\x59\x27"
27476                           "\x8f\xcc\xe3\xa9\xec\x4f\xcd\xd3"
27477                           "\xf4\xe2\x54\xbe\xf1\xf9\x2b\x23"
27478                           "\x40\xc7\xcb\x67\x4d\x5f\x0b\xd4"
27479                           "\xbf\x19\xf0\x2a\xef\x37\xc6\x56",
27480                 .ctext  = "\x0a\x69\xd8\x67\x33\x2a\x2f\xa9"
27481                           "\x26\x79\x65\xd6\x75\x1e\x98\xe8"
27482                           "\x52\x56\x32\xbf\x67\x71\xf4\x01"
27483                           "\xb1\x6f\xef\xf9\xc9\xad\xb3\x49"
27484                           "\x7a\x4f\x24\x9a\xae\x06\x62\x26"
27485                           "\x3e\xe4\xa7\x6f\x5a\xbf\xe9\x52"
27486                           "\x13\x01\x74\x8b\x6e\xb1\x65\x24"
27487                           "\xaa\x8d\xbb\x54\x21\x20\x60\xa4"
27488                           "\xb7\xa5\xf9\x4e\x7b\xf5\x0b\x70"
27489                           "\xd2\xb9\xdc\x9b\xdb\x2c\xb2\x43"
27490                           "\xf7\x71\x30\xa5\x13\x6f\x16\x75"
27491                           "\xd0\xdf\x72\xae\xe4\xed\xc1\xa3"
27492                           "\x81\xe0\xd5\xc0\x0e\x62\xe8\xe5"
27493                           "\x86\x2c\x37\xde\xf8\xb0\x21\xe4"
27494                           "\xcd\xa6\x76\x9b\xa1\x56\xd3\x67"
27495                           "\x70\x69\xd6\x5d\xc7\x65\x19\x59"
27496                           "\x43\x9c\xca\x32\xe9\xd1\x48\x92"
27497                           "\x71\x79\x87\x73\x24\xcb\xc0\x0f"
27498                           "\x23\x3b\x8f\x51\x8a\xb3\x3a\x9c"
27499                           "\x74\xa4\x19\xa7\xe4\x4f\x6b\x32",
27500                 .len    = 160,
27501         }
27502 };
27503
27504 static const struct cipher_testvec aria_ctr_tv_template[] = {
27505         {
27506                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
27507                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1",
27508                 .klen   = 16,
27509                 .iv     = "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
27510                           "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
27511                 .ptext  = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
27512                           "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
27513                 .ctext  = "\x19\x28\xb5\xf2\x1c\xbc\xf8\xaf"
27514                           "\xb9\xae\x1b\x23\x4f\xe1\x6e\x40",
27515                 .len    = 16,
27516         }, {
27517                 .key    = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
27518                           "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
27519                 .klen   = 16,
27520                 .iv     = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
27521                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
27522                 .ptext  = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
27523                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e"
27524                           "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
27525                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
27526                 .ctext  = "\x3f\x8c\xa9\x19\xd6\xb4\xfb\xed"
27527                           "\x9c\x6d\xaa\x1b\xe1\xc1\xe6\xa8"
27528                           "\xa9\x0a\x63\xd3\xa2\x1e\x6b\xa8"
27529                           "\x52\x97\x1e\x81\x34\x6f\x98\x0e",
27530                 .len    = 32,
27531         }, {
27532                 .key    = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
27533                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
27534                 .klen   = 16,
27535                 .iv     = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
27536                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
27537                 .ptext  = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
27538                           "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
27539                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
27540                           "\x39\x56\x34\x63\x2c\xc5\x51\x13"
27541                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
27542                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
27543                 .ctext  = "\x28\xd8\xa7\xf8\x74\x98\x00\xfc"
27544                           "\xd6\x48\xad\xbd\xbe\x3f\x0e\x7b"
27545                           "\x3d\x46\xfd\xde\x3e\x4f\x12\x43"
27546                           "\xac\x85\xda\xff\x70\x24\x44\x9d"
27547                           "\x1e\xf8\x9f\x30\xba\xca\xe0\x97"
27548                           "\x03\x6d\xe1\x1d\xc7\x21\x79\x37",
27549                 .len    = 48,
27550         }, {
27551                 .key    = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
27552                           "\x77\xb5\xca\x90\xda\x1d\x22\x17",
27553                 .klen   = 16,
27554                 .iv     = "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
27555                           "\x07\x2c\xf4\x61\x79\x09\x01\x8f",
27556                 .ptext  = "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
27557                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57"
27558                           "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27559                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
27560                           "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27561                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
27562                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27563                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
27564                 .ctext  = "\x29\x31\x55\xd2\xe5\x0b\x81\x39"
27565                           "\xf9\xbc\x63\xe2\xfa\x26\x99\xde"
27566                           "\xde\x18\x93\x68\x81\x7b\x0a\x4d"
27567                           "\xf6\x03\xe1\xee\xf9\x0e\x1f\xe8"
27568                           "\xa8\x80\x81\x46\xdc\x24\x43\x3f"
27569                           "\xff\xfe\x8c\x3e\x17\x0a\x6d\xa2"
27570                           "\x47\x55\x62\xa0\x03\x4e\x48\x67"
27571                           "\xa2\x64\xc0\x9b\x6c\xa4\xfd\x6a",
27572                 .len    = 64,
27573         }, {
27574                 .key    = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27575                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac",
27576                 .klen   = 16,
27577                 .iv     = "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27578                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
27579                 .ptext  = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27580                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27581                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
27582                           "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
27583                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
27584                           "\x91\xac\x17\x11\x1c\x03\x69\x53"
27585                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27586                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
27587                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27588                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
27589                 .ctext  = "\x38\xbc\xf5\x9d\x0e\x26\xa6\x18"
27590                           "\x95\x0b\x23\x54\x09\xa1\xf9\x46"
27591                           "\x12\xf1\x42\x57\xa1\xaa\x52\xfa"
27592                           "\x8a\xbd\xf2\x03\x63\x4e\xbc\xf7"
27593                           "\x21\xea\xed\xca\xdd\x42\x41\x94"
27594                           "\xe4\x6c\x07\x06\x19\x59\x30\xff"
27595                           "\x8c\x9d\x51\xbf\x2c\x2e\x5b\xa5"
27596                           "\x7d\x11\xec\x6b\x21\x08\x12\x18"
27597                           "\xe4\xdf\x5a\xfd\xa6\x5f\xee\x2f"
27598                           "\x5c\x24\xb7\xea\xc1\xcd\x6d\x68",
27599                 .len    = 80,
27600         }, {
27601                 .key    = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27602                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3",
27603                 .klen   = 16,
27604                 .iv     = "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27605                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a",
27606                 .ptext  = "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
27607                           "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27608                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27609                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
27610                           "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27611                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2"
27612                           "\x84\xa0\x53\x97\x61\x30\x70\x15"
27613                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27614                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27615                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
27616                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27617                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
27618                 .ctext  = "\xdf\x79\x58\x30\x6f\x47\x12\x78"
27619                           "\x04\xb2\x0b\x1a\x62\x22\xe2\x9f"
27620                           "\xfe\xc2\xf5\x6d\x9e\x0e\x2e\x56"
27621                           "\x76\x01\x7f\x25\x8f\x6e\xc5\xf3"
27622                           "\x91\xff\xcd\x67\xc6\xae\x0b\x01"
27623                           "\x4d\x5f\x40\x25\x88\xc5\xe0\x3d"
27624                           "\x37\x62\x12\x58\xfe\xc5\x4a\x21"
27625                           "\x4a\x86\x8d\x94\xdd\xfd\xe6\xf6"
27626                           "\x1e\xa6\x78\x4f\x90\x66\xda\xe4"
27627                           "\x4e\x64\xa8\x05\xc6\xd8\x7d\xfb"
27628                           "\xac\xc9\x1d\x14\xb5\xb0\xfa\x9c"
27629                           "\xe8\x84\xef\x87\xbe\xb4\x2a\x87",
27630                 .len    = 96,
27631         }, {
27632                 .key    = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27633                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1",
27634                 .klen   = 16,
27635                 .iv     = "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27636                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad",
27637                 .ptext  = "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27638                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
27639                           "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27640                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27641                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
27642                           "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27643                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
27644                           "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
27645                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27646                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27647                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27648                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
27649                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27650                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
27651                 .ctext  = "\xe4\x25\x0d\x22\xeb\xbe\x5e\x90"
27652                           "\x01\xe5\xae\xc9\x94\xbd\x93\x89"
27653                           "\x5f\x98\xf1\x46\x6a\x50\x3b\xa2"
27654                           "\x79\xd9\xe4\x9c\x9a\xde\xf2\x8c"
27655                           "\x25\x49\x4c\xda\xb4\x2c\x76\xab"
27656                           "\x0a\xa8\x51\xaf\xc0\x62\x1b\xe9"
27657                           "\xe9\x7a\x35\x6a\x4b\x1f\x48\x00"
27658                           "\xeb\x24\x1d\x5e\xdd\x06\x09\x23"
27659                           "\x2a\xfa\x8f\x3b\x3e\x9e\x14\x6f"
27660                           "\x2a\x3c\xef\x6d\x73\x67\xdd\x6c"
27661                           "\xc8\xa5\x57\xc8\x02\xb6\x9a\xe8"
27662                           "\x8d\xcf\x10\xfa\x3e\x9c\x4d\xeb"
27663                           "\x44\xd2\x05\x31\x40\x94\x77\x87"
27664                           "\xf0\x83\xb5\xd2\x2a\x9c\xbc\xe4",
27665                 .len    = 112,
27666         }, {
27667                 .key    = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27668                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15",
27669                 .klen   = 16,
27670                 .iv     = "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27671                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12",
27672                 .ptext  = "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27673                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27674                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
27675                           "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27676                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27677                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
27678                           "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27679                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
27680                           "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27681                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
27682                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27683                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27684                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27685                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
27686                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27687                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
27688                 .ctext  = "\xa7\x4c\x96\x55\x7c\x07\xce\xb2"
27689                           "\x6f\x63\x9f\xc6\x8b\x6f\xc6\x4a"
27690                           "\x2c\x47\x8d\x99\xdf\x65\x75\x96"
27691                           "\xb7\x1d\x50\x5b\x57\x4a\x69\xcc"
27692                           "\xc9\x3a\x18\x8a\xd1\xab\x70\x4a"
27693                           "\xa3\x13\x80\xdd\x48\xc0\x6a\x7d"
27694                           "\x21\xa8\x22\x06\x32\x47\xc0\x16"
27695                           "\x1f\x9a\xc0\x21\x33\x66\xf2\xd8"
27696                           "\x69\x79\xae\x02\x82\x3f\xaf\xa6"
27697                           "\x98\xdb\xcd\x2a\xe5\x12\x39\x80"
27698                           "\x8a\xc1\x73\x99\xe5\xe4\x17\xe3"
27699                           "\x56\xc2\x43\xa6\x41\x6b\xb2\xa4"
27700                           "\x9f\x81\xc4\xe9\xf4\x29\x65\x50"
27701                           "\x69\x81\x80\x4b\x86\xab\x5e\x30"
27702                           "\xd0\x81\x9d\x6f\x24\x59\x42\xc7"
27703                           "\x6d\x5e\x41\xb8\xf5\x99\xc2\xae",
27704                 .len    = 128,
27705         }, {
27706                 .key    = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27707                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c",
27708                 .klen   = 16,
27709                 .iv     = "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27710                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33",
27711                 .ptext  = "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27712                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27713                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27714                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
27715                           "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
27716                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
27717                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
27718                           "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
27719                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
27720                           "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
27721                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
27722                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
27723                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
27724                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
27725                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
27726                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
27727                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
27728                           "\xc2\xab\x62\x54\xef\xba\xae\x46",
27729                 .ctext  = "\x11\x7f\xea\x49\xaf\x24\x52\xa2"
27730                           "\xde\x60\x99\x58\x23\xf9\x9e\x91"
27731                           "\x73\xd5\x9a\xcb\xdd\x10\xcd\x68"
27732                           "\xb8\x9e\xef\xa4\xe9\x2d\xf0\x27"
27733                           "\x44\xd4\x9a\xd6\xb6\x9c\x7a\xec"
27734                           "\x17\x17\xea\xa7\x8e\xa8\x40\x6b"
27735                           "\x43\x3d\x50\x59\x0f\x74\x1b\x9e"
27736                           "\x03\xed\x4f\x2f\xb8\xda\xef\xc3"
27737                           "\x3f\x29\xb3\xf4\x5c\xcd\xce\x3c"
27738                           "\xba\xfb\xc6\xd1\x1d\x6f\x61\x3a"
27739                           "\x2b\xbd\xde\x30\xc5\x53\xe0\x6e"
27740                           "\xbe\xae\x2f\x81\x13\x0f\xd2\xd5"
27741                           "\x14\xda\xd3\x60\x9c\xf8\x00\x86"
27742                           "\xe9\x97\x3e\x05\xb3\x95\xb3\x21"
27743                           "\x1f\x3c\x56\xef\xcb\x32\x49\x5c"
27744                           "\x89\xf1\x34\xe4\x8d\x7f\xde\x01"
27745                           "\x1f\xd9\x25\x6d\x34\x1d\x6b\x71"
27746                           "\xc9\xa9\xd6\x14\x1a\xf1\x44\x59",
27747                 .len    = 144,
27748         }, {
27749                 .key    = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
27750                           "\x05\x26\x23\x81\x19\x27\xad\x7b",
27751                 .klen   = 16,
27752                 .iv     = "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
27753                           "\x44\xbf\x59\xde\x03\x61\x11\x12",
27754                 .ptext  = "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
27755                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
27756                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
27757                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
27758                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
27759                           "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
27760                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
27761                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
27762                           "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
27763                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
27764                           "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
27765                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
27766                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
27767                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
27768                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
27769                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
27770                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
27771                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
27772                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
27773                           "\x20\xf0\x79\x67\xb1\x83\x26\x66",
27774                 .ctext  = "\x5b\xc0\xe8\x17\xa4\xf9\xea\xce"
27775                           "\x9e\xf9\xe0\xb1\xac\x37\xe9\x41"
27776                           "\x0b\x57\xc6\x55\x54\x50\xfa\xa9"
27777                           "\x60\xaf\x7a\x4e\x98\x56\xde\x81"
27778                           "\x14\xfc\xac\x21\x81\x3e\xf4\x0f"
27779                           "\x40\x92\x30\xa8\x16\x88\x1a\xc3"
27780                           "\xf1\x39\xbd\x0a\xb9\x44\xc8\x67"
27781                           "\x8c\xaa\x2b\x45\x8b\x5b\x7b\x24"
27782                           "\xd5\xd8\x9e\xd3\x59\xa5\xd7\x69"
27783                           "\xdf\xf4\x50\xf9\x5f\x4f\x44\x1f"
27784                           "\x2c\x75\x68\x6e\x3a\xa8\xae\x4b"
27785                           "\x84\xf0\x42\x6c\xc0\x3c\x42\xaf"
27786                           "\x87\x2b\x89\xe9\x51\x69\x16\x63"
27787                           "\xc5\x62\x13\x05\x4c\xb2\xa9\x69"
27788                           "\x01\x14\x73\x88\x8e\x41\x47\xb6"
27789                           "\x68\x74\xbc\xe9\xad\xda\x94\xa1"
27790                           "\x0c\x12\x8e\xd4\x38\x15\x02\x97"
27791                           "\x27\x72\x4d\xdf\x61\xcc\x86\x3d"
27792                           "\xd6\x32\x4a\xc3\xa9\x4c\x35\x4f"
27793                           "\x5b\x91\x7d\x5c\x79\x59\xb3\xd5",
27794                 .len    = 160,
27795         }, {
27796                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
27797                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
27798                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
27799                 .klen   = 24,
27800                 .iv     = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
27801                           "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
27802                 .ptext  = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
27803                           "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
27804                 .ctext  = "\xa4\x12\x2f\xc4\xf0\x6d\xd9\x46"
27805                           "\xe4\xe6\xd1\x0b\x6d\x14\xf0\x8f",
27806                 .len    = 16,
27807         }, {
27808                 .key    = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
27809                           "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
27810                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
27811                 .klen   = 24,
27812                 .iv     = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
27813                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
27814                 .ptext  = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
27815                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
27816                           "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
27817                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
27818                 .ctext  = "\x80\x2b\xf0\x88\xb9\x4b\x8d\xf5"
27819                           "\xc3\x0e\x15\x5b\xea\x5d\x5b\xa8"
27820                           "\x07\x95\x78\x72\xc0\xb9\xbf\x25"
27821                           "\x33\x22\xd1\x05\x56\x46\x62\x25",
27822                 .len    = 32,
27823         }, {
27824                 .key    = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
27825                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
27826                           "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
27827                 .klen   = 24,
27828                 .iv     = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
27829                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
27830                 .ptext  = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
27831                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
27832                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
27833                           "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
27834                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
27835                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
27836                 .ctext  = "\x65\x01\x3c\xb0\xac\x4c\x63\xb6"
27837                           "\xe7\xf1\xf4\x61\x35\xf4\x36\xde"
27838                           "\x7f\x85\xba\x41\xa8\xb0\x27\x11"
27839                           "\x86\x2c\x71\x16\x05\x1d\xcf\x70"
27840                           "\x35\xef\x23\x17\xfc\xed\x3f\x1a"
27841                           "\x8e\xb3\xe5\xdb\x90\xb4\xb8\x35",
27842                 .len    = 48,
27843         }, {
27844                 .key    = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
27845                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
27846                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
27847                 .klen   = 24,
27848                 .iv     = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27849                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
27850                 .ptext  = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27851                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
27852                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27853                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
27854                           "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27855                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
27856                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27857                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
27858                 .ctext  = "\x5a\xfb\xb1\x2c\x6e\xe5\xb8\xe0"
27859                           "\x80\xb6\x77\xa8\xfe\x10\x3a\x99"
27860                           "\x00\x8e\x30\x23\x7d\x50\x87\xda"
27861                           "\xc6\x46\x73\x37\x8b\xf1\xab\x26"
27862                           "\x2d\xa8\x0c\xa8\x9e\x77\xee\xfc"
27863                           "\x78\x4f\x03\x0f\xeb\xc6\x03\x34"
27864                           "\xb9\x9c\x4f\x59\x55\xc5\x99\x47"
27865                           "\xd4\x7e\xe8\x06\x43\x5f\xa1\x6b",
27866                 .len    = 64,
27867         }, {
27868                 .key    = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27869                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27870                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
27871                 .klen   = 24,
27872                 .iv     = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
27873                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
27874                 .ptext  = "\x91\xac\x17\x11\x1c\x03\x69\x53"
27875                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27876                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
27877                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27878                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
27879                           "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27880                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
27881                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27882                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
27883                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
27884                 .ctext  = "\xc9\x5f\xe0\x60\x61\x38\x7e\x79"
27885                           "\x52\x68\x64\x8f\x55\x9b\x6b\x72"
27886                           "\xbf\x09\xef\x2f\xb2\x92\xbb\xa3"
27887                           "\xe1\x6a\xeb\xe6\x4e\x7c\x5d\xe0"
27888                           "\x6a\x4b\xd0\x57\x3b\x28\x8a\x83"
27889                           "\x75\xd4\x5a\x2e\xd1\x9a\x57\xe3"
27890                           "\xc5\x43\x36\xde\x02\xac\x2c\x75"
27891                           "\xea\x33\x3a\x7e\x5d\xb8\xf6\x12"
27892                           "\x42\xbd\x06\x8a\x09\x6b\xd6\xb6"
27893                           "\x25\x59\xcd\xbd\x17\xeb\x69\xb3",
27894                 .len    = 80,
27895         }, {
27896                 .key    = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27897                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27898                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
27899                 .klen   = 24,
27900                 .iv     = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27901                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
27902                 .ptext  = "\x84\xa0\x53\x97\x61\x30\x70\x15"
27903                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27904                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27905                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
27906                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27907                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
27908                           "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27909                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
27910                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27911                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
27912                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27913                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
27914                 .ctext  = "\x03\x2c\x39\x24\x99\xb5\xf6\x79"
27915                           "\x91\x89\xb7\xf8\x89\x68\x37\x9d"
27916                           "\xe7\x4d\x7d\x1c\x36\xae\x98\xd2"
27917                           "\xbf\x2a\xa4\x30\x38\x30\xe7\x5d"
27918                           "\xbb\x00\x09\x40\x34\xa4\xef\x82"
27919                           "\x23\xca\x0e\xb3\x71\x80\x29\x0a"
27920                           "\xa9\x0b\x26\x65\x9a\x12\xbf\x18"
27921                           "\xfb\xf8\xe4\xc2\x62\x57\x18\xfb"
27922                           "\x1e\x98\xea\x5b\xf6\xd6\x7c\x52"
27923                           "\x7a\xba\x0e\x6a\x54\x19\xb6\xfa"
27924                           "\xe5\xd7\x60\x40\xb0\x1a\xf1\x09"
27925                           "\x70\x96\x23\x49\x98\xfc\x79\xd2",
27926                 .len    = 96,
27927         }, {
27928                 .key    = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27929                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27930                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
27931                 .klen   = 24,
27932                 .iv     = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27933                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
27934                 .ptext  = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
27935                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27936                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27937                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27938                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
27939                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27940                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
27941                           "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27942                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
27943                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27944                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
27945                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27946                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27947                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
27948                 .ctext  = "\xd4\x9a\x04\x54\x05\xd2\xe6\x3f"
27949                           "\xb0\xa4\x36\x5e\x1e\x9c\x35\xb0"
27950                           "\xa6\x62\x35\x47\xf4\x4d\x08\x9e"
27951                           "\x1c\x22\x91\x8e\x7f\x00\xa6\x3e"
27952                           "\x0a\x04\x42\x0f\xc4\xa6\x5d\xe2"
27953                           "\x49\x4c\x61\x12\xea\x9d\x7d\x7c"
27954                           "\xfa\x93\x74\x6b\x79\x8c\xdb\xc6"
27955                           "\x47\xf6\xea\x84\x3e\x97\x7d\x87"
27956                           "\x40\x38\x92\xc7\x44\xef\xdf\x63"
27957                           "\x29\xe4\x5b\x3a\x87\x22\xa1\x3f"
27958                           "\x2b\x31\xb1\xa4\x0d\xea\xf3\x0b"
27959                           "\xd7\x4f\xb6\x9c\xba\x40\xa3\x2f"
27960                           "\x21\x2b\x05\xe4\xca\xef\x87\x04"
27961                           "\xe6\xd0\x29\x2c\x29\x26\x57\xcd",
27962                 .len    = 112,
27963         }, {
27964                 .key    = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27965                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27966                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
27967                 .klen   = 24,
27968                 .iv     = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27969                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
27970                 .ptext  = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27971                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
27972                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27973                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27974                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27975                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
27976                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27977                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
27978                           "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27979                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
27980                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27981                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
27982                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27983                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27984                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27985                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
27986                 .ctext  = "\xbc\x57\x2a\x88\x0a\xd0\x06\x4f"
27987                           "\xdb\x7b\x03\x9f\x97\x1a\x20\xfe"
27988                           "\xdb\xdc\x8e\x7b\x68\x13\xc8\xf5"
27989                           "\x06\xe3\xe0\x7e\xd3\x51\x21\x86"
27990                           "\x4f\x32\xdb\x78\xe3\x26\xbe\x34"
27991                           "\x52\x4c\x4e\x6b\x85\x52\x63\x8b"
27992                           "\x8c\x5c\x0e\x33\xf5\xa3\x88\x2d"
27993                           "\x04\xdc\x01\x2d\xbe\xa1\x48\x6d"
27994                           "\x50\xf4\x16\xb1\xd7\x4d\x1e\x99"
27995                           "\xa8\x1d\x54\xcb\x13\xf9\x85\x51"
27996                           "\x18\x9f\xef\x45\x62\x5d\x48\xe5"
27997                           "\x0c\x54\xf7\x7b\x33\x18\xce\xb0"
27998                           "\xd5\x82\x1b\xe2\x91\xae\xdc\x09"
27999                           "\xe2\x97\xa8\x27\x13\x78\xc6\xb8"
28000                           "\x20\x06\x1a\x71\x5a\xb3\xbc\x1b"
28001                           "\x69\x1f\xcd\x57\x70\xa7\x1e\x35",
28002                 .len    = 128,
28003         }, {
28004                 .key    = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
28005                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
28006                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
28007                 .klen   = 24,
28008                 .iv     = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
28009                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
28010                 .ptext  = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
28011                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
28012                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
28013                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
28014                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
28015                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
28016                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
28017                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
28018                           "\xc2\xab\x62\x54\xef\xba\xae\x46"
28019                           "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
28020                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
28021                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
28022                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
28023                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
28024                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
28025                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
28026                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
28027                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
28028                 .ctext  = "\xd7\xb4\xfc\xcc\x1f\xf7\xfc\x7d"
28029                           "\x69\xfa\xcb\x01\x60\xf3\x5a\x14"
28030                           "\x88\xf7\xea\x43\xaa\x47\xf1\x8a"
28031                           "\x4e\xd0\x3c\x50\x58\x35\x95\x21"
28032                           "\x5f\xcc\x73\x0b\x97\xa0\x2c\x6b"
28033                           "\x70\x4d\x3d\xa8\x21\xbe\xfc\xec"
28034                           "\xb6\x55\xf0\x48\x2b\x11\xcc\x4b"
28035                           "\xda\xf7\x09\xd9\x18\x7b\x4f\x00"
28036                           "\x76\x40\xe0\x7d\x33\xcf\x4f\x77"
28037                           "\x91\x97\x63\xfa\x72\xba\x5c\x3d"
28038                           "\xcf\x2e\xb8\x19\x56\x4a\xa5\x02"
28039                           "\xc3\xb1\x80\xa8\x57\x03\x32\x57"
28040                           "\xa8\xe1\x65\xf7\xd3\x52\xc5\xcf"
28041                           "\x55\x1e\x34\xe3\x77\xab\x83\xdb"
28042                           "\xaf\xd3\x8a\xcc\x96\x1c\xc9\x73"
28043                           "\xd9\x0b\xb6\x4c\x31\xac\x2c\x82"
28044                           "\xb8\xb4\xc8\xe1\xa5\x71\xcc\xb3"
28045                           "\x7e\x85\xb8\xfa\x6b\xef\x41\x24",
28046                 .len    = 144,
28047         }, {
28048                 .key    = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
28049                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
28050                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
28051                 .klen   = 24,
28052                 .iv     = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
28053                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
28054                 .ptext  = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
28055                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
28056                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
28057                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
28058                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
28059                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
28060                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
28061                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
28062                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
28063                           "\x20\xf0\x79\x67\xb1\x83\x26\x66"
28064                           "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
28065                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
28066                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
28067                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
28068                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
28069                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
28070                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
28071                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
28072                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
28073                           "\x43\x43\x51\x6a\x02\x81\x64\x0c",
28074                 .ctext  = "\x71\xf6\x96\x02\x07\x71\x1a\x08"
28075                           "\x7c\xfe\x33\xc4\xc9\xbe\xe2\xed"
28076                           "\xf8\x46\x69\xce\x1b\xdc\xd3\x05"
28077                           "\x7a\xec\x26\x4d\x27\x2a\x49\x36"
28078                           "\x85\xe1\x5d\xd3\x91\xd7\x68\xb8"
28079                           "\x55\xa5\x27\x55\x2d\xc1\x78\x27"
28080                           "\x0c\x49\x0a\x24\x3b\x76\x3f\x5f"
28081                           "\x29\x1c\x37\x2f\x30\xfc\x50\xcb"
28082                           "\xe2\x54\x26\x7d\x97\xa7\xf3\x58"
28083                           "\x15\xe1\x4c\xeb\x35\xc9\xd1\x1e"
28084                           "\x7e\x7d\xa0\xe5\x62\xa5\x2d\xf6"
28085                           "\x77\xb0\xef\x13\x55\xb4\x66\x2c"
28086                           "\x3b\x50\x1b\x4d\xc2\x64\xce\xc6"
28087                           "\xfe\xf2\xad\xfe\x26\x73\x36\x66"
28088                           "\x0c\x2f\x10\x35\x97\x3c\x9c\x98"
28089                           "\xc1\x90\xa8\x82\xd7\xc6\x31\x68"
28090                           "\xcf\x77\xa8\x5b\xdf\xf9\x5a\x8e"
28091                           "\x84\xb5\x0b\x6e\x5b\xec\x36\x89"
28092                           "\x0b\xb1\xbf\xb9\x70\x02\x5c\x22"
28093                           "\xc3\xd5\xc1\xc6\xfd\x07\xdb\x70",
28094                 .len    = 160,
28095         }, {
28096                 .key    = "\x82\x8e\x9e\x06\x7b\xc2\xe9\xb3"
28097                           "\x06\xa3\xfa\x99\x42\x67\x87\xac"
28098                           "\x21\xc7\xb0\x98\x6c\xf8\x26\x57"
28099                           "\x08\xdd\x92\x02\x77\x7b\x35\xe7",
28100                 .klen   = 32,
28101                 .iv     = "\xa1\xad\xcb\xdd\xd5\x19\xb6\xd4"
28102                           "\x0b\x62\x58\xb0\x6c\xa0\xc1\x58",
28103                 .ptext  = "\x14\x0d\x8a\x09\x16\x00\x00\xf1"
28104                           "\xc0\x20\x86\xf9\x21\xd1\x34\xe2",
28105                 .ctext  = "\x05\xe3\x34\xaf\x6c\x83\x14\x8b"
28106                           "\x9d\x1c\xd6\x87\x74\x91\xdf\x17",
28107                 .len    = 16,
28108         }, {
28109                 .key    = "\xc9\xf3\xc4\x93\xd0\xcc\xaf\xb1"
28110                           "\x1a\x42\x93\x71\xd8\x4e\xd8\xaa"
28111                           "\x52\xad\x93\x2f\xe5\xd9\xaa\x5b"
28112                           "\x47\x37\x3a\xed\x13\x92\x35\x16",
28113                 .klen   = 32,
28114                 .iv     = "\x81\xc8\x50\xd1\x74\xc3\x1c\x73"
28115                           "\xbb\xab\x72\x83\x90\x5a\x15\xcb",
28116                 .ptext  = "\x65\x11\x93\xaf\xe1\x69\x6c\xbe"
28117                           "\x25\x8c\x76\x87\x53\xa4\x80\xae"
28118                           "\x51\x94\x36\x3f\xca\xe7\x45\x41"
28119                           "\x76\x05\xbf\x8f\x9c\xad\xc0\xe3",
28120                 .ctext  = "\x6b\x00\x6e\x49\x7a\x6d\xe3\x04"
28121                           "\x4e\xf7\x9f\x8a\x1f\x14\xbd\xb1"
28122                           "\x51\xbf\x13\x9f\x29\x95\x51\x16"
28123                           "\xd0\x23\x9a\x1a\x45\xc2\xc3\xd1",
28124                 .len    = 32,
28125         }, {
28126                 .key    = "\xd5\x9f\x52\x34\x12\x99\x8e\x42"
28127                           "\xe0\x85\x04\x6f\xeb\xf1\x5d\xd0"
28128                           "\xc1\xbf\x3f\x84\xd9\x1e\x71\x44"
28129                           "\xd4\xb9\x40\x3c\x02\x2e\x21\x19",
28130                 .klen   = 32,
28131                 .iv     = "\x28\xc1\x97\x64\x81\x52\x57\x0e"
28132                           "\x02\x8c\xab\x4c\xe2\x60\x14\xa5",
28133                 .ptext  = "\x5a\xb1\x33\x48\xaa\x51\xe9\xa4"
28134                           "\x5c\x2d\xbe\x33\xcc\xc4\x7f\x96"
28135                           "\xe8\xde\x2b\xe7\x35\x7a\x11\x4b"
28136                           "\x13\x08\x32\xc6\x41\xd8\xec\x54"
28137                           "\xa3\xd3\xda\x35\x43\x69\xf6\x88"
28138                           "\x97\xca\x00\x1b\x02\x59\x24\x82",
28139                 .ctext  = "\x03\xaf\x76\xbd\x5e\x5b\xca\xc0"
28140                           "\xae\x44\xa2\x2f\xc2\x76\x2f\x50"
28141                           "\xfa\x94\x94\x5a\x48\x9d\x9c\x38"
28142                           "\xc9\x75\xc9\xb2\x56\x0a\x2d\x91"
28143                           "\xb8\xe8\x4e\xaa\xcb\x51\x9b\x6a"
28144                           "\x20\x9b\x2b\xc5\xb0\x18\x9d\x01",
28145                 .len    = 48,
28146         }, {
28147                 .key    = "\x9c\x5d\xd7\x66\x36\xfa\x02\x20"
28148                           "\x99\x61\x62\x86\x0f\x43\x2e\x05"
28149                           "\x25\x8b\xfb\xf1\xae\x4c\xde\x18"
28150                           "\x0b\xf8\xd0\x9d\xaa\xd4\x56\x04",
28151                 .klen   = 32,
28152                 .iv     = "\xcd\xa8\x61\x89\x8d\xbb\x72\xb6"
28153                           "\x1e\xfe\x03\x34\x54\x88\x23\xe2",
28154                 .ptext  = "\x66\x42\x60\x24\xf3\xe4\xe9\x7e"
28155                           "\x42\x20\xf4\x61\xce\x1c\x5e\x44"
28156                           "\x02\x26\x91\xf7\x41\xa4\xab\x34"
28157                           "\x29\x49\xdd\x78\x19\x8f\x10\x10"
28158                           "\xf0\x61\xcf\x77\x18\x17\x61\xdf"
28159                           "\xc4\xa8\x35\x0e\x75\x1b\x84\x6b"
28160                           "\xc3\x3f\x31\x59\x5a\x9c\xf4\xc3"
28161                           "\x43\xa9\xb7\xf8\x65\x40\x40\xba",
28162                 .ctext  = "\xb6\x41\x55\x8f\xeb\x16\x1e\x4c"
28163                           "\x81\xa0\x85\x6c\xf0\x07\xa5\x2a"
28164                           "\x19\x91\xed\x3e\xd6\x30\x8c\xca"
28165                           "\x5d\x0f\x58\xca\xd2\x8a\xac\xa2"
28166                           "\x2b\x86\x4f\xb5\x85\x4d\xac\x6d"
28167                           "\xe5\x39\x1b\x02\x23\x89\x4e\x4f"
28168                           "\x02\x00\xe8\x1b\x40\x85\x21\x2b"
28169                           "\xc6\xb1\x98\xed\x70\xb3\xf8\xc3",
28170                 .len    = 64,
28171         }, {
28172                 .key    = "\x4b\x4e\x11\x91\x27\xcf\x8c\x66"
28173                           "\x17\xfa\x5b\x4c\xa8\xb8\x0f\xa1"
28174                           "\x99\x5b\x07\x56\xe1\x8d\x94\x8b"
28175                           "\xf2\x86\x5a\x5f\x40\x83\xfa\x06",
28176                 .klen   = 32,
28177                 .iv     = "\xfd\x73\xee\x1c\x27\xf3\xb4\x38"
28178                           "\xc5\x7c\x2e\xc5\x6e\xdb\x49\x0d",
28179                 .ptext  = "\x0a\xe2\xdd\x97\xdd\x5e\xd4\xb3"
28180                           "\xc1\x49\x8f\x53\xb2\x40\x85\x1c"
28181                           "\x90\x37\x2d\xbd\x21\x6b\x1f\x80"
28182                           "\x56\x98\x76\x1e\xcf\x6c\x78\xd8"
28183                           "\xa0\x3c\x79\xc3\x56\xf7\xfc\x64"
28184                           "\x35\x58\x1c\x7c\xc4\x5f\x2a\x25"
28185                           "\x8c\x01\x98\x1e\x1c\x1f\x15\x64"
28186                           "\x50\xb5\xfa\x02\xd3\x54\xe5\x29"
28187                           "\xe3\xd2\xa3\x83\x54\x40\x54\xc5"
28188                           "\xd8\x1c\xc9\x84\x7d\xc8\x31\x49",
28189                 .ctext  = "\x53\x2a\xa8\xa0\x15\xaf\x2f\xc4"
28190                           "\x7d\x31\xb4\x61\x80\x5f\xd1\xb6"
28191                           "\x7c\xca\x86\xb9\x28\x6e\xb6\x2b"
28192                           "\xe3\x4b\x7e\xea\xb3\x4f\xa2\xa2"
28193                           "\x4e\x8f\xbe\x22\x66\xb3\x92\xbc"
28194                           "\x70\x91\xaf\xa6\x09\x5d\xe2\x05"
28195                           "\x38\x62\xd3\x6e\x07\x63\x91\xad"
28196                           "\x48\x5a\x42\xe7\xdc\x0d\xb1\xe3"
28197                           "\x92\x88\x64\xee\x93\xaa\xaf\x31"
28198                           "\x68\x57\x35\x8d\x54\x2c\xfa\xb1",
28199                 .len    = 80,
28200         }, {
28201                 .key    = "\x77\x3b\xf5\xe7\x20\xf7\xe0\x0c"
28202                           "\x3d\x3a\x83\x17\x83\x79\xd8\x29"
28203                           "\x5a\x0a\x25\x7f\xe0\x21\x23\xff"
28204                           "\x31\xfd\x60\x10\xe6\x63\xe2\xaf",
28205                 .klen   = 32,
28206                 .iv     = "\xdb\x4c\x0d\xc0\x36\xdb\xc7\xa1"
28207                           "\xa4\x91\xd9\x05\xe6\xc4\x98\x00",
28208                 .ptext  = "\x8d\x4d\xc6\x5e\x01\x82\xb3\x39"
28209                           "\xc8\x64\xa7\xcb\x05\x19\x84\x80"
28210                           "\x3f\x9c\xa8\x4f\x64\xb3\x11\x4b"
28211                           "\x0e\x21\xc4\x75\x04\x1d\x6f\xd5"
28212                           "\x04\x04\x4d\xc9\xc0\x4b\x4a\x9c"
28213                           "\x26\xb7\x68\x5a\xe4\xd0\x61\xe3"
28214                           "\x2c\x93\x8e\x3f\xb4\x67\x07\x31"
28215                           "\x02\x52\x0c\x0f\xe6\x6d\xa3\xd0"
28216                           "\x48\x95\x83\x67\x23\x64\x31\x50"
28217                           "\xd2\x5f\x69\x68\x8b\x71\xbf\x01"
28218                           "\x29\x99\x86\x36\x2e\xdf\xf1\x7c"
28219                           "\x08\x8c\x78\x7a\x93\x9a\x7d\x1b",
28220                 .ctext  = "\x92\x90\x48\x2f\x3a\x6b\x68\x43"
28221                           "\x28\x9b\x7d\x1e\x46\x28\xd8\x58"
28222                           "\xd9\x1e\x44\xd7\x24\x91\x65\xb1"
28223                           "\x15\xde\xc4\x63\xf1\xb1\x34\x9e"
28224                           "\xae\x8c\x51\x94\xc5\x22\x65\x8d"
28225                           "\x3d\x85\xf5\x34\x5f\x04\x68\x95"
28226                           "\xf2\x66\x62\xbb\xc8\x3f\xe4\x0a"
28227                           "\x8a\xb2\x70\xc0\x77\xd5\x96\xef"
28228                           "\x9e\x39\x3a\x3e\x0d\x2b\xf9\xfe"
28229                           "\xa9\xbc\x00\xba\xc5\x43\xd7\x70"
28230                           "\x2f\xef\x1e\x1e\x93\xc2\x5d\xf1"
28231                           "\xb5\x50\xb8\xf5\xee\xf4\x26\x6f",
28232                 .len    = 96,
28233         }, {
28234                 .key    = "\xe0\x6a\x30\xe1\x35\xb5\xb0\x7c"
28235                           "\x54\xc5\x73\x9b\x00\xe5\xe7\x02"
28236                           "\xbe\x16\x59\xdc\xd9\x03\x17\x53"
28237                           "\xa8\x37\xd1\x5f\x13\x8e\x45\xdb",
28238                 .klen   = 32,
28239                 .iv     = "\x54\xe9\x1c\xde\xfb\x26\x0e\x48"
28240                           "\x35\x50\x4d\x9b\x4d\x12\x21\x0d",
28241                 .ptext  = "\x73\x72\xcf\xdb\xbd\xbc\xc0\xdf"
28242                           "\x6b\xbb\xdf\x65\x6f\x2f\x43\x3b"
28243                           "\x2d\x7c\x0e\x07\x7f\xa0\x95\xdd"
28244                           "\xfc\x67\xc1\x11\x7a\xe2\xb5\x4a"
28245                           "\xd1\x15\xb0\xd8\xe2\xf0\x35\x48"
28246                           "\xd8\x81\x6a\x35\xae\x67\xbf\x61"
28247                           "\xf2\x8a\xcf\x04\xc8\x09\x8b\x63"
28248                           "\x31\x74\x95\xa5\x8d\x3c\xea\xe2"
28249                           "\x5f\x67\xc4\x7e\x51\x88\xbf\xb5"
28250                           "\x78\xef\x3a\x76\xd8\x1d\x00\x75"
28251                           "\x2b\x7b\x28\x7c\xde\x4b\x39\x01"
28252                           "\x5d\xde\x92\xfe\x90\x07\x09\xfd"
28253                           "\xa5\xd1\xd3\x72\x11\x6d\xa4\x4e"
28254                           "\xd1\x6e\x16\xd1\xf6\x39\x4f\xa0",
28255                 .ctext  = "\x3b\xc5\xee\xfc\x05\xaf\xa6\xb7"
28256                           "\xfe\x12\x24\x79\x31\xad\x32\xb5"
28257                           "\xfb\x71\x9b\x02\xad\xf4\x94\x20"
28258                           "\x25\x7b\xdb\xdf\x97\x99\xca\xea"
28259                           "\xc4\xed\x32\x26\x6b\xc8\xd4\x7b"
28260                           "\x5b\x55\xfa\xf9\x5b\xab\x88\xdb"
28261                           "\x48\xfe\x67\xd5\x5a\x47\x81\x4e"
28262                           "\x3e\x1e\x83\xca\x1d\x04\xe1\xb5"
28263                           "\x6c\x1b\xbd\xf2\x2d\xf1\xae\x75"
28264                           "\x09\x6a\xf8\xb2\xc3\x27\xee\x08"
28265                           "\x66\x94\x72\xc0\x2b\x12\x47\x23"
28266                           "\x4d\xde\xb4\xca\xf7\x66\xca\x14"
28267                           "\xe7\x68\x1b\xfb\x48\x70\x3e\x4c"
28268                           "\x43\xbb\x88\x32\x25\xff\x77\x6a",
28269                 .len    = 112,
28270         }, {
28271                 .key    = "\x60\xb6\xde\x17\xca\x4c\xe7\xe0"
28272                           "\x07\x0d\x80\xc5\x8a\x2d\x5a\xc2"
28273                           "\x2c\xb9\xa4\x5f\x2a\x85\x2c\x3d"
28274                           "\x6d\x67\xc8\xee\x0f\xa2\xf4\x09",
28275                 .klen   = 32,
28276                 .iv     = "\x1a\xa5\xbc\x7e\x93\xf6\xdd\x28"
28277                           "\xb7\x69\x27\xa1\x84\x95\x25\x5a",
28278                 .ptext  = "\x7b\x88\x00\xeb\xa5\xba\xa1\xa7"
28279                           "\xd4\x40\x16\x74\x2b\x42\x37\xda"
28280                           "\xe0\xaf\x89\x59\x41\x2f\x62\x00"
28281                           "\xf5\x5a\x4e\x3b\x85\x27\xb2\xed"
28282                           "\x1b\xa7\xaf\xbe\x89\xf3\x49\xb7"
28283                           "\x8c\x63\xc9\x0c\x52\x00\x5f\x38"
28284                           "\x3b\x3c\x0c\x4f\xdd\xe1\xbf\x90"
28285                           "\x4a\x48\xbf\x3a\x95\xcb\x48\xa2"
28286                           "\x92\x7c\x79\x81\xde\x18\x6e\x92"
28287                           "\x1f\x36\xa9\x5d\x8d\xc4\xb6\x4d"
28288                           "\xb2\xb4\x0e\x09\x6d\xf3\x3d\x01"
28289                           "\x3d\x9b\x40\x47\xbc\x69\x31\xa1"
28290                           "\x6a\x71\x26\xdc\xac\x10\x56\x63"
28291                           "\x15\x23\x7d\x10\xe3\x76\x82\x41"
28292                           "\xcd\x80\x57\x2f\xfc\x4d\x22\x7b"
28293                           "\x57\xbb\x9a\x0a\x03\xe9\xb3\x13",
28294                 .ctext  = "\x37\x0d\x47\x21\xbc\x28\x0b\xf7"
28295                           "\x85\x5f\x60\x57\xf2\x7f\x92\x20"
28296                           "\x5f\xa7\xf6\xf4\xa6\xf5\xdf\x1e"
28297                           "\xae\x8e\xeb\x97\xfc\xce\x6a\x25"
28298                           "\x6d\x6a\x5b\xd1\x99\xf6\x27\x77"
28299                           "\x52\x0c\xf1\xd7\x94\xa0\x67\x5d"
28300                           "\x60\x35\xb0\x6d\x01\x45\x52\xc8"
28301                           "\x05\xd8\x7f\x69\xaf\x8e\x68\x05"
28302                           "\xa8\xa5\x24\x2f\x95\xef\xf1\xd2"
28303                           "\x8c\x45\x12\xc5\x7a\xcf\xbb\x99"
28304                           "\x25\xaa\xa3\x9b\x3f\xf1\xfc\x9d"
28305                           "\xfa\x2c\x26\x9b\x92\x47\x61\x6b"
28306                           "\x63\x1e\x41\x67\xcb\xb7\x0f\x52"
28307                           "\x70\xd4\x0d\x7e\xef\x34\xa2\x75"
28308                           "\x4f\x6a\x55\x9c\x2b\x4a\x02\xdd"
28309                           "\x96\x5d\xcb\xca\x45\xa1\xec\xaa",
28310                 .len    = 128,
28311         }, {
28312                 .key    = "\x2a\xed\x7d\x76\xfc\xc5\x49\x50"
28313                           "\xf4\x90\x0f\xcc\x5d\xff\x0c\x3c"
28314                           "\x14\x06\xaf\x68\x8f\xd7\xb6\x25"
28315                           "\x1e\x10\x95\x2a\x71\x33\x17\x20",
28316                 .klen   = 32,
28317                 .iv     = "\x5b\x58\x47\xf8\xd5\x1e\x91\x81"
28318                           "\x46\xe7\x25\x3a\x02\x45\x9c\x65",
28319                 .ptext  = "\x10\xaf\xde\x5c\x30\x79\x43\x28"
28320                           "\x1c\x03\xf8\x50\x0f\x30\xa5\xef"
28321                           "\x84\x19\x4c\x09\x40\x03\x75\x1f"
28322                           "\x92\x8f\x88\x01\xda\x31\x7a\xe4"
28323                           "\x48\xe3\xab\xb4\xe6\x1b\x0f\xac"
28324                           "\xd9\xfa\x8d\x23\xe4\xc6\xa4\xa9"
28325                           "\x2d\x9a\x54\x52\x44\x5c\x3c\x52"
28326                           "\x61\xf0\x00\xca\xed\xab\xed\xe2"
28327                           "\x44\x0b\xe0\x18\xba\xa5\x63\xd8"
28328                           "\xdc\x5e\x1a\x4c\xf8\xde\x5e\x75"
28329                           "\xdf\x42\x27\x7b\xe9\x11\x2f\x41"
28330                           "\x3a\x72\x54\x3d\x44\x9c\x3e\x87"
28331                           "\x8d\x8d\x43\x2f\xb2\xff\x87\xd4"
28332                           "\xad\x98\x68\x72\x53\x61\x19\x7c"
28333                           "\x20\x79\x8c\x2b\x37\x0b\x96\x15"
28334                           "\xa5\x7d\x4e\x01\xe6\xea\xb6\xfa"
28335                           "\xaa\xd3\x9d\xa2\xd9\x11\xc3\xc9"
28336                           "\xd4\x0e\x3f\x3e\xfe\x35\x1e\xe5",
28337                 .ctext  = "\xb0\x2b\x75\x5f\x33\x1b\x05\x49"
28338                           "\x06\xf1\x43\x91\xc2\x85\xfa\xac"
28339                           "\x3f\x47\xf3\x89\x73\xb2\x0e\xa4"
28340                           "\x30\xcb\x87\x39\x53\x5d\x36\x89"
28341                           "\x77\xd9\x17\x01\x95\xa6\xe9\x71"
28342                           "\x51\x53\xd9\x4f\xa6\xc2\x79\x3d"
28343                           "\x2e\x50\x90\x52\x0d\x27\x1a\x46"
28344                           "\xf1\xe8\x6e\x7e\x7b\x32\xe5\x22"
28345                           "\x22\x1f\xba\x5e\xcf\x25\x6b\x26"
28346                           "\x76\xf0\xca\x8e\xdd\x5b\xd3\x09"
28347                           "\x6f\x82\x08\x56\x1f\x51\x72\x57"
28348                           "\xca\xd1\x60\x07\xfb\x9f\x71\x54"
28349                           "\x0f\xf6\x48\x71\xfa\x8f\xcb\xdd"
28350                           "\xce\xd3\x16\xcd\xae\x0e\x67\x5e"
28351                           "\xea\x8d\xa2\x4a\x4f\x11\xc8\xc8"
28352                           "\x2f\x04\xfe\xa8\x2a\x07\x1c\xb1"
28353                           "\x77\x39\xda\x8b\xd9\x5c\x94\x6c"
28354                           "\x4d\x4d\x13\x51\x6f\x07\x06\x5b",
28355                 .len    = 144,
28356         }, {
28357                 .key    = "\x7b\xa7\x4d\x0a\x37\x30\xb9\xf5"
28358                           "\x2a\x79\xb4\xbf\xdb\x7f\x9b\x64"
28359                           "\x23\x43\xb5\x18\x34\xc4\x5f\xdf"
28360                           "\xd9\x2a\x66\x58\x00\x44\xb5\xd9",
28361                 .klen   = 32,
28362                 .iv     = "\x75\x34\x30\xc1\xf0\x69\xdf\x0a"
28363                           "\x52\xce\x4f\x1e\x2c\x41\x35\xec",
28364                 .ptext  = "\x81\x47\x55\x3a\xcd\xfe\xa2\x3d"
28365                           "\x45\x53\xa7\x67\x61\x74\x25\x80"
28366                           "\x98\x89\xfe\xf8\x6a\x9f\x51\x7c"
28367                           "\xa4\xe4\xe7\xc7\xe0\x1a\xce\xbb"
28368                           "\x4b\x46\x43\xb0\xab\xa8\xd6\x0c"
28369                           "\xa0\xf0\xc8\x13\x29\xaf\xb8\x01"
28370                           "\x6b\x0c\x7e\x56\xae\xb8\x58\x72"
28371                           "\xa9\x24\x44\x61\xff\xf1\xac\xf8"
28372                           "\x09\xa8\x48\x21\xd6\xab\x41\x73"
28373                           "\x70\x6b\x92\x06\x61\xdc\xb4\x85"
28374                           "\x76\x26\x7a\x84\xc3\x9e\x3a\x14"
28375                           "\xe7\xf4\x2d\x95\x92\xad\x18\xcc"
28376                           "\x44\xd4\x2c\x36\x57\xed\x2b\x9b"
28377                           "\x3f\x2b\xcd\xe5\x11\xe3\x62\x33"
28378                           "\x42\x3f\xb8\x2a\xb1\x37\x3f\x8b"
28379                           "\xe8\xbd\x6b\x0b\x9f\x38\x5a\x5f"
28380                           "\x82\x34\xb7\x96\x35\x58\xde\xab"
28381                           "\x94\x98\x41\x5b\x3f\xac\x0a\x34"
28382                           "\x56\xc0\x02\xef\x81\x6d\xb1\xff"
28383                           "\x34\xe8\xc7\x6a\x31\x79\xba\xd8",
28384                 .ctext  = "\x4e\x00\x7c\x52\x45\x76\xf9\x3d"
28385                           "\x1a\xd1\x72\xbc\xb9\x0f\xa9\xfb"
28386                           "\x0e\x5b\xe2\x3c\xc7\xae\x92\xf6"
28387                           "\xb8\x0b\x0a\x95\x40\xe9\x7f\xe0"
28388                           "\x54\x10\xf9\xf6\x23\x1f\x51\xc8"
28389                           "\x16\x8b\x2e\x79\xe1\x8c\x0b\x43"
28390                           "\xe5\xeb\xb5\x9d\x1e\xc3\x28\x07"
28391                           "\x5c\x8d\xb1\xe7\x80\xd3\xce\x62"
28392                           "\x8d\xf8\x31\x1f\x29\x8b\x90\xee"
28393                           "\xe5\xc3\xfa\x16\xc4\xf0\xc3\x99"
28394                           "\xe9\x5e\x19\xba\x37\xb8\xc0\x87"
28395                           "\xb5\xc6\xc9\x31\xcb\x6e\x30\xce"
28396                           "\x03\x1d\xfe\xce\x08\x32\x00\xeb"
28397                           "\x86\xc4\xfb\x48\x01\xda\x93\x73"
28398                           "\xcc\xb7\xae\x4e\x94\x20\xeb\xc7"
28399                           "\xe3\x33\x4c\xeb\xed\xe2\xfc\x86"
28400                           "\x0e\x73\x32\xf9\x1b\xf3\x25\xf3"
28401                           "\x74\xad\xd1\xf4\x2c\x45\xa4\xfd"
28402                           "\x52\x40\xa2\x4e\xa5\x62\xf6\x02"
28403                           "\xbb\xb0\xe3\x23\x86\x67\xb8\xf6",
28404                 .len    = 160,
28405         }
28406 };
28407
28408 static const struct cipher_testvec aria_cfb_tv_template[] = {
28409         {
28410                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
28411                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1",
28412                 .klen   = 16,
28413                 .iv     = "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
28414                           "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
28415                 .ptext  = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
28416                           "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
28417                 .ctext  = "\x19\x28\xb5\xf2\x1c\xbc\xf8\xaf"
28418                           "\xb9\xae\x1b\x23\x4f\xe1\x6e\x40",
28419         }, {
28420                 .key    = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
28421                           "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
28422                 .klen   = 16,
28423                 .iv     = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
28424                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
28425                 .ptext  = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
28426                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e"
28427                           "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
28428                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
28429                 .ctext  = "\x3f\x8c\xa9\x19\xd6\xb4\xfb\xed"
28430                           "\x9c\x6d\xaa\x1b\xe1\xc1\xe6\xa8"
28431                           "\x47\x35\x7d\xa3\x96\x7d\x53\x60"
28432                           "\xa9\x33\x9c\x34\xae\x7d\x7c\x74",
28433                 .len    = 32,
28434         }, {
28435                 .key    = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
28436                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
28437                 .klen   = 16,
28438                 .iv     = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
28439                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
28440                 .ptext  = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
28441                           "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
28442                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
28443                           "\x39\x56\x34\x63\x2c\xc5\x51\x13"
28444                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
28445                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
28446                 .ctext  = "\x28\xd8\xa7\xf8\x74\x98\x00\xfc"
28447                           "\xd6\x48\xad\xbd\xbe\x3f\x0e\x7b"
28448                           "\xa3\xec\x03\x6a\xfb\xc9\x01\x83"
28449                           "\xb3\x2f\xda\x5e\x66\xa0\xc3\xec"
28450                           "\xe9\xd4\x72\x2a\xa2\x90\x41\xcf"
28451                           "\xde\x30\x79\xc3\x82\x10\x51\xe1",
28452                 .len    = 48,
28453         }, {
28454                 .key    = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
28455                           "\x77\xb5\xca\x90\xda\x1d\x22\x17",
28456                 .klen   = 16,
28457                 .iv     = "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
28458                           "\x07\x2c\xf4\x61\x79\x09\x01\x8f",
28459                 .ptext  = "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
28460                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57"
28461                           "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
28462                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
28463                           "\xa0\x82\x09\x60\x47\xbb\x16\x56"
28464                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
28465                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
28466                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
28467                 .ctext  = "\x29\x31\x55\xd2\xe5\x0b\x81\x39"
28468                           "\xf9\xbc\x63\xe2\xfa\x26\x99\xde"
28469                           "\x5c\xd3\x0a\x56\xe5\xfc\x83\xdd"
28470                           "\xab\x26\x90\x7d\xa8\x0f\x01\xa6"
28471                           "\x0e\x01\xdc\x1f\xfa\xa7\xdd\x09"
28472                           "\xf9\xbf\x12\xf4\xc6\x9f\xbd\x57"
28473                           "\x23\x68\x54\x0f\xe0\xcf\x1c\x6d"
28474                           "\xe1\x5e\x0b\x4a\x1e\x71\x1d\xaa",
28475                 .len    = 64,
28476         }, {
28477                 .key    = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
28478                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac",
28479                 .klen   = 16,
28480                 .iv     = "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
28481                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
28482                 .ptext  = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
28483                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
28484                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
28485                           "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
28486                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
28487                           "\x91\xac\x17\x11\x1c\x03\x69\x53"
28488                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
28489                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
28490                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
28491                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
28492                 .ctext  = "\x38\xbc\xf5\x9d\x0e\x26\xa6\x18"
28493                           "\x95\x0b\x23\x54\x09\xa1\xf9\x46"
28494                           "\x7a\x31\xa0\xd7\x4a\xec\xb3\x10"
28495                           "\x8a\x8e\x99\x78\x6c\x6e\x76\xf2"
28496                           "\x63\x8a\x3b\x90\xaa\xd5\x64\x65"
28497                           "\x5a\x52\xb0\x36\x4c\xce\xed\xc7"
28498                           "\x51\x3c\x06\xb0\xee\x54\xec\x10"
28499                           "\xc0\x5f\xfd\xa9\x44\x9a\x29\x32"
28500                           "\x19\x79\x7d\x2b\x14\x26\x96\x13"
28501                           "\x9d\xa5\x61\xbd\xb6\x72\x37\x26",
28502                 .len    = 80,
28503         }, {
28504                 .key    = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
28505                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3",
28506                 .klen   = 16,
28507                 .iv     = "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
28508                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a",
28509                 .ptext  = "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
28510                           "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
28511                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
28512                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
28513                           "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
28514                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2"
28515                           "\x84\xa0\x53\x97\x61\x30\x70\x15"
28516                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
28517                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
28518                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
28519                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
28520                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
28521                 .ctext  = "\xdf\x79\x58\x30\x6f\x47\x12\x78"
28522                           "\x04\xb2\x0b\x1a\x62\x22\xe2\x9f"
28523                           "\xfe\x90\x50\x41\x1b\x6a\x6a\x9c"
28524                           "\x4e\x77\x8f\xca\xd1\x68\x31\xcd"
28525                           "\x41\x82\xa5\x5b\xc0\x08\x2b\x37"
28526                           "\x62\xec\x95\xf1\x56\x12\x38\x66"
28527                           "\x84\x82\x72\xda\x00\x21\x96\x82"
28528                           "\x33\xd4\x99\xaa\xb9\xeb\xd5\xc3"
28529                           "\x2b\xa8\xf7\xdc\x13\x0e\x21\x9f"
28530                           "\x4b\xf9\x42\x58\xa8\x39\x10\xd5"
28531                           "\x86\xa5\xc6\x78\x3b\x34\x05\x03"
28532                           "\x54\x43\x2b\x80\xa9\x53\x4d\x0e",
28533                 .len    = 96,
28534         }, {
28535                 .key    = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
28536                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1",
28537                 .klen   = 16,
28538                 .iv     = "\xee\xb7\x0d\x65\x00\x38\xab\x71"
28539                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad",
28540                 .ptext  = "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
28541                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
28542                           "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
28543                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
28544                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
28545                           "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
28546                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
28547                           "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
28548                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
28549                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
28550                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
28551                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
28552                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
28553                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
28554                 .ctext  = "\xe4\x25\x0d\x22\xeb\xbe\x5e\x90"
28555                           "\x01\xe5\xae\xc9\x94\xbd\x93\x89"
28556                           "\x5e\x5a\x5a\x2f\xf6\xdf\xf8\x16"
28557                           "\xd3\xb2\xed\x29\x51\xe2\x75\xb0"
28558                           "\x1a\x48\xb5\xe6\xd3\x58\x40\xc7"
28559                           "\x6f\x6f\xcf\x57\x82\x43\x5a\x36"
28560                           "\xef\x27\xe1\x34\x85\x01\xec\x98"
28561                           "\x00\xbd\x94\x6f\x12\x39\xa8\x13"
28562                           "\xfe\x3c\x39\xc0\xc6\xe1\xcc\x05"
28563                           "\x0e\xd5\xc9\xda\xbd\xdd\xdb\xaa"
28564                           "\x5a\xaa\x8e\xe8\xa8\x0a\xc5\x18"
28565                           "\xb4\x1d\x13\x81\xc9\xc4\xaa\x61"
28566                           "\xa9\xbd\xaa\x03\x12\x93\xbb\xed"
28567                           "\x0c\x6e\xbd\x1c\x05\x16\x8a\x59",
28568                 .len    = 112,
28569         }, {
28570                 .key    = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
28571                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15",
28572                 .klen   = 16,
28573                 .iv     = "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
28574                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12",
28575                 .ptext  = "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
28576                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
28577                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
28578                           "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
28579                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
28580                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
28581                           "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
28582                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
28583                           "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
28584                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
28585                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
28586                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
28587                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
28588                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
28589                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
28590                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
28591                 .ctext  = "\xa7\x4c\x96\x55\x7c\x07\xce\xb2"
28592                           "\x6f\x63\x9f\xc6\x8b\x6f\xc6\x4a"
28593                           "\x85\xf2\x4b\xdf\x62\x0c\x6c\x8d"
28594                           "\x13\x5d\xd3\x40\x58\xa6\xf9\x03"
28595                           "\xd9\xf2\x48\x4e\x12\x64\x9a\x55"
28596                           "\xa2\xa3\xd0\x19\xe5\x5b\xaa\x62"
28597                           "\x7b\xe9\x2a\x23\xab\xb5\xa6\xcf"
28598                           "\x53\x59\x70\xc6\xb8\x92\x12\x3b"
28599                           "\x93\x68\x24\xba\x7d\xd6\xc0\x5b"
28600                           "\x06\x2e\x7f\x2e\x32\x5d\x42\x9c"
28601                           "\x13\x8e\x92\x3c\x99\x20\x32\x2b"
28602                           "\x4a\x41\xb2\x4a\x81\xe8\x6e\x7f"
28603                           "\x5b\x8e\xca\x4d\xd7\x29\x96\xde"
28604                           "\x30\x9c\xa6\x84\x90\xe7\xc2\xae"
28605                           "\xf4\x7e\x73\x32\x4c\x25\xec\xef"
28606                           "\x58\x69\x63\x3f\x4e\x71\x4b\x1c",
28607                 .len    = 128,
28608         }, {
28609                 .key    = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
28610                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c",
28611                 .klen   = 16,
28612                 .iv     = "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
28613                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33",
28614                 .ptext  = "\x87\x96\x77\x1a\x10\x81\x63\x8a"
28615                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
28616                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
28617                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
28618                           "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
28619                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
28620                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
28621                           "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
28622                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
28623                           "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
28624                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
28625                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
28626                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
28627                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
28628                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
28629                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
28630                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
28631                           "\xc2\xab\x62\x54\xef\xba\xae\x46",
28632                 .ctext  = "\x11\x7f\xea\x49\xaf\x24\x52\xa2"
28633                           "\xde\x60\x99\x58\x23\xf9\x9e\x91"
28634                           "\x94\x52\x31\xa3\x28\x07\x14\xad"
28635                           "\x00\x24\x4a\x4a\xe7\x18\xd7\x24"
28636                           "\xcc\x8b\x66\x53\x82\x65\x31\xa5"
28637                           "\x54\x76\x59\x0b\x69\x6f\x90\x2c"
28638                           "\x8d\xa5\x2b\x61\x05\x80\xfb\xe0"
28639                           "\xf9\x6e\xaf\xb9\xc4\x15\x67\xcc"
28640                           "\x15\xce\xa0\xc0\xf2\xae\xa6\x15"
28641                           "\x24\x9a\xe5\xcb\x09\x42\xcf\x41"
28642                           "\x95\xa4\x8d\xbf\xe8\xb8\x40\xcd"
28643                           "\xb0\x33\x2c\xb3\xc4\xdd\xf9\x45"
28644                           "\xda\xb2\xeb\xb3\xf8\xfa\x7f\xe3"
28645                           "\xc0\x3a\x98\xe7\x17\x4a\x0c\x60"
28646                           "\xb2\x22\xba\x3b\x21\x85\x27\x56"
28647                           "\xe0\xb2\xf7\x2a\x59\xb1\x56\x20"
28648                           "\x0b\xa9\x13\x73\xe0\x6f\x61\x32"
28649                           "\xa5\x38\x14\xb3\xe3\xaa\x70\x44",
28650                 .len    = 144,
28651         }, {
28652                 .key    = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
28653                           "\x05\x26\x23\x81\x19\x27\xad\x7b",
28654                 .klen   = 16,
28655                 .iv     = "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
28656                           "\x44\xbf\x59\xde\x03\x61\x11\x12",
28657                 .ptext  = "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
28658                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
28659                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
28660                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
28661                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
28662                           "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
28663                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
28664                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
28665                           "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
28666                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
28667                           "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
28668                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
28669                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
28670                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
28671                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
28672                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
28673                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
28674                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
28675                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
28676                           "\x20\xf0\x79\x67\xb1\x83\x26\x66",
28677                 .ctext  = "\x5b\xc0\xe8\x17\xa4\xf9\xea\xce"
28678                           "\x9e\xf9\xe0\xb1\xac\x37\xe9\x41"
28679                           "\xc8\x06\xf9\x1c\x1a\xfc\xe8\x7a"
28680                           "\x38\xf2\x80\x66\xc2\x70\x59\x4e"
28681                           "\xe0\x32\x5b\x27\x39\xf5\xfb\x03"
28682                           "\xc8\xaf\xd6\x7e\x57\xc7\xc6\x71"
28683                           "\xd9\xd0\x48\x39\xb1\x0d\xa8\x1a"
28684                           "\x23\x8a\x3d\x05\xe2\x90\x7e\x18"
28685                           "\xd7\x20\x04\x3b\x82\x76\x3f\xaa"
28686                           "\xc2\x89\xb6\x9e\x14\x2f\x46\xcd"
28687                           "\x51\x9b\xa8\x7b\x62\x7b\x9c\x17"
28688                           "\xc4\xe1\x8b\x3f\xb5\x4d\xac\x66"
28689                           "\x49\xf6\xb6\x4c\x3e\x16\x46\xb0"
28690                           "\xca\x04\xef\x72\x5c\x03\x0a\xe5"
28691                           "\x2f\x4e\x36\x38\x36\x9f\xf4\xe2"
28692                           "\x81\x7a\x4c\xdf\x36\x27\xd5\x9d"
28693                           "\x03\xad\x1d\x3a\xe9\x2a\x99\xb0"
28694                           "\x2c\xba\x13\x75\xc8\x37\x97\x11"
28695                           "\xf4\x15\x0f\xb7\x75\x26\xa1\x14"
28696                           "\x79\xec\x1f\xab\xd2\x10\x8c\x5f",
28697                 .len    = 160,
28698         }, {
28699                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
28700                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
28701                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
28702                 .klen   = 24,
28703                 .iv     = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
28704                           "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
28705                 .ptext  = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
28706                           "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
28707                 .ctext  = "\xa4\x12\x2f\xc4\xf0\x6d\xd9\x46"
28708                           "\xe4\xe6\xd1\x0b\x6d\x14\xf0\x8f",
28709                 .len    = 16,
28710         }, {
28711                 .key    = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
28712                           "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
28713                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
28714                 .klen   = 24,
28715                 .iv     = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
28716                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
28717                 .ptext  = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
28718                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
28719                           "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
28720                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
28721                 .ctext  = "\x80\x2b\xf0\x88\xb9\x4b\x8d\xf5"
28722                           "\xc3\x0e\x15\x5b\xea\x5d\x5b\xa8"
28723                           "\x52\xe7\x83\x3c\xa1\x51\x1c\x1f"
28724                           "\x38\xd9\x7c\x88\x3c\x3a\xcd\x3e",
28725                 .len    = 32,
28726         }, {
28727                 .key    = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
28728                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
28729                           "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
28730                 .klen   = 24,
28731                 .iv     = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
28732                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
28733                 .ptext  = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
28734                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
28735                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
28736                           "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
28737                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
28738                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
28739                 .ctext  = "\x65\x01\x3c\xb0\xac\x4c\x63\xb6"
28740                           "\xe7\xf1\xf4\x61\x35\xf4\x36\xde"
28741                           "\xeb\x0f\x8c\x34\xd1\x78\xb4\x00"
28742                           "\xb2\xc1\x7c\x28\xb2\xb7\xbb\xa3"
28743                           "\xc6\xb7\x27\xf7\x6d\x56\x79\xfa"
28744                           "\x61\x57\xba\x30\x6f\x56\xe9\x8c",
28745                 .len    = 48,
28746         }, {
28747                 .key    = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
28748                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
28749                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
28750                 .klen   = 24,
28751                 .iv     = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
28752                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
28753                 .ptext  = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
28754                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
28755                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
28756                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
28757                           "\x30\x9d\x59\x8d\x64\x76\xad\x37"
28758                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
28759                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
28760                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
28761                 .ctext  = "\x5a\xfb\xb1\x2c\x6e\xe5\xb8\xe0"
28762                           "\x80\xb6\x77\xa8\xfe\x10\x3a\x99"
28763                           "\xbf\xc0\x2a\xfe\x6f\x38\xf2\x1d"
28764                           "\x53\x6c\x05\x83\xb1\x13\x00\x87"
28765                           "\x92\x92\x42\x70\xcf\x9f\xf7\x8f"
28766                           "\x53\x55\x18\x6f\x35\x68\x35\x50"
28767                           "\x3a\xc8\x45\x3e\xa3\xf1\x33\x2e"
28768                           "\xa1\x65\x42\xe2\x6d\x31\x8c\x4b",
28769                 .len    = 64,
28770         }, {
28771                 .key    = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
28772                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
28773                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
28774                 .klen   = 24,
28775                 .iv     = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
28776                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
28777                 .ptext  = "\x91\xac\x17\x11\x1c\x03\x69\x53"
28778                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
28779                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
28780                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
28781                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
28782                           "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
28783                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
28784                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
28785                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
28786                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
28787                 .ctext  = "\xc9\x5f\xe0\x60\x61\x38\x7e\x79"
28788                           "\x52\x68\x64\x8f\x55\x9b\x6b\x72"
28789                           "\xa5\x17\x61\xb7\xce\x02\xa9\xa4"
28790                           "\x5c\x73\x45\x33\xd1\x07\x5e\xdc"
28791                           "\xe5\xbe\xa7\xde\x69\xa0\x97\x98"
28792                           "\x02\xef\xa4\x67\x51\x60\x69\x4f"
28793                           "\x03\xf5\xa8\x5f\x03\x69\xbc\xc2"
28794                           "\x34\x59\x7e\xd4\xd2\xb3\x32\x2f"
28795                           "\x0c\xb4\x37\xca\xc4\xc7\x93\xf4"
28796                           "\xa4\xab\x01\x3f\x91\x29\x55\x98",
28797                 .len    = 80,
28798         }, {
28799                 .key    = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
28800                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
28801                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
28802                 .klen   = 24,
28803                 .iv     = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
28804                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
28805                 .ptext  = "\x84\xa0\x53\x97\x61\x30\x70\x15"
28806                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
28807                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
28808                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
28809                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
28810                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
28811                           "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
28812                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
28813                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
28814                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
28815                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
28816                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
28817                 .ctext  = "\x03\x2c\x39\x24\x99\xb5\xf6\x79"
28818                           "\x91\x89\xb7\xf8\x89\x68\x37\x9d"
28819                           "\xa2\x80\x95\x74\x87\x64\xb9\xeb"
28820                           "\x85\x28\x92\x9a\x6e\xd3\x3b\x50"
28821                           "\x4c\x80\x5b\xe4\xf2\x7e\xda\x2a"
28822                           "\xd4\xf8\xcb\xe3\x6f\xdf\xae\x0e"
28823                           "\xc5\x6c\x0b\x49\x2e\x29\x1c\xf2"
28824                           "\x3f\x44\x44\x12\x67\xa6\xff\x44"
28825                           "\xe0\xec\xd8\xf7\x32\xde\x21\x15"
28826                           "\xab\x8f\x98\x4d\xed\xb0\x42\xfd"
28827                           "\x83\x94\xe2\xcc\x69\x6d\xe8\xdb"
28828                           "\x62\x93\x1f\xd0\xf4\x8c\x62\xc0",
28829                 .len    = 96,
28830         }, {
28831                 .key    = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
28832                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
28833                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
28834                 .klen   = 24,
28835                 .iv     = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
28836                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
28837                 .ptext  = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
28838                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
28839                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
28840                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
28841                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
28842                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
28843                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
28844                           "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
28845                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
28846                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
28847                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
28848                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
28849                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
28850                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
28851                 .ctext  = "\xd4\x9a\x04\x54\x05\xd2\xe6\x3f"
28852                           "\xb0\xa4\x36\x5e\x1e\x9c\x35\xb0"
28853                           "\xc0\x89\xbd\x1c\xaa\x45\xa6\xc8"
28854                           "\x16\x68\x4a\x06\x93\x67\x88\xd7"
28855                           "\x72\x6e\x48\x0a\x17\xa3\x52\x8b"
28856                           "\x96\x5f\x41\xf6\x17\x64\x55\x8b"
28857                           "\xac\xce\xf6\x8c\xce\xd2\xd4\xd4"
28858                           "\x8d\x92\x32\xe0\x0d\xb4\xf7\x4a"
28859                           "\x90\xaf\x7b\x85\x21\x46\x2e\xa6"
28860                           "\x9e\xac\x0d\x22\xf2\x26\xf6\xd3"
28861                           "\x27\xcd\x59\xa0\xe2\xbb\x22\xcd"
28862                           "\x35\xb6\x28\x45\x0a\x46\xb0\x3a"
28863                           "\xac\x3e\xd3\x5b\xc6\x54\xa2\xa3"
28864                           "\x6d\xbb\xb3\xcd\xc5\x64\x62\x92",
28865                 .len    = 112,
28866         }, {
28867                 .key    = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
28868                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
28869                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
28870                 .klen   = 24,
28871                 .iv     = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
28872                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
28873                 .ptext  = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
28874                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
28875                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
28876                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
28877                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
28878                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
28879                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
28880                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
28881                           "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
28882                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
28883                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
28884                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
28885                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
28886                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
28887                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
28888                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
28889                 .ctext  = "\xbc\x57\x2a\x88\x0a\xd0\x06\x4f"
28890                           "\xdb\x7b\x03\x9f\x97\x1a\x20\xfe"
28891                           "\x15\x91\xb4\xed\x5d\x78\x89\x2a"
28892                           "\x67\x6b\x9c\x47\x36\xc2\x80\x0e"
28893                           "\x03\x8d\x6f\xfc\x94\xc7\xc5\xc2"
28894                           "\xeb\x43\x74\x5d\xfe\xc4\x5a\xa1"
28895                           "\x80\x51\x8a\x63\xd1\x27\x1b\x0a"
28896                           "\x88\x2c\xc4\x7f\x1a\xa3\x28\xe5"
28897                           "\xfd\xd0\x8a\xd4\x36\xa6\x19\xd5"
28898                           "\xff\x41\x7a\x8b\x6e\x9a\x97\x14"
28899                           "\x2a\xc8\xd0\xb8\xa3\x8e\x64\x32"
28900                           "\xb7\x2d\x76\x9b\x3b\xe2\x3f\x91"
28901                           "\xb4\x64\xbf\x59\x67\x14\xc3\xf5"
28902                           "\xa8\x92\x4b\x85\xdf\x80\xcb\xb5"
28903                           "\xc7\x80\xf9\x4a\xbc\xed\x67\x5a"
28904                           "\x0b\x58\x65\x1f\xc9\x6e\x9b\x0a",
28905                 .len    = 128,
28906         }, {
28907                 .key    = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
28908                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
28909                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
28910                 .klen   = 24,
28911                 .iv     = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
28912                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
28913                 .ptext  = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
28914                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
28915                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
28916                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
28917                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
28918                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
28919                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
28920                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
28921                           "\xc2\xab\x62\x54\xef\xba\xae\x46"
28922                           "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
28923                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
28924                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
28925                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
28926                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
28927                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
28928                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
28929                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
28930                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
28931                 .ctext  = "\xd7\xb4\xfc\xcc\x1f\xf7\xfc\x7d"
28932                           "\x69\xfa\xcb\x01\x60\xf3\x5a\x14"
28933                           "\xfe\x8c\x4e\xfa\x09\xb5\x0d\xda"
28934                           "\xff\xdd\xba\xdf\xa3\x6b\x3a\x87"
28935                           "\x21\xbb\xf8\x62\x14\x22\xdd\x9b"
28936                           "\x92\x23\xaa\xd7\xcc\xb2\x15\xd0"
28937                           "\xbd\x81\x95\x24\xc2\xc6\x53\x5b"
28938                           "\xf7\x3c\xa0\xf7\x36\xbc\xbf\xf3"
28939                           "\xfc\x1c\x6e\xe0\x71\x8d\xa1\x3d"
28940                           "\x8e\x1a\xc5\xba\xd5\x68\xd4\x7a"
28941                           "\xe0\x4f\x0a\x14\x89\x0b\xa6\x2f"
28942                           "\x18\xc5\x38\x76\xf1\xe7\x5c\xae"
28943                           "\x7a\xbb\x27\x1c\xf0\x7c\x6c\x14"
28944                           "\x07\xb7\x49\x6e\x29\x04\x38\x31"
28945                           "\x91\xe8\x1d\x0f\xfc\x3b\xb8\x20"
28946                           "\x58\x64\x11\xa1\xf5\xba\xa3\x62"
28947                           "\x92\xcf\x44\x63\x2c\xe8\x10\xb5"
28948                           "\xf0\x97\x86\xcb\x5f\xc1\x80\x7a",
28949                 .len    = 144,
28950         }, {
28951                 .key    = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
28952                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
28953                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
28954                 .klen   = 24,
28955                 .iv     = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
28956                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
28957                 .ptext  = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
28958                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
28959                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
28960                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
28961                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
28962                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
28963                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
28964                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
28965                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
28966                           "\x20\xf0\x79\x67\xb1\x83\x26\x66"
28967                           "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
28968                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
28969                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
28970                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
28971                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
28972                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
28973                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
28974                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
28975                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
28976                           "\x43\x43\x51\x6a\x02\x81\x64\x0c",
28977                 .ctext  = "\x71\xf6\x96\x02\x07\x71\x1a\x08"
28978                           "\x7c\xfe\x33\xc4\xc9\xbe\xe2\xed"
28979                           "\xd0\xcc\x5d\x27\x75\xb4\x5d\x8d"
28980                           "\x24\x03\xe4\x96\x31\x94\x0e\x38"
28981                           "\x14\x4f\xad\x16\x58\x0d\x73\xdc"
28982                           "\xbe\x5b\xcb\x38\xeb\x4d\xbc\x9a"
28983                           "\x44\x69\x7a\x12\x91\x14\x52\xfa"
28984                           "\xd2\xa2\xc5\x66\xd7\xaf\x4d\xb9"
28985                           "\xb1\x58\x24\x10\xde\x6a\xee\x7e"
28986                           "\x45\xf3\x76\xea\x47\x8a\xe6\x96"
28987                           "\x41\xf2\x96\x2d\x3c\xec\xcf\xc6"
28988                           "\x1d\xf4\x26\xc0\xea\x90\x27\x6e"
28989                           "\x87\xef\xb5\x39\x38\xdb\xad\xbf"
28990                           "\x57\x9a\x1d\xbc\x1d\xe5\x16\x91"
28991                           "\x41\x45\xbe\x67\x6c\x42\x0f\xad"
28992                           "\xcf\xfb\xcd\xf1\x4c\xd8\x73\xe7"
28993                           "\x24\x3b\xd7\x03\xeb\xd1\xb1\x1b"
28994                           "\x7d\xc9\x3d\x34\xd7\xb8\x69\x03"
28995                           "\x76\x95\x32\x26\xed\x88\x76\x89"
28996                           "\x13\xc6\xc8\xa6\x60\xf9\x73\x4d",
28997                 .len    = 160,
28998         }, {
28999                 .key    = "\x82\x8e\x9e\x06\x7b\xc2\xe9\xb3"
29000                           "\x06\xa3\xfa\x99\x42\x67\x87\xac"
29001                           "\x21\xc7\xb0\x98\x6c\xf8\x26\x57"
29002                           "\x08\xdd\x92\x02\x77\x7b\x35\xe7",
29003                 .klen   = 32,
29004                 .iv     = "\xa1\xad\xcb\xdd\xd5\x19\xb6\xd4"
29005                           "\x0b\x62\x58\xb0\x6c\xa0\xc1\x58",
29006                 .ptext  = "\x14\x0d\x8a\x09\x16\x00\x00\xf1"
29007                           "\xc0\x20\x86\xf9\x21\xd1\x34\xe2",
29008                 .ctext  = "\x05\xe3\x34\xaf\x6c\x83\x14\x8b"
29009                           "\x9d\x1c\xd6\x87\x74\x91\xdf\x17",
29010                 .len    = 16,
29011         }, {
29012                 .key    = "\xc9\xf3\xc4\x93\xd0\xcc\xaf\xb1"
29013                           "\x1a\x42\x93\x71\xd8\x4e\xd8\xaa"
29014                           "\x52\xad\x93\x2f\xe5\xd9\xaa\x5b"
29015                           "\x47\x37\x3a\xed\x13\x92\x35\x16",
29016                 .klen   = 32,
29017                 .iv     = "\x81\xc8\x50\xd1\x74\xc3\x1c\x73"
29018                           "\xbb\xab\x72\x83\x90\x5a\x15\xcb",
29019                 .ptext  = "\x65\x11\x93\xaf\xe1\x69\x6c\xbe"
29020                           "\x25\x8c\x76\x87\x53\xa4\x80\xae"
29021                           "\x51\x94\x36\x3f\xca\xe7\x45\x41"
29022                           "\x76\x05\xbf\x8f\x9c\xad\xc0\xe3",
29023                 .ctext  = "\x6B\x00\x6E\x49\x7A\x6D\xE3\x04"
29024                           "\x4E\xF7\x9F\x8A\x1F\x14\xBD\xB1"
29025                           "\xD3\x5D\xA4\x30\x26\x85\x85\xEF"
29026                           "\x12\xBC\xC7\xA1\x65\x82\xA7\x74",
29027                 .len    = 32,
29028         }, {
29029                 .key    = "\xd5\x9f\x52\x34\x12\x99\x8e\x42"
29030                           "\xe0\x85\x04\x6f\xeb\xf1\x5d\xd0"
29031                           "\xc1\xbf\x3f\x84\xd9\x1e\x71\x44"
29032                           "\xd4\xb9\x40\x3c\x02\x2e\x21\x19",
29033                 .klen   = 32,
29034                 .iv     = "\x28\xc1\x97\x64\x81\x52\x57\x0e"
29035                           "\x02\x8c\xab\x4c\xe2\x60\x14\xa5",
29036                 .ptext  = "\x5a\xb1\x33\x48\xaa\x51\xe9\xa4"
29037                           "\x5c\x2d\xbe\x33\xcc\xc4\x7f\x96"
29038                           "\xe8\xde\x2b\xe7\x35\x7a\x11\x4b"
29039                           "\x13\x08\x32\xc6\x41\xd8\xec\x54"
29040                           "\xa3\xd3\xda\x35\x43\x69\xf6\x88"
29041                           "\x97\xca\x00\x1b\x02\x59\x24\x82",
29042                 .ctext  = "\x03\xaf\x76\xbd\x5e\x5b\xca\xc0"
29043                           "\xae\x44\xa2\x2f\xc2\x76\x2f\x50"
29044                           "\x6a\x73\x28\xf2\xba\xe8\xb2\xb8"
29045                           "\x43\x61\x41\x92\xff\xac\xcb\xa6"
29046                           "\x84\x31\xe3\x34\xd0\x37\x81\xab"
29047                           "\x2b\x0e\x97\x3c\x4a\x2d\xa4\x83",
29048                 .len    = 48,
29049         }, {
29050                 .key    = "\x9c\x5d\xd7\x66\x36\xfa\x02\x20"
29051                           "\x99\x61\x62\x86\x0f\x43\x2e\x05"
29052                           "\x25\x8b\xfb\xf1\xae\x4c\xde\x18"
29053                           "\x0b\xf8\xd0\x9d\xaa\xd4\x56\x04",
29054                 .klen   = 32,
29055                 .iv     = "\xcd\xa8\x61\x89\x8d\xbb\x72\xb6"
29056                           "\x1e\xfe\x03\x34\x54\x88\x23\xe2",
29057                 .ptext  = "\x66\x42\x60\x24\xf3\xe4\xe9\x7e"
29058                           "\x42\x20\xf4\x61\xce\x1c\x5e\x44"
29059                           "\x02\x26\x91\xf7\x41\xa4\xab\x34"
29060                           "\x29\x49\xdd\x78\x19\x8f\x10\x10"
29061                           "\xf0\x61\xcf\x77\x18\x17\x61\xdf"
29062                           "\xc4\xa8\x35\x0e\x75\x1b\x84\x6b"
29063                           "\xc3\x3f\x31\x59\x5a\x9c\xf4\xc3"
29064                           "\x43\xa9\xb7\xf8\x65\x40\x40\xba",
29065                 .ctext  = "\xb6\x41\x55\x8f\xeb\x16\x1e\x4c"
29066                           "\x81\xa0\x85\x6c\xf0\x07\xa5\x2a"
29067                           "\x12\x0f\x1d\xb2\xaa\xba\x85\x0f"
29068                           "\xa6\x27\x1a\x91\xa6\xc5\x8c\x2a"
29069                           "\xde\x8d\x3a\xa9\x8b\xcf\x24\xf1"
29070                           "\x82\x51\x6b\xc8\x01\xd7\x7b\x89"
29071                           "\x6c\xfc\xb1\x96\x6c\xa2\xd7\x1f"
29072                           "\x4b\x7a\xd9\x8d\x34\xaa\xa0\x8a",
29073                 .len    = 64,
29074         }, {
29075                 .key    = "\x4b\x4e\x11\x91\x27\xcf\x8c\x66"
29076                           "\x17\xfa\x5b\x4c\xa8\xb8\x0f\xa1"
29077                           "\x99\x5b\x07\x56\xe1\x8d\x94\x8b"
29078                           "\xf2\x86\x5a\x5f\x40\x83\xfa\x06",
29079                 .klen   = 32,
29080                 .iv     = "\xfd\x73\xee\x1c\x27\xf3\xb4\x38"
29081                           "\xc5\x7c\x2e\xc5\x6e\xdb\x49\x0d",
29082                 .ptext  = "\x0a\xe2\xdd\x97\xdd\x5e\xd4\xb3"
29083                           "\xc1\x49\x8f\x53\xb2\x40\x85\x1c"
29084                           "\x90\x37\x2d\xbd\x21\x6b\x1f\x80"
29085                           "\x56\x98\x76\x1e\xcf\x6c\x78\xd8"
29086                           "\xa0\x3c\x79\xc3\x56\xf7\xfc\x64"
29087                           "\x35\x58\x1c\x7c\xc4\x5f\x2a\x25"
29088                           "\x8c\x01\x98\x1e\x1c\x1f\x15\x64"
29089                           "\x50\xb5\xfa\x02\xd3\x54\xe5\x29"
29090                           "\xe3\xd2\xa3\x83\x54\x40\x54\xc5"
29091                           "\xd8\x1c\xc9\x84\x7d\xc8\x31\x49",
29092                 .ctext  = "\x53\x2a\xa8\xa0\x15\xaf\x2f\xc4"
29093                           "\x7d\x31\xb4\x61\x80\x5f\xd1\xb6"
29094                           "\xa4\x29\x40\x72\x1b\xb2\x96\xb7"
29095                           "\x4d\x5e\x5b\x53\x44\xa4\xf1\xe9"
29096                           "\xf0\x27\x2f\x26\x84\x66\x13\xa4"
29097                           "\xb2\x19\x55\xb1\x18\xf3\x69\xfd"
29098                           "\xb0\x2f\x08\x3f\xa5\x41\xe2\x34"
29099                           "\x5e\x63\x57\x0e\xef\x17\x78\xbc"
29100                           "\xc3\x65\x7c\xbe\x6b\xa3\xa3\xef"
29101                           "\x58\x05\x30\x5a\x08\xbd\xf7\x0e",
29102                 .len    = 80,
29103         }, {
29104                 .key    = "\x77\x3b\xf5\xe7\x20\xf7\xe0\x0c"
29105                           "\x3d\x3a\x83\x17\x83\x79\xd8\x29"
29106                           "\x5a\x0a\x25\x7f\xe0\x21\x23\xff"
29107                           "\x31\xfd\x60\x10\xe6\x63\xe2\xaf",
29108                 .klen   = 32,
29109                 .iv     = "\xdb\x4c\x0d\xc0\x36\xdb\xc7\xa1"
29110                           "\xa4\x91\xd9\x05\xe6\xc4\x98\x00",
29111                 .ptext  = "\x8d\x4d\xc6\x5e\x01\x82\xb3\x39"
29112                           "\xc8\x64\xa7\xcb\x05\x19\x84\x80"
29113                           "\x3f\x9c\xa8\x4f\x64\xb3\x11\x4b"
29114                           "\x0e\x21\xc4\x75\x04\x1d\x6f\xd5"
29115                           "\x04\x04\x4d\xc9\xc0\x4b\x4a\x9c"
29116                           "\x26\xb7\x68\x5a\xe4\xd0\x61\xe3"
29117                           "\x2c\x93\x8e\x3f\xb4\x67\x07\x31"
29118                           "\x02\x52\x0c\x0f\xe6\x6d\xa3\xd0"
29119                           "\x48\x95\x83\x67\x23\x64\x31\x50"
29120                           "\xd2\x5f\x69\x68\x8b\x71\xbf\x01"
29121                           "\x29\x99\x86\x36\x2e\xdf\xf1\x7c"
29122                           "\x08\x8c\x78\x7a\x93\x9a\x7d\x1b",
29123                 .ctext  = "\x92\x90\x48\x2f\x3a\x6b\x68\x43"
29124                           "\x28\x9b\x7d\x1e\x46\x28\xd8\x58"
29125                           "\x0f\x47\x8b\xb5\x83\x35\x35\x3e"
29126                           "\xdf\x59\x3d\xb3\x47\xfc\xfc\x52"
29127                           "\x86\xeb\xb3\x58\x54\xd5\x0a\xb4"
29128                           "\xad\xbd\x5c\x09\xfc\x08\xc2\x01"
29129                           "\x5e\x9b\x30\x11\xc4\x40\x2e\x32"
29130                           "\x9c\xa0\xf1\xfd\xae\xd4\x75\x5e"
29131                           "\x52\xd9\x19\x4d\xc1\xd4\xb6\x19"
29132                           "\x88\xfb\x29\x17\x15\xbb\x60\xd6"
29133                           "\x5a\xe9\x82\x89\xaf\x30\x4e\xd4"
29134                           "\x47\xde\x86\x88\x95\x4c\x13\x59",
29135                 .len    = 96,
29136         }, {
29137                 .key    = "\xe0\x6a\x30\xe1\x35\xb5\xb0\x7c"
29138                           "\x54\xc5\x73\x9b\x00\xe5\xe7\x02"
29139                           "\xbe\x16\x59\xdc\xd9\x03\x17\x53"
29140                           "\xa8\x37\xd1\x5f\x13\x8e\x45\xdb",
29141                 .klen   = 32,
29142                 .iv     = "\x54\xe9\x1c\xde\xfb\x26\x0e\x48"
29143                           "\x35\x50\x4d\x9b\x4d\x12\x21\x0d",
29144                 .ptext  = "\x73\x72\xcf\xdb\xbd\xbc\xc0\xdf"
29145                           "\x6b\xbb\xdf\x65\x6f\x2f\x43\x3b"
29146                           "\x2d\x7c\x0e\x07\x7f\xa0\x95\xdd"
29147                           "\xfc\x67\xc1\x11\x7a\xe2\xb5\x4a"
29148                           "\xd1\x15\xb0\xd8\xe2\xf0\x35\x48"
29149                           "\xd8\x81\x6a\x35\xae\x67\xbf\x61"
29150                           "\xf2\x8a\xcf\x04\xc8\x09\x8b\x63"
29151                           "\x31\x74\x95\xa5\x8d\x3c\xea\xe2"
29152                           "\x5f\x67\xc4\x7e\x51\x88\xbf\xb5"
29153                           "\x78\xef\x3a\x76\xd8\x1d\x00\x75"
29154                           "\x2b\x7b\x28\x7c\xde\x4b\x39\x01"
29155                           "\x5d\xde\x92\xfe\x90\x07\x09\xfd"
29156                           "\xa5\xd1\xd3\x72\x11\x6d\xa4\x4e"
29157                           "\xd1\x6e\x16\xd1\xf6\x39\x4f\xa0",
29158                 .ctext  = "\x3b\xc5\xee\xfc\x05\xaf\xa6\xb7"
29159                           "\xfe\x12\x24\x79\x31\xad\x32\xb5"
29160                           "\x64\x5a\x17\xc9\xbf\x1f\xdc\xce"
29161                           "\x8d\x73\x00\x71\xd9\xfb\xd2\xe6"
29162                           "\xc3\x54\xb4\xf3\x36\xe8\x89\x12"
29163                           "\x5a\x32\x0b\xa6\xec\x5f\x89\xe7"
29164                           "\xe8\x34\x92\xa6\xce\xde\x8f\xf9"
29165                           "\x4f\xda\xed\x61\x8e\xb2\x81\xbe"
29166                           "\xf2\x15\x85\xbe\xa1\x5f\x19\x85"
29167                           "\x71\x7e\xda\x46\x59\xed\x5d\xb0"
29168                           "\xd9\x68\x97\xe0\xcd\x1d\x1b\x65"
29169                           "\xf5\xc9\x44\xe2\xb4\x42\x17\x7c"
29170                           "\xe7\x58\xf3\x2f\xcf\xbe\x5c\x66"
29171                           "\xaa\xd3\x61\xa5\x9a\x79\xbb\xa0",
29172                 .len    = 112,
29173         }, {
29174                 .key    = "\x60\xb6\xde\x17\xca\x4c\xe7\xe0"
29175                           "\x07\x0d\x80\xc5\x8a\x2d\x5a\xc2"
29176                           "\x2c\xb9\xa4\x5f\x2a\x85\x2c\x3d"
29177                           "\x6d\x67\xc8\xee\x0f\xa2\xf4\x09",
29178                 .klen   = 32,
29179                 .iv     = "\x1a\xa5\xbc\x7e\x93\xf6\xdd\x28"
29180                           "\xb7\x69\x27\xa1\x84\x95\x25\x5a",
29181                 .ptext  = "\x7b\x88\x00\xeb\xa5\xba\xa1\xa7"
29182                           "\xd4\x40\x16\x74\x2b\x42\x37\xda"
29183                           "\xe0\xaf\x89\x59\x41\x2f\x62\x00"
29184                           "\xf5\x5a\x4e\x3b\x85\x27\xb2\xed"
29185                           "\x1b\xa7\xaf\xbe\x89\xf3\x49\xb7"
29186                           "\x8c\x63\xc9\x0c\x52\x00\x5f\x38"
29187                           "\x3b\x3c\x0c\x4f\xdd\xe1\xbf\x90"
29188                           "\x4a\x48\xbf\x3a\x95\xcb\x48\xa2"
29189                           "\x92\x7c\x79\x81\xde\x18\x6e\x92"
29190                           "\x1f\x36\xa9\x5d\x8d\xc4\xb6\x4d"
29191                           "\xb2\xb4\x0e\x09\x6d\xf3\x3d\x01"
29192                           "\x3d\x9b\x40\x47\xbc\x69\x31\xa1"
29193                           "\x6a\x71\x26\xdc\xac\x10\x56\x63"
29194                           "\x15\x23\x7d\x10\xe3\x76\x82\x41"
29195                           "\xcd\x80\x57\x2f\xfc\x4d\x22\x7b"
29196                           "\x57\xbb\x9a\x0a\x03\xe9\xb3\x13",
29197                 .ctext  = "\x37\x0d\x47\x21\xbc\x28\x0b\xf7"
29198                           "\x85\x5f\x60\x57\xf2\x7f\x92\x20"
29199                           "\x53\x1a\xbf\xd1\x7f\x8c\x39\x29"
29200                           "\x0e\x18\xab\x0c\x00\x92\xd3\x68"
29201                           "\x60\x56\x3b\x00\xef\xf8\x02\xfa"
29202                           "\xcb\x92\x1a\x91\xe1\xf0\x4f\x8a"
29203                           "\xc6\x4f\x65\x16\x71\x8b\x5d\xd5"
29204                           "\x79\xa9\x6d\x68\x1b\x59\xe7\x2a"
29205                           "\x1c\xd0\x5d\xfb\x06\x3b\x15\x72"
29206                           "\xa8\xd1\x59\x9a\xb2\x6c\xf2\xd5"
29207                           "\x19\xef\xde\x03\x4c\x75\x65\x38"
29208                           "\x5b\xda\xc9\xf0\x44\x99\xb2\x6e"
29209                           "\x78\xfb\x85\x5a\x92\x91\x1a\x0a"
29210                           "\x13\x0c\x1b\x1c\xbe\xbe\x46\x6e"
29211                           "\x73\xff\xc2\x6e\xb9\x06\x16\x7e"
29212                           "\xf6\xc0\x01\x30\x34\x56\x46\x55",
29213                 .len    = 128,
29214         }, {
29215                 .key    = "\x2a\xed\x7d\x76\xfc\xc5\x49\x50"
29216                           "\xf4\x90\x0f\xcc\x5d\xff\x0c\x3c"
29217                           "\x14\x06\xaf\x68\x8f\xd7\xb6\x25"
29218                           "\x1e\x10\x95\x2a\x71\x33\x17\x20",
29219                 .klen   = 32,
29220                 .iv     = "\x5b\x58\x47\xf8\xd5\x1e\x91\x81"
29221                           "\x46\xe7\x25\x3a\x02\x45\x9c\x65",
29222                 .ptext  = "\x10\xaf\xde\x5c\x30\x79\x43\x28"
29223                           "\x1c\x03\xf8\x50\x0f\x30\xa5\xef"
29224                           "\x84\x19\x4c\x09\x40\x03\x75\x1f"
29225                           "\x92\x8f\x88\x01\xda\x31\x7a\xe4"
29226                           "\x48\xe3\xab\xb4\xe6\x1b\x0f\xac"
29227                           "\xd9\xfa\x8d\x23\xe4\xc6\xa4\xa9"
29228                           "\x2d\x9a\x54\x52\x44\x5c\x3c\x52"
29229                           "\x61\xf0\x00\xca\xed\xab\xed\xe2"
29230                           "\x44\x0b\xe0\x18\xba\xa5\x63\xd8"
29231                           "\xdc\x5e\x1a\x4c\xf8\xde\x5e\x75"
29232                           "\xdf\x42\x27\x7b\xe9\x11\x2f\x41"
29233                           "\x3a\x72\x54\x3d\x44\x9c\x3e\x87"
29234                           "\x8d\x8d\x43\x2f\xb2\xff\x87\xd4"
29235                           "\xad\x98\x68\x72\x53\x61\x19\x7c"
29236                           "\x20\x79\x8c\x2b\x37\x0b\x96\x15"
29237                           "\xa5\x7d\x4e\x01\xe6\xea\xb6\xfa"
29238                           "\xaa\xd3\x9d\xa2\xd9\x11\xc3\xc9"
29239                           "\xd4\x0e\x3f\x3e\xfe\x35\x1e\xe5",
29240                 .ctext  = "\xb0\x2b\x75\x5f\x33\x1b\x05\x49"
29241                           "\x06\xf1\x43\x91\xc2\x85\xfa\xac"
29242                           "\x74\xd5\x8c\xc9\x47\x6e\x5a\xf6"
29243                           "\x69\x33\x4c\xcb\x2f\x36\x4b\x41"
29244                           "\xec\x05\x69\xab\x7f\x42\xc9\xd2"
29245                           "\x26\x64\x51\x9e\x3d\x65\x35\xf0"
29246                           "\x8d\x5e\x8a\xb1\xee\xdf\x1a\x98"
29247                           "\x36\xd2\x37\x49\x5b\xe2\x57\x00"
29248                           "\x1d\x72\x7e\xe8\x38\x11\x83\x15"
29249                           "\xc7\x4e\x65\xa4\x2c\x9e\x6a\x3e"
29250                           "\xb4\x78\x3f\xe9\x91\x5d\x06\xa9"
29251                           "\xf1\xfc\x6b\x08\xe5\x2b\x2a\x99"
29252                           "\x65\xa7\x2e\x47\xf9\xc2\xb1\x8b"
29253                           "\x88\x2f\xb7\x62\x84\x63\x94\x00"
29254                           "\x49\xa7\xd0\x2b\x54\x7a\x69\xb3"
29255                           "\x04\x66\xfc\x97\x40\x92\xd1\xb8"
29256                           "\xb4\x2a\x9e\xdb\x31\xcd\x48\x84"
29257                           "\x29\x3b\x02\xac\xb8\x54\x95\xb4",
29258                 .len    = 144,
29259         }, {
29260                 .key    = "\x7b\xa7\x4d\x0a\x37\x30\xb9\xf5"
29261                           "\x2a\x79\xb4\xbf\xdb\x7f\x9b\x64"
29262                           "\x23\x43\xb5\x18\x34\xc4\x5f\xdf"
29263                           "\xd9\x2a\x66\x58\x00\x44\xb5\xd9",
29264                 .klen   = 32,
29265                 .iv     = "\x75\x34\x30\xc1\xf0\x69\xdf\x0a"
29266                           "\x52\xce\x4f\x1e\x2c\x41\x35\xec",
29267                 .ptext  = "\x81\x47\x55\x3a\xcd\xfe\xa2\x3d"
29268                           "\x45\x53\xa7\x67\x61\x74\x25\x80"
29269                           "\x98\x89\xfe\xf8\x6a\x9f\x51\x7c"
29270                           "\xa4\xe4\xe7\xc7\xe0\x1a\xce\xbb"
29271                           "\x4b\x46\x43\xb0\xab\xa8\xd6\x0c"
29272                           "\xa0\xf0\xc8\x13\x29\xaf\xb8\x01"
29273                           "\x6b\x0c\x7e\x56\xae\xb8\x58\x72"
29274                           "\xa9\x24\x44\x61\xff\xf1\xac\xf8"
29275                           "\x09\xa8\x48\x21\xd6\xab\x41\x73"
29276                           "\x70\x6b\x92\x06\x61\xdc\xb4\x85"
29277                           "\x76\x26\x7a\x84\xc3\x9e\x3a\x14"
29278                           "\xe7\xf4\x2d\x95\x92\xad\x18\xcc"
29279                           "\x44\xd4\x2c\x36\x57\xed\x2b\x9b"
29280                           "\x3f\x2b\xcd\xe5\x11\xe3\x62\x33"
29281                           "\x42\x3f\xb8\x2a\xb1\x37\x3f\x8b"
29282                           "\xe8\xbd\x6b\x0b\x9f\x38\x5a\x5f"
29283                           "\x82\x34\xb7\x96\x35\x58\xde\xab"
29284                           "\x94\x98\x41\x5b\x3f\xac\x0a\x34"
29285                           "\x56\xc0\x02\xef\x81\x6d\xb1\xff"
29286                           "\x34\xe8\xc7\x6a\x31\x79\xba\xd8",
29287                 .ctext  = "\x4e\x00\x7c\x52\x45\x76\xf9\x3d"
29288                           "\x1a\xd1\x72\xbc\xb9\x0f\xa9\xfb"
29289                           "\x0a\xf5\xe8\x11\x66\x8b\xad\x68"
29290                           "\x5a\x2e\xbf\x09\x33\x9d\xb6\x67"
29291                           "\xe5\xcb\x0a\xe0\xac\xed\x73\x4b"
29292                           "\xbb\x15\xde\xd8\xab\x33\x28\x5f"
29293                           "\x96\x07\x3c\x28\x79\x88\x84\xc7"
29294                           "\x13\xf7\x0d\xa5\x97\x3b\xd9\xb1"
29295                           "\xf2\x65\xb0\xac\xbb\x8a\x97\xd1"
29296                           "\x70\x3a\x91\x65\xc8\x39\x04\xe7"
29297                           "\x1a\x9c\x80\x65\x2b\x69\x4b\xdc"
29298                           "\xdc\xc7\xf1\x31\xda\xab\xb4\xd7"
29299                           "\x46\x2e\x1d\xc9\x2e\xe9\x46\xec"
29300                           "\xa4\xa1\x91\x6b\x4a\x09\xf9\x39"
29301                           "\x7b\x7d\x6d\xf5\x43\x7f\xcc\x74"
29302                           "\x96\xfa\x48\xd0\xe1\x74\x24\xd0"
29303                           "\x19\x22\x24\x84\x2b\x12\x10\x46"
29304                           "\x90\xbd\xa9\x93\xb7\xf7\x36\xd4"
29305                           "\x48\xc7\x32\x83\x8c\xa9\xcd\x5a"
29306                           "\x2f\x05\x33\xc1\x5b\x50\x70\xc4",
29307                 .len    = 160,
29308         }
29309 };
29310
29311 static const struct aead_testvec aria_gcm_tv_template[] = {
29312         {
29313                 .key    = "\xe9\x1e\x5e\x75\xda\x65\x55\x4a"
29314                           "\x48\x18\x1f\x38\x46\x34\x95\x62",
29315                 .klen   = 16,
29316                 .iv     = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
29317                           "\x00\x00\x31\x5e",
29318                 .assoc  = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
29319                           "\x20\xe8\xf5\xeb",
29320                 .alen   = 12,
29321                 .ptext  = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
29322                           "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
29323                           "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
29324                           "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
29325                           "\x62\xe9\x72\x95\x66\xed\x66\xe9"
29326                           "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
29327                           "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
29328                           "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
29329                           "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
29330                           "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
29331                           "\x16\x99\x16\x91\xd5\x72\xfd\x14"
29332                           "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
29333                           "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
29334                           "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
29335                           "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
29336                           "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
29337                           "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
29338                           "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
29339                           "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
29340                           "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
29341                 .plen   = 160,
29342                 .ctext  = "\x4d\x8a\x9a\x06\x75\x55\x0c\x70"
29343                           "\x4b\x17\xd8\xc9\xdd\xc8\x1a\x5c"
29344                           "\xd6\xf7\xda\x34\xf2\xfe\x1b\x3d"
29345                           "\xb7\xcb\x3d\xfb\x96\x97\x10\x2e"
29346                           "\xa0\xf3\xc1\xfc\x2d\xbc\x87\x3d"
29347                           "\x44\xbc\xee\xae\x8e\x44\x42\x97"
29348                           "\x4b\xa2\x1f\xf6\x78\x9d\x32\x72"
29349                           "\x61\x3f\xb9\x63\x1a\x7c\xf3\xf1"
29350                           "\x4b\xac\xbe\xb4\x21\x63\x3a\x90"
29351                           "\xff\xbe\x58\xc2\xfa\x6b\xdc\xa5"
29352                           "\x34\xf1\x0d\x0d\xe0\x50\x2c\xe1"
29353                           "\xd5\x31\xb6\x33\x6e\x58\x87\x82"
29354                           "\x78\x53\x1e\x5c\x22\xbc\x6c\x85"
29355                           "\xbb\xd7\x84\xd7\x8d\x9e\x68\x0a"
29356                           "\xa1\x90\x31\xaa\xf8\x91\x01\xd6"
29357                           "\x69\xd7\xa3\x96\x5c\x1f\x7e\x16"
29358                           "\x22\x9d\x74\x63\xe0\x53\x5f\x4e"
29359                           "\x25\x3f\x5d\x18\x18\x7d\x40\xb8"
29360                           "\xae\x0f\x56\x4b\xd9\x70\xb5\xe7"
29361                           "\xe2\xad\xfb\x21\x1e\x89\xa9\x53"
29362                           "\x5a\xba\xce\x3f\x37\xf5\xa7\x36"
29363                           "\xf4\xbe\x98\x4b\xbf\xfb\xed\xc1",
29364                 .clen   = 176,
29365         }, {
29366                 .key    = "\x0c\x5f\xfd\x37\xa1\x1e\xdc\x42"
29367                           "\xc3\x25\x28\x7f\xc0\x60\x4f\x2e"
29368                           "\x3e\x8c\xd5\x67\x1a\x00\xfe\x32"
29369                           "\x16\xaa\x5e\xb1\x05\x78\x3b\x54",
29370                 .klen   = 32,
29371                 .iv     = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
29372                           "\x00\x00\x31\x5e",
29373                 .assoc  = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
29374                           "\x20\xe8\xf5\xeb",
29375                 .alen   = 12,
29376                 .ptext  = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
29377                           "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
29378                           "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
29379                           "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
29380                           "\x62\xe9\x72\x95\x66\xed\x66\xe9"
29381                           "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
29382                           "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
29383                           "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
29384                           "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
29385                           "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
29386                           "\x16\x99\x16\x91\xd5\x72\xfd\x14"
29387                           "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
29388                           "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
29389                           "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
29390                           "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
29391                           "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
29392                           "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
29393                           "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
29394                           "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
29395                           "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
29396                 .plen   = 160,
29397                 .ctext  = "\x6f\x9e\x4b\xcb\xc8\xc8\x5f\xc0"
29398                           "\x12\x8f\xb1\xe4\xa0\xa2\x0c\xb9"
29399                           "\x93\x2f\xf7\x45\x81\xf5\x4f\xc0"
29400                           "\x13\xdd\x05\x4b\x19\xf9\x93\x71"
29401                           "\x42\x5b\x35\x2d\x97\xd3\xf3\x37"
29402                           "\xb9\x0b\x63\xd1\xb0\x82\xad\xee"
29403                           "\xea\x9d\x2d\x73\x91\x89\x7d\x59"
29404                           "\x1b\x98\x5e\x55\xfb\x50\xcb\x53"
29405                           "\x50\xcf\x7d\x38\xdc\x27\xdd\xa1"
29406                           "\x27\xc0\x78\xa1\x49\xc8\xeb\x98"
29407                           "\x08\x3d\x66\x36\x3a\x46\xe3\x72"
29408                           "\x6a\xf2\x17\xd3\xa0\x02\x75\xad"
29409                           "\x5b\xf7\x72\xc7\x61\x0e\xa4\xc2"
29410                           "\x30\x06\x87\x8f\x0e\xe6\x9a\x83"
29411                           "\x97\x70\x31\x69\xa4\x19\x30\x3f"
29412                           "\x40\xb7\x2e\x45\x73\x71\x4d\x19"
29413                           "\xe2\x69\x7d\xf6\x1e\x7c\x72\x52"
29414                           "\xe5\xab\xc6\xba\xde\x87\x6a\xc4"
29415                           "\x96\x1b\xfa\xc4\xd5\xe8\x67\xaf"
29416                           "\xca\x35\x1a\x48\xae\xd5\x28\x22"
29417                           "\xe2\x10\xd6\xce\xd2\xcf\x43\x0f"
29418                           "\xf8\x41\x47\x29\x15\xe7\xef\x48",
29419                 .clen   = 176,
29420         }
29421 };
29422
29423 static const struct cipher_testvec chacha20_tv_template[] = {
29424         { /* RFC7539 A.2. Test Vector #1 */
29425                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
29426                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29427                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29428                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29429                 .klen   = 32,
29430                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
29431                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29432                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
29433                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29434                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29435                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29436                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29437                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29438                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29439                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29440                 .ctext  = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
29441                           "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
29442                           "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
29443                           "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
29444                           "\xda\x41\x59\x7c\x51\x57\x48\x8d"
29445                           "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
29446                           "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
29447                           "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
29448                 .len    = 64,
29449         }, { /* RFC7539 A.2. Test Vector #2 */
29450                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
29451                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29452                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29453                           "\x00\x00\x00\x00\x00\x00\x00\x01",
29454                 .klen   = 32,
29455                 .iv     = "\x01\x00\x00\x00\x00\x00\x00\x00"
29456                           "\x00\x00\x00\x00\x00\x00\x00\x02",
29457                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
29458                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
29459                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
29460                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
29461                           "\x64\x65\x64\x20\x62\x79\x20\x74"
29462                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
29463                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
29464                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
29465                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
29466                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
29467                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
29468                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
29469                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
29470                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
29471                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
29472                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
29473                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
29474                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
29475                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
29476                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
29477                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
29478                           "\x45\x54\x46\x20\x61\x63\x74\x69"
29479                           "\x76\x69\x74\x79\x20\x69\x73\x20"
29480                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
29481                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
29482                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
29483                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
29484                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
29485                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29486                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
29487                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
29488                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29489                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
29490                           "\x54\x46\x20\x73\x65\x73\x73\x69"
29491                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
29492                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
29493                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
29494                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
29495                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
29496                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
29497                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
29498                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
29499                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
29500                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
29501                           "\x20\x77\x68\x69\x63\x68\x20\x61"
29502                           "\x72\x65\x20\x61\x64\x64\x72\x65"
29503                           "\x73\x73\x65\x64\x20\x74\x6f",
29504                 .ctext  = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
29505                           "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
29506                           "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
29507                           "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
29508                           "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
29509                           "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
29510                           "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
29511                           "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
29512                           "\x40\x42\xe0\x27\x85\xec\xec\xfa"
29513                           "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
29514                           "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
29515                           "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
29516                           "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
29517                           "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
29518                           "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
29519                           "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
29520                           "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
29521                           "\xd6\x62\xab\x05\x26\x91\xca\x66"
29522                           "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
29523                           "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
29524                           "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
29525                           "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
29526                           "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
29527                           "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
29528                           "\x08\x71\xcd\xac\x63\x89\x39\xe2"
29529                           "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
29530                           "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
29531                           "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
29532                           "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
29533                           "\x37\x20\xfc\x88\xdc\x95\xed\x84"
29534                           "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
29535                           "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
29536                           "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
29537                           "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
29538                           "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
29539                           "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
29540                           "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
29541                           "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
29542                           "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
29543                           "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
29544                           "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
29545                           "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
29546                           "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
29547                           "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
29548                           "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
29549                           "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
29550                           "\xc4\xfd\x80\x6c\x22\xf2\x21",
29551                 .len    = 375,
29552
29553         }, { /* RFC7539 A.2. Test Vector #3 */
29554                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29555                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29556                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29557                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29558                 .klen   = 32,
29559                 .iv     = "\x2a\x00\x00\x00\x00\x00\x00\x00"
29560                           "\x00\x00\x00\x00\x00\x00\x00\x02",
29561                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
29562                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
29563                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
29564                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
29565                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
29566                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
29567                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
29568                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
29569                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
29570                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
29571                           "\x65\x72\x65\x20\x74\x68\x65\x20"
29572                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
29573                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
29574                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
29575                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
29576                           "\x74\x67\x72\x61\x62\x65\x2e",
29577                 .ctext  = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
29578                           "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
29579                           "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
29580                           "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
29581                           "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
29582                           "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
29583                           "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
29584                           "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
29585                           "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
29586                           "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
29587                           "\x1a\x55\x32\x05\x57\x16\xea\xd6"
29588                           "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
29589                           "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
29590                           "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
29591                           "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
29592                           "\x75\x7a\x79\x7a\xc1\x88\xd1",
29593                 .len    = 127,
29594         }, { /* Self-made test vector for long data */
29595                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29596                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29597                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29598                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29599                 .klen   = 32,
29600                 .iv     = "\x1c\x00\x00\x00\x00\x00\x00\x00"
29601                           "\x00\x00\x00\x00\x00\x00\x00\x01",
29602                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
29603                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
29604                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
29605                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
29606                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
29607                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
29608                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
29609                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
29610                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
29611                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
29612                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
29613                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
29614                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
29615                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
29616                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
29617                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
29618                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
29619                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
29620                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
29621                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
29622                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
29623                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
29624                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
29625                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
29626                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
29627                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
29628                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
29629                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
29630                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
29631                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
29632                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
29633                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
29634                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
29635                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
29636                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
29637                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
29638                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
29639                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
29640                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
29641                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
29642                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
29643                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
29644                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
29645                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
29646                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
29647                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
29648                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
29649                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
29650                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
29651                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
29652                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
29653                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
29654                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
29655                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
29656                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
29657                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
29658                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
29659                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
29660                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
29661                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
29662                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
29663                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
29664                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
29665                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
29666                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
29667                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
29668                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
29669                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
29670                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
29671                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
29672                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
29673                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
29674                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
29675                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
29676                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
29677                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
29678                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
29679                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
29680                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
29681                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
29682                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
29683                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
29684                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
29685                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
29686                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
29687                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
29688                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
29689                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
29690                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
29691                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
29692                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
29693                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
29694                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
29695                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
29696                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
29697                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
29698                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
29699                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
29700                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
29701                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
29702                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
29703                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
29704                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
29705                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
29706                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
29707                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
29708                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
29709                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
29710                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
29711                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
29712                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
29713                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
29714                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
29715                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
29716                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
29717                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
29718                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
29719                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
29720                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
29721                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
29722                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
29723                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
29724                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
29725                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
29726                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
29727                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
29728                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
29729                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
29730                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
29731                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
29732                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
29733                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
29734                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
29735                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
29736                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
29737                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
29738                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
29739                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
29740                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
29741                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
29742                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
29743                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
29744                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
29745                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
29746                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
29747                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
29748                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
29749                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
29750                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
29751                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
29752                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
29753                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
29754                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
29755                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
29756                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
29757                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
29758                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
29759                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
29760                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
29761                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
29762                           "\x72",
29763                 .ctext  = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
29764                           "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
29765                           "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
29766                           "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
29767                           "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
29768                           "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
29769                           "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
29770                           "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
29771                           "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
29772                           "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
29773                           "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
29774                           "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
29775                           "\x33\x4a\x71\x15\xfe\xee\x12\x54"
29776                           "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
29777                           "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
29778                           "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
29779                           "\x57\x0e\x94\x17\x26\x39\xbb\x54"
29780                           "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
29781                           "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
29782                           "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
29783                           "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
29784                           "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
29785                           "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
29786                           "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
29787                           "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
29788                           "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
29789                           "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
29790                           "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
29791                           "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
29792                           "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
29793                           "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
29794                           "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
29795                           "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
29796                           "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
29797                           "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
29798                           "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
29799                           "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
29800                           "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
29801                           "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
29802                           "\xae\xe7\x61\x32\xef\x41\x6c\x75"
29803                           "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
29804                           "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
29805                           "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
29806                           "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
29807                           "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
29808                           "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
29809                           "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
29810                           "\xc1\x22\xf3\x79\xae\x95\x78\x66"
29811                           "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
29812                           "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
29813                           "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
29814                           "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
29815                           "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
29816                           "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
29817                           "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
29818                           "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
29819                           "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
29820                           "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
29821                           "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
29822                           "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
29823                           "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
29824                           "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
29825                           "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
29826                           "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
29827                           "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
29828                           "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
29829                           "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
29830                           "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
29831                           "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
29832                           "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
29833                           "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
29834                           "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
29835                           "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
29836                           "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
29837                           "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
29838                           "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
29839                           "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
29840                           "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
29841                           "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
29842                           "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
29843                           "\x54\x1c\x34\x72\xde\x0c\x68\x39"
29844                           "\x9d\x32\xa5\x75\x92\x13\x32\xea"
29845                           "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
29846                           "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
29847                           "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
29848                           "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
29849                           "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
29850                           "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
29851                           "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
29852                           "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
29853                           "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
29854                           "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
29855                           "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
29856                           "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
29857                           "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
29858                           "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
29859                           "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
29860                           "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
29861                           "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
29862                           "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
29863                           "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
29864                           "\x79\x61\x23\xe0\xa2\x99\x73\x55"
29865                           "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
29866                           "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
29867                           "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
29868                           "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
29869                           "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
29870                           "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
29871                           "\x48\x56\xaa\x85\x22\xd8\x36\xed"
29872                           "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
29873                           "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
29874                           "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
29875                           "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
29876                           "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
29877                           "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
29878                           "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
29879                           "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
29880                           "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
29881                           "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
29882                           "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
29883                           "\xec\x83\x92\x99\x87\x47\xe0\x7c"
29884                           "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
29885                           "\x98\xb0\x87\xb6\x86\x13\x64\x33"
29886                           "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
29887                           "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
29888                           "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
29889                           "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
29890                           "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
29891                           "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
29892                           "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
29893                           "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
29894                           "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
29895                           "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
29896                           "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
29897                           "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
29898                           "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
29899                           "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
29900                           "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
29901                           "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
29902                           "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
29903                           "\x5f\xae\x25\x84\x22\x90\x5f\x26"
29904                           "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
29905                           "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
29906                           "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
29907                           "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
29908                           "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
29909                           "\x74\x06\x89\x0e\x90\xeb\x85\xff"
29910                           "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
29911                           "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
29912                           "\x02\x85\x68\xd0\x03\x12\xde\x92"
29913                           "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
29914                           "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
29915                           "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
29916                           "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
29917                           "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
29918                           "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
29919                           "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
29920                           "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
29921                           "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
29922                           "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
29923                           "\x98",
29924                 .len    = 1281,
29925         },
29926 };
29927
29928 static const struct cipher_testvec xchacha20_tv_template[] = {
29929         { /* from libsodium test/default/xchacha20.c */
29930                 .key    = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
29931                           "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
29932                           "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
29933                           "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
29934                 .klen   = 32,
29935                 .iv     = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
29936                           "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
29937                           "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
29938                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29939                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
29940                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29941                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29942                           "\x00\x00\x00\x00\x00",
29943                 .ctext  = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
29944                           "\x04\xef\x90\xe7\x12\xce\x6e\x75"
29945                           "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
29946                           "\x60\xf0\x13\x73\x9c",
29947                 .len    = 29,
29948         }, { /* from libsodium test/default/xchacha20.c */
29949                 .key    = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
29950                           "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
29951                           "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
29952                           "\x22\x35\xea\xaf\x60\x1d\x62\x32",
29953                 .klen   = 32,
29954                 .iv     = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
29955                           "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
29956                           "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
29957                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29958                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
29959                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29960                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29961                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29962                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29963                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29964                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29965                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29966                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29967                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29968                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29969                           "\x00\x00\x00",
29970                 .ctext  = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
29971                           "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
29972                           "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
29973                           "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
29974                           "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
29975                           "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
29976                           "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
29977                           "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
29978                           "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
29979                           "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
29980                           "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
29981                           "\x09\x7c\xfc",
29982                 .len    = 91,
29983         }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
29984                 to the nonce, zero-padded the stream position from 4 to 8 bytes,
29985                 and recomputed the ciphertext using libsodium's XChaCha20 */
29986                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
29987                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29988                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29989                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29990                 .klen   = 32,
29991                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
29992                           "\x00\x00\x00\x00\x67\xc6\x69\x73"
29993                           "\x51\xff\x4a\xec\x29\xcd\xba\xab"
29994                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29995                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
29996                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29997                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29998                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29999                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30000                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30001                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30002                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30003                 .ctext  = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
30004                           "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
30005                           "\xad\x80\x11\x11\x1d\x4c\x16\x18"
30006                           "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
30007                           "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
30008                           "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
30009                           "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
30010                           "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
30011                 .len    = 64,
30012         }, { /* Derived from a ChaCha20 test vector, via the process above */
30013                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
30014                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30015                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30016                           "\x00\x00\x00\x00\x00\x00\x00\x01",
30017                 .klen   = 32,
30018                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30019                           "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
30020                           "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
30021                           "\x01\x00\x00\x00\x00\x00\x00\x00",
30022                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
30023                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
30024                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
30025                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
30026                           "\x64\x65\x64\x20\x62\x79\x20\x74"
30027                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
30028                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
30029                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
30030                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
30031                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
30032                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
30033                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
30034                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
30035                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
30036                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
30037                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
30038                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
30039                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
30040                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
30041                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
30042                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
30043                           "\x45\x54\x46\x20\x61\x63\x74\x69"
30044                           "\x76\x69\x74\x79\x20\x69\x73\x20"
30045                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
30046                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
30047                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
30048                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
30049                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
30050                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30051                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
30052                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
30053                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30054                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
30055                           "\x54\x46\x20\x73\x65\x73\x73\x69"
30056                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
30057                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
30058                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
30059                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
30060                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
30061                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
30062                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
30063                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
30064                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
30065                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
30066                           "\x20\x77\x68\x69\x63\x68\x20\x61"
30067                           "\x72\x65\x20\x61\x64\x64\x72\x65"
30068                           "\x73\x73\x65\x64\x20\x74\x6f",
30069                 .ctext  = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
30070                           "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
30071                           "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
30072                           "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
30073                           "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
30074                           "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
30075                           "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
30076                           "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
30077                           "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
30078                           "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
30079                           "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
30080                           "\xa4\x36\x51\x92\x22\x87\xff\x26"
30081                           "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
30082                           "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
30083                           "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
30084                           "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
30085                           "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
30086                           "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
30087                           "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
30088                           "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
30089                           "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
30090                           "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
30091                           "\x91\xab\x55\x63\xf0\xde\x3a\x94"
30092                           "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
30093                           "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
30094                           "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
30095                           "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
30096                           "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
30097                           "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
30098                           "\x64\x36\x35\x61\xb6\x34\x60\xf7"
30099                           "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
30100                           "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
30101                           "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
30102                           "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
30103                           "\x8a\x04\x18\x49\xfc\x77\x11\x50"
30104                           "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
30105                           "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
30106                           "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
30107                           "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
30108                           "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
30109                           "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
30110                           "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
30111                           "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
30112                           "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
30113                           "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
30114                           "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
30115                           "\x12\x8d\x7b\x61\xe5\x1f\x98",
30116                 .len    = 375,
30117
30118         }, { /* Derived from a ChaCha20 test vector, via the process above */
30119                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30120                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30121                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30122                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30123                 .klen   = 32,
30124                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30125                           "\x00\x00\x00\x02\x76\x5a\x2e\x63"
30126                           "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
30127                           "\x2a\x00\x00\x00\x00\x00\x00\x00",
30128                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
30129                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
30130                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
30131                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
30132                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
30133                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
30134                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
30135                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
30136                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
30137                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
30138                           "\x65\x72\x65\x20\x74\x68\x65\x20"
30139                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
30140                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
30141                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
30142                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
30143                           "\x74\x67\x72\x61\x62\x65\x2e",
30144                 .ctext  = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
30145                           "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
30146                           "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
30147                           "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
30148                           "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
30149                           "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
30150                           "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
30151                           "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
30152                           "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
30153                           "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
30154                           "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
30155                           "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
30156                           "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
30157                           "\x27\x79\x67\x24\xa6\x87\xc2\x11"
30158                           "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
30159                           "\x99\xf1\x82\x25\x4f\x8d\x07",
30160                 .len    = 127,
30161         }, { /* Derived from a ChaCha20 test vector, via the process above */
30162                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30163                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30164                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30165                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30166                 .klen   = 32,
30167                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30168                           "\x00\x00\x00\x01\x31\x58\xa3\x5a"
30169                           "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
30170                           "\x1c\x00\x00\x00\x00\x00\x00\x00",
30171                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
30172                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
30173                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
30174                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
30175                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
30176                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
30177                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
30178                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
30179                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
30180                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
30181                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
30182                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
30183                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
30184                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
30185                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
30186                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
30187                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
30188                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
30189                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
30190                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
30191                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
30192                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
30193                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
30194                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
30195                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
30196                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
30197                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
30198                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
30199                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
30200                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
30201                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
30202                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
30203                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
30204                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
30205                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
30206                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
30207                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
30208                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
30209                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
30210                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
30211                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
30212                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
30213                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
30214                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
30215                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
30216                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
30217                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
30218                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
30219                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
30220                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
30221                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
30222                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
30223                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
30224                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
30225                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
30226                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
30227                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
30228                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
30229                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
30230                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
30231                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
30232                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
30233                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
30234                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
30235                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
30236                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
30237                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
30238                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
30239                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
30240                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
30241                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
30242                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
30243                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
30244                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
30245                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
30246                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
30247                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
30248                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
30249                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
30250                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
30251                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
30252                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
30253                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
30254                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
30255                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
30256                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
30257                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
30258                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
30259                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
30260                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
30261                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
30262                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
30263                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
30264                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
30265                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
30266                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
30267                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
30268                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
30269                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
30270                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
30271                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
30272                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
30273                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
30274                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
30275                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
30276                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
30277                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
30278                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
30279                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
30280                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
30281                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
30282                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
30283                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
30284                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
30285                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
30286                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
30287                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
30288                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
30289                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
30290                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
30291                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
30292                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
30293                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
30294                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
30295                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
30296                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
30297                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
30298                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
30299                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
30300                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
30301                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
30302                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
30303                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
30304                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
30305                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
30306                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
30307                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
30308                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
30309                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
30310                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
30311                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
30312                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
30313                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
30314                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
30315                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
30316                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
30317                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
30318                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
30319                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
30320                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
30321                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
30322                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
30323                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
30324                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
30325                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
30326                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
30327                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
30328                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
30329                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
30330                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
30331                           "\x72",
30332                 .ctext  = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
30333                           "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
30334                           "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
30335                           "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
30336                           "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
30337                           "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
30338                           "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
30339                           "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
30340                           "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
30341                           "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
30342                           "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
30343                           "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
30344                           "\xab\xf2\x31\x34\x16\xad\xc8\x17"
30345                           "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
30346                           "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
30347                           "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
30348                           "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
30349                           "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
30350                           "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
30351                           "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
30352                           "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
30353                           "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
30354                           "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
30355                           "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
30356                           "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
30357                           "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
30358                           "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
30359                           "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
30360                           "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
30361                           "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
30362                           "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
30363                           "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
30364                           "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
30365                           "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
30366                           "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
30367                           "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
30368                           "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
30369                           "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
30370                           "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
30371                           "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
30372                           "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
30373                           "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
30374                           "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
30375                           "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
30376                           "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
30377                           "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
30378                           "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
30379                           "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
30380                           "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
30381                           "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
30382                           "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
30383                           "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
30384                           "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
30385                           "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
30386                           "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
30387                           "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
30388                           "\x07\x62\x10\x79\x68\x50\xf1\x7e"
30389                           "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
30390                           "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
30391                           "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
30392                           "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
30393                           "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
30394                           "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
30395                           "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
30396                           "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
30397                           "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
30398                           "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
30399                           "\xca\x88\xf6\x37\xbd\x73\x51\x70"
30400                           "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
30401                           "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
30402                           "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
30403                           "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
30404                           "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
30405                           "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
30406                           "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
30407                           "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
30408                           "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
30409                           "\x34\x66\xad\x37\x2d\x5e\x52\xda"
30410                           "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
30411                           "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
30412                           "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
30413                           "\x8c\x89\x21\x34\x55\x27\xb2\x76"
30414                           "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
30415                           "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
30416                           "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
30417                           "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
30418                           "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
30419                           "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
30420                           "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
30421                           "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
30422                           "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
30423                           "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
30424                           "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
30425                           "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
30426                           "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
30427                           "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
30428                           "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
30429                           "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
30430                           "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
30431                           "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
30432                           "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
30433                           "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
30434                           "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
30435                           "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
30436                           "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
30437                           "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
30438                           "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
30439                           "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
30440                           "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
30441                           "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
30442                           "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
30443                           "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
30444                           "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
30445                           "\x37\x04\x65\x96\x99\x7a\x28\x0f"
30446                           "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
30447                           "\x40\x19\x95\x61\xe8\x59\x40\x1f"
30448                           "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
30449                           "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
30450                           "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
30451                           "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
30452                           "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
30453                           "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
30454                           "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
30455                           "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
30456                           "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
30457                           "\xc3\x75\x48\x64\x58\x98\x67\x84"
30458                           "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
30459                           "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
30460                           "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
30461                           "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
30462                           "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
30463                           "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
30464                           "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
30465                           "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
30466                           "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
30467                           "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
30468                           "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
30469                           "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
30470                           "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
30471                           "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
30472                           "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
30473                           "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
30474                           "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
30475                           "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
30476                           "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
30477                           "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
30478                           "\x89\x1c\x3b\xca\x83\x61\x77\x68"
30479                           "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
30480                           "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
30481                           "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
30482                           "\xed\x05\x4b\x7b\x73\x71\x90\x59"
30483                           "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
30484                           "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
30485                           "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
30486                           "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
30487                           "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
30488                           "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
30489                           "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
30490                           "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
30491                           "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
30492                           "\x11",
30493                 .len    = 1281,
30494         }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
30495                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
30496                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30497                           "\x90\x91\x92\x93\x94\x95\x96\x97"
30498                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
30499                 .klen   = 32,
30500                 .iv     = "\x40\x41\x42\x43\x44\x45\x46\x47"
30501                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30502                           "\x50\x51\x52\x53\x54\x55\x56\x58"
30503                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30504                 .ptext  = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
30505                           "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
30506                           "\x75\x6e\x63\x65\x64\x20\x22\x64"
30507                           "\x6f\x6c\x65\x22\x29\x20\x69\x73"
30508                           "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
30509                           "\x6f\x77\x6e\x20\x61\x73\x20\x74"
30510                           "\x68\x65\x20\x41\x73\x69\x61\x74"
30511                           "\x69\x63\x20\x77\x69\x6c\x64\x20"
30512                           "\x64\x6f\x67\x2c\x20\x72\x65\x64"
30513                           "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
30514                           "\x64\x20\x77\x68\x69\x73\x74\x6c"
30515                           "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
30516                           "\x20\x49\x74\x20\x69\x73\x20\x61"
30517                           "\x62\x6f\x75\x74\x20\x74\x68\x65"
30518                           "\x20\x73\x69\x7a\x65\x20\x6f\x66"
30519                           "\x20\x61\x20\x47\x65\x72\x6d\x61"
30520                           "\x6e\x20\x73\x68\x65\x70\x68\x65"
30521                           "\x72\x64\x20\x62\x75\x74\x20\x6c"
30522                           "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
30523                           "\x65\x20\x6c\x69\x6b\x65\x20\x61"
30524                           "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
30525                           "\x67\x67\x65\x64\x20\x66\x6f\x78"
30526                           "\x2e\x20\x54\x68\x69\x73\x20\x68"
30527                           "\x69\x67\x68\x6c\x79\x20\x65\x6c"
30528                           "\x75\x73\x69\x76\x65\x20\x61\x6e"
30529                           "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
30530                           "\x64\x20\x6a\x75\x6d\x70\x65\x72"
30531                           "\x20\x69\x73\x20\x63\x6c\x61\x73"
30532                           "\x73\x69\x66\x69\x65\x64\x20\x77"
30533                           "\x69\x74\x68\x20\x77\x6f\x6c\x76"
30534                           "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
30535                           "\x74\x65\x73\x2c\x20\x6a\x61\x63"
30536                           "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
30537                           "\x64\x20\x66\x6f\x78\x65\x73\x20"
30538                           "\x69\x6e\x20\x74\x68\x65\x20\x74"
30539                           "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
30540                           "\x20\x66\x61\x6d\x69\x6c\x79\x20"
30541                           "\x43\x61\x6e\x69\x64\x61\x65\x2e",
30542                 .ctext  = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
30543                           "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
30544                           "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
30545                           "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
30546                           "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
30547                           "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
30548                           "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
30549                           "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
30550                           "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
30551                           "\x73\x10\x61\x27\x77\x01\x09\x3a"
30552                           "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
30553                           "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
30554                           "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
30555                           "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
30556                           "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
30557                           "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
30558                           "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
30559                           "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
30560                           "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
30561                           "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
30562                           "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
30563                           "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
30564                           "\xf2\x45\x75\x99\x85\x23\x85\xc6"
30565                           "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
30566                           "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
30567                           "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
30568                           "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
30569                           "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
30570                           "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
30571                           "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
30572                           "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
30573                           "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
30574                           "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
30575                           "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
30576                           "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
30577                           "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
30578                           "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
30579                           "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
30580                 .len    = 304,
30581         }
30582 };
30583
30584 /*
30585  * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
30586  * XChaCha12, using a modified libsodium.
30587  */
30588 static const struct cipher_testvec xchacha12_tv_template[] = {
30589         {
30590                 .key    = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
30591                           "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
30592                           "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
30593                           "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
30594                 .klen   = 32,
30595                 .iv     = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
30596                           "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
30597                           "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
30598                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30599                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30600                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30601                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30602                           "\x00\x00\x00\x00\x00",
30603                 .ctext  = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
30604                           "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
30605                           "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
30606                           "\x3a\xfb\x18\xae\x1b",
30607                 .len    = 29,
30608         }, {
30609                 .key    = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
30610                           "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
30611                           "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
30612                           "\x22\x35\xea\xaf\x60\x1d\x62\x32",
30613                 .klen   = 32,
30614                 .iv     = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
30615                           "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
30616                           "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
30617                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30618                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30619                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30620                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30621                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30622                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30623                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30624                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30625                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30626                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30627                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30628                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30629                           "\x00\x00\x00",
30630                 .ctext  = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
30631                           "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
30632                           "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
30633                           "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
30634                           "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
30635                           "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
30636                           "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
30637                           "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
30638                           "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
30639                           "\xf0\xde\x01\xef\xc5\x65\x79\x23"
30640                           "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
30641                           "\x54\x5b\x0e",
30642                 .len    = 91,
30643         }, {
30644                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
30645                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30646                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30647                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30648                 .klen   = 32,
30649                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30650                           "\x00\x00\x00\x00\x67\xc6\x69\x73"
30651                           "\x51\xff\x4a\xec\x29\xcd\xba\xab"
30652                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30653                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30654                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30655                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30656                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30657                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30658                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30659                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30660                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30661                 .ctext  = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
30662                           "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
30663                           "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
30664                           "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
30665                           "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
30666                           "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
30667                           "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
30668                           "\x4c\x25\xe7\x86\x26\x42\xca\x44",
30669                 .len    = 64,
30670         }, {
30671                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
30672                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30673                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30674                           "\x00\x00\x00\x00\x00\x00\x00\x01",
30675                 .klen   = 32,
30676                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30677                           "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
30678                           "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
30679                           "\x01\x00\x00\x00\x00\x00\x00\x00",
30680                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
30681                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
30682                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
30683                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
30684                           "\x64\x65\x64\x20\x62\x79\x20\x74"
30685                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
30686                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
30687                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
30688                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
30689                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
30690                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
30691                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
30692                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
30693                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
30694                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
30695                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
30696                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
30697                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
30698                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
30699                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
30700                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
30701                           "\x45\x54\x46\x20\x61\x63\x74\x69"
30702                           "\x76\x69\x74\x79\x20\x69\x73\x20"
30703                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
30704                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
30705                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
30706                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
30707                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
30708                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30709                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
30710                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
30711                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30712                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
30713                           "\x54\x46\x20\x73\x65\x73\x73\x69"
30714                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
30715                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
30716                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
30717                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
30718                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
30719                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
30720                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
30721                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
30722                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
30723                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
30724                           "\x20\x77\x68\x69\x63\x68\x20\x61"
30725                           "\x72\x65\x20\x61\x64\x64\x72\x65"
30726                           "\x73\x73\x65\x64\x20\x74\x6f",
30727                 .ctext  = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
30728                           "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
30729                           "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
30730                           "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
30731                           "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
30732                           "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
30733                           "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
30734                           "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
30735                           "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
30736                           "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
30737                           "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
30738                           "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
30739                           "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
30740                           "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
30741                           "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
30742                           "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
30743                           "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
30744                           "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
30745                           "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
30746                           "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
30747                           "\x75\x10\x95\x35\x81\x7e\x26\xe6"
30748                           "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
30749                           "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
30750                           "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
30751                           "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
30752                           "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
30753                           "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
30754                           "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
30755                           "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
30756                           "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
30757                           "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
30758                           "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
30759                           "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
30760                           "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
30761                           "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
30762                           "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
30763                           "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
30764                           "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
30765                           "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
30766                           "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
30767                           "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
30768                           "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
30769                           "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
30770                           "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
30771                           "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
30772                           "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
30773                           "\xda\x4e\xc9\xab\x9b\x8a\x7b",
30774
30775                 .len    = 375,
30776
30777         }, {
30778                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30779                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30780                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30781                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30782                 .klen   = 32,
30783                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30784                           "\x00\x00\x00\x02\x76\x5a\x2e\x63"
30785                           "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
30786                           "\x2a\x00\x00\x00\x00\x00\x00\x00",
30787                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
30788                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
30789                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
30790                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
30791                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
30792                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
30793                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
30794                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
30795                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
30796                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
30797                           "\x65\x72\x65\x20\x74\x68\x65\x20"
30798                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
30799                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
30800                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
30801                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
30802                           "\x74\x67\x72\x61\x62\x65\x2e",
30803                 .ctext  = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
30804                           "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
30805                           "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
30806                           "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
30807                           "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
30808                           "\x20\x82\x26\x72\xae\x64\x1b\x7e"
30809                           "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
30810                           "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
30811                           "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
30812                           "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
30813                           "\x27\xab\xb8\x62\x46\x22\x30\x48"
30814                           "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
30815                           "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
30816                           "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
30817                           "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
30818                           "\x25\x76\x37\xe6\x3c\x67\x5b",
30819                 .len    = 127,
30820         }, {
30821                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30822                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30823                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30824                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30825                 .klen   = 32,
30826                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30827                           "\x00\x00\x00\x01\x31\x58\xa3\x5a"
30828                           "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
30829                           "\x1c\x00\x00\x00\x00\x00\x00\x00",
30830                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
30831                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
30832                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
30833                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
30834                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
30835                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
30836                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
30837                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
30838                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
30839                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
30840                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
30841                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
30842                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
30843                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
30844                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
30845                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
30846                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
30847                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
30848                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
30849                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
30850                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
30851                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
30852                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
30853                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
30854                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
30855                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
30856                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
30857                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
30858                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
30859                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
30860                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
30861                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
30862                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
30863                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
30864                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
30865                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
30866                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
30867                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
30868                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
30869                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
30870                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
30871                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
30872                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
30873                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
30874                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
30875                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
30876                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
30877                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
30878                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
30879                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
30880                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
30881                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
30882                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
30883                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
30884                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
30885                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
30886                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
30887                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
30888                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
30889                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
30890                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
30891                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
30892                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
30893                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
30894                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
30895                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
30896                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
30897                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
30898                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
30899                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
30900                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
30901                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
30902                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
30903                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
30904                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
30905                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
30906                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
30907                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
30908                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
30909                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
30910                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
30911                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
30912                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
30913                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
30914                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
30915                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
30916                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
30917                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
30918                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
30919                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
30920                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
30921                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
30922                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
30923                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
30924                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
30925                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
30926                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
30927                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
30928                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
30929                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
30930                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
30931                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
30932                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
30933                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
30934                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
30935                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
30936                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
30937                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
30938                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
30939                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
30940                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
30941                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
30942                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
30943                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
30944                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
30945                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
30946                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
30947                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
30948                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
30949                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
30950                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
30951                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
30952                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
30953                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
30954                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
30955                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
30956                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
30957                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
30958                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
30959                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
30960                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
30961                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
30962                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
30963                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
30964                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
30965                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
30966                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
30967                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
30968                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
30969                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
30970                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
30971                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
30972                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
30973                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
30974                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
30975                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
30976                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
30977                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
30978                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
30979                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
30980                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
30981                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
30982                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
30983                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
30984                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
30985                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
30986                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
30987                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
30988                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
30989                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
30990                           "\x72",
30991                 .ctext  = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
30992                           "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
30993                           "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
30994                           "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
30995                           "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
30996                           "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
30997                           "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
30998                           "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
30999                           "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
31000                           "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
31001                           "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
31002                           "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
31003                           "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
31004                           "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
31005                           "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
31006                           "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
31007                           "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
31008                           "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
31009                           "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
31010                           "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
31011                           "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
31012                           "\x95\x13\x99\x3d\x71\xbd\x32\x92"
31013                           "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
31014                           "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
31015                           "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
31016                           "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
31017                           "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
31018                           "\xc5\xc1\x78\x78\x53\x28\xad\xed"
31019                           "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
31020                           "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
31021                           "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
31022                           "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
31023                           "\xce\xf3\x55\x45\x6c\x84\x27\xba"
31024                           "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
31025                           "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
31026                           "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
31027                           "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
31028                           "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
31029                           "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
31030                           "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
31031                           "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
31032                           "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
31033                           "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
31034                           "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
31035                           "\x90\x95\x85\x0b\x96\xe9\xee\x35"
31036                           "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
31037                           "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
31038                           "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
31039                           "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
31040                           "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
31041                           "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
31042                           "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
31043                           "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
31044                           "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
31045                           "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
31046                           "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
31047                           "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
31048                           "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
31049                           "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
31050                           "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
31051                           "\xff\x71\x04\x87\x87\x21\xc4\xb8"
31052                           "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
31053                           "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
31054                           "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
31055                           "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
31056                           "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
31057                           "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
31058                           "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
31059                           "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
31060                           "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
31061                           "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
31062                           "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
31063                           "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
31064                           "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
31065                           "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
31066                           "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
31067                           "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
31068                           "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
31069                           "\xd2\x96\x2d\x18\x64\x98\x33\x78"
31070                           "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
31071                           "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
31072                           "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
31073                           "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
31074                           "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
31075                           "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
31076                           "\x68\x38\x22\x30\xd8\x2e\x00\x98"
31077                           "\x85\x16\x06\x56\xb4\x81\x74\x20"
31078                           "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
31079                           "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
31080                           "\x57\x26\x71\x07\xad\xaa\x71\x9f"
31081                           "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
31082                           "\x82\x6e\x08\x05\x37\x04\xee\x25"
31083                           "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
31084                           "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
31085                           "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
31086                           "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
31087                           "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
31088                           "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
31089                           "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
31090                           "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
31091                           "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
31092                           "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
31093                           "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
31094                           "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
31095                           "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
31096                           "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
31097                           "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
31098                           "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
31099                           "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
31100                           "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
31101                           "\x18\xc9\x26\x82\x56\xd2\x11\x05"
31102                           "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
31103                           "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
31104                           "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
31105                           "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
31106                           "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
31107                           "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
31108                           "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
31109                           "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
31110                           "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
31111                           "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
31112                           "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
31113                           "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
31114                           "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
31115                           "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
31116                           "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
31117                           "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
31118                           "\x26\x19\x10\x36\xa6\xf3\x14\x79"
31119                           "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
31120                           "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
31121                           "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
31122                           "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
31123                           "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
31124                           "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
31125                           "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
31126                           "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
31127                           "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
31128                           "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
31129                           "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
31130                           "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
31131                           "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
31132                           "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
31133                           "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
31134                           "\x95\x35\x00\x76\xae\x42\xf7\x50"
31135                           "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
31136                           "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
31137                           "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
31138                           "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
31139                           "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
31140                           "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
31141                           "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
31142                           "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
31143                           "\xae\x17\x50\xab\x29\x08\xda\xcc"
31144                           "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
31145                           "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
31146                           "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
31147                           "\x25\x18\x40\x2d\x62\x25\x02\x71"
31148                           "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
31149                           "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
31150                           "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
31151                           "\x5b",
31152                 .len    = 1281,
31153         }, {
31154                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
31155                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31156                           "\x90\x91\x92\x93\x94\x95\x96\x97"
31157                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
31158                 .klen   = 32,
31159                 .iv     = "\x40\x41\x42\x43\x44\x45\x46\x47"
31160                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31161                           "\x50\x51\x52\x53\x54\x55\x56\x58"
31162                           "\x00\x00\x00\x00\x00\x00\x00\x00",
31163                 .ptext  = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
31164                           "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
31165                           "\x75\x6e\x63\x65\x64\x20\x22\x64"
31166                           "\x6f\x6c\x65\x22\x29\x20\x69\x73"
31167                           "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
31168                           "\x6f\x77\x6e\x20\x61\x73\x20\x74"
31169                           "\x68\x65\x20\x41\x73\x69\x61\x74"
31170                           "\x69\x63\x20\x77\x69\x6c\x64\x20"
31171                           "\x64\x6f\x67\x2c\x20\x72\x65\x64"
31172                           "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
31173                           "\x64\x20\x77\x68\x69\x73\x74\x6c"
31174                           "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
31175                           "\x20\x49\x74\x20\x69\x73\x20\x61"
31176                           "\x62\x6f\x75\x74\x20\x74\x68\x65"
31177                           "\x20\x73\x69\x7a\x65\x20\x6f\x66"
31178                           "\x20\x61\x20\x47\x65\x72\x6d\x61"
31179                           "\x6e\x20\x73\x68\x65\x70\x68\x65"
31180                           "\x72\x64\x20\x62\x75\x74\x20\x6c"
31181                           "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
31182                           "\x65\x20\x6c\x69\x6b\x65\x20\x61"
31183                           "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
31184                           "\x67\x67\x65\x64\x20\x66\x6f\x78"
31185                           "\x2e\x20\x54\x68\x69\x73\x20\x68"
31186                           "\x69\x67\x68\x6c\x79\x20\x65\x6c"
31187                           "\x75\x73\x69\x76\x65\x20\x61\x6e"
31188                           "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
31189                           "\x64\x20\x6a\x75\x6d\x70\x65\x72"
31190                           "\x20\x69\x73\x20\x63\x6c\x61\x73"
31191                           "\x73\x69\x66\x69\x65\x64\x20\x77"
31192                           "\x69\x74\x68\x20\x77\x6f\x6c\x76"
31193                           "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
31194                           "\x74\x65\x73\x2c\x20\x6a\x61\x63"
31195                           "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
31196                           "\x64\x20\x66\x6f\x78\x65\x73\x20"
31197                           "\x69\x6e\x20\x74\x68\x65\x20\x74"
31198                           "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
31199                           "\x20\x66\x61\x6d\x69\x6c\x79\x20"
31200                           "\x43\x61\x6e\x69\x64\x61\x65\x2e",
31201                 .ctext  = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
31202                           "\xee\x34\xc0\x39\xd6\x23\x43\x94"
31203                           "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
31204                           "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
31205                           "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
31206                           "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
31207                           "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
31208                           "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
31209                           "\x02\x64\x43\x49\xc6\xb2\x59\x59"
31210                           "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
31211                           "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
31212                           "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
31213                           "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
31214                           "\x71\x8c\x08\x48\x33\x20\x29\x81"
31215                           "\xea\x01\x25\x20\xc3\xda\xe6\xee"
31216                           "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
31217                           "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
31218                           "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
31219                           "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
31220                           "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
31221                           "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
31222                           "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
31223                           "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
31224                           "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
31225                           "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
31226                           "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
31227                           "\x13\x27\x3f\x31\x03\x63\x30\x26"
31228                           "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
31229                           "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
31230                           "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
31231                           "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
31232                           "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
31233                           "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
31234                           "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
31235                           "\x08\x05\x36\x76\xaf\x12\x7a\x42"
31236                           "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
31237                           "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
31238                           "\x50\x70\x44\x29\x6d\x6e\x62\x68",
31239                 .len    = 304,
31240         }
31241 };
31242
31243 /* Adiantum test vectors from https://github.com/google/adiantum */
31244 static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
31245         {
31246                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
31247                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
31248                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
31249                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
31250                 .klen   = 32,
31251                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
31252                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
31253                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
31254                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
31255                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
31256                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
31257                 .ctext  = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
31258                           "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
31259                 .len    = 16,
31260         }, {
31261                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
31262                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
31263                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
31264                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
31265                 .klen   = 32,
31266                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
31267                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
31268                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
31269                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
31270                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
31271                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
31272                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
31273                           "\x43\x5a\x46\x06\x94\x2d\xf2",
31274                 .ctext  = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
31275                           "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
31276                           "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
31277                           "\xc9\x18\x7b\xbe\x18\x60\x50",
31278                 .len    = 31,
31279         }, {
31280                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
31281                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
31282                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
31283                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
31284                 .klen   = 32,
31285                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
31286                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
31287                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
31288                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
31289                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
31290                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
31291                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
31292                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
31293                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
31294                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
31295                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
31296                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
31297                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
31298                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
31299                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
31300                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
31301                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
31302                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
31303                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
31304                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
31305                 .ctext  = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
31306                           "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
31307                           "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
31308                           "\x21\x48\xa0\xb8\x65\x48\x27\x48"
31309                           "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
31310                           "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
31311                           "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
31312                           "\x51\x56\x63\xfa\x7c\x28\x85\x49"
31313                           "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
31314                           "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
31315                           "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
31316                           "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
31317                           "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
31318                           "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
31319                           "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
31320                           "\x8d\xde\x34\x86\x78\x60\x75\x8d",
31321                 .len    = 128,
31322         }, {
31323                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
31324                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
31325                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
31326                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
31327                 .klen   = 32,
31328                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
31329                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
31330                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
31331                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
31332                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
31333                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
31334                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
31335                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
31336                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
31337                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
31338                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
31339                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
31340                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
31341                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
31342                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
31343                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
31344                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
31345                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
31346                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
31347                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
31348                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
31349                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
31350                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
31351                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
31352                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
31353                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
31354                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
31355                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
31356                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
31357                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
31358                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
31359                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
31360                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
31361                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
31362                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
31363                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
31364                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
31365                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
31366                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
31367                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
31368                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
31369                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
31370                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
31371                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
31372                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
31373                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
31374                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
31375                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
31376                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
31377                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
31378                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
31379                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
31380                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
31381                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
31382                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
31383                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
31384                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
31385                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
31386                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
31387                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
31388                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
31389                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
31390                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
31391                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
31392                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
31393                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
31394                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
31395                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
31396                 .ctext  = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
31397                           "\xc5\x11\x36\x62\x13\x92\xe6\x73"
31398                           "\x29\x79\xde\xa1\x00\x3e\x08\x64"
31399                           "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
31400                           "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
31401                           "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
31402                           "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
31403                           "\xe4\xee\x39\x63\x42\x65\xa3\x88"
31404                           "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
31405                           "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
31406                           "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
31407                           "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
31408                           "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
31409                           "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
31410                           "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
31411                           "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
31412                           "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
31413                           "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
31414                           "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
31415                           "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
31416                           "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
31417                           "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
31418                           "\xf8\x51\x80\x39\x14\x05\x12\xdb"
31419                           "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
31420                           "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
31421                           "\x58\x05\x49\x7d\xe6\x92\x77\x70"
31422                           "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
31423                           "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
31424                           "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
31425                           "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
31426                           "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
31427                           "\x90\x62\xb2\x28\x99\x86\xf5\x44"
31428                           "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
31429                           "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
31430                           "\xab\xe1\x9b\x45\xba\x66\xda\xee"
31431                           "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
31432                           "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
31433                           "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
31434                           "\x11\x34\x61\x94\x35\xfe\xf2\x99"
31435                           "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
31436                           "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
31437                           "\x78\x74\x10\x50\x29\x63\x28\xea"
31438                           "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
31439                           "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
31440                           "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
31441                           "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
31442                           "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
31443                           "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
31444                           "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
31445                           "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
31446                           "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
31447                           "\x94\x74\xea\x6e\xb3\x09\x47\x01"
31448                           "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
31449                           "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
31450                           "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
31451                           "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
31452                           "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
31453                           "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
31454                           "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
31455                           "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
31456                           "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
31457                           "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
31458                           "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
31459                           "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
31460                 .len    = 512,
31461         }, {
31462                 .key    = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
31463                           "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
31464                           "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
31465                           "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
31466                 .klen   = 32,
31467                 .iv     = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
31468                           "\x88\x76\x65\xb4\x1a\x29\x27\x12"
31469                           "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
31470                           "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
31471                 .ptext  = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
31472                           "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
31473                           "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
31474                           "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
31475                           "\x38\x24\x62\xdb\x65\x82\x10\x7f"
31476                           "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
31477                           "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
31478                           "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
31479                           "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
31480                           "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
31481                           "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
31482                           "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
31483                           "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
31484                           "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
31485                           "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
31486                           "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
31487                           "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
31488                           "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
31489                           "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
31490                           "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
31491                           "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
31492                           "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
31493                           "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
31494                           "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
31495                           "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
31496                           "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
31497                           "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
31498                           "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
31499                           "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
31500                           "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
31501                           "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
31502                           "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
31503                           "\x28\x04\x4c\xff\x98\x20\x08\x10"
31504                           "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
31505                           "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
31506                           "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
31507                           "\x24\x62\xcf\x17\x36\x84\xc0\x72"
31508                           "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
31509                           "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
31510                           "\x71\x73\x08\x4e\x22\x31\xfd\x88"
31511                           "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
31512                           "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
31513                           "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
31514                           "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
31515                           "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
31516                           "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
31517                           "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
31518                           "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
31519                           "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
31520                           "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
31521                           "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
31522                           "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
31523                           "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
31524                           "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
31525                           "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
31526                           "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
31527                           "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
31528                           "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
31529                           "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
31530                           "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
31531                           "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
31532                           "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
31533                           "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
31534                           "\x85\x12\xca\x61\x65\xd1\x66\xd8"
31535                           "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
31536                           "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
31537                           "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
31538                           "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
31539                           "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
31540                           "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
31541                           "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
31542                           "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
31543                           "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
31544                           "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
31545                           "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
31546                           "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
31547                           "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
31548                           "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
31549                           "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
31550                           "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
31551                           "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
31552                           "\x16\xcb\xae\x7d\x38\x21\x67\x74"
31553                           "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
31554                           "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
31555                           "\xa8\x88\x27\x86\x44\x75\x5b\x29"
31556                           "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
31557                           "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
31558                           "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
31559                           "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
31560                           "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
31561                           "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
31562                           "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
31563                           "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
31564                           "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
31565                           "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
31566                           "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
31567                           "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
31568                           "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
31569                           "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
31570                           "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
31571                           "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
31572                           "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
31573                           "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
31574                           "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
31575                           "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
31576                           "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
31577                           "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
31578                           "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
31579                           "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
31580                           "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
31581                           "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
31582                           "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
31583                           "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
31584                           "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
31585                           "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
31586                           "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
31587                           "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
31588                           "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
31589                           "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
31590                           "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
31591                           "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
31592                           "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
31593                           "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
31594                           "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
31595                           "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
31596                           "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
31597                           "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
31598                           "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
31599                           "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
31600                           "\x55\x9a\xe0\x09\x21\xac\x61\x85"
31601                           "\x4b\x20\x95\x73\x63\x26\xe3\x83"
31602                           "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
31603                           "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
31604                           "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
31605                           "\x98\x09\x11\xb7\x00\x06\x24\x5a"
31606                           "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
31607                           "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
31608                           "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
31609                           "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
31610                           "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
31611                           "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
31612                           "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
31613                           "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
31614                           "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
31615                           "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
31616                           "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
31617                           "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
31618                           "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
31619                           "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
31620                           "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
31621                           "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
31622                           "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
31623                           "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
31624                           "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
31625                           "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
31626                           "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
31627                           "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
31628                           "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
31629                           "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
31630                           "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
31631                           "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
31632                           "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
31633                           "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
31634                           "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
31635                           "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
31636                           "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
31637                           "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
31638                           "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
31639                           "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
31640                           "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
31641                           "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
31642                           "\x62\x96\x79\x0c\x81\x05\x41\xf2"
31643                           "\x07\x20\x26\xe5\x8e\x10\x54\x03"
31644                           "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
31645                           "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
31646                           "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
31647                           "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
31648                           "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
31649                           "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
31650                           "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
31651                           "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
31652                           "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
31653                           "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
31654                           "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
31655                           "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
31656                           "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
31657                           "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
31658                           "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
31659                           "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
31660                           "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
31661                           "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
31662                           "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
31663                 .ctext  = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
31664                           "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
31665                           "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
31666                           "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
31667                           "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
31668                           "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
31669                           "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
31670                           "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
31671                           "\x15\x15\xab\xbd\x22\x94\xf7\xce"
31672                           "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
31673                           "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
31674                           "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
31675                           "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
31676                           "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
31677                           "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
31678                           "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
31679                           "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
31680                           "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
31681                           "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
31682                           "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
31683                           "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
31684                           "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
31685                           "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
31686                           "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
31687                           "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
31688                           "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
31689                           "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
31690                           "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
31691                           "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
31692                           "\xec\x88\x33\x0d\x15\x10\x82\x66"
31693                           "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
31694                           "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
31695                           "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
31696                           "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
31697                           "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
31698                           "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
31699                           "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
31700                           "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
31701                           "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
31702                           "\x00\x01\x8d\x5a\x10\x82\x39\x78"
31703                           "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
31704                           "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
31705                           "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
31706                           "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
31707                           "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
31708                           "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
31709                           "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
31710                           "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
31711                           "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
31712                           "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
31713                           "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
31714                           "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
31715                           "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
31716                           "\xce\x17\x84\x68\x45\x39\x2c\x25"
31717                           "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
31718                           "\x47\x51\x7b\x9d\x54\x84\x98\x04"
31719                           "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
31720                           "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
31721                           "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
31722                           "\x39\x72\x44\x87\x51\xc5\x73\xe4"
31723                           "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
31724                           "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
31725                           "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
31726                           "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
31727                           "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
31728                           "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
31729                           "\xad\x91\x01\x4e\x14\x42\x34\x2c"
31730                           "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
31731                           "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
31732                           "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
31733                           "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
31734                           "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
31735                           "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
31736                           "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
31737                           "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
31738                           "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
31739                           "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
31740                           "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
31741                           "\x09\x84\x42\xab\x00\xe2\x58\xc3"
31742                           "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
31743                           "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
31744                           "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
31745                           "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
31746                           "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
31747                           "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
31748                           "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
31749                           "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
31750                           "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
31751                           "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
31752                           "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
31753                           "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
31754                           "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
31755                           "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
31756                           "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
31757                           "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
31758                           "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
31759                           "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
31760                           "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
31761                           "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
31762                           "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
31763                           "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
31764                           "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
31765                           "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
31766                           "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
31767                           "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
31768                           "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
31769                           "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
31770                           "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
31771                           "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
31772                           "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
31773                           "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
31774                           "\x48\x23\x70\x46\xf3\x87\xa7\x91"
31775                           "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
31776                           "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
31777                           "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
31778                           "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
31779                           "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
31780                           "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
31781                           "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
31782                           "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
31783                           "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
31784                           "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
31785                           "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
31786                           "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
31787                           "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
31788                           "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
31789                           "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
31790                           "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
31791                           "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
31792                           "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
31793                           "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
31794                           "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
31795                           "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
31796                           "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
31797                           "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
31798                           "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
31799                           "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
31800                           "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
31801                           "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
31802                           "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
31803                           "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
31804                           "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
31805                           "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
31806                           "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
31807                           "\x41\x65\x21\x47\xf9\xb1\x06\xec"
31808                           "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
31809                           "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
31810                           "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
31811                           "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
31812                           "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
31813                           "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
31814                           "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
31815                           "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
31816                           "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
31817                           "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
31818                           "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
31819                           "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
31820                           "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
31821                           "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
31822                           "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
31823                           "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
31824                           "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
31825                           "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
31826                           "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
31827                           "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
31828                           "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
31829                           "\x64\x25\x56\xb5\x03\x8e\x29\x85"
31830                           "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
31831                           "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
31832                           "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
31833                           "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
31834                           "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
31835                           "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
31836                           "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
31837                           "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
31838                           "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
31839                           "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
31840                           "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
31841                           "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
31842                           "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
31843                           "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
31844                           "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
31845                           "\x25\x16\x95\x87\x92\xc7\x46\x3f"
31846                           "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
31847                           "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
31848                           "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
31849                           "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
31850                           "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
31851                           "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
31852                           "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
31853                           "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
31854                           "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
31855                 .len    = 1536,
31856         }, {
31857                 .key    = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
31858                           "\x70\x47\x8c\xea\x87\x30\x1d\x58"
31859                           "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
31860                           "\x56\x95\x83\x98\x38\x80\x84\x8a",
31861                 .klen   = 32,
31862                 .iv     = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
31863                           "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
31864                           "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
31865                           "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
31866                 .ptext  = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
31867                           "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
31868                           "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
31869                           "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
31870                           "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
31871                           "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
31872                           "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
31873                           "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
31874                           "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
31875                           "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
31876                           "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
31877                           "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
31878                           "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
31879                           "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
31880                           "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
31881                           "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
31882                           "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
31883                           "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
31884                           "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
31885                           "\x35\x21\x66\x78\x3d\xb6\x65\x83"
31886                           "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
31887                           "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
31888                           "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
31889                           "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
31890                           "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
31891                           "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
31892                           "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
31893                           "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
31894                           "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
31895                           "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
31896                           "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
31897                           "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
31898                           "\x96\x87\xc9\x34\x02\x26\xde\x20"
31899                           "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
31900                           "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
31901                           "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
31902                           "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
31903                           "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
31904                           "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
31905                           "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
31906                           "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
31907                           "\x85\xfd\x22\x08\x00\xae\x72\x10"
31908                           "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
31909                           "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
31910                           "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
31911                           "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
31912                           "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
31913                           "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
31914                           "\x93\x45\x38\x95\xb9\x69\xe9\x62"
31915                           "\x21\x73\xbd\x81\x73\xac\x15\x74"
31916                           "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
31917                           "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
31918                           "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
31919                           "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
31920                           "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
31921                           "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
31922                           "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
31923                           "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
31924                           "\x24\x43\xb3\x0e\xba\xad\x63\x63"
31925                           "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
31926                           "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
31927                           "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
31928                           "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
31929                           "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
31930                           "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
31931                           "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
31932                           "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
31933                           "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
31934                           "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
31935                           "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
31936                           "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
31937                           "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
31938                           "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
31939                           "\x9d\x46\xae\x67\x00\x3b\x40\x94"
31940                           "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
31941                           "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
31942                           "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
31943                           "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
31944                           "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
31945                           "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
31946                           "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
31947                           "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
31948                           "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
31949                           "\x76\xca\x9f\x56\xae\x04\x2e\x75"
31950                           "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
31951                           "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
31952                           "\x08\x67\x02\x01\xe3\x64\x82\xee"
31953                           "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
31954                           "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
31955                           "\x85\x48\xb6\x97\x97\x02\x43\x1f"
31956                           "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
31957                           "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
31958                           "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
31959                           "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
31960                           "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
31961                           "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
31962                           "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
31963                           "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
31964                           "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
31965                           "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
31966                           "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
31967                           "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
31968                           "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
31969                           "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
31970                           "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
31971                           "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
31972                           "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
31973                           "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
31974                           "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
31975                           "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
31976                           "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
31977                           "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
31978                           "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
31979                           "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
31980                           "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
31981                           "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
31982                           "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
31983                           "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
31984                           "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
31985                           "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
31986                           "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
31987                           "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
31988                           "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
31989                           "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
31990                           "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
31991                           "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
31992                           "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
31993                           "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
31994                           "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
31995                           "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
31996                           "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
31997                           "\x36\x12\x35\x28\x64\x12\xe7\xbb"
31998                           "\x50\xac\x45\x15\x7b\x16\x23\x5e"
31999                           "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
32000                           "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
32001                           "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
32002                           "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
32003                           "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
32004                           "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
32005                           "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
32006                           "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
32007                           "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
32008                           "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
32009                           "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
32010                           "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
32011                           "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
32012                           "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
32013                           "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
32014                           "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
32015                           "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
32016                           "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
32017                           "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
32018                           "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
32019                           "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
32020                           "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
32021                           "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
32022                           "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
32023                           "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
32024                           "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
32025                           "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
32026                           "\x7d\x65\x57\x65\x98\xff\x8b\x02"
32027                           "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
32028                           "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
32029                           "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
32030                           "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
32031                           "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
32032                           "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
32033                           "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
32034                           "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
32035                           "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
32036                           "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
32037                           "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
32038                           "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
32039                           "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
32040                           "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
32041                           "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
32042                           "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
32043                           "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
32044                           "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
32045                           "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
32046                           "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
32047                           "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
32048                           "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
32049                           "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
32050                           "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
32051                           "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
32052                           "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
32053                           "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
32054                           "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
32055                           "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
32056                           "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
32057                           "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
32058                           "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
32059                           "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
32060                           "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
32061                           "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
32062                           "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
32063                           "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
32064                           "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
32065                           "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
32066                           "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
32067                           "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
32068                           "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
32069                           "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
32070                           "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
32071                           "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
32072                           "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
32073                           "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
32074                           "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
32075                           "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
32076                           "\x53\xf1\x61\x97\x63\x52\x38\x86"
32077                           "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
32078                           "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
32079                           "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
32080                           "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
32081                           "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
32082                           "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
32083                           "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
32084                           "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
32085                           "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
32086                           "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
32087                           "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
32088                           "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
32089                           "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
32090                           "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
32091                           "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
32092                           "\x48\xb9\x27\x62\x00\x12\xc5\x03"
32093                           "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
32094                           "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
32095                           "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
32096                           "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
32097                           "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
32098                           "\x99\xd5\xff\x34\x93\x8f\x31\x45"
32099                           "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
32100                           "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
32101                           "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
32102                           "\x26\xec\x3a\x64\xc4\xab\x74\x97"
32103                           "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
32104                           "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
32105                           "\x68\x50\x22\x16\x96\x2f\xc4\x23"
32106                           "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
32107                           "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
32108                           "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
32109                           "\x20\x89\xef\x44\x22\x38\x3c\x14"
32110                           "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
32111                           "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
32112                           "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
32113                           "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
32114                           "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
32115                           "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
32116                           "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
32117                           "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
32118                           "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
32119                           "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
32120                           "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
32121                           "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
32122                           "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
32123                           "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
32124                           "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
32125                           "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
32126                           "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
32127                           "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
32128                           "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
32129                           "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
32130                           "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
32131                           "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
32132                           "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
32133                           "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
32134                           "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
32135                           "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
32136                           "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
32137                           "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
32138                           "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
32139                           "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
32140                           "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
32141                           "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
32142                           "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
32143                           "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
32144                           "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
32145                           "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
32146                           "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
32147                           "\x60\x81\x75\x29\x9e\xce\x2a\x70"
32148                           "\x28\x0c\x87\xe5\x46\x73\x76\x66"
32149                           "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
32150                           "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
32151                           "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
32152                           "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
32153                           "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
32154                           "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
32155                           "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
32156                           "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
32157                           "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
32158                           "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
32159                           "\xf1\x11\x02\x64\x09\x25\x7c\x26"
32160                           "\xee\xad\x50\x68\x31\x26\x16\x0f"
32161                           "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
32162                           "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
32163                           "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
32164                           "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
32165                           "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
32166                           "\x40\x12\x43\x31\xb8\x12\xe0\x95"
32167                           "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
32168                           "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
32169                           "\xab\x03\xda\x41\xab\xc5\x4e\x33"
32170                           "\x5a\x63\x94\x90\x22\x72\x54\x26"
32171                           "\x93\x65\x99\x45\x55\xd3\x55\x56"
32172                           "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
32173                           "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
32174                           "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
32175                           "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
32176                           "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
32177                           "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
32178                           "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
32179                           "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
32180                           "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
32181                           "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
32182                           "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
32183                           "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
32184                           "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
32185                           "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
32186                           "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
32187                           "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
32188                           "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
32189                           "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
32190                           "\xad\x6e\x83\x90\x21\x10\xb8\x07"
32191                           "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
32192                           "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
32193                           "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
32194                           "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
32195                           "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
32196                           "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
32197                           "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
32198                           "\x02\x5a\x20\x4d\x43\x08\x71\x49"
32199                           "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
32200                           "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
32201                           "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
32202                           "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
32203                           "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
32204                           "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
32205                           "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
32206                           "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
32207                           "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
32208                           "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
32209                           "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
32210                           "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
32211                           "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
32212                           "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
32213                           "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
32214                           "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
32215                           "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
32216                           "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
32217                           "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
32218                           "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
32219                           "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
32220                           "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
32221                           "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
32222                           "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
32223                           "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
32224                           "\x08\x48\xfd\x9b\x47\x41\x10\xae"
32225                           "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
32226                           "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
32227                           "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
32228                           "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
32229                           "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
32230                           "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
32231                           "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
32232                           "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
32233                           "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
32234                           "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
32235                           "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
32236                           "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
32237                           "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
32238                           "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
32239                           "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
32240                           "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
32241                           "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
32242                           "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
32243                           "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
32244                           "\x54\x14\x91\x12\x41\x41\x54\xa2"
32245                           "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
32246                           "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
32247                           "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
32248                           "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
32249                           "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
32250                           "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
32251                           "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
32252                           "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
32253                           "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
32254                           "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
32255                           "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
32256                           "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
32257                           "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
32258                           "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
32259                           "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
32260                           "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
32261                           "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
32262                           "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
32263                           "\x58\xec\x70\x4f\x40\x25\x2b\xba"
32264                           "\x96\x59\xac\x34\x45\x29\xc6\x57"
32265                           "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
32266                           "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
32267                           "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
32268                           "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
32269                           "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
32270                           "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
32271                           "\xea\xa5\x56\x02\x5b\x93\x13\x46"
32272                           "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
32273                           "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
32274                           "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
32275                           "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
32276                           "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
32277                           "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
32278                           "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
32279                           "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
32280                           "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
32281                           "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
32282                           "\xad\x57\xae\x98\x83\xd5\x92\x4e"
32283                           "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
32284                           "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
32285                           "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
32286                           "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
32287                           "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
32288                           "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
32289                           "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
32290                           "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
32291                           "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
32292                           "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
32293                           "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
32294                           "\x32\x06\x3f\x12\x23\x19\x22\x82"
32295                           "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
32296                           "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
32297                           "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
32298                           "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
32299                           "\x35\x79\x84\x78\x06\x68\x97\x30"
32300                           "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
32301                           "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
32302                           "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
32303                           "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
32304                           "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
32305                           "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
32306                           "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
32307                           "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
32308                           "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
32309                           "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
32310                           "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
32311                           "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
32312                           "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
32313                           "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
32314                           "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
32315                           "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
32316                           "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
32317                           "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
32318                           "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
32319                           "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
32320                           "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
32321                           "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
32322                           "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
32323                           "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
32324                           "\x13\xa7\x47\x89\x62\xa3\x03\x19"
32325                           "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
32326                           "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
32327                           "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
32328                           "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
32329                           "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
32330                           "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
32331                           "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
32332                           "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
32333                           "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
32334                           "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
32335                           "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
32336                           "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
32337                           "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
32338                           "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
32339                           "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
32340                           "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
32341                           "\x20\xa9\x37\x78\x32\x03\x60\xcc"
32342                           "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
32343                           "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
32344                           "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
32345                           "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
32346                           "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
32347                           "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
32348                           "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
32349                           "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
32350                           "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
32351                           "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
32352                           "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
32353                           "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
32354                           "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
32355                           "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
32356                           "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
32357                           "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
32358                           "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
32359                           "\x12\xab\x95\x66\xec\x09\x64\xea"
32360                           "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
32361                           "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
32362                           "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
32363                           "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
32364                           "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
32365                           "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
32366                           "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
32367                           "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
32368                           "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
32369                           "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
32370                           "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
32371                           "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
32372                           "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
32373                           "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
32374                           "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
32375                           "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
32376                           "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
32377                           "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
32378                 .ctext  = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
32379                           "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
32380                           "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
32381                           "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
32382                           "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
32383                           "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
32384                           "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
32385                           "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
32386                           "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
32387                           "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
32388                           "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
32389                           "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
32390                           "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
32391                           "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
32392                           "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
32393                           "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
32394                           "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
32395                           "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
32396                           "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
32397                           "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
32398                           "\xc5\x97\x18\x04\xab\x8c\x38\x56"
32399                           "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
32400                           "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
32401                           "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
32402                           "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
32403                           "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
32404                           "\x11\x35\xee\x29\xa4\x90\xfc\x46"
32405                           "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
32406                           "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
32407                           "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
32408                           "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
32409                           "\x42\x89\x28\x27\xe6\xec\x50\xb7"
32410                           "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
32411                           "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
32412                           "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
32413                           "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
32414                           "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
32415                           "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
32416                           "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
32417                           "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
32418                           "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
32419                           "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
32420                           "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
32421                           "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
32422                           "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
32423                           "\x1d\x1c\x08\x65\x80\x69\xae\x24"
32424                           "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
32425                           "\xce\x39\x07\xe6\x69\x94\x5a\x75"
32426                           "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
32427                           "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
32428                           "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
32429                           "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
32430                           "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
32431                           "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
32432                           "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
32433                           "\xae\x27\xbc\x93\x96\xab\xb6\x02"
32434                           "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
32435                           "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
32436                           "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
32437                           "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
32438                           "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
32439                           "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
32440                           "\x7d\x60\x87\x11\x06\x83\x25\xe3"
32441                           "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
32442                           "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
32443                           "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
32444                           "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
32445                           "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
32446                           "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
32447                           "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
32448                           "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
32449                           "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
32450                           "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
32451                           "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
32452                           "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
32453                           "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
32454                           "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
32455                           "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
32456                           "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
32457                           "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
32458                           "\xed\x73\xdb\xc1\x70\xda\xde\x67"
32459                           "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
32460                           "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
32461                           "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
32462                           "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
32463                           "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
32464                           "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
32465                           "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
32466                           "\xc4\x12\x70\x5a\x37\x83\x49\xac"
32467                           "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
32468                           "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
32469                           "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
32470                           "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
32471                           "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
32472                           "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
32473                           "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
32474                           "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
32475                           "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
32476                           "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
32477                           "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
32478                           "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
32479                           "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
32480                           "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
32481                           "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
32482                           "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
32483                           "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
32484                           "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
32485                           "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
32486                           "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
32487                           "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
32488                           "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
32489                           "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
32490                           "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
32491                           "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
32492                           "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
32493                           "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
32494                           "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
32495                           "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
32496                           "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
32497                           "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
32498                           "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
32499                           "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
32500                           "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
32501                           "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
32502                           "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
32503                           "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
32504                           "\x25\x87\x45\x4c\x07\xa7\x15\x99"
32505                           "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
32506                           "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
32507                           "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
32508                           "\x95\x25\x55\x33\x41\x5b\x8d\x75"
32509                           "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
32510                           "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
32511                           "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
32512                           "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
32513                           "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
32514                           "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
32515                           "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
32516                           "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
32517                           "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
32518                           "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
32519                           "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
32520                           "\x32\x78\xa9\xf6\x03\x98\x18\xed"
32521                           "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
32522                           "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
32523                           "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
32524                           "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
32525                           "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
32526                           "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
32527                           "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
32528                           "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
32529                           "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
32530                           "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
32531                           "\x54\x76\xaa\x58\xae\x87\x23\x93"
32532                           "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
32533                           "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
32534                           "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
32535                           "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
32536                           "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
32537                           "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
32538                           "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
32539                           "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
32540                           "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
32541                           "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
32542                           "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
32543                           "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
32544                           "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
32545                           "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
32546                           "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
32547                           "\x03\x01\xce\xbb\x58\xff\xee\x74"
32548                           "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
32549                           "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
32550                           "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
32551                           "\x27\xc3\x51\x50\xa0\x02\x73\x00"
32552                           "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
32553                           "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
32554                           "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
32555                           "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
32556                           "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
32557                           "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
32558                           "\xe9\x60\x82\x77\x44\x3f\x89\x23"
32559                           "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
32560                           "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
32561                           "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
32562                           "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
32563                           "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
32564                           "\x63\x36\xa8\x02\x54\x93\xb0\xba"
32565                           "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
32566                           "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
32567                           "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
32568                           "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
32569                           "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
32570                           "\x96\x94\xf2\x67\x57\x23\x9c\x29"
32571                           "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
32572                           "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
32573                           "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
32574                           "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
32575                           "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
32576                           "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
32577                           "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
32578                           "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
32579                           "\x02\xdc\x15\x87\x48\x16\x26\x18"
32580                           "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
32581                           "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
32582                           "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
32583                           "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
32584                           "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
32585                           "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
32586                           "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
32587                           "\x72\xee\x34\xbe\x41\x90\xd4\x07"
32588                           "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
32589                           "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
32590                           "\xe8\x71\xce\xa8\x73\x77\x82\x74"
32591                           "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
32592                           "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
32593                           "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
32594                           "\xae\x96\x09\xbf\x47\xae\x7d\x12"
32595                           "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
32596                           "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
32597                           "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
32598                           "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
32599                           "\x82\xef\x31\x85\x8e\x38\x56\xff"
32600                           "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
32601                           "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
32602                           "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
32603                           "\xdc\x83\x81\x3c\x24\x28\x87\x08"
32604                           "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
32605                           "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
32606                           "\x93\x45\x5d\x45\x64\x59\x16\x3f"
32607                           "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
32608                           "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
32609                           "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
32610                           "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
32611                           "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
32612                           "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
32613                           "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
32614                           "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
32615                           "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
32616                           "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
32617                           "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
32618                           "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
32619                           "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
32620                           "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
32621                           "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
32622                           "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
32623                           "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
32624                           "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
32625                           "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
32626                           "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
32627                           "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
32628                           "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
32629                           "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
32630                           "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
32631                           "\xed\x87\xb8\x74\x98\x0d\x16\x86"
32632                           "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
32633                           "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
32634                           "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
32635                           "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
32636                           "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
32637                           "\x61\x78\x60\xd5\x81\x70\xa4\x11"
32638                           "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
32639                           "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
32640                           "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
32641                           "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
32642                           "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
32643                           "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
32644                           "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
32645                           "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
32646                           "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
32647                           "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
32648                           "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
32649                           "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
32650                           "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
32651                           "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
32652                           "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
32653                           "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
32654                           "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
32655                           "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
32656                           "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
32657                           "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
32658                           "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
32659                           "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
32660                           "\x86\xda\x71\xfb\x72\xab\x87\x0f"
32661                           "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
32662                           "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
32663                           "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
32664                           "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
32665                           "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
32666                           "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
32667                           "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
32668                           "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
32669                           "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
32670                           "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
32671                           "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
32672                           "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
32673                           "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
32674                           "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
32675                           "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
32676                           "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
32677                           "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
32678                           "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
32679                           "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
32680                           "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
32681                           "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
32682                           "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
32683                           "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
32684                           "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
32685                           "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
32686                           "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
32687                           "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
32688                           "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
32689                           "\x70\x0c\x72\x80\x64\x94\x67\xad"
32690                           "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
32691                           "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
32692                           "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
32693                           "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
32694                           "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
32695                           "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
32696                           "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
32697                           "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
32698                           "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
32699                           "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
32700                           "\xa1\x6e\x73\x62\x96\x73\x56\x66"
32701                           "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
32702                           "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
32703                           "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
32704                           "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
32705                           "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
32706                           "\x03\x41\x19\x5b\x31\xf3\x48\x83"
32707                           "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
32708                           "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
32709                           "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
32710                           "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
32711                           "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
32712                           "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
32713                           "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
32714                           "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
32715                           "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
32716                           "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
32717                           "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
32718                           "\xed\x2a\x70\x79\x39\xcf\x36\x72"
32719                           "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
32720                           "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
32721                           "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
32722                           "\x3b\x74\x29\x63\xda\x23\xbc\x43"
32723                           "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
32724                           "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
32725                           "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
32726                           "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
32727                           "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
32728                           "\xa9\x13\x11\x60\x19\x23\xc7\x35"
32729                           "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
32730                           "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
32731                           "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
32732                           "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
32733                           "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
32734                           "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
32735                           "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
32736                           "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
32737                           "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
32738                           "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
32739                           "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
32740                           "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
32741                           "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
32742                           "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
32743                           "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
32744                           "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
32745                           "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
32746                           "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
32747                           "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
32748                           "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
32749                           "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
32750                           "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
32751                           "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
32752                           "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
32753                           "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
32754                           "\x87\x24\xa9\xe9\x87\xde\x75\x77"
32755                           "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
32756                           "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
32757                           "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
32758                           "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
32759                           "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
32760                           "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
32761                           "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
32762                           "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
32763                           "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
32764                           "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
32765                           "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
32766                           "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
32767                           "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
32768                           "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
32769                           "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
32770                           "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
32771                           "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
32772                           "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
32773                           "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
32774                           "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
32775                           "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
32776                           "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
32777                           "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
32778                           "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
32779                           "\xdc\x66\xad\xe4\x54\xff\x09\xef"
32780                           "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
32781                           "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
32782                           "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
32783                           "\x51\x0c\x0f\x84\x26\x75\x69\x23"
32784                           "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
32785                           "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
32786                           "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
32787                           "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
32788                           "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
32789                           "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
32790                           "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
32791                           "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
32792                           "\x6b\x55\x85\x47\xbb\x90\xba\x69"
32793                           "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
32794                           "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
32795                           "\x09\x76\x51\x83\x0a\x46\x19\x61"
32796                           "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
32797                           "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
32798                           "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
32799                           "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
32800                           "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
32801                           "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
32802                           "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
32803                           "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
32804                           "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
32805                           "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
32806                           "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
32807                           "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
32808                           "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
32809                           "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
32810                           "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
32811                           "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
32812                           "\x24\x24\x51\x22\x1e\xad\xef\x2f"
32813                           "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
32814                           "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
32815                           "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
32816                           "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
32817                           "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
32818                           "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
32819                           "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
32820                           "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
32821                           "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
32822                           "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
32823                           "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
32824                           "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
32825                           "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
32826                           "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
32827                           "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
32828                           "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
32829                           "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
32830                           "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
32831                           "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
32832                           "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
32833                           "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
32834                           "\x42\xff\x4e\x57\xde\x0c\x67\x45"
32835                           "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
32836                           "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
32837                           "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
32838                           "\xf8\x87\x0e\x14\x19\x81\x23\x53"
32839                           "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
32840                           "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
32841                           "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
32842                           "\x73\xde\x5e\x90\xce\x6c\x85\x43"
32843                           "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
32844                           "\xb8\x05\x80\x81\xf6\x22\x30\xad"
32845                           "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
32846                           "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
32847                           "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
32848                           "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
32849                           "\xb7\x73\x14\x69\xef\xf8\x28\x43"
32850                           "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
32851                           "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
32852                           "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
32853                           "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
32854                           "\x4d\xb1\x17\x40\x02\x84\xed\x53"
32855                           "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
32856                           "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
32857                           "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
32858                           "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
32859                           "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
32860                           "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
32861                           "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
32862                           "\x90\xe9\x60\x64\xfa\x52\x87\x37"
32863                           "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
32864                           "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
32865                           "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
32866                           "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
32867                           "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
32868                           "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
32869                           "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
32870                           "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
32871                           "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
32872                           "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
32873                           "\xb6\x86\x9e\x13\x78\x34\x36\x85"
32874                           "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
32875                           "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
32876                           "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
32877                           "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
32878                           "\x13\xdd\x9e\x20\x51\x18\x73\x37"
32879                           "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
32880                           "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
32881                           "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
32882                           "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
32883                           "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
32884                           "\x66\x2a\xac\x59\xb3\x73\x86\xae"
32885                           "\x6d\x85\x97\x37\x68\xef\xa7\x85"
32886                           "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
32887                           "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
32888                           "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
32889                           "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
32890                 .len    = 4096,
32891         }
32892 };
32893
32894 /* Adiantum with XChaCha20 instead of XChaCha12 */
32895 /* Test vectors from https://github.com/google/adiantum */
32896 static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
32897         {
32898                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
32899                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
32900                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
32901                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
32902                 .klen   = 32,
32903                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
32904                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
32905                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
32906                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
32907                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
32908                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
32909                 .ctext  = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
32910                           "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
32911                 .len    = 16,
32912         }, {
32913                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
32914                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
32915                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
32916                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
32917                 .klen   = 32,
32918                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
32919                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
32920                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
32921                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
32922                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
32923                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
32924                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
32925                           "\x43\x5a\x46\x06\x94\x2d\xf2",
32926                 .ctext  = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
32927                           "\x0e\x14\x42\x5f\x00\x74\x09\x36"
32928                           "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
32929                           "\x0c\x04\x91\x14\x91\xe9\x37",
32930                 .len    = 31,
32931         }, {
32932                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
32933                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
32934                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
32935                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
32936                 .klen   = 32,
32937                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
32938                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
32939                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
32940                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
32941                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
32942                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
32943                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
32944                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
32945                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
32946                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
32947                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
32948                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
32949                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
32950                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
32951                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
32952                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
32953                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
32954                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
32955                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
32956                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
32957                 .ctext  = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
32958                           "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
32959                           "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
32960                           "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
32961                           "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
32962                           "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
32963                           "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
32964                           "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
32965                           "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
32966                           "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
32967                           "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
32968                           "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
32969                           "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
32970                           "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
32971                           "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
32972                           "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
32973                 .len    = 128,
32974         }, {
32975                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
32976                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
32977                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
32978                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
32979                 .klen   = 32,
32980                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
32981                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
32982                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
32983                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
32984                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
32985                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
32986                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
32987                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
32988                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
32989                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
32990                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
32991                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
32992                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
32993                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
32994                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
32995                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
32996                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
32997                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
32998                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
32999                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
33000                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
33001                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
33002                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
33003                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
33004                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
33005                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
33006                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
33007                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
33008                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
33009                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
33010                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
33011                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
33012                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
33013                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
33014                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
33015                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
33016                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
33017                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
33018                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
33019                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
33020                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
33021                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
33022                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
33023                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
33024                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
33025                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
33026                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
33027                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
33028                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
33029                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
33030                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
33031                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
33032                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
33033                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
33034                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
33035                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
33036                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
33037                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
33038                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
33039                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
33040                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
33041                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
33042                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
33043                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
33044                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
33045                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
33046                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
33047                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
33048                 .ctext  = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
33049                           "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
33050                           "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
33051                           "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
33052                           "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
33053                           "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
33054                           "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
33055                           "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
33056                           "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
33057                           "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
33058                           "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
33059                           "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
33060                           "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
33061                           "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
33062                           "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
33063                           "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
33064                           "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
33065                           "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
33066                           "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
33067                           "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
33068                           "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
33069                           "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
33070                           "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
33071                           "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
33072                           "\x26\x39\x95\x07\xad\x7a\xc9\x69"
33073                           "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
33074                           "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
33075                           "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
33076                           "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
33077                           "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
33078                           "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
33079                           "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
33080                           "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
33081                           "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
33082                           "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
33083                           "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
33084                           "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
33085                           "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
33086                           "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
33087                           "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
33088                           "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
33089                           "\x34\x42\xe5\xae\x45\x13\x63\xfe"
33090                           "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
33091                           "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
33092                           "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
33093                           "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
33094                           "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
33095                           "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
33096                           "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
33097                           "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
33098                           "\x65\xa8\xac\xea\x8d\x68\x46\x34"
33099                           "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
33100                           "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
33101                           "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
33102                           "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
33103                           "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
33104                           "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
33105                           "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
33106                           "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
33107                           "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
33108                           "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
33109                           "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
33110                           "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
33111                           "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
33112                 .len    = 512,
33113         }, {
33114                 .key    = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
33115                           "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
33116                           "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
33117                           "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
33118                 .klen   = 32,
33119                 .iv     = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
33120                           "\x88\x76\x65\xb4\x1a\x29\x27\x12"
33121                           "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
33122                           "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
33123                 .ptext  = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
33124                           "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
33125                           "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
33126                           "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
33127                           "\x38\x24\x62\xdb\x65\x82\x10\x7f"
33128                           "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
33129                           "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
33130                           "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
33131                           "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
33132                           "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
33133                           "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
33134                           "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
33135                           "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
33136                           "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
33137                           "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
33138                           "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
33139                           "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
33140                           "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
33141                           "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
33142                           "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
33143                           "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
33144                           "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
33145                           "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
33146                           "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
33147                           "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
33148                           "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
33149                           "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
33150                           "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
33151                           "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
33152                           "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
33153                           "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
33154                           "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
33155                           "\x28\x04\x4c\xff\x98\x20\x08\x10"
33156                           "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
33157                           "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
33158                           "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
33159                           "\x24\x62\xcf\x17\x36\x84\xc0\x72"
33160                           "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
33161                           "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
33162                           "\x71\x73\x08\x4e\x22\x31\xfd\x88"
33163                           "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
33164                           "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
33165                           "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
33166                           "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
33167                           "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
33168                           "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
33169                           "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
33170                           "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
33171                           "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
33172                           "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
33173                           "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
33174                           "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
33175                           "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
33176                           "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
33177                           "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
33178                           "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
33179                           "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
33180                           "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
33181                           "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
33182                           "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
33183                           "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
33184                           "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
33185                           "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
33186                           "\x85\x12\xca\x61\x65\xd1\x66\xd8"
33187                           "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
33188                           "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
33189                           "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
33190                           "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
33191                           "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
33192                           "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
33193                           "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
33194                           "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
33195                           "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
33196                           "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
33197                           "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
33198                           "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
33199                           "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
33200                           "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
33201                           "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
33202                           "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
33203                           "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
33204                           "\x16\xcb\xae\x7d\x38\x21\x67\x74"
33205                           "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
33206                           "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
33207                           "\xa8\x88\x27\x86\x44\x75\x5b\x29"
33208                           "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
33209                           "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
33210                           "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
33211                           "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
33212                           "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
33213                           "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
33214                           "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
33215                           "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
33216                           "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
33217                           "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
33218                           "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
33219                           "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
33220                           "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
33221                           "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
33222                           "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
33223                           "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
33224                           "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
33225                           "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
33226                           "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
33227                           "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
33228                           "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
33229                           "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
33230                           "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
33231                           "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
33232                           "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
33233                           "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
33234                           "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
33235                           "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
33236                           "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
33237                           "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
33238                           "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
33239                           "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
33240                           "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
33241                           "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
33242                           "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
33243                           "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
33244                           "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
33245                           "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
33246                           "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
33247                           "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
33248                           "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
33249                           "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
33250                           "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
33251                           "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
33252                           "\x55\x9a\xe0\x09\x21\xac\x61\x85"
33253                           "\x4b\x20\x95\x73\x63\x26\xe3\x83"
33254                           "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
33255                           "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
33256                           "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
33257                           "\x98\x09\x11\xb7\x00\x06\x24\x5a"
33258                           "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
33259                           "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
33260                           "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
33261                           "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
33262                           "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
33263                           "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
33264                           "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
33265                           "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
33266                           "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
33267                           "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
33268                           "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
33269                           "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
33270                           "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
33271                           "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
33272                           "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
33273                           "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
33274                           "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
33275                           "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
33276                           "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
33277                           "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
33278                           "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
33279                           "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
33280                           "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
33281                           "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
33282                           "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
33283                           "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
33284                           "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
33285                           "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
33286                           "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
33287                           "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
33288                           "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
33289                           "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
33290                           "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
33291                           "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
33292                           "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
33293                           "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
33294                           "\x62\x96\x79\x0c\x81\x05\x41\xf2"
33295                           "\x07\x20\x26\xe5\x8e\x10\x54\x03"
33296                           "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
33297                           "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
33298                           "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
33299                           "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
33300                           "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
33301                           "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
33302                           "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
33303                           "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
33304                           "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
33305                           "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
33306                           "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
33307                           "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
33308                           "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
33309                           "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
33310                           "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
33311                           "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
33312                           "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
33313                           "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
33314                           "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
33315                 .ctext  = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
33316                           "\x71\x28\x98\x61\xe5\x2c\x45\x49"
33317                           "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
33318                           "\xbe\x05\x02\x35\xc1\x18\x61\x28"
33319                           "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
33320                           "\x14\x80\x88\x56\xcf\x98\x32\xcc"
33321                           "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
33322                           "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
33323                           "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
33324                           "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
33325                           "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
33326                           "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
33327                           "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
33328                           "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
33329                           "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
33330                           "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
33331                           "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
33332                           "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
33333                           "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
33334                           "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
33335                           "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
33336                           "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
33337                           "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
33338                           "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
33339                           "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
33340                           "\x35\x17\x51\x06\x19\x82\x9d\x44"
33341                           "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
33342                           "\x95\x63\xc3\xf0\x91\x73\x77\x44"
33343                           "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
33344                           "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
33345                           "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
33346                           "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
33347                           "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
33348                           "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
33349                           "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
33350                           "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
33351                           "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
33352                           "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
33353                           "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
33354                           "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
33355                           "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
33356                           "\x9a\x14\xab\x08\xc2\x67\x59\x30"
33357                           "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
33358                           "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
33359                           "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
33360                           "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
33361                           "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
33362                           "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
33363                           "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
33364                           "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
33365                           "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
33366                           "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
33367                           "\x73\x23\x27\x71\x85\x04\x07\x59"
33368                           "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
33369                           "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
33370                           "\x21\x5b\x22\x25\x61\x01\x96\xce"
33371                           "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
33372                           "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
33373                           "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
33374                           "\xae\x89\x30\xa3\xc1\x65\x41\x67"
33375                           "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
33376                           "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
33377                           "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
33378                           "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
33379                           "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
33380                           "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
33381                           "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
33382                           "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
33383                           "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
33384                           "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
33385                           "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
33386                           "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
33387                           "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
33388                           "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
33389                           "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
33390                           "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
33391                           "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
33392                           "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
33393                           "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
33394                           "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
33395                           "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
33396                           "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
33397                           "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
33398                           "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
33399                           "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
33400                           "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
33401                           "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
33402                           "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
33403                           "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
33404                           "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
33405                           "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
33406                           "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
33407                           "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
33408                           "\x90\xda\x98\x98\x81\x04\x1c\x4d"
33409                           "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
33410                           "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
33411                           "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
33412                           "\x04\x59\x51\xbb\x17\x03\xc0\x07"
33413                           "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
33414                           "\xbc\x60\x86\x3b\x68\x91\x67\x14"
33415                           "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
33416                           "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
33417                           "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
33418                           "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
33419                           "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
33420                           "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
33421                           "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
33422                           "\x02\x98\xee\x83\xca\x4c\x94\xa3"
33423                           "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
33424                           "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
33425                           "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
33426                           "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
33427                           "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
33428                           "\xad\xf0\x38\x49\x88\x78\x73\xcd"
33429                           "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
33430                           "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
33431                           "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
33432                           "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
33433                           "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
33434                           "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
33435                           "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
33436                           "\x08\x42\xef\x07\x03\xb7\xa3\xea"
33437                           "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
33438                           "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
33439                           "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
33440                           "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
33441                           "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
33442                           "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
33443                           "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
33444                           "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
33445                           "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
33446                           "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
33447                           "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
33448                           "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
33449                           "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
33450                           "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
33451                           "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
33452                           "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
33453                           "\x80\xae\x2d\xda\x85\x90\x69\x3c"
33454                           "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
33455                           "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
33456                           "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
33457                           "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
33458                           "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
33459                           "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
33460                           "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
33461                           "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
33462                           "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
33463                           "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
33464                           "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
33465                           "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
33466                           "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
33467                           "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
33468                           "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
33469                           "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
33470                           "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
33471                           "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
33472                           "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
33473                           "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
33474                           "\x67\x04\x70\x86\x0a\x71\x69\x34"
33475                           "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
33476                           "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
33477                           "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
33478                           "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
33479                           "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
33480                           "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
33481                           "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
33482                           "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
33483                           "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
33484                           "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
33485                           "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
33486                           "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
33487                           "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
33488                           "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
33489                           "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
33490                           "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
33491                           "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
33492                           "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
33493                           "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
33494                           "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
33495                           "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
33496                           "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
33497                           "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
33498                           "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
33499                           "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
33500                           "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
33501                           "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
33502                           "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
33503                           "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
33504                           "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
33505                           "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
33506                           "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
33507                 .len    = 1536,
33508         }, {
33509                 .key    = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
33510                           "\x70\x47\x8c\xea\x87\x30\x1d\x58"
33511                           "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
33512                           "\x56\x95\x83\x98\x38\x80\x84\x8a",
33513                 .klen   = 32,
33514                 .iv     = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
33515                           "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
33516                           "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
33517                           "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
33518                 .ptext  = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
33519                           "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
33520                           "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
33521                           "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
33522                           "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
33523                           "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
33524                           "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
33525                           "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
33526                           "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
33527                           "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
33528                           "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
33529                           "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
33530                           "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
33531                           "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
33532                           "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
33533                           "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
33534                           "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
33535                           "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
33536                           "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
33537                           "\x35\x21\x66\x78\x3d\xb6\x65\x83"
33538                           "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
33539                           "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
33540                           "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
33541                           "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
33542                           "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
33543                           "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
33544                           "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
33545                           "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
33546                           "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
33547                           "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
33548                           "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
33549                           "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
33550                           "\x96\x87\xc9\x34\x02\x26\xde\x20"
33551                           "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
33552                           "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
33553                           "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
33554                           "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
33555                           "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
33556                           "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
33557                           "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
33558                           "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
33559                           "\x85\xfd\x22\x08\x00\xae\x72\x10"
33560                           "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
33561                           "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
33562                           "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
33563                           "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
33564                           "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
33565                           "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
33566                           "\x93\x45\x38\x95\xb9\x69\xe9\x62"
33567                           "\x21\x73\xbd\x81\x73\xac\x15\x74"
33568                           "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
33569                           "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
33570                           "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
33571                           "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
33572                           "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
33573                           "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
33574                           "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
33575                           "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
33576                           "\x24\x43\xb3\x0e\xba\xad\x63\x63"
33577                           "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
33578                           "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
33579                           "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
33580                           "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
33581                           "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
33582                           "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
33583                           "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
33584                           "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
33585                           "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
33586                           "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
33587                           "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
33588                           "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
33589                           "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
33590                           "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
33591                           "\x9d\x46\xae\x67\x00\x3b\x40\x94"
33592                           "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
33593                           "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
33594                           "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
33595                           "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
33596                           "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
33597                           "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
33598                           "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
33599                           "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
33600                           "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
33601                           "\x76\xca\x9f\x56\xae\x04\x2e\x75"
33602                           "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
33603                           "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
33604                           "\x08\x67\x02\x01\xe3\x64\x82\xee"
33605                           "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
33606                           "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
33607                           "\x85\x48\xb6\x97\x97\x02\x43\x1f"
33608                           "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
33609                           "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
33610                           "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
33611                           "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
33612                           "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
33613                           "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
33614                           "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
33615                           "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
33616                           "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
33617                           "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
33618                           "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
33619                           "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
33620                           "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
33621                           "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
33622                           "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
33623                           "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
33624                           "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
33625                           "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
33626                           "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
33627                           "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
33628                           "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
33629                           "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
33630                           "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
33631                           "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
33632                           "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
33633                           "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
33634                           "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
33635                           "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
33636                           "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
33637                           "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
33638                           "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
33639                           "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
33640                           "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
33641                           "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
33642                           "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
33643                           "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
33644                           "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
33645                           "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
33646                           "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
33647                           "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
33648                           "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
33649                           "\x36\x12\x35\x28\x64\x12\xe7\xbb"
33650                           "\x50\xac\x45\x15\x7b\x16\x23\x5e"
33651                           "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
33652                           "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
33653                           "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
33654                           "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
33655                           "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
33656                           "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
33657                           "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
33658                           "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
33659                           "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
33660                           "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
33661                           "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
33662                           "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
33663                           "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
33664                           "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
33665                           "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
33666                           "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
33667                           "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
33668                           "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
33669                           "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
33670                           "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
33671                           "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
33672                           "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
33673                           "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
33674                           "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
33675                           "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
33676                           "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
33677                           "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
33678                           "\x7d\x65\x57\x65\x98\xff\x8b\x02"
33679                           "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
33680                           "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
33681                           "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
33682                           "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
33683                           "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
33684                           "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
33685                           "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
33686                           "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
33687                           "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
33688                           "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
33689                           "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
33690                           "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
33691                           "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
33692                           "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
33693                           "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
33694                           "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
33695                           "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
33696                           "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
33697                           "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
33698                           "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
33699                           "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
33700                           "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
33701                           "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
33702                           "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
33703                           "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
33704                           "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
33705                           "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
33706                           "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
33707                           "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
33708                           "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
33709                           "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
33710                           "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
33711                           "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
33712                           "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
33713                           "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
33714                           "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
33715                           "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
33716                           "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
33717                           "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
33718                           "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
33719                           "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
33720                           "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
33721                           "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
33722                           "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
33723                           "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
33724                           "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
33725                           "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
33726                           "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
33727                           "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
33728                           "\x53\xf1\x61\x97\x63\x52\x38\x86"
33729                           "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
33730                           "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
33731                           "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
33732                           "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
33733                           "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
33734                           "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
33735                           "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
33736                           "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
33737                           "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
33738                           "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
33739                           "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
33740                           "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
33741                           "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
33742                           "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
33743                           "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
33744                           "\x48\xb9\x27\x62\x00\x12\xc5\x03"
33745                           "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
33746                           "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
33747                           "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
33748                           "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
33749                           "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
33750                           "\x99\xd5\xff\x34\x93\x8f\x31\x45"
33751                           "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
33752                           "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
33753                           "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
33754                           "\x26\xec\x3a\x64\xc4\xab\x74\x97"
33755                           "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
33756                           "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
33757                           "\x68\x50\x22\x16\x96\x2f\xc4\x23"
33758                           "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
33759                           "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
33760                           "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
33761                           "\x20\x89\xef\x44\x22\x38\x3c\x14"
33762                           "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
33763                           "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
33764                           "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
33765                           "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
33766                           "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
33767                           "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
33768                           "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
33769                           "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
33770                           "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
33771                           "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
33772                           "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
33773                           "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
33774                           "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
33775                           "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
33776                           "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
33777                           "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
33778                           "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
33779                           "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
33780                           "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
33781                           "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
33782                           "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
33783                           "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
33784                           "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
33785                           "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
33786                           "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
33787                           "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
33788                           "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
33789                           "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
33790                           "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
33791                           "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
33792                           "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
33793                           "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
33794                           "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
33795                           "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
33796                           "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
33797                           "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
33798                           "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
33799                           "\x60\x81\x75\x29\x9e\xce\x2a\x70"
33800                           "\x28\x0c\x87\xe5\x46\x73\x76\x66"
33801                           "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
33802                           "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
33803                           "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
33804                           "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
33805                           "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
33806                           "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
33807                           "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
33808                           "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
33809                           "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
33810                           "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
33811                           "\xf1\x11\x02\x64\x09\x25\x7c\x26"
33812                           "\xee\xad\x50\x68\x31\x26\x16\x0f"
33813                           "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
33814                           "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
33815                           "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
33816                           "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
33817                           "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
33818                           "\x40\x12\x43\x31\xb8\x12\xe0\x95"
33819                           "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
33820                           "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
33821                           "\xab\x03\xda\x41\xab\xc5\x4e\x33"
33822                           "\x5a\x63\x94\x90\x22\x72\x54\x26"
33823                           "\x93\x65\x99\x45\x55\xd3\x55\x56"
33824                           "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
33825                           "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
33826                           "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
33827                           "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
33828                           "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
33829                           "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
33830                           "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
33831                           "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
33832                           "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
33833                           "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
33834                           "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
33835                           "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
33836                           "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
33837                           "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
33838                           "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
33839                           "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
33840                           "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
33841                           "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
33842                           "\xad\x6e\x83\x90\x21\x10\xb8\x07"
33843                           "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
33844                           "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
33845                           "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
33846                           "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
33847                           "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
33848                           "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
33849                           "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
33850                           "\x02\x5a\x20\x4d\x43\x08\x71\x49"
33851                           "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
33852                           "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
33853                           "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
33854                           "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
33855                           "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
33856                           "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
33857                           "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
33858                           "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
33859                           "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
33860                           "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
33861                           "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
33862                           "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
33863                           "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
33864                           "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
33865                           "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
33866                           "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
33867                           "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
33868                           "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
33869                           "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
33870                           "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
33871                           "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
33872                           "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
33873                           "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
33874                           "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
33875                           "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
33876                           "\x08\x48\xfd\x9b\x47\x41\x10\xae"
33877                           "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
33878                           "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
33879                           "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
33880                           "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
33881                           "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
33882                           "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
33883                           "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
33884                           "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
33885                           "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
33886                           "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
33887                           "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
33888                           "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
33889                           "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
33890                           "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
33891                           "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
33892                           "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
33893                           "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
33894                           "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
33895                           "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
33896                           "\x54\x14\x91\x12\x41\x41\x54\xa2"
33897                           "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
33898                           "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
33899                           "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
33900                           "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
33901                           "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
33902                           "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
33903                           "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
33904                           "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
33905                           "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
33906                           "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
33907                           "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
33908                           "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
33909                           "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
33910                           "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
33911                           "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
33912                           "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
33913                           "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
33914                           "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
33915                           "\x58\xec\x70\x4f\x40\x25\x2b\xba"
33916                           "\x96\x59\xac\x34\x45\x29\xc6\x57"
33917                           "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
33918                           "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
33919                           "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
33920                           "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
33921                           "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
33922                           "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
33923                           "\xea\xa5\x56\x02\x5b\x93\x13\x46"
33924                           "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
33925                           "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
33926                           "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
33927                           "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
33928                           "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
33929                           "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
33930                           "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
33931                           "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
33932                           "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
33933                           "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
33934                           "\xad\x57\xae\x98\x83\xd5\x92\x4e"
33935                           "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
33936                           "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
33937                           "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
33938                           "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
33939                           "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
33940                           "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
33941                           "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
33942                           "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
33943                           "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
33944                           "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
33945                           "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
33946                           "\x32\x06\x3f\x12\x23\x19\x22\x82"
33947                           "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
33948                           "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
33949                           "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
33950                           "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
33951                           "\x35\x79\x84\x78\x06\x68\x97\x30"
33952                           "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
33953                           "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
33954                           "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
33955                           "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
33956                           "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
33957                           "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
33958                           "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
33959                           "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
33960                           "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
33961                           "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
33962                           "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
33963                           "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
33964                           "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
33965                           "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
33966                           "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
33967                           "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
33968                           "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
33969                           "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
33970                           "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
33971                           "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
33972                           "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
33973                           "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
33974                           "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
33975                           "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
33976                           "\x13\xa7\x47\x89\x62\xa3\x03\x19"
33977                           "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
33978                           "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
33979                           "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
33980                           "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
33981                           "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
33982                           "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
33983                           "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
33984                           "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
33985                           "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
33986                           "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
33987                           "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
33988                           "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
33989                           "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
33990                           "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
33991                           "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
33992                           "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
33993                           "\x20\xa9\x37\x78\x32\x03\x60\xcc"
33994                           "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
33995                           "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
33996                           "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
33997                           "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
33998                           "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
33999                           "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
34000                           "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
34001                           "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
34002                           "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
34003                           "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
34004                           "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
34005                           "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
34006                           "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
34007                           "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
34008                           "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
34009                           "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
34010                           "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
34011                           "\x12\xab\x95\x66\xec\x09\x64\xea"
34012                           "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
34013                           "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
34014                           "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
34015                           "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
34016                           "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
34017                           "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
34018                           "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
34019                           "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
34020                           "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
34021                           "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
34022                           "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
34023                           "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
34024                           "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
34025                           "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
34026                           "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
34027                           "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
34028                           "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
34029                           "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
34030                 .ctext  = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
34031                           "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
34032                           "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
34033                           "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
34034                           "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
34035                           "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
34036                           "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
34037                           "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
34038                           "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
34039                           "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
34040                           "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
34041                           "\x86\xac\x06\x97\x70\x42\xec\x3a"
34042                           "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
34043                           "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
34044                           "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
34045                           "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
34046                           "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
34047                           "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
34048                           "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
34049                           "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
34050                           "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
34051                           "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
34052                           "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
34053                           "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
34054                           "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
34055                           "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
34056                           "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
34057                           "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
34058                           "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
34059                           "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
34060                           "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
34061                           "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
34062                           "\x78\x1e\x29\xef\x12\x54\x16\x28"
34063                           "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
34064                           "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
34065                           "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
34066                           "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
34067                           "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
34068                           "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
34069                           "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
34070                           "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
34071                           "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
34072                           "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
34073                           "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
34074                           "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
34075                           "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
34076                           "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
34077                           "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
34078                           "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
34079                           "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
34080                           "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
34081                           "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
34082                           "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
34083                           "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
34084                           "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
34085                           "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
34086                           "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
34087                           "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
34088                           "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
34089                           "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
34090                           "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
34091                           "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
34092                           "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
34093                           "\x38\x90\x06\x18\x84\xf2\xfa\x81"
34094                           "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
34095                           "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
34096                           "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
34097                           "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
34098                           "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
34099                           "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
34100                           "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
34101                           "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
34102                           "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
34103                           "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
34104                           "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
34105                           "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
34106                           "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
34107                           "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
34108                           "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
34109                           "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
34110                           "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
34111                           "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
34112                           "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
34113                           "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
34114                           "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
34115                           "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
34116                           "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
34117                           "\x65\x1a\x03\x48\x12\x66\x50\x3e"
34118                           "\x0e\x5d\x60\x29\x44\x69\x90\xee"
34119                           "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
34120                           "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
34121                           "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
34122                           "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
34123                           "\xb0\xab\x73\x61\x40\x39\xac\x11"
34124                           "\x55\x27\x51\x5f\x11\xef\xb1\x23"
34125                           "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
34126                           "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
34127                           "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
34128                           "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
34129                           "\x83\x40\x0c\x98\x67\xba\x7c\x93"
34130                           "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
34131                           "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
34132                           "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
34133                           "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
34134                           "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
34135                           "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
34136                           "\xdd\x37\x35\x78\x09\x28\x29\x4a"
34137                           "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
34138                           "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
34139                           "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
34140                           "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
34141                           "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
34142                           "\x64\x09\xf3\xee\x05\x42\x34\x93"
34143                           "\x38\xa8\x60\xea\x1d\x95\x90\x65"
34144                           "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
34145                           "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
34146                           "\x45\x73\xce\x54\x4e\xb1\x75\x26"
34147                           "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
34148                           "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
34149                           "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
34150                           "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
34151                           "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
34152                           "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
34153                           "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
34154                           "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
34155                           "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
34156                           "\x99\x40\x90\xd5\x7d\x73\x56\xef"
34157                           "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
34158                           "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
34159                           "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
34160                           "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
34161                           "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
34162                           "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
34163                           "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
34164                           "\x4e\x50\x97\xd4\x94\x58\x67\x57"
34165                           "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
34166                           "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
34167                           "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
34168                           "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
34169                           "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
34170                           "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
34171                           "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
34172                           "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
34173                           "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
34174                           "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
34175                           "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
34176                           "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
34177                           "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
34178                           "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
34179                           "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
34180                           "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
34181                           "\x5b\x94\x12\x33\x78\x85\x90\x84"
34182                           "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
34183                           "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
34184                           "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
34185                           "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
34186                           "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
34187                           "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
34188                           "\x55\x76\x09\xf5\x8a\x09\x91\x93"
34189                           "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
34190                           "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
34191                           "\x1e\x90\x74\x6d\x93\x52\x61\x81"
34192                           "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
34193                           "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
34194                           "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
34195                           "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
34196                           "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
34197                           "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
34198                           "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
34199                           "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
34200                           "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
34201                           "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
34202                           "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
34203                           "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
34204                           "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
34205                           "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
34206                           "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
34207                           "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
34208                           "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
34209                           "\x5f\x93\x83\x39\xda\xb4\x22\x17"
34210                           "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
34211                           "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
34212                           "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
34213                           "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
34214                           "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
34215                           "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
34216                           "\x97\x60\x54\xa3\x52\x31\x78\x57"
34217                           "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
34218                           "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
34219                           "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
34220                           "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
34221                           "\x92\x90\xde\x01\x97\x81\x46\x87"
34222                           "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
34223                           "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
34224                           "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
34225                           "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
34226                           "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
34227                           "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
34228                           "\x67\xe6\x32\xee\xad\xbf\x60\x07"
34229                           "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
34230                           "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
34231                           "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
34232                           "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
34233                           "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
34234                           "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
34235                           "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
34236                           "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
34237                           "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
34238                           "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
34239                           "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
34240                           "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
34241                           "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
34242                           "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
34243                           "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
34244                           "\xaf\x7e\x94\x57\x19\x07\x06\x74"
34245                           "\x57\x5b\x62\x61\x99\x20\xe7\x95"
34246                           "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
34247                           "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
34248                           "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
34249                           "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
34250                           "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
34251                           "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
34252                           "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
34253                           "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
34254                           "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
34255                           "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
34256                           "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
34257                           "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
34258                           "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
34259                           "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
34260                           "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
34261                           "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
34262                           "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
34263                           "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
34264                           "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
34265                           "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
34266                           "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
34267                           "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
34268                           "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
34269                           "\x49\x00\x00\x31\x0f\xa8\x24\x67"
34270                           "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
34271                           "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
34272                           "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
34273                           "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
34274                           "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
34275                           "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
34276                           "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
34277                           "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
34278                           "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
34279                           "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
34280                           "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
34281                           "\x23\x79\x99\x5f\x34\xad\x9f\x41"
34282                           "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
34283                           "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
34284                           "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
34285                           "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
34286                           "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
34287                           "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
34288                           "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
34289                           "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
34290                           "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
34291                           "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
34292                           "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
34293                           "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
34294                           "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
34295                           "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
34296                           "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
34297                           "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
34298                           "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
34299                           "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
34300                           "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
34301                           "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
34302                           "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
34303                           "\x91\x41\x48\xaa\x65\xdb\x34\x72"
34304                           "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
34305                           "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
34306                           "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
34307                           "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
34308                           "\x89\x8b\x27\x70\xae\xa1\x90\x28"
34309                           "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
34310                           "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
34311                           "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
34312                           "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
34313                           "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
34314                           "\xec\x10\x74\xc5\xb6\x53\x09\x93"
34315                           "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
34316                           "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
34317                           "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
34318                           "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
34319                           "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
34320                           "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
34321                           "\x27\x17\x78\x03\xd4\xda\xe4\x73"
34322                           "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
34323                           "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
34324                           "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
34325                           "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
34326                           "\x06\x03\xe0\x76\xff\x19\x1a\x16"
34327                           "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
34328                           "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
34329                           "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
34330                           "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
34331                           "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
34332                           "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
34333                           "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
34334                           "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
34335                           "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
34336                           "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
34337                           "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
34338                           "\x82\x10\xd6\x29\x58\x83\x50\x3c"
34339                           "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
34340                           "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
34341                           "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
34342                           "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
34343                           "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
34344                           "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
34345                           "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
34346                           "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
34347                           "\x66\x34\xb3\x9f\x52\x37\x98\x10"
34348                           "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
34349                           "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
34350                           "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
34351                           "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
34352                           "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
34353                           "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
34354                           "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
34355                           "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
34356                           "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
34357                           "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
34358                           "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
34359                           "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
34360                           "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
34361                           "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
34362                           "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
34363                           "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
34364                           "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
34365                           "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
34366                           "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
34367                           "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
34368                           "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
34369                           "\xa7\xff\x10\x19\x5e\xef\x46\x54"
34370                           "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
34371                           "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
34372                           "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
34373                           "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
34374                           "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
34375                           "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
34376                           "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
34377                           "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
34378                           "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
34379                           "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
34380                           "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
34381                           "\xb1\x03\x06\x23\x65\x37\x33\x92"
34382                           "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
34383                           "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
34384                           "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
34385                           "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
34386                           "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
34387                           "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
34388                           "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
34389                           "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
34390                           "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
34391                           "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
34392                           "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
34393                           "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
34394                           "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
34395                           "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
34396                           "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
34397                           "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
34398                           "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
34399                           "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
34400                           "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
34401                           "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
34402                           "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
34403                           "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
34404                           "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
34405                           "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
34406                           "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
34407                           "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
34408                           "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
34409                           "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
34410                           "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
34411                           "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
34412                           "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
34413                           "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
34414                           "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
34415                           "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
34416                           "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
34417                           "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
34418                           "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
34419                           "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
34420                           "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
34421                           "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
34422                           "\xa5\x45\x75\x12\x01\x40\xff\x3e"
34423                           "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
34424                           "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
34425                           "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
34426                           "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
34427                           "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
34428                           "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
34429                           "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
34430                           "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
34431                           "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
34432                           "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
34433                           "\x12\x26\x68\x12\x25\x0b\x08\x61"
34434                           "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
34435                           "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
34436                           "\x25\x06\xa2\x08\x69\x09\xd9\x09"
34437                           "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
34438                           "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
34439                           "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
34440                           "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
34441                           "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
34442                           "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
34443                           "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
34444                           "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
34445                           "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
34446                           "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
34447                           "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
34448                           "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
34449                           "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
34450                           "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
34451                           "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
34452                           "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
34453                           "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
34454                           "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
34455                           "\xc2\xde\x27\x58\x69\xf9\x07\xca"
34456                           "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
34457                           "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
34458                           "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
34459                           "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
34460                           "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
34461                           "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
34462                           "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
34463                           "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
34464                           "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
34465                           "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
34466                           "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
34467                           "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
34468                           "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
34469                           "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
34470                           "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
34471                           "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
34472                           "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
34473                           "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
34474                           "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
34475                           "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
34476                           "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
34477                           "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
34478                           "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
34479                           "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
34480                           "\xd9\x79\xde\x93\x37\x93\x92\x46"
34481                           "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
34482                           "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
34483                           "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
34484                           "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
34485                           "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
34486                           "\xc8\xae\x92\x29\xce\x71\xd0\xba"
34487                           "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
34488                           "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
34489                           "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
34490                           "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
34491                           "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
34492                           "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
34493                           "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
34494                           "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
34495                           "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
34496                           "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
34497                           "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
34498                           "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
34499                           "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
34500                           "\x93\x81\x38\x47\xc0\x83\x21\xa3"
34501                           "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
34502                           "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
34503                           "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
34504                           "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
34505                           "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
34506                           "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
34507                           "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
34508                           "\x01\xda\xfb\xc4\x85\x26\x85\x31"
34509                           "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
34510                           "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
34511                           "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
34512                           "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
34513                           "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
34514                           "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
34515                           "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
34516                           "\xd9\x27\x34\x53\x9c\x52\x00\x94"
34517                           "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
34518                           "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
34519                           "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
34520                           "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
34521                           "\x34\x97\x32\xd5\x11\x02\x06\x45"
34522                           "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
34523                           "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
34524                           "\x60\x50\x66\x79\xbb\x45\x21\xc4"
34525                           "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
34526                           "\x6b\x20\xef\xac\x16\x74\xe9\x23"
34527                           "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
34528                           "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
34529                           "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
34530                           "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
34531                           "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
34532                           "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
34533                           "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
34534                           "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
34535                           "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
34536                           "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
34537                           "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
34538                           "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
34539                           "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
34540                           "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
34541                           "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
34542                 .len    = 4096,
34543         }
34544 };
34545
34546 /*
34547  * CTS (Cipher Text Stealing) mode tests
34548  */
34549 static const struct cipher_testvec cts_mode_tv_template[] = {
34550         { /* from rfc3962 */
34551                 .klen   = 16,
34552                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34553                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34554                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34555                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34556                           "\x20",
34557                 .len    = 17,
34558                 .ctext  = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
34559                           "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
34560                           "\x97",
34561         }, {
34562                 .klen   = 16,
34563                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34564                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34565                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34566                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34567                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34568                           "\x20\x47\x61\x75\x27\x73\x20",
34569                 .len    = 31,
34570                 .ctext  = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
34571                           "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
34572                           "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34573                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
34574         }, {
34575                 .klen   = 16,
34576                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34577                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34578                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34579                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34580                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34581                           "\x20\x47\x61\x75\x27\x73\x20\x43",
34582                 .len    = 32,
34583                 .ctext  = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
34584                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
34585                           "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34586                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
34587         }, {
34588                 .klen   = 16,
34589                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34590                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34591                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34592                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34593                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34594                           "\x20\x47\x61\x75\x27\x73\x20\x43"
34595                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
34596                           "\x70\x6c\x65\x61\x73\x65\x2c",
34597                 .len    = 47,
34598                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34599                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
34600                           "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
34601                           "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
34602                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
34603                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
34604         }, {
34605                 .klen   = 16,
34606                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34607                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34608                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34609                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34610                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34611                           "\x20\x47\x61\x75\x27\x73\x20\x43"
34612                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
34613                           "\x70\x6c\x65\x61\x73\x65\x2c\x20",
34614                 .len    = 48,
34615                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34616                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
34617                           "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
34618                           "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
34619                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
34620                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
34621         }, {
34622                 .klen   = 16,
34623                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34624                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34625                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34626                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34627                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34628                           "\x20\x47\x61\x75\x27\x73\x20\x43"
34629                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
34630                           "\x70\x6c\x65\x61\x73\x65\x2c\x20"
34631                           "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
34632                           "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
34633                 .len    = 64,
34634                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34635                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
34636                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
34637                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
34638                           "\x48\x07\xef\xe8\x36\xee\x89\xa5"
34639                           "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
34640                           "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
34641                           "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
34642         }
34643 };
34644
34645 /*
34646  * Compression stuff.
34647  */
34648 #define COMP_BUF_SIZE           512
34649
34650 struct comp_testvec {
34651         int inlen, outlen;
34652         char input[COMP_BUF_SIZE];
34653         char output[COMP_BUF_SIZE];
34654 };
34655
34656 /*
34657  * Deflate test vectors (null-terminated strings).
34658  * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
34659  */
34660
34661 static const struct comp_testvec deflate_comp_tv_template[] = {
34662         {
34663                 .inlen  = 70,
34664                 .outlen = 38,
34665                 .input  = "Join us now and share the software "
34666                         "Join us now and share the software ",
34667                 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
34668                           "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
34669                           "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
34670                           "\x48\x55\x28\xce\x4f\x2b\x29\x07"
34671                           "\x71\xbc\x08\x2b\x01\x00",
34672         }, {
34673                 .inlen  = 191,
34674                 .outlen = 122,
34675                 .input  = "This document describes a compression method based on the DEFLATE"
34676                         "compression algorithm.  This document defines the application of "
34677                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
34678                 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
34679                           "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
34680                           "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
34681                           "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
34682                           "\x68\x12\x51\xae\x76\x67\xd6\x27"
34683                           "\x19\x88\x1a\xde\x85\xab\x21\xf2"
34684                           "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
34685                           "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
34686                           "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
34687                           "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
34688                           "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
34689                           "\x52\x37\xed\x0e\x52\x6b\x59\x02"
34690                           "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
34691                           "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
34692                           "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
34693                           "\xfa\x02",
34694         },
34695 };
34696
34697 static const struct comp_testvec deflate_decomp_tv_template[] = {
34698         {
34699                 .inlen  = 122,
34700                 .outlen = 191,
34701                 .input  = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
34702                           "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
34703                           "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
34704                           "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
34705                           "\x68\x12\x51\xae\x76\x67\xd6\x27"
34706                           "\x19\x88\x1a\xde\x85\xab\x21\xf2"
34707                           "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
34708                           "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
34709                           "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
34710                           "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
34711                           "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
34712                           "\x52\x37\xed\x0e\x52\x6b\x59\x02"
34713                           "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
34714                           "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
34715                           "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
34716                           "\xfa\x02",
34717                 .output = "This document describes a compression method based on the DEFLATE"
34718                         "compression algorithm.  This document defines the application of "
34719                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
34720         }, {
34721                 .inlen  = 38,
34722                 .outlen = 70,
34723                 .input  = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
34724                           "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
34725                           "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
34726                           "\x48\x55\x28\xce\x4f\x2b\x29\x07"
34727                           "\x71\xbc\x08\x2b\x01\x00",
34728                 .output = "Join us now and share the software "
34729                         "Join us now and share the software ",
34730         },
34731 };
34732
34733 static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
34734         {
34735                 .inlen  = 70,
34736                 .outlen = 44,
34737                 .input  = "Join us now and share the software "
34738                         "Join us now and share the software ",
34739                 .output = "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
34740                           "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
34741                           "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
34742                           "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
34743                           "\x29\x07\x71\xbc\x08\x2b\x01\x00"
34744                           "\x7c\x65\x19\x3d",
34745         }, {
34746                 .inlen  = 191,
34747                 .outlen = 129,
34748                 .input  = "This document describes a compression method based on the DEFLATE"
34749                         "compression algorithm.  This document defines the application of "
34750                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
34751                 .output = "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
34752                           "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
34753                           "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
34754                           "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
34755                           "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
34756                           "\xee\x20\x9f\x64\x20\x6a\x78\x17"
34757                           "\xae\x86\xc8\x23\x74\x59\x78\x80"
34758                           "\x10\xb4\xb4\xce\x63\x88\x56\x14"
34759                           "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
34760                           "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
34761                           "\xae\x51\x7e\x69\x17\x4b\x65\x02"
34762                           "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
34763                           "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
34764                           "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
34765                           "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
34766                           "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
34767                           "\x4e",
34768         },
34769 };
34770
34771 static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
34772         {
34773                 .inlen  = 128,
34774                 .outlen = 191,
34775                 .input  = "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
34776                           "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
34777                           "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
34778                           "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
34779                           "\xef\x49\x68\x12\x51\xae\x76\x67"
34780                           "\xd6\x27\x19\x88\x1a\xde\x85\xab"
34781                           "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
34782                           "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
34783                           "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
34784                           "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
34785                           "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
34786                           "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
34787                           "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
34788                           "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
34789                           "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
34790                           "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
34791                 .output = "This document describes a compression method based on the DEFLATE"
34792                         "compression algorithm.  This document defines the application of "
34793                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
34794         }, {
34795                 .inlen  = 44,
34796                 .outlen = 70,
34797                 .input  = "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
34798                           "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
34799                           "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
34800                           "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
34801                           "\x29\x07\x71\xbc\x08\x2b\x01\x00"
34802                           "\x7c\x65\x19\x3d",
34803                 .output = "Join us now and share the software "
34804                         "Join us now and share the software ",
34805         },
34806 };
34807
34808 /*
34809  * LZO test vectors (null-terminated strings).
34810  */
34811 static const struct comp_testvec lzo_comp_tv_template[] = {
34812         {
34813                 .inlen  = 70,
34814                 .outlen = 57,
34815                 .input  = "Join us now and share the software "
34816                         "Join us now and share the software ",
34817                 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
34818                           "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34819                           "\x64\x20\x73\x68\x61\x72\x65\x20"
34820                           "\x74\x68\x65\x20\x73\x6f\x66\x74"
34821                           "\x77\x70\x01\x32\x88\x00\x0c\x65"
34822                           "\x20\x74\x68\x65\x20\x73\x6f\x66"
34823                           "\x74\x77\x61\x72\x65\x20\x11\x00"
34824                           "\x00",
34825         }, {
34826                 .inlen  = 159,
34827                 .outlen = 131,
34828                 .input  = "This document describes a compression method based on the LZO "
34829                         "compression algorithm.  This document defines the application of "
34830                         "the LZO algorithm used in UBIFS.",
34831                 .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
34832                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
34833                           "\x64\x65\x73\x63\x72\x69\x62\x65"
34834                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
34835                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
34836                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
34837                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
34838                           "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
34839                           "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
34840                           "\x72\x69\x74\x68\x6d\x2e\x20\x20"
34841                           "\x2e\x54\x01\x03\x66\x69\x6e\x65"
34842                           "\x73\x20\x74\x06\x05\x61\x70\x70"
34843                           "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
34844                           "\x66\x88\x02\x60\x09\x27\xf0\x00"
34845                           "\x0c\x20\x75\x73\x65\x64\x20\x69"
34846                           "\x6e\x20\x55\x42\x49\x46\x53\x2e"
34847                           "\x11\x00\x00",
34848         },
34849 };
34850
34851 static const struct comp_testvec lzo_decomp_tv_template[] = {
34852         {
34853                 .inlen  = 133,
34854                 .outlen = 159,
34855                 .input  = "\x00\x2b\x54\x68\x69\x73\x20\x64"
34856                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
34857                           "\x64\x65\x73\x63\x72\x69\x62\x65"
34858                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
34859                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
34860                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
34861                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
34862                           "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
34863                           "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
34864                           "\x69\x74\x68\x6d\x2e\x20\x20\x54"
34865                           "\x68\x69\x73\x2a\x54\x01\x02\x66"
34866                           "\x69\x6e\x65\x73\x94\x06\x05\x61"
34867                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
34868                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
34869                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
34870                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
34871                           "\x53\x2e\x11\x00\x00",
34872                 .output = "This document describes a compression method based on the LZO "
34873                         "compression algorithm.  This document defines the application of "
34874                         "the LZO algorithm used in UBIFS.",
34875         }, {
34876                 .inlen  = 46,
34877                 .outlen = 70,
34878                 .input  = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
34879                           "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34880                           "\x64\x20\x73\x68\x61\x72\x65\x20"
34881                           "\x74\x68\x65\x20\x73\x6f\x66\x74"
34882                           "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
34883                           "\x3d\x88\x00\x11\x00\x00",
34884                 .output = "Join us now and share the software "
34885                         "Join us now and share the software ",
34886         },
34887 };
34888
34889 static const struct comp_testvec lzorle_comp_tv_template[] = {
34890         {
34891                 .inlen  = 70,
34892                 .outlen = 59,
34893                 .input  = "Join us now and share the software "
34894                         "Join us now and share the software ",
34895                 .output = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
34896                           "\x20\x75\x73\x20\x6e\x6f\x77\x20"
34897                           "\x61\x6e\x64\x20\x73\x68\x61\x72"
34898                           "\x65\x20\x74\x68\x65\x20\x73\x6f"
34899                           "\x66\x74\x77\x70\x01\x32\x88\x00"
34900                           "\x0c\x65\x20\x74\x68\x65\x20\x73"
34901                           "\x6f\x66\x74\x77\x61\x72\x65\x20"
34902                           "\x11\x00\x00",
34903         }, {
34904                 .inlen  = 159,
34905                 .outlen = 133,
34906                 .input  = "This document describes a compression method based on the LZO "
34907                         "compression algorithm.  This document defines the application of "
34908                         "the LZO algorithm used in UBIFS.",
34909                 .output = "\x11\x01\x00\x2c\x54\x68\x69\x73"
34910                           "\x20\x64\x6f\x63\x75\x6d\x65\x6e"
34911                           "\x74\x20\x64\x65\x73\x63\x72\x69"
34912                           "\x62\x65\x73\x20\x61\x20\x63\x6f"
34913                           "\x6d\x70\x72\x65\x73\x73\x69\x6f"
34914                           "\x6e\x20\x6d\x65\x74\x68\x6f\x64"
34915                           "\x20\x62\x61\x73\x65\x64\x20\x6f"
34916                           "\x6e\x20\x74\x68\x65\x20\x4c\x5a"
34917                           "\x4f\x20\x2a\x8c\x00\x09\x61\x6c"
34918                           "\x67\x6f\x72\x69\x74\x68\x6d\x2e"
34919                           "\x20\x20\x2e\x54\x01\x03\x66\x69"
34920                           "\x6e\x65\x73\x20\x74\x06\x05\x61"
34921                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
34922                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
34923                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
34924                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
34925                           "\x53\x2e\x11\x00\x00",
34926         },
34927 };
34928
34929 static const struct comp_testvec lzorle_decomp_tv_template[] = {
34930         {
34931                 .inlen  = 133,
34932                 .outlen = 159,
34933                 .input  = "\x00\x2b\x54\x68\x69\x73\x20\x64"
34934                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
34935                           "\x64\x65\x73\x63\x72\x69\x62\x65"
34936                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
34937                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
34938                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
34939                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
34940                           "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
34941                           "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
34942                           "\x69\x74\x68\x6d\x2e\x20\x20\x54"
34943                           "\x68\x69\x73\x2a\x54\x01\x02\x66"
34944                           "\x69\x6e\x65\x73\x94\x06\x05\x61"
34945                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
34946                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
34947                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
34948                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
34949                           "\x53\x2e\x11\x00\x00",
34950                 .output = "This document describes a compression method based on the LZO "
34951                         "compression algorithm.  This document defines the application of "
34952                         "the LZO algorithm used in UBIFS.",
34953         }, {
34954                 .inlen  = 59,
34955                 .outlen = 70,
34956                 .input  = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
34957                           "\x20\x75\x73\x20\x6e\x6f\x77\x20"
34958                           "\x61\x6e\x64\x20\x73\x68\x61\x72"
34959                           "\x65\x20\x74\x68\x65\x20\x73\x6f"
34960                           "\x66\x74\x77\x70\x01\x32\x88\x00"
34961                           "\x0c\x65\x20\x74\x68\x65\x20\x73"
34962                           "\x6f\x66\x74\x77\x61\x72\x65\x20"
34963                           "\x11\x00\x00",
34964                 .output = "Join us now and share the software "
34965                         "Join us now and share the software ",
34966         },
34967 };
34968
34969 /*
34970  * Michael MIC test vectors from IEEE 802.11i
34971  */
34972 #define MICHAEL_MIC_TEST_VECTORS 6
34973
34974 static const struct hash_testvec michael_mic_tv_template[] = {
34975         {
34976                 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
34977                 .ksize = 8,
34978                 .plaintext = zeroed_string,
34979                 .psize = 0,
34980                 .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
34981         },
34982         {
34983                 .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
34984                 .ksize = 8,
34985                 .plaintext = "M",
34986                 .psize = 1,
34987                 .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
34988         },
34989         {
34990                 .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
34991                 .ksize = 8,
34992                 .plaintext = "Mi",
34993                 .psize = 2,
34994                 .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
34995         },
34996         {
34997                 .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
34998                 .ksize = 8,
34999                 .plaintext = "Mic",
35000                 .psize = 3,
35001                 .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
35002         },
35003         {
35004                 .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
35005                 .ksize = 8,
35006                 .plaintext = "Mich",
35007                 .psize = 4,
35008                 .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
35009         },
35010         {
35011                 .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
35012                 .ksize = 8,
35013                 .plaintext = "Michael",
35014                 .psize = 7,
35015                 .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
35016         }
35017 };
35018
35019 /*
35020  * CRC32 test vectors
35021  */
35022 static const struct hash_testvec crc32_tv_template[] = {
35023         {
35024                 .psize = 0,
35025                 .digest = "\x00\x00\x00\x00",
35026         },
35027         {
35028                 .plaintext = "abcdefg",
35029                 .psize = 7,
35030                 .digest = "\xd8\xb5\x46\xac",
35031         },
35032         {
35033                 .key = "\x87\xa9\xcb\xed",
35034                 .ksize = 4,
35035                 .psize = 0,
35036                 .digest = "\x87\xa9\xcb\xed",
35037         },
35038         {
35039                 .key = "\xff\xff\xff\xff",
35040                 .ksize = 4,
35041                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35042                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35043                              "\x11\x12\x13\x14\x15\x16\x17\x18"
35044                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35045                              "\x21\x22\x23\x24\x25\x26\x27\x28",
35046                 .psize = 40,
35047                 .digest = "\x3a\xdf\x4b\xb0",
35048         },
35049         {
35050                 .key = "\xff\xff\xff\xff",
35051                 .ksize = 4,
35052                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35053                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35054                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35055                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35056                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
35057                 .psize = 40,
35058                 .digest = "\xa9\x7a\x7f\x7b",
35059         },
35060         {
35061                 .key = "\xff\xff\xff\xff",
35062                 .ksize = 4,
35063                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
35064                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35065                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35066                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35067                              "\x71\x72\x73\x74\x75\x76\x77\x78",
35068                 .psize = 40,
35069                 .digest = "\xba\xd3\xf8\x1c",
35070         },
35071         {
35072                 .key = "\xff\xff\xff\xff",
35073                 .ksize = 4,
35074                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35075                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35076                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35077                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35078                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
35079                 .psize = 40,
35080                 .digest = "\xa8\xa9\xc2\x02",
35081         },
35082         {
35083                 .key = "\xff\xff\xff\xff",
35084                 .ksize = 4,
35085                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35086                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35087                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35088                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35089                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
35090                 .psize = 40,
35091                 .digest = "\x27\xf0\x57\xe2",
35092         },
35093         {
35094                 .key = "\xff\xff\xff\xff",
35095                 .ksize = 4,
35096                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35097                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35098                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35099                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35100                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35101                 .psize = 40,
35102                 .digest = "\x49\x78\x10\x08",
35103         },
35104         {
35105                 .key = "\x80\xea\xd3\xf1",
35106                 .ksize = 4,
35107                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35108                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35109                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35110                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35111                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
35112                 .psize = 40,
35113                 .digest = "\x9a\xb1\xdc\xf0",
35114         },
35115         {
35116                 .key = "\xf3\x4a\x1d\x5d",
35117                 .ksize = 4,
35118                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
35119                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35120                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35121                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35122                              "\x71\x72\x73\x74\x75\x76\x77\x78",
35123                 .psize = 40,
35124                 .digest = "\xb4\x97\xcc\xd4",
35125         },
35126         {
35127                 .key = "\x2e\x80\x04\x59",
35128                 .ksize = 4,
35129                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35130                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35131                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35132                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35133                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
35134                 .psize = 40,
35135                 .digest = "\x67\x9b\xfa\x79",
35136         },
35137         {
35138                 .key = "\xa6\xcc\x19\x85",
35139                 .ksize = 4,
35140                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35141                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35142                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35143                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35144                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
35145                 .psize = 40,
35146                 .digest = "\x24\xb5\x16\xef",
35147         },
35148         {
35149                 .key = "\x41\xfc\xfe\x2d",
35150                 .ksize = 4,
35151                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35152                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35153                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35154                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35155                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35156                 .psize = 40,
35157                 .digest = "\x15\x94\x80\x39",
35158         },
35159         {
35160                 .key = "\xff\xff\xff\xff",
35161                 .ksize = 4,
35162                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35163                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35164                              "\x11\x12\x13\x14\x15\x16\x17\x18"
35165                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35166                              "\x21\x22\x23\x24\x25\x26\x27\x28"
35167                              "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35168                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35169                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35170                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35171                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
35172                              "\x51\x52\x53\x54\x55\x56\x57\x58"
35173                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35174                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35175                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35176                              "\x71\x72\x73\x74\x75\x76\x77\x78"
35177                              "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35178                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35179                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35180                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35181                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
35182                              "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35183                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35184                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35185                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35186                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
35187                              "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35188                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35189                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35190                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35191                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35192                 .psize = 240,
35193                 .digest = "\x6c\xc6\x56\xde",
35194         }, {
35195                 .key = "\xff\xff\xff\xff",
35196                 .ksize = 4,
35197                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
35198                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
35199                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
35200                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
35201                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
35202                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
35203                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
35204                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
35205                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
35206                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
35207                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
35208                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
35209                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
35210                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
35211                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
35212                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
35213                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
35214                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
35215                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
35216                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
35217                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
35218                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
35219                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
35220                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
35221                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
35222                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
35223                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
35224                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
35225                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
35226                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
35227                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
35228                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
35229                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
35230                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
35231                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
35232                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
35233                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
35234                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
35235                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
35236                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
35237                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
35238                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
35239                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
35240                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
35241                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
35242                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
35243                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
35244                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
35245                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
35246                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
35247                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
35248                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
35249                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
35250                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
35251                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
35252                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
35253                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
35254                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
35255                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
35256                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
35257                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
35258                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
35259                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
35260                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
35261                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
35262                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
35263                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
35264                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
35265                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
35266                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
35267                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
35268                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
35269                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
35270                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
35271                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
35272                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
35273                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
35274                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
35275                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
35276                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
35277                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
35278                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
35279                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
35280                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
35281                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
35282                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
35283                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
35284                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
35285                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
35286                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
35287                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
35288                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
35289                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
35290                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
35291                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
35292                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
35293                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
35294                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
35295                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
35296                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
35297                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
35298                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
35299                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
35300                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
35301                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
35302                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
35303                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
35304                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
35305                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
35306                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
35307                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
35308                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
35309                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
35310                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
35311                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
35312                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
35313                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
35314                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
35315                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
35316                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
35317                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
35318                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
35319                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
35320                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
35321                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
35322                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
35323                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
35324                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
35325                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
35326                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
35327                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
35328                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
35329                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
35330                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
35331                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
35332                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
35333                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
35334                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
35335                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
35336                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
35337                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
35338                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
35339                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
35340                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
35341                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
35342                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
35343                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
35344                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
35345                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
35346                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
35347                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
35348                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
35349                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
35350                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
35351                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
35352                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
35353                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
35354                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
35355                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
35356                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
35357                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
35358                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
35359                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
35360                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
35361                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
35362                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
35363                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
35364                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
35365                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
35366                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
35367                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
35368                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
35369                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
35370                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
35371                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
35372                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
35373                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
35374                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
35375                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
35376                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
35377                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
35378                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
35379                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
35380                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
35381                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
35382                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
35383                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
35384                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
35385                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
35386                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
35387                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
35388                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
35389                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
35390                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
35391                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
35392                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
35393                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
35394                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
35395                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
35396                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
35397                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
35398                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
35399                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
35400                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
35401                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
35402                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
35403                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
35404                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
35405                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
35406                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
35407                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
35408                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
35409                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
35410                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
35411                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
35412                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
35413                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
35414                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
35415                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
35416                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
35417                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
35418                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
35419                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
35420                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
35421                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
35422                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
35423                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
35424                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
35425                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
35426                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
35427                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
35428                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
35429                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
35430                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
35431                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
35432                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
35433                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
35434                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
35435                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
35436                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
35437                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
35438                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
35439                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
35440                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
35441                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
35442                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
35443                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
35444                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
35445                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
35446                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
35447                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
35448                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
35449                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
35450                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
35451                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
35452                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
35453                 .psize = 2048,
35454                 .digest = "\xfb\x3a\x7a\xda",
35455         }
35456 };
35457
35458 /*
35459  * CRC32C test vectors
35460  */
35461 static const struct hash_testvec crc32c_tv_template[] = {
35462         {
35463                 .psize = 0,
35464                 .digest = "\x00\x00\x00\x00",
35465         },
35466         {
35467                 .plaintext = "abcdefg",
35468                 .psize = 7,
35469                 .digest = "\x41\xf4\x27\xe6",
35470         },
35471         {
35472                 .key = "\x87\xa9\xcb\xed",
35473                 .ksize = 4,
35474                 .psize = 0,
35475                 .digest = "\x78\x56\x34\x12",
35476         },
35477         {
35478                 .key = "\xff\xff\xff\xff",
35479                 .ksize = 4,
35480                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35481                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35482                              "\x11\x12\x13\x14\x15\x16\x17\x18"
35483                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35484                              "\x21\x22\x23\x24\x25\x26\x27\x28",
35485                 .psize = 40,
35486                 .digest = "\x7f\x15\x2c\x0e",
35487         },
35488         {
35489                 .key = "\xff\xff\xff\xff",
35490                 .ksize = 4,
35491                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35492                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35493                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35494                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35495                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
35496                 .psize = 40,
35497                 .digest = "\xf6\xeb\x80\xe9",
35498         },
35499         {
35500                 .key = "\xff\xff\xff\xff",
35501                 .ksize = 4,
35502                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
35503                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35504                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35505                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35506                              "\x71\x72\x73\x74\x75\x76\x77\x78",
35507                 .psize = 40,
35508                 .digest = "\xed\xbd\x74\xde",
35509         },
35510         {
35511                 .key = "\xff\xff\xff\xff",
35512                 .ksize = 4,
35513                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35514                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35515                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35516                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35517                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
35518                 .psize = 40,
35519                 .digest = "\x62\xc8\x79\xd5",
35520         },
35521         {
35522                 .key = "\xff\xff\xff\xff",
35523                 .ksize = 4,
35524                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35525                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35526                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35527                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35528                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
35529                 .psize = 40,
35530                 .digest = "\xd0\x9a\x97\xba",
35531         },
35532         {
35533                 .key = "\xff\xff\xff\xff",
35534                 .ksize = 4,
35535                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35536                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35537                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35538                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35539                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35540                 .psize = 40,
35541                 .digest = "\x13\xd9\x29\x2b",
35542         },
35543         {
35544                 .key = "\x80\xea\xd3\xf1",
35545                 .ksize = 4,
35546                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35547                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35548                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35549                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35550                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
35551                 .psize = 40,
35552                 .digest = "\x0c\xb5\xe2\xa2",
35553         },
35554         {
35555                 .key = "\xf3\x4a\x1d\x5d",
35556                 .ksize = 4,
35557                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
35558                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35559                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35560                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35561                              "\x71\x72\x73\x74\x75\x76\x77\x78",
35562                 .psize = 40,
35563                 .digest = "\xd1\x7f\xfb\xa6",
35564         },
35565         {
35566                 .key = "\x2e\x80\x04\x59",
35567                 .ksize = 4,
35568                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35569                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35570                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35571                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35572                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
35573                 .psize = 40,
35574                 .digest = "\x59\x33\xe6\x7a",
35575         },
35576         {
35577                 .key = "\xa6\xcc\x19\x85",
35578                 .ksize = 4,
35579                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35580                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35581                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35582                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35583                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
35584                 .psize = 40,
35585                 .digest = "\xbe\x03\x01\xd2",
35586         },
35587         {
35588                 .key = "\x41\xfc\xfe\x2d",
35589                 .ksize = 4,
35590                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35591                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35592                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35593                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35594                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35595                 .psize = 40,
35596                 .digest = "\x75\xd3\xc5\x24",
35597         },
35598         {
35599                 .key = "\xff\xff\xff\xff",
35600                 .ksize = 4,
35601                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35602                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35603                              "\x11\x12\x13\x14\x15\x16\x17\x18"
35604                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35605                              "\x21\x22\x23\x24\x25\x26\x27\x28"
35606                              "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35607                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35608                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35609                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35610                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
35611                              "\x51\x52\x53\x54\x55\x56\x57\x58"
35612                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35613                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35614                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35615                              "\x71\x72\x73\x74\x75\x76\x77\x78"
35616                              "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35617                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35618                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35619                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35620                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
35621                              "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35622                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35623                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35624                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35625                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
35626                              "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35627                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35628                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35629                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35630                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35631                 .psize = 240,
35632                 .digest = "\x75\xd3\xc5\x24",
35633         }, {
35634                 .key = "\xff\xff\xff\xff",
35635                 .ksize = 4,
35636                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
35637                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
35638                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
35639                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
35640                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
35641                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
35642                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
35643                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
35644                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
35645                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
35646                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
35647                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
35648                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
35649                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
35650                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
35651                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
35652                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
35653                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
35654                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
35655                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
35656                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
35657                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
35658                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
35659                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
35660                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
35661                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
35662                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
35663                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
35664                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
35665                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
35666                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
35667                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
35668                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
35669                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
35670                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
35671                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
35672                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
35673                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
35674                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
35675                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
35676                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
35677                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
35678                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
35679                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
35680                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
35681                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
35682                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
35683                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
35684                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
35685                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
35686                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
35687                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
35688                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
35689                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
35690                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
35691                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
35692                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
35693                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
35694                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
35695                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
35696                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
35697                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
35698                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
35699                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
35700                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
35701                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
35702                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
35703                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
35704                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
35705                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
35706                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
35707                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
35708                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
35709                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
35710                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
35711                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
35712                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
35713                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
35714                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
35715                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
35716                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
35717                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
35718                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
35719                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
35720                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
35721                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
35722                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
35723                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
35724                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
35725                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
35726                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
35727                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
35728                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
35729                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
35730                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
35731                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
35732                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
35733                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
35734                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
35735                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
35736                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
35737                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
35738                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
35739                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
35740                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
35741                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
35742                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
35743                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
35744                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
35745                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
35746                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
35747                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
35748                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
35749                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
35750                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
35751                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
35752                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
35753                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
35754                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
35755                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
35756                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
35757                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
35758                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
35759                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
35760                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
35761                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
35762                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
35763                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
35764                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
35765                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
35766                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
35767                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
35768                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
35769                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
35770                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
35771                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
35772                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
35773                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
35774                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
35775                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
35776                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
35777                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
35778                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
35779                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
35780                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
35781                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
35782                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
35783                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
35784                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
35785                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
35786                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
35787                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
35788                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
35789                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
35790                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
35791                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
35792                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
35793                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
35794                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
35795                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
35796                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
35797                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
35798                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
35799                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
35800                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
35801                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
35802                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
35803                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
35804                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
35805                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
35806                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
35807                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
35808                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
35809                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
35810                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
35811                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
35812                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
35813                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
35814                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
35815                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
35816                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
35817                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
35818                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
35819                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
35820                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
35821                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
35822                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
35823                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
35824                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
35825                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
35826                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
35827                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
35828                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
35829                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
35830                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
35831                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
35832                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
35833                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
35834                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
35835                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
35836                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
35837                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
35838                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
35839                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
35840                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
35841                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
35842                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
35843                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
35844                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
35845                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
35846                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
35847                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
35848                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
35849                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
35850                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
35851                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
35852                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
35853                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
35854                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
35855                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
35856                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
35857                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
35858                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
35859                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
35860                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
35861                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
35862                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
35863                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
35864                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
35865                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
35866                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
35867                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
35868                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
35869                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
35870                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
35871                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
35872                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
35873                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
35874                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
35875                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
35876                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
35877                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
35878                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
35879                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
35880                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
35881                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
35882                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
35883                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
35884                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
35885                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
35886                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
35887                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
35888                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
35889                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
35890                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
35891                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
35892                 .psize = 2048,
35893                 .digest = "\xec\x26\x4d\x95",
35894         }
35895 };
35896
35897 static const struct hash_testvec xxhash64_tv_template[] = {
35898         {
35899                 .psize = 0,
35900                 .digest = "\x99\xe9\xd8\x51\x37\xdb\x46\xef",
35901         },
35902         {
35903                 .plaintext = "\x40",
35904                 .psize = 1,
35905                 .digest = "\x20\x5c\x91\xaa\x88\xeb\x59\xd0",
35906         },
35907         {
35908                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
35909                              "\x88\xc7\x9a\x09\x1a\x9b",
35910                 .psize = 14,
35911                 .digest = "\xa8\xe8\x2b\xa9\x92\xa1\x37\x4a",
35912         },
35913         {
35914                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
35915                              "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
35916                              "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
35917                              "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
35918                              "\x31\x65\x05\xbb\x31\xae\x51\x11"
35919                              "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
35920                              "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
35921                              "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
35922                              "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
35923                              "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
35924                              "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
35925                              "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
35926                              "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
35927                              "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
35928                              "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
35929                              "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
35930                              "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
35931                              "\x43\x99\x4d\x81\x85\xae\x82\x00"
35932                              "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
35933                              "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
35934                              "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
35935                              "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
35936                              "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
35937                              "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
35938                              "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
35939                              "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
35940                              "\x12\x02\x0c\xdb\x94\x00\x38\x95"
35941                              "\xed\xfd\x08\xf7\xe8\x04",
35942                 .psize = 222,
35943                 .digest = "\x41\xfc\xd4\x29\xfe\xe7\x85\x17",
35944         },
35945         {
35946                 .psize = 0,
35947                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
35948                 .ksize = 8,
35949                 .digest = "\xef\x17\x9b\x92\xa2\xfd\x75\xac",
35950         },
35951
35952         {
35953                 .plaintext = "\x40",
35954                 .psize = 1,
35955                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
35956                 .ksize = 8,
35957                 .digest = "\xd1\x70\x4f\x14\x02\xc4\x9e\x71",
35958         },
35959         {
35960                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
35961                              "\x88\xc7\x9a\x09\x1a\x9b",
35962                 .psize = 14,
35963                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
35964                 .ksize = 8,
35965                 .digest = "\xa4\xcd\xfe\x8e\x37\xe2\x1c\x64"
35966         },
35967         {
35968                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
35969                              "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
35970                              "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
35971                              "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
35972                              "\x31\x65\x05\xbb\x31\xae\x51\x11"
35973                              "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
35974                              "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
35975                              "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
35976                              "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
35977                              "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
35978                              "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
35979                              "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
35980                              "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
35981                              "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
35982                              "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
35983                              "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
35984                              "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
35985                              "\x43\x99\x4d\x81\x85\xae\x82\x00"
35986                              "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
35987                              "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
35988                              "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
35989                              "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
35990                              "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
35991                              "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
35992                              "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
35993                              "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
35994                              "\x12\x02\x0c\xdb\x94\x00\x38\x95"
35995                              "\xed\xfd\x08\xf7\xe8\x04",
35996                 .psize = 222,
35997                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
35998                 .ksize = 8,
35999                 .digest = "\x58\xbc\x55\xf2\x42\x81\x5c\xf0"
36000         },
36001 };
36002
36003 static const struct comp_testvec lz4_comp_tv_template[] = {
36004         {
36005                 .inlen  = 255,
36006                 .outlen = 218,
36007                 .input  = "LZ4 is lossless compression algorithm, providing"
36008                          " compression speed at 400 MB/s per core, scalable "
36009                          "with multi-cores CPU. It features an extremely fast "
36010                          "decoder, with speed in multiple GB/s per core, "
36011                          "typically reaching RAM speed limits on multi-core "
36012                          "systems.",
36013                 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
36014                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
36015                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
36016                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
36017                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
36018                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
36019                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
36020                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
36021                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
36022                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
36023                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
36024                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
36025                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
36026                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
36027                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
36028                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
36029                           "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
36030
36031         },
36032 };
36033
36034 static const struct comp_testvec lz4_decomp_tv_template[] = {
36035         {
36036                 .inlen  = 218,
36037                 .outlen = 255,
36038                 .input  = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
36039                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
36040                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
36041                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
36042                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
36043                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
36044                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
36045                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
36046                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
36047                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
36048                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
36049                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
36050                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
36051                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
36052                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
36053                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
36054                           "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
36055                 .output = "LZ4 is lossless compression algorithm, providing"
36056                          " compression speed at 400 MB/s per core, scalable "
36057                          "with multi-cores CPU. It features an extremely fast "
36058                          "decoder, with speed in multiple GB/s per core, "
36059                          "typically reaching RAM speed limits on multi-core "
36060                          "systems.",
36061         },
36062 };
36063
36064 static const struct comp_testvec lz4hc_comp_tv_template[] = {
36065         {
36066                 .inlen  = 255,
36067                 .outlen = 216,
36068                 .input  = "LZ4 is lossless compression algorithm, providing"
36069                          " compression speed at 400 MB/s per core, scalable "
36070                          "with multi-cores CPU. It features an extremely fast "
36071                          "decoder, with speed in multiple GB/s per core, "
36072                          "typically reaching RAM speed limits on multi-core "
36073                          "systems.",
36074                 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
36075                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
36076                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
36077                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
36078                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
36079                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
36080                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
36081                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
36082                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
36083                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
36084                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
36085                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
36086                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
36087                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
36088                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
36089                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
36090                           "\x73\x79\x73\x74\x65\x6d\x73\x2e",
36091
36092         },
36093 };
36094
36095 static const struct comp_testvec lz4hc_decomp_tv_template[] = {
36096         {
36097                 .inlen  = 216,
36098                 .outlen = 255,
36099                 .input  = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
36100                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
36101                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
36102                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
36103                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
36104                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
36105                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
36106                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
36107                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
36108                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
36109                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
36110                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
36111                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
36112                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
36113                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
36114                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
36115                           "\x73\x79\x73\x74\x65\x6d\x73\x2e",
36116                 .output = "LZ4 is lossless compression algorithm, providing"
36117                          " compression speed at 400 MB/s per core, scalable "
36118                          "with multi-cores CPU. It features an extremely fast "
36119                          "decoder, with speed in multiple GB/s per core, "
36120                          "typically reaching RAM speed limits on multi-core "
36121                          "systems.",
36122         },
36123 };
36124
36125 static const struct comp_testvec zstd_comp_tv_template[] = {
36126         {
36127                 .inlen  = 68,
36128                 .outlen = 39,
36129                 .input  = "The algorithm is zstd. "
36130                           "The algorithm is zstd. "
36131                           "The algorithm is zstd.",
36132                 .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
36133                           "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
36134                           "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
36135                           ,
36136         },
36137         {
36138                 .inlen  = 244,
36139                 .outlen = 151,
36140                 .input  = "zstd, short for Zstandard, is a fast lossless "
36141                           "compression algorithm, targeting real-time "
36142                           "compression scenarios at zlib-level and better "
36143                           "compression ratios. The zstd compression library "
36144                           "provides in-memory compression and decompression "
36145                           "functions.",
36146                 .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
36147                           "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
36148                           "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
36149                           "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
36150                           "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
36151                           "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
36152                           "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
36153                           "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
36154                           "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
36155                           "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
36156                           "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
36157                           "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
36158         },
36159 };
36160
36161 static const struct comp_testvec zstd_decomp_tv_template[] = {
36162         {
36163                 .inlen  = 43,
36164                 .outlen = 68,
36165                 .input  = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
36166                           "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
36167                           "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
36168                           "\x6b\xf4\x13\x35",
36169                 .output = "The algorithm is zstd. "
36170                           "The algorithm is zstd. "
36171                           "The algorithm is zstd.",
36172         },
36173         {
36174                 .inlen  = 155,
36175                 .outlen = 244,
36176                 .input  = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
36177                           "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
36178                           "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
36179                           "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
36180                           "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
36181                           "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
36182                           "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
36183                           "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
36184                           "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
36185                           "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
36186                           "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
36187                           "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
36188                 .output = "zstd, short for Zstandard, is a fast lossless "
36189                           "compression algorithm, targeting real-time "
36190                           "compression scenarios at zlib-level and better "
36191                           "compression ratios. The zstd compression library "
36192                           "provides in-memory compression and decompression "
36193                           "functions.",
36194         },
36195 };
36196
36197 /* based on aes_cbc_tv_template */
36198 static const struct cipher_testvec essiv_aes_cbc_tv_template[] = {
36199         {
36200                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
36201                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
36202                 .klen   = 16,
36203                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
36204                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36205                 .ptext  = "Single block msg",
36206                 .ctext  = "\xfa\x59\xe7\x5f\x41\x56\x65\xc3"
36207                           "\x36\xca\x6b\x72\x10\x9f\x8c\xd4",
36208                 .len    = 16,
36209         }, {
36210                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
36211                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
36212                 .klen   = 16,
36213                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
36214                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36215                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
36216                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
36217                           "\x10\x11\x12\x13\x14\x15\x16\x17"
36218                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
36219                 .ctext  = "\xc8\x59\x9a\xfe\x79\xe6\x7b\x20"
36220                           "\x06\x7d\x55\x0a\x5e\xc7\xb5\xa7"
36221                           "\x0b\x9c\x80\xd2\x15\xa1\xb8\x6d"
36222                           "\xc6\xab\x7b\x65\xd9\xfd\x88\xeb",
36223                 .len    = 32,
36224         }, {
36225                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
36226                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
36227                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
36228                 .klen   = 24,
36229                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
36230                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36231                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
36232                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
36233                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
36234                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
36235                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
36236                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
36237                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
36238                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
36239                 .ctext  = "\x96\x6d\xa9\x7a\x42\xe6\x01\xc7"
36240                           "\x17\xfc\xa7\x41\xd3\x38\x0b\xe5"
36241                           "\x51\x48\xf7\x7e\x5e\x26\xa9\xfe"
36242                           "\x45\x72\x1c\xd9\xde\xab\xf3\x4d"
36243                           "\x39\x47\xc5\x4f\x97\x3a\x55\x63"
36244                           "\x80\x29\x64\x4c\x33\xe8\x21\x8a"
36245                           "\x6a\xef\x6b\x6a\x8f\x43\xc0\xcb"
36246                           "\xf0\xf3\x6e\x74\x54\x44\x92\x44",
36247                 .len    = 64,
36248         }, {
36249                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
36250                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
36251                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
36252                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
36253                 .klen   = 32,
36254                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
36255                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36256                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
36257                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
36258                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
36259                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
36260                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
36261                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
36262                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
36263                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
36264                 .ctext  = "\x24\x52\xf1\x48\x74\xd0\xa7\x93"
36265                           "\x75\x9b\x63\x46\xc0\x1c\x1e\x17"
36266                           "\x4d\xdc\x5b\x3a\x27\x93\x2a\x63"
36267                           "\xf7\xf1\xc7\xb3\x54\x56\x5b\x50"
36268                           "\xa3\x31\xa5\x8b\xd6\xfd\xb6\x3c"
36269                           "\x8b\xf6\xf2\x45\x05\x0c\xc8\xbb"
36270                           "\x32\x0b\x26\x1c\xe9\x8b\x02\xc0"
36271                           "\xb2\x6f\x37\xa7\x5b\xa8\xa9\x42",
36272                 .len    = 64,
36273         }, {
36274                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
36275                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
36276                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
36277                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
36278                 .klen   = 32,
36279                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
36280                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36281                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
36282                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
36283                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
36284                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
36285                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
36286                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
36287                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
36288                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
36289                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
36290                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
36291                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
36292                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
36293                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
36294                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
36295                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
36296                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
36297                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
36298                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
36299                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
36300                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
36301                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
36302                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
36303                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
36304                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
36305                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
36306                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
36307                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
36308                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
36309                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
36310                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
36311                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
36312                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
36313                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
36314                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
36315                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
36316                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
36317                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
36318                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
36319                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
36320                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
36321                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
36322                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
36323                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
36324                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
36325                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
36326                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
36327                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
36328                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
36329                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
36330                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
36331                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
36332                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
36333                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
36334                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
36335                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
36336                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
36337                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
36338                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
36339                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
36340                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
36341                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
36342                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
36343                 .ctext  = "\x97\x7f\x69\x0f\x0f\x34\xa6\x33"
36344                           "\x66\x49\x7e\xd0\x4d\x1b\xc9\x64"
36345                           "\xf9\x61\x95\x98\x11\x00\x88\xf8"
36346                           "\x2e\x88\x01\x0f\x2b\xe1\xae\x3e"
36347                           "\xfe\xd6\x47\x30\x11\x68\x7d\x99"
36348                           "\xad\x69\x6a\xe8\x41\x5f\x1e\x16"
36349                           "\x00\x3a\x47\xdf\x8e\x7d\x23\x1c"
36350                           "\x19\x5b\x32\x76\x60\x03\x05\xc1"
36351                           "\xa0\xff\xcf\xcc\x74\x39\x46\x63"
36352                           "\xfe\x5f\xa6\x35\xa7\xb4\xc1\xf9"
36353                           "\x4b\x5e\x38\xcc\x8c\xc1\xa2\xcf"
36354                           "\x9a\xc3\xae\x55\x42\x46\x93\xd9"
36355                           "\xbd\x22\xd3\x8a\x19\x96\xc3\xb3"
36356                           "\x7d\x03\x18\xf9\x45\x09\x9c\xc8"
36357                           "\x90\xf3\x22\xb3\x25\x83\x9a\x75"
36358                           "\xbb\x04\x48\x97\x3a\x63\x08\x04"
36359                           "\xa0\x69\xf6\x52\xd4\x89\x93\x69"
36360                           "\xb4\x33\xa2\x16\x58\xec\x4b\x26"
36361                           "\x76\x54\x10\x0b\x6e\x53\x1e\xbc"
36362                           "\x16\x18\x42\xb1\xb1\xd3\x4b\xda"
36363                           "\x06\x9f\x8b\x77\xf7\xab\xd6\xed"
36364                           "\xa3\x1d\x90\xda\x49\x38\x20\xb8"
36365                           "\x6c\xee\xae\x3e\xae\x6c\x03\xb8"
36366                           "\x0b\xed\xc8\xaa\x0e\xc5\x1f\x90"
36367                           "\x60\xe2\xec\x1b\x76\xd0\xcf\xda"
36368                           "\x29\x1b\xb8\x5a\xbc\xf4\xba\x13"
36369                           "\x91\xa6\xcb\x83\x3f\xeb\xe9\x7b"
36370                           "\x03\xba\x40\x9e\xe6\x7a\xb2\x4a"
36371                           "\x73\x49\xfc\xed\xfb\x55\xa4\x24"
36372                           "\xc7\xa4\xd7\x4b\xf5\xf7\x16\x62"
36373                           "\x80\xd3\x19\x31\x52\x25\xa8\x69"
36374                           "\xda\x9a\x87\xf5\xf2\xee\x5d\x61"
36375                           "\xc1\x12\x72\x3e\x52\x26\x45\x3a"
36376                           "\xd8\x9d\x57\xfa\x14\xe2\x9b\x2f"
36377                           "\xd4\xaa\x5e\x31\xf4\x84\x89\xa4"
36378                           "\xe3\x0e\xb0\x58\x41\x75\x6a\xcb"
36379                           "\x30\x01\x98\x90\x15\x80\xf5\x27"
36380                           "\x92\x13\x81\xf0\x1c\x1e\xfc\xb1"
36381                           "\x33\xf7\x63\xb0\x67\xec\x2e\x5c"
36382                           "\x85\xe3\x5b\xd0\x43\x8a\xb8\x5f"
36383                           "\x44\x9f\xec\x19\xc9\x8f\xde\xdf"
36384                           "\x79\xef\xf8\xee\x14\x87\xb3\x34"
36385                           "\x76\x00\x3a\x9b\xc7\xed\xb1\x3d"
36386                           "\xef\x07\xb0\xe4\xfd\x68\x9e\xeb"
36387                           "\xc2\xb4\x1a\x85\x9a\x7d\x11\x88"
36388                           "\xf8\xab\x43\x55\x2b\x8a\x4f\x60"
36389                           "\x85\x9a\xf4\xba\xae\x48\x81\xeb"
36390                           "\x93\x07\x97\x9e\xde\x2a\xfc\x4e"
36391                           "\x31\xde\xaa\x44\xf7\x2a\xc3\xee"
36392                           "\x60\xa2\x98\x2c\x0a\x88\x50\xc5"
36393                           "\x6d\x89\xd3\xe4\xb6\xa7\xf4\xb0"
36394                           "\xcf\x0e\x89\xe3\x5e\x8f\x82\xf4"
36395                           "\x9d\xd1\xa9\x51\x50\x8a\xd2\x18"
36396                           "\x07\xb2\xaa\x3b\x7f\x58\x9b\xf4"
36397                           "\xb7\x24\x39\xd3\x66\x2f\x1e\xc0"
36398                           "\x11\xa3\x56\x56\x2a\x10\x73\xbc"
36399                           "\xe1\x23\xbf\xa9\x37\x07\x9c\xc3"
36400                           "\xb2\xc9\xa8\x1c\x5b\x5c\x58\xa4"
36401                           "\x77\x02\x26\xad\xc3\x40\x11\x53"
36402                           "\x93\x68\x72\xde\x05\x8b\x10\xbc"
36403                           "\xa6\xd4\x1b\xd9\x27\xd8\x16\x12"
36404                           "\x61\x2b\x31\x2a\x44\x87\x96\x58",
36405                 .len    = 496,
36406         },
36407 };
36408
36409 /* based on hmac_sha256_aes_cbc_tv_temp */
36410 static const struct aead_testvec essiv_hmac_sha256_aes_cbc_tv_temp[] = {
36411         {
36412 #ifdef __LITTLE_ENDIAN
36413                 .key    = "\x08\x00"            /* rta length */
36414                           "\x01\x00"            /* rta type */
36415 #else
36416                 .key    = "\x00\x08"            /* rta length */
36417                           "\x00\x01"            /* rta type */
36418 #endif
36419                           "\x00\x00\x00\x10"    /* enc key length */
36420                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36421                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36422                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36423                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36424                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
36425                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
36426                 .klen   = 8 + 32 + 16,
36427                 .iv     = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04"
36428                           "\xbc\x1e\x7e\x35\xb0\x5d\x78\x29",
36429                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
36430                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
36431                 .alen   = 16,
36432                 .ptext  = "Single block msg",
36433                 .plen   = 16,
36434                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
36435                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
36436                           "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
36437                           "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
36438                           "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
36439                           "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
36440                 .clen   = 16 + 32,
36441         }, {
36442 #ifdef __LITTLE_ENDIAN
36443                 .key    = "\x08\x00"            /* rta length */
36444                           "\x01\x00"            /* rta type */
36445 #else
36446                 .key    = "\x00\x08"            /* rta length */
36447                           "\x00\x01"            /* rta type */
36448 #endif
36449                           "\x00\x00\x00\x10"    /* enc key length */
36450                           "\x20\x21\x22\x23\x24\x25\x26\x27"
36451                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
36452                           "\x30\x31\x32\x33\x34\x35\x36\x37"
36453                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
36454                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
36455                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
36456                 .klen   = 8 + 32 + 16,
36457                 .iv     = "\x56\xe8\x14\xa5\x74\x18\x75\x13"
36458                           "\x2f\x79\xe7\xc8\x65\xe3\x48\x45",
36459                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
36460                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
36461                 .alen   = 16,
36462                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
36463                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
36464                           "\x10\x11\x12\x13\x14\x15\x16\x17"
36465                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
36466                 .plen   = 32,
36467                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
36468                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
36469                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
36470                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
36471                           "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
36472                           "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
36473                           "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
36474                           "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
36475                 .clen   = 32 + 32,
36476         }, {
36477 #ifdef __LITTLE_ENDIAN
36478                 .key    = "\x08\x00"            /* rta length */
36479                           "\x01\x00"            /* rta type */
36480 #else
36481                 .key    = "\x00\x08"            /* rta length */
36482                           "\x00\x01"            /* rta type */
36483 #endif
36484                           "\x00\x00\x00\x10"    /* enc key length */
36485                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36486                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36487                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36488                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36489                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
36490                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
36491                 .klen   = 8 + 32 + 16,
36492                 .iv     = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9"
36493                           "\xb6\x9f\x8c\x10\xa8\x96\x15\x64",
36494                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
36495                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
36496                 .alen   = 16,
36497                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
36498                 .plen   = 48,
36499                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
36500                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
36501                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
36502                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
36503                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
36504                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
36505                           "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
36506                           "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
36507                           "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
36508                           "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
36509                 .clen   = 48 + 32,
36510         }, {
36511 #ifdef __LITTLE_ENDIAN
36512                 .key    = "\x08\x00"            /* rta length */
36513                           "\x01\x00"            /* rta type */
36514 #else
36515                 .key    = "\x00\x08"            /* rta length */
36516                           "\x00\x01"            /* rta type */
36517 #endif
36518                           "\x00\x00\x00\x10"    /* enc key length */
36519                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36520                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36521                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36522                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36523                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
36524                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
36525                 .klen   = 8 + 32 + 16,
36526                 .iv     = "\x13\xe5\xf2\xef\x61\x97\x59\x35"
36527                           "\x9b\x36\x84\x46\x4e\x63\xd1\x41",
36528                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
36529                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
36530                 .alen   = 16,
36531                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
36532                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
36533                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
36534                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
36535                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
36536                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
36537                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
36538                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
36539                 .plen   = 64,
36540                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
36541                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
36542                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
36543                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
36544                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
36545                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
36546                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
36547                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
36548                           "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
36549                           "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
36550                           "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
36551                           "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
36552                 .clen   = 64 + 32,
36553         }, {
36554 #ifdef __LITTLE_ENDIAN
36555                 .key    = "\x08\x00"            /* rta length */
36556                           "\x01\x00"            /* rta type */
36557 #else
36558                 .key    = "\x00\x08"            /* rta length */
36559                           "\x00\x01"            /* rta type */
36560 #endif
36561                           "\x00\x00\x00\x10"    /* enc key length */
36562                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36563                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36564                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36565                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36566                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
36567                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
36568                 .klen   = 8 + 32 + 16,
36569                 .iv     = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23"
36570                           "\x81\x7a\x94\x29\xab\xfd\xd2\x2c",
36571                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
36572                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
36573                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
36574                 .alen   = 24,
36575                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
36576                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
36577                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
36578                           "\x10\x11\x12\x13\x14\x15\x16\x17"
36579                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
36580                           "\x20\x21\x22\x23\x24\x25\x26\x27"
36581                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
36582                           "\x30\x31\x32\x33\x34\x35\x36\x37"
36583                           "\x01\x02\x03\x04\x05\x06\x07\x08"
36584                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
36585                 .plen   = 80,
36586                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
36587                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
36588                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
36589                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
36590                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
36591                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
36592                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
36593                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
36594                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
36595                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
36596                           "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
36597                           "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
36598                           "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
36599                           "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
36600                 .clen   = 80 + 32,
36601        }, {
36602 #ifdef __LITTLE_ENDIAN
36603                 .key    = "\x08\x00"            /* rta length */
36604                           "\x01\x00"            /* rta type */
36605 #else
36606                 .key    = "\x00\x08"            /* rta length */
36607                           "\x00\x01"            /* rta type */
36608 #endif
36609                           "\x00\x00\x00\x18"    /* enc key length */
36610                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36611                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36612                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36613                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36614                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
36615                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
36616                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
36617                 .klen   = 8 + 32 + 24,
36618                 .iv     = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98"
36619                           "\x38\x2f\xa7\x3d\x4d\x80\x49\xb0",
36620                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
36621                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
36622                 .alen   = 16,
36623                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
36624                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
36625                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
36626                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
36627                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
36628                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
36629                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
36630                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
36631                 .plen   = 64,
36632                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
36633                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
36634                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
36635                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
36636                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
36637                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
36638                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
36639                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
36640                           "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
36641                           "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
36642                           "\xca\x71\x85\x93\xf7\x85\x55\x8b"
36643                           "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
36644                 .clen   = 64 + 32,
36645         }, {
36646 #ifdef __LITTLE_ENDIAN
36647                 .key    = "\x08\x00"            /* rta length */
36648                           "\x01\x00"            /* rta type */
36649 #else
36650                 .key    = "\x00\x08"            /* rta length */
36651                           "\x00\x01"            /* rta type */
36652 #endif
36653                           "\x00\x00\x00\x20"    /* enc key length */
36654                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36655                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36656                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36657                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36658                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
36659                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
36660                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
36661                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
36662                 .klen   = 8 + 32 + 32,
36663                 .iv     = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c"
36664                           "\xf9\x75\xaf\xf9\x2f\x60\x3a\x9b",
36665                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
36666                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
36667                 .alen   = 16,
36668                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
36669                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
36670                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
36671                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
36672                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
36673                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
36674                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
36675                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
36676                 .plen   = 64,
36677                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
36678                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
36679                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
36680                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
36681                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
36682                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
36683                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
36684                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
36685                           "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
36686                           "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
36687                           "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
36688                           "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
36689                 .clen   = 64 + 32,
36690         },
36691 };
36692
36693 static const char blake2_ordered_sequence[] =
36694         "\x00\x01\x02\x03\x04\x05\x06\x07"
36695         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
36696         "\x10\x11\x12\x13\x14\x15\x16\x17"
36697         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
36698         "\x20\x21\x22\x23\x24\x25\x26\x27"
36699         "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
36700         "\x30\x31\x32\x33\x34\x35\x36\x37"
36701         "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
36702         "\x40\x41\x42\x43\x44\x45\x46\x47"
36703         "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
36704         "\x50\x51\x52\x53\x54\x55\x56\x57"
36705         "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
36706         "\x60\x61\x62\x63\x64\x65\x66\x67"
36707         "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
36708         "\x70\x71\x72\x73\x74\x75\x76\x77"
36709         "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
36710         "\x80\x81\x82\x83\x84\x85\x86\x87"
36711         "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
36712         "\x90\x91\x92\x93\x94\x95\x96\x97"
36713         "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
36714         "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
36715         "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
36716         "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
36717         "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
36718         "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
36719         "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
36720         "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
36721         "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
36722         "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
36723         "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
36724         "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
36725         "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
36726
36727 static const struct hash_testvec blake2b_160_tv_template[] = {{
36728         .digest = (u8[]){ 0x33, 0x45, 0x52, 0x4a, 0xbf, 0x6b, 0xbe, 0x18,
36729                           0x09, 0x44, 0x92, 0x24, 0xb5, 0x97, 0x2c, 0x41,
36730                           0x79, 0x0b, 0x6c, 0xf2, },
36731 }, {
36732         .plaintext = blake2_ordered_sequence,
36733         .psize = 64,
36734         .digest = (u8[]){ 0x11, 0xcc, 0x66, 0x61, 0xe9, 0x22, 0xb0, 0xe4,
36735                           0x07, 0xe0, 0xa5, 0x72, 0x49, 0xc3, 0x8d, 0x4f,
36736                           0xf7, 0x6d, 0x8e, 0xc8, },
36737 }, {
36738         .ksize = 32,
36739         .key = blake2_ordered_sequence,
36740         .plaintext = blake2_ordered_sequence,
36741         .psize = 1,
36742         .digest = (u8[]){ 0x31, 0xe3, 0xd9, 0xd5, 0x4e, 0x72, 0xd8, 0x0b,
36743                           0x2b, 0x3b, 0xd7, 0x6b, 0x82, 0x7a, 0x1d, 0xfb,
36744                           0x56, 0x2f, 0x79, 0x4c, },
36745 }, {
36746         .ksize = 64,
36747         .key = blake2_ordered_sequence,
36748         .plaintext = blake2_ordered_sequence,
36749         .psize = 7,
36750         .digest = (u8[]){ 0x28, 0x20, 0xd1, 0xbe, 0x7f, 0xcc, 0xc1, 0x62,
36751                           0xd9, 0x0d, 0x9a, 0x4b, 0x47, 0xd1, 0x5e, 0x04,
36752                           0x74, 0x2a, 0x53, 0x17, },
36753 }, {
36754         .ksize = 1,
36755         .key = "B",
36756         .plaintext = blake2_ordered_sequence,
36757         .psize = 15,
36758         .digest = (u8[]){ 0x45, 0xe9, 0x95, 0xb6, 0xc4, 0xe8, 0x22, 0xea,
36759                           0xfe, 0xd2, 0x37, 0xdb, 0x46, 0xbf, 0xf1, 0x25,
36760                           0xd5, 0x03, 0x1d, 0x81, },
36761 }, {
36762         .ksize = 32,
36763         .key = blake2_ordered_sequence,
36764         .plaintext = blake2_ordered_sequence,
36765         .psize = 247,
36766         .digest = (u8[]){ 0x7e, 0xb9, 0xf2, 0x9b, 0x2f, 0xc2, 0x01, 0xd4,
36767                           0xb0, 0x4f, 0x08, 0x2b, 0x8e, 0xbd, 0x06, 0xef,
36768                           0x1c, 0xc4, 0x25, 0x95, },
36769 }, {
36770         .ksize = 64,
36771         .key = blake2_ordered_sequence,
36772         .plaintext = blake2_ordered_sequence,
36773         .psize = 256,
36774         .digest = (u8[]){ 0x6e, 0x35, 0x01, 0x70, 0xbf, 0xb6, 0xc4, 0xba,
36775                           0x33, 0x1b, 0xa6, 0xd3, 0xc2, 0x5d, 0xb4, 0x03,
36776                           0x95, 0xaf, 0x29, 0x16, },
36777 }};
36778
36779 static const struct hash_testvec blake2b_256_tv_template[] = {{
36780         .plaintext = blake2_ordered_sequence,
36781         .psize = 7,
36782         .digest = (u8[]){ 0x9d, 0xf1, 0x4b, 0x72, 0x48, 0x76, 0x4a, 0x86,
36783                           0x91, 0x97, 0xc3, 0x5e, 0x39, 0x2d, 0x2a, 0x6d,
36784                           0x6f, 0xdc, 0x5b, 0x79, 0xd5, 0x97, 0x29, 0x79,
36785                           0x20, 0xfd, 0x3f, 0x14, 0x91, 0xb4, 0x42, 0xd2, },
36786 }, {
36787         .plaintext = blake2_ordered_sequence,
36788         .psize = 256,
36789         .digest = (u8[]){ 0x39, 0xa7, 0xeb, 0x9f, 0xed, 0xc1, 0x9a, 0xab,
36790                           0xc8, 0x34, 0x25, 0xc6, 0x75, 0x5d, 0xd9, 0x0e,
36791                           0x6f, 0x9d, 0x0c, 0x80, 0x49, 0x64, 0xa1, 0xf4,
36792                           0xaa, 0xee, 0xa3, 0xb9, 0xfb, 0x59, 0x98, 0x35, },
36793 }, {
36794         .ksize = 1,
36795         .key = "B",
36796         .digest = (u8[]){ 0xc3, 0x08, 0xb1, 0xbf, 0xe4, 0xf9, 0xbc, 0xb4,
36797                           0x75, 0xaf, 0x3f, 0x59, 0x6e, 0xae, 0xde, 0x6a,
36798                           0xa3, 0x8e, 0xb5, 0x94, 0xad, 0x30, 0xf0, 0x17,
36799                           0x1c, 0xfb, 0xd8, 0x3e, 0x8a, 0xbe, 0xed, 0x9c, },
36800 }, {
36801         .ksize = 64,
36802         .key = blake2_ordered_sequence,
36803         .plaintext = blake2_ordered_sequence,
36804         .psize = 1,
36805         .digest = (u8[]){ 0x34, 0x75, 0x8b, 0x64, 0x71, 0x35, 0x62, 0x82,
36806                           0x97, 0xfb, 0x09, 0xc7, 0x93, 0x0c, 0xd0, 0x4e,
36807                           0x95, 0x28, 0xe5, 0x66, 0x91, 0x12, 0xf5, 0xb1,
36808                           0x31, 0x84, 0x93, 0xe1, 0x4d, 0xe7, 0x7e, 0x55, },
36809 }, {
36810         .ksize = 32,
36811         .key = blake2_ordered_sequence,
36812         .plaintext = blake2_ordered_sequence,
36813         .psize = 15,
36814         .digest = (u8[]){ 0xce, 0x74, 0xa9, 0x2e, 0xe9, 0x40, 0x3d, 0xa2,
36815                           0x11, 0x4a, 0x99, 0x25, 0x7a, 0x34, 0x5d, 0x35,
36816                           0xdf, 0x6a, 0x48, 0x79, 0x2a, 0x93, 0x93, 0xff,
36817                           0x1f, 0x3c, 0x39, 0xd0, 0x71, 0x1f, 0x20, 0x7b, },
36818 }, {
36819         .ksize = 1,
36820         .key = "B",
36821         .plaintext = blake2_ordered_sequence,
36822         .psize = 64,
36823         .digest = (u8[]){ 0x2e, 0x84, 0xdb, 0xa2, 0x5f, 0x0e, 0xe9, 0x52,
36824                           0x79, 0x50, 0x69, 0x9f, 0xf1, 0xfd, 0xfc, 0x9d,
36825                           0x89, 0x83, 0xa9, 0xb6, 0xa4, 0xd5, 0xfa, 0xb5,
36826                           0xbe, 0x35, 0x1a, 0x17, 0x8a, 0x2c, 0x7f, 0x7d, },
36827 }, {
36828         .ksize = 64,
36829         .key = blake2_ordered_sequence,
36830         .plaintext = blake2_ordered_sequence,
36831         .psize = 247,
36832         .digest = (u8[]){ 0x2e, 0x26, 0xf0, 0x09, 0x02, 0x65, 0x90, 0x09,
36833                           0xcc, 0xf5, 0x4c, 0x44, 0x74, 0x0e, 0xa0, 0xa8,
36834                           0x25, 0x4a, 0xda, 0x61, 0x56, 0x95, 0x7d, 0x3f,
36835                           0x6d, 0xc0, 0x43, 0x17, 0x95, 0x89, 0xcd, 0x9d, },
36836 }};
36837
36838 static const struct hash_testvec blake2b_384_tv_template[] = {{
36839         .plaintext = blake2_ordered_sequence,
36840         .psize = 1,
36841         .digest = (u8[]){ 0xcc, 0x01, 0x08, 0x85, 0x36, 0xf7, 0x84, 0xf0,
36842                           0xbb, 0x76, 0x9e, 0x41, 0xc4, 0x95, 0x7b, 0x6d,
36843                           0x0c, 0xde, 0x1f, 0xcc, 0x8c, 0xf1, 0xd9, 0x1f,
36844                           0xc4, 0x77, 0xd4, 0xdd, 0x6e, 0x3f, 0xbf, 0xcd,
36845                           0x43, 0xd1, 0x69, 0x8d, 0x14, 0x6f, 0x34, 0x8b,
36846                           0x2c, 0x36, 0xa3, 0x39, 0x68, 0x2b, 0xec, 0x3f, },
36847 }, {
36848         .plaintext = blake2_ordered_sequence,
36849         .psize = 247,
36850         .digest = (u8[]){ 0xc8, 0xf8, 0xf0, 0xa2, 0x69, 0xfa, 0xcc, 0x4d,
36851                           0x32, 0x5f, 0x13, 0x88, 0xca, 0x71, 0x99, 0x8f,
36852                           0xf7, 0x30, 0x41, 0x5d, 0x6e, 0x34, 0xb7, 0x6e,
36853                           0x3e, 0xd0, 0x46, 0xb6, 0xca, 0x30, 0x66, 0xb2,
36854                           0x6f, 0x0c, 0x35, 0x54, 0x17, 0xcd, 0x26, 0x1b,
36855                           0xef, 0x48, 0x98, 0xe0, 0x56, 0x7c, 0x05, 0xd2, },
36856 }, {
36857         .ksize = 32,
36858         .key = blake2_ordered_sequence,
36859         .digest = (u8[]){ 0x15, 0x09, 0x7a, 0x90, 0x13, 0x23, 0xab, 0x0c,
36860                           0x0b, 0x43, 0x21, 0x9a, 0xb5, 0xc6, 0x0c, 0x2e,
36861                           0x7c, 0x57, 0xfc, 0xcc, 0x4b, 0x0f, 0xf0, 0x57,
36862                           0xb7, 0x9c, 0xe7, 0x0f, 0xe1, 0x57, 0xac, 0x37,
36863                           0x77, 0xd4, 0xf4, 0x2f, 0x03, 0x3b, 0x64, 0x09,
36864                           0x84, 0xa0, 0xb3, 0x24, 0xb7, 0xae, 0x47, 0x5e, },
36865 }, {
36866         .ksize = 1,
36867         .key = "B",
36868         .plaintext = blake2_ordered_sequence,
36869         .psize = 7,
36870         .digest = (u8[]){ 0x0b, 0x82, 0x88, 0xca, 0x05, 0x2f, 0x1b, 0x15,
36871                           0xdc, 0xbb, 0x22, 0x27, 0x11, 0x6b, 0xf4, 0xd1,
36872                           0xe9, 0x8f, 0x1b, 0x0b, 0x58, 0x3f, 0x5e, 0x86,
36873                           0x80, 0x82, 0x6f, 0x8e, 0x54, 0xc1, 0x9f, 0x12,
36874                           0xcf, 0xe9, 0x56, 0xc1, 0xfc, 0x1a, 0x08, 0xb9,
36875                           0x4a, 0x57, 0x0a, 0x76, 0x3c, 0x15, 0x33, 0x18, },
36876 }, {
36877         .ksize = 64,
36878         .key = blake2_ordered_sequence,
36879         .plaintext = blake2_ordered_sequence,
36880         .psize = 15,
36881         .digest = (u8[]){ 0x4a, 0x81, 0x55, 0xb9, 0x79, 0x42, 0x8c, 0xc6,
36882                           0x4f, 0xfe, 0xca, 0x82, 0x3b, 0xb2, 0xf7, 0xbc,
36883                           0x5e, 0xfc, 0xab, 0x09, 0x1c, 0xd6, 0x3b, 0xe1,
36884                           0x50, 0x82, 0x3b, 0xde, 0xc7, 0x06, 0xee, 0x3b,
36885                           0x29, 0xce, 0xe5, 0x68, 0xe0, 0xff, 0xfa, 0xe1,
36886                           0x7a, 0xf1, 0xc0, 0xfe, 0x57, 0xf4, 0x60, 0x49, },
36887 }, {
36888         .ksize = 32,
36889         .key = blake2_ordered_sequence,
36890         .plaintext = blake2_ordered_sequence,
36891         .psize = 64,
36892         .digest = (u8[]){ 0x34, 0xbd, 0xe1, 0x99, 0x43, 0x9f, 0x82, 0x72,
36893                           0xe7, 0xed, 0x94, 0x9e, 0xe1, 0x84, 0xee, 0x82,
36894                           0xfd, 0x26, 0x23, 0xc4, 0x17, 0x8d, 0xf5, 0x04,
36895                           0xeb, 0xb7, 0xbc, 0xb8, 0xf3, 0x68, 0xb7, 0xad,
36896                           0x94, 0x8e, 0x05, 0x3f, 0x8a, 0x5d, 0x8d, 0x81,
36897                           0x3e, 0x88, 0xa7, 0x8c, 0xa2, 0xd5, 0xdc, 0x76, },
36898 }, {
36899         .ksize = 1,
36900         .key = "B",
36901         .plaintext = blake2_ordered_sequence,
36902         .psize = 256,
36903         .digest = (u8[]){ 0x22, 0x14, 0xf4, 0xb0, 0x4c, 0xa8, 0xb5, 0x7d,
36904                           0xa7, 0x5c, 0x04, 0xeb, 0xd8, 0x8d, 0x04, 0x71,
36905                           0xc7, 0x3c, 0xc7, 0x6e, 0x8b, 0x20, 0x36, 0x40,
36906                           0x9d, 0xd0, 0x60, 0xc6, 0xe3, 0x0b, 0x6e, 0x50,
36907                           0xf5, 0xaf, 0xf5, 0xc6, 0x3b, 0xe3, 0x84, 0x6a,
36908                           0x93, 0x1b, 0x12, 0xd6, 0x18, 0x27, 0xba, 0x36, },
36909 }};
36910
36911 static const struct hash_testvec blake2b_512_tv_template[] = {{
36912         .plaintext = blake2_ordered_sequence,
36913         .psize = 15,
36914         .digest = (u8[]){ 0x44, 0x4b, 0x24, 0x0f, 0xe3, 0xed, 0x86, 0xd0,
36915                           0xe2, 0xef, 0x4c, 0xe7, 0xd8, 0x51, 0xed, 0xde,
36916                           0x22, 0x15, 0x55, 0x82, 0xaa, 0x09, 0x14, 0x79,
36917                           0x7b, 0x72, 0x6c, 0xd0, 0x58, 0xb6, 0xf4, 0x59,
36918                           0x32, 0xe0, 0xe1, 0x29, 0x51, 0x68, 0x76, 0x52,
36919                           0x7b, 0x1d, 0xd8, 0x8f, 0xc6, 0x6d, 0x71, 0x19,
36920                           0xf4, 0xab, 0x3b, 0xed, 0x93, 0xa6, 0x1a, 0x0e,
36921                           0x2d, 0x2d, 0x2a, 0xea, 0xc3, 0x36, 0xd9, 0x58, },
36922 }, {
36923         .ksize = 64,
36924         .key = blake2_ordered_sequence,
36925         .digest = (u8[]){ 0x10, 0xeb, 0xb6, 0x77, 0x00, 0xb1, 0x86, 0x8e,
36926                           0xfb, 0x44, 0x17, 0x98, 0x7a, 0xcf, 0x46, 0x90,
36927                           0xae, 0x9d, 0x97, 0x2f, 0xb7, 0xa5, 0x90, 0xc2,
36928                           0xf0, 0x28, 0x71, 0x79, 0x9a, 0xaa, 0x47, 0x86,
36929                           0xb5, 0xe9, 0x96, 0xe8, 0xf0, 0xf4, 0xeb, 0x98,
36930                           0x1f, 0xc2, 0x14, 0xb0, 0x05, 0xf4, 0x2d, 0x2f,
36931                           0xf4, 0x23, 0x34, 0x99, 0x39, 0x16, 0x53, 0xdf,
36932                           0x7a, 0xef, 0xcb, 0xc1, 0x3f, 0xc5, 0x15, 0x68, },
36933 }, {
36934         .ksize = 1,
36935         .key = "B",
36936         .plaintext = blake2_ordered_sequence,
36937         .psize = 1,
36938         .digest = (u8[]){ 0xd2, 0x11, 0x31, 0x29, 0x3f, 0xea, 0xca, 0x72,
36939                           0x21, 0xe4, 0x06, 0x65, 0x05, 0x2a, 0xd1, 0x02,
36940                           0xc0, 0x8d, 0x7b, 0xf1, 0x09, 0x3c, 0xef, 0x88,
36941                           0xe1, 0x68, 0x0c, 0xf1, 0x3b, 0xa4, 0xe3, 0x03,
36942                           0xed, 0xa0, 0xe3, 0x60, 0x58, 0xa0, 0xdb, 0x52,
36943                           0x8a, 0x66, 0x43, 0x09, 0x60, 0x1a, 0xbb, 0x67,
36944                           0xc5, 0x84, 0x31, 0x40, 0xfa, 0xde, 0xc1, 0xd0,
36945                           0xff, 0x3f, 0x4a, 0x69, 0xd9, 0x92, 0x26, 0x86, },
36946 }, {
36947         .ksize = 32,
36948         .key = blake2_ordered_sequence,
36949         .plaintext = blake2_ordered_sequence,
36950         .psize = 7,
36951         .digest = (u8[]){ 0xa3, 0x3e, 0x50, 0xbc, 0xfb, 0xd9, 0xf0, 0x82,
36952                           0xa6, 0xd1, 0xdf, 0xaf, 0x82, 0xd0, 0xcf, 0x84,
36953                           0x9a, 0x25, 0x3c, 0xae, 0x6d, 0xb5, 0xaf, 0x01,
36954                           0xd7, 0xaf, 0xed, 0x50, 0xdc, 0xe2, 0xba, 0xcc,
36955                           0x8c, 0x38, 0xf5, 0x16, 0x89, 0x38, 0x86, 0xce,
36956                           0x68, 0x10, 0x63, 0x64, 0xa5, 0x79, 0x53, 0xb5,
36957                           0x2e, 0x8e, 0xbc, 0x0a, 0xce, 0x95, 0xc0, 0x1e,
36958                           0x69, 0x59, 0x1d, 0x3b, 0xd8, 0x19, 0x90, 0xd7, },
36959 }, {
36960         .ksize = 64,
36961         .key = blake2_ordered_sequence,
36962         .plaintext = blake2_ordered_sequence,
36963         .psize = 64,
36964         .digest = (u8[]){ 0x65, 0x67, 0x6d, 0x80, 0x06, 0x17, 0x97, 0x2f,
36965                           0xbd, 0x87, 0xe4, 0xb9, 0x51, 0x4e, 0x1c, 0x67,
36966                           0x40, 0x2b, 0x7a, 0x33, 0x10, 0x96, 0xd3, 0xbf,
36967                           0xac, 0x22, 0xf1, 0xab, 0xb9, 0x53, 0x74, 0xab,
36968                           0xc9, 0x42, 0xf1, 0x6e, 0x9a, 0xb0, 0xea, 0xd3,
36969                           0x3b, 0x87, 0xc9, 0x19, 0x68, 0xa6, 0xe5, 0x09,
36970                           0xe1, 0x19, 0xff, 0x07, 0x78, 0x7b, 0x3e, 0xf4,
36971                           0x83, 0xe1, 0xdc, 0xdc, 0xcf, 0x6e, 0x30, 0x22, },
36972 }, {
36973         .ksize = 1,
36974         .key = "B",
36975         .plaintext = blake2_ordered_sequence,
36976         .psize = 247,
36977         .digest = (u8[]){ 0xc2, 0x96, 0x2c, 0x6b, 0x84, 0xff, 0xee, 0xea,
36978                           0x9b, 0xb8, 0x55, 0x2d, 0x6b, 0xa5, 0xd5, 0xe5,
36979                           0xbd, 0xb1, 0x54, 0xb6, 0x1e, 0xfb, 0x63, 0x16,
36980                           0x6e, 0x22, 0x04, 0xf0, 0x82, 0x7a, 0xc6, 0x99,
36981                           0xf7, 0x4c, 0xff, 0x93, 0x71, 0x57, 0x64, 0xd0,
36982                           0x08, 0x60, 0x39, 0x98, 0xb8, 0xd2, 0x2b, 0x4e,
36983                           0x81, 0x8d, 0xe4, 0x8f, 0xb2, 0x1e, 0x8f, 0x99,
36984                           0x98, 0xf1, 0x02, 0x9b, 0x4c, 0x7c, 0x97, 0x1a, },
36985 }, {
36986         .ksize = 32,
36987         .key = blake2_ordered_sequence,
36988         .plaintext = blake2_ordered_sequence,
36989         .psize = 256,
36990         .digest = (u8[]){ 0x0f, 0x32, 0x05, 0x09, 0xad, 0x9f, 0x25, 0xf7,
36991                           0xf2, 0x00, 0x71, 0xc9, 0x9f, 0x08, 0x58, 0xd1,
36992                           0x67, 0xc3, 0xa6, 0x2c, 0x0d, 0xe5, 0x7c, 0x15,
36993                           0x35, 0x18, 0x5a, 0x68, 0xc1, 0xca, 0x1c, 0x6e,
36994                           0x0f, 0xc4, 0xf6, 0x0c, 0x43, 0xe1, 0xb4, 0x3d,
36995                           0x28, 0xe4, 0xc7, 0xa1, 0xcf, 0x6b, 0x17, 0x4e,
36996                           0xf1, 0x5b, 0xb5, 0x53, 0xd4, 0xa7, 0xd0, 0x5b,
36997                           0xae, 0x15, 0x81, 0x15, 0xd0, 0x88, 0xa0, 0x3c, },
36998 }};
36999
37000 /*
37001  * Test vectors generated using https://github.com/google/hctr2
37002  */
37003 static const struct cipher_testvec aes_xctr_tv_template[] = {
37004         {
37005                 .key    = "\x9c\x8d\xc4\xbd\x71\x36\xdc\x82"
37006                           "\x7c\xa1\xca\xa3\x23\x5a\xdb\xa4",
37007                 .iv     = "\x8d\xe7\xa5\x6a\x95\x86\x42\xde"
37008                           "\xba\xea\x6e\x69\x03\x33\x86\x0f",
37009                 .ptext  = "\xbd",
37010                 .ctext  = "\xb9",
37011                 .klen   = 16,
37012                 .len    = 1,
37013         },
37014         {
37015                 .key    = "\xbc\x1b\x12\x0c\x3f\x18\xcc\x1f"
37016                           "\x5a\x1d\xab\x81\xa8\x68\x7c\x63",
37017                 .iv     = "\x22\xc1\xdd\x25\x0b\x18\xcb\xa5"
37018                           "\x4a\xda\x15\x07\x73\xd9\x88\x10",
37019                 .ptext  = "\x24\x6e\x64\xc6\x15\x26\x9c\xda"
37020                           "\x2a\x4b\x57\x12\xff\x7c\xd6\xb5",
37021                 .ctext  = "\xd6\x47\x8d\x58\x92\xb2\x84\xf9"
37022                           "\xb7\xee\x0d\x98\xa1\x39\x4d\x8f",
37023                 .klen   = 16,
37024                 .len    = 16,
37025         },
37026         {
37027                 .key    = "\x44\x03\xbf\x4c\x30\xf0\xa7\xd6"
37028                           "\xbd\x54\xbb\x66\x8e\xa6\x0e\x8a",
37029                 .iv     = "\xe6\xf7\x26\xdf\x8c\x3c\xaa\x88"
37030                           "\xce\xc1\xbd\x43\x3b\x09\x62\xad",
37031                 .ptext  = "\x3c\xe3\x46\xb9\x8f\x9d\x3f\x8d"
37032                           "\xef\xf2\x53\xab\x24\xe2\x29\x08"
37033                           "\xf8\x7e\x1d\xa6\x6d\x86\x7d\x60"
37034                           "\x97\x63\x93\x29\x71\x94\xb4",
37035                 .ctext  = "\xd4\xa3\xc6\xb8\xc1\x6f\x70\x1a"
37036                           "\x52\x0c\xed\x4c\xaf\x51\x56\x23"
37037                           "\x48\x45\x07\x10\x34\xc5\xba\x71"
37038                           "\xe5\xf8\x1e\xd8\xcb\xa6\xe7",
37039                 .klen   = 16,
37040                 .len    = 31,
37041         },
37042         {
37043                 .key    = "\x5b\x17\x30\x94\x19\x31\xa1\xae"
37044                           "\x24\x8e\x42\x1e\x82\xe6\xec\xb8",
37045                 .iv     = "\xd1\x2e\xb9\xb8\xf8\x49\xeb\x68"
37046                           "\x06\xeb\x65\x33\x34\xa2\xeb\xf0",
37047                 .ptext  = "\x19\x75\xec\x59\x60\x1b\x7a\x3e"
37048                           "\x62\x46\x87\xf0\xde\xab\x81\x36"
37049                           "\x63\x53\x11\xa0\x1f\xce\x25\x85"
37050                           "\x49\x6b\x28\xfa\x1c\x92\xe5\x18"
37051                           "\x38\x14\x00\x79\xf2\x9e\xeb\xfc"
37052                           "\x36\xa7\x6b\xe1\xe5\xcf\x04\x48"
37053                           "\x44\x6d\xbd\x64\xb3\xcb\x78\x05"
37054                           "\x8d\x7f\x9a\xaf\x3c\xcf\x6c\x45"
37055                           "\x6c\x7c\x46\x4c\xa8\xc0\x1e\xe4"
37056                           "\x33\xa5\x7b\xbb\x26\xd9\xc0\x32"
37057                           "\x9d\x8a\xb3\xf3\x3d\x52\xe6\x48"
37058                           "\x4c\x9b\x4c\x6e\xa4\xa3\xad\x66"
37059                           "\x56\x48\xd5\x98\x3a\x93\xc4\x85"
37060                           "\xe9\x89\xca\xa6\xc1\xc8\xe7\xf8"
37061                           "\xc3\xe9\xef\xbe\x77\xe6\xd1\x3a"
37062                           "\xa6\x99\xc8\x2d\xdf\x40\x0f\x44",
37063                 .ctext  = "\xc6\x1a\x01\x1a\x00\xba\x04\xff"
37064                           "\x10\xd1\x7e\x5d\xad\x91\xde\x8c"
37065                           "\x08\x55\x95\xae\xd7\x22\x77\x40"
37066                           "\xf0\x33\x1b\x51\xef\xfe\x3d\x67"
37067                           "\xdf\xc4\x9f\x39\x47\x67\x93\xab"
37068                           "\xaa\x37\x55\xfe\x41\xe0\xba\xcd"
37069                           "\x25\x02\x7c\x61\x51\xa1\xcc\x72"
37070                           "\x7a\x20\x26\xb9\x06\x68\xbd\x19"
37071                           "\xc5\x2e\x1b\x75\x4a\x40\xb2\xd2"
37072                           "\xc4\xee\xd8\x5b\xa4\x55\x7d\x25"
37073                           "\xfc\x01\x4d\x6f\x0a\xfd\x37\x5d"
37074                           "\x3e\x67\xc0\x35\x72\x53\x7b\xe2"
37075                           "\xd6\x19\x5b\x92\x6c\x3a\x8c\x2a"
37076                           "\xe2\xc2\xa2\x4f\x2a\xf2\xb5\x15"
37077                           "\x65\xc5\x8d\x97\xf9\xbf\x8c\x98"
37078                           "\xe4\x50\x1a\xf2\x76\x55\x07\x49",
37079                 .klen   = 16,
37080                 .len    = 128,
37081         },
37082         {
37083                 .key    = "\x17\xa6\x01\x3d\x5d\xd6\xef\x2d"
37084                           "\x69\x8f\x4c\x54\x5b\xae\x43\xf0",
37085                 .iv     = "\xa9\x1b\x47\x60\x26\x82\xf7\x1c"
37086                           "\x80\xf8\x88\xdd\xfb\x44\xd9\xda",
37087                 .ptext  = "\xf7\x67\xcd\xa6\x04\x65\x53\x99"
37088                           "\x90\x5c\xa2\x56\x74\xd7\x9d\xf2"
37089                           "\x0b\x03\x7f\x4e\xa7\x84\x72\x2b"
37090                           "\xf0\xa5\xbf\xe6\x9a\x62\x3a\xfe"
37091                           "\x69\x5c\x93\x79\x23\x86\x64\x85"
37092                           "\xeb\x13\xb1\x5a\xd5\x48\x39\xa0"
37093                           "\x70\xfb\x06\x9a\xd7\x12\x5a\xb9"
37094                           "\xbe\xed\x2c\x81\x64\xf7\xcf\x80"
37095                           "\xee\xe6\x28\x32\x2d\x37\x4c\x32"
37096                           "\xf4\x1f\x23\x21\xe9\xc8\xc9\xbf"
37097                           "\x54\xbc\xcf\xb4\xc2\x65\x39\xdf"
37098                           "\xa5\xfb\x14\x11\xed\x62\x38\xcf"
37099                           "\x9b\x58\x11\xdd\xe9\xbd\x37\x57"
37100                           "\x75\x4c\x9e\xd5\x67\x0a\x48\xc6"
37101                           "\x0d\x05\x4e\xb1\x06\xd7\xec\x2e"
37102                           "\x9e\x59\xde\x4f\xab\x38\xbb\xe5"
37103                           "\x87\x04\x5a\x2c\x2a\xa2\x8f\x3c"
37104                           "\xe7\xe1\x46\xa9\x49\x9f\x24\xad"
37105                           "\x2d\xb0\x55\x40\x64\xd5\xda\x7e"
37106                           "\x1e\x77\xb8\x29\x72\x73\xc3\x84"
37107                           "\xcd\xf3\x94\x90\x58\x76\xc9\x2c"
37108                           "\x2a\xad\x56\xde\x33\x18\xb6\x3b"
37109                           "\x10\xe9\xe9\x8d\xf0\xa9\x7f\x05"
37110                           "\xf7\xb5\x8c\x13\x7e\x11\x3d\x1e"
37111                           "\x02\xbb\x5b\xea\x69\xff\x85\xcf"
37112                           "\x6a\x18\x97\x45\xe3\x96\xba\x4d"
37113                           "\x2d\x7a\x70\x78\x15\x2c\xe9\xdc"
37114                           "\x4e\x09\x92\x57\x04\xd8\x0b\xa6"
37115                           "\x20\x71\x76\x47\x76\x96\x89\xa0"
37116                           "\xd9\x29\xa2\x5a\x06\xdb\x56\x39"
37117                           "\x60\x33\x59\x04\x95\x89\xf6\x18"
37118                           "\x1d\x70\x75\x85\x3a\xb7\x6e",
37119                 .ctext  = "\xe1\xe7\x3f\xd3\x6a\xb9\x2f\x64"
37120                           "\x37\xc5\xa4\xe9\xca\x0a\xa1\xd6"
37121                           "\xea\x7d\x39\xe5\xe6\xcc\x80\x54"
37122                           "\x74\x31\x2a\x04\x33\x79\x8c\x8e"
37123                           "\x4d\x47\x84\x28\x27\x9b\x3c\x58"
37124                           "\x54\x58\x20\x4f\x70\x01\x52\x5b"
37125                           "\xac\x95\x61\x49\x5f\xef\xba\xce"
37126                           "\xd7\x74\x56\xe7\xbb\xe0\x3c\xd0"
37127                           "\x7f\xa9\x23\x57\x33\x2a\xf6\xcb"
37128                           "\xbe\x42\x14\x95\xa8\xf9\x7a\x7e"
37129                           "\x12\x53\x3a\xe2\x13\xfe\x2d\x89"
37130                           "\xeb\xac\xd7\xa8\xa5\xf8\x27\xf3"
37131                           "\x74\x9a\x65\x63\xd1\x98\x3a\x7e"
37132                           "\x27\x7b\xc0\x20\x00\x4d\xf4\xe5"
37133                           "\x7b\x69\xa6\xa8\x06\x50\x85\xb6"
37134                           "\x7f\xac\x7f\xda\x1f\xf5\x37\x56"
37135                           "\x9b\x2f\xd3\x86\x6b\x70\xbd\x0e"
37136                           "\x55\x9a\x9d\x4b\x08\xb5\x5b\x7b"
37137                           "\xd4\x7c\xb4\x71\x49\x92\x4a\x1e"
37138                           "\xed\x6d\x11\x09\x47\x72\x32\x6a"
37139                           "\x97\x53\x36\xaf\xf3\x06\x06\x2c"
37140                           "\x69\xf1\x59\x00\x36\x95\x28\x2a"
37141                           "\xb6\xcd\x10\x21\x84\x73\x5c\x96"
37142                           "\x86\x14\x2c\x3d\x02\xdb\x53\x9a"
37143                           "\x61\xde\xea\x99\x84\x7a\x27\xf6"
37144                           "\xf7\xc8\x49\x73\x4b\xb8\xeb\xd3"
37145                           "\x41\x33\xdd\x09\x68\xe2\x64\xb8"
37146                           "\x5f\x75\x74\x97\x91\x54\xda\xc2"
37147                           "\x73\x2c\x1e\x5a\x84\x48\x01\x1a"
37148                           "\x0d\x8b\x0a\xdf\x07\x2e\xee\x77"
37149                           "\x1d\x17\x41\x7a\xc9\x33\x63\xfa"
37150                           "\x9f\xc3\x74\x57\x5f\x03\x4c",
37151                 .klen   = 16,
37152                 .len    = 255,
37153         },
37154         {
37155                 .key    = "\xe5\xf1\x48\x2e\x88\xdb\xc7\x28"
37156                           "\xa2\x55\x5d\x2f\x90\x02\xdc\xd3"
37157                           "\xf5\xd3\x9e\x87\xd5\x58\x30\x4a",
37158                 .iv     = "\xa6\x40\x39\xf9\x63\x6c\x2d\xd4"
37159                           "\x1b\x71\x05\xa4\x88\x86\x11\xd3",
37160                 .ptext  = "\xb6\x06\xae\x15\x11\x96\xc1\x44"
37161                           "\x44\xc2\x98\xf9\xa8\x0a\x0b",
37162                 .ctext  = "\x27\x3b\x68\x40\xa9\x5e\x74\x6b"
37163                           "\x74\x67\x18\xf9\x37\xed\xed",
37164                 .klen   = 24,
37165                 .len    = 15,
37166         },
37167         {
37168                 .key    = "\xc8\xa0\x27\x67\x04\x3f\xed\xa5"
37169                           "\xb4\x0c\x51\x91\x2d\x27\x77\x33"
37170                           "\xa5\xfc\x2a\x9f\x78\xd8\x1c\x68",
37171                 .iv     = "\x83\x99\x1a\xe2\x84\xca\xa9\x16"
37172                           "\x8d\xc4\x2d\x1b\x67\xc8\x86\x21",
37173                 .ptext  = "\xd6\x22\x85\xb8\x5d\x7e\x26\x2e"
37174                           "\xbe\x04\x9d\x0c\x03\x91\x45\x4a"
37175                           "\x36",
37176                 .ctext  = "\x0f\x44\xa9\x62\x72\xec\x12\x26"
37177                           "\x3a\xc6\x83\x26\x62\x5e\xb7\x13"
37178                           "\x05",
37179                 .klen   = 24,
37180                 .len    = 17,
37181         },
37182         {
37183                 .key    = "\xc5\x87\x18\x09\x0a\x4e\x66\x3e"
37184                           "\x50\x90\x19\x93\xc0\x33\xcf\x80"
37185                           "\x3a\x36\x6b\x6c\x43\xd7\xe4\x93",
37186                 .iv     = "\xdd\x0b\x75\x1f\xee\x2f\xb4\x52"
37187                           "\x10\x82\x1f\x79\x8a\xa4\x9b\x87",
37188                 .ptext  = "\x56\xf9\x13\xce\x9f\x30\x10\x11"
37189                           "\x1b\x59\xfd\x39\x5a\x29\xa3\x44"
37190                           "\x78\x97\x8c\xf6\x99\x6d\x26\xf1"
37191                           "\x32\x60\x6a\xeb\x04\x47\x29\x4c"
37192                           "\x7e\x14\xef\x4d\x55\x29\xfe\x36"
37193                           "\x37\xcf\x0b\x6e\xf3\xce\x15\xd2",
37194                 .ctext  = "\x8f\x98\xe1\x5a\x7f\xfe\xc7\x05"
37195                           "\x76\xb0\xd5\xde\x90\x52\x2b\xa8"
37196                           "\xf3\x6e\x3c\x77\xa5\x33\x63\xdd"
37197                           "\x6f\x62\x12\xb0\x80\x10\xc1\x28"
37198                           "\x58\xe5\xd6\x24\x44\x04\x55\xf3"
37199                           "\x6d\x94\xcb\x2c\x7e\x7a\x85\x79",
37200                 .klen   = 24,
37201                 .len    = 48,
37202         },
37203         {
37204                 .key    = "\x84\x9b\xe8\x10\x4c\xb3\xd1\x7a"
37205                           "\xb3\xab\x4e\x6f\x90\x12\x07\xf8"
37206                           "\xef\xde\x42\x09\xbf\x34\x95\xb2",
37207                 .iv     = "\x66\x62\xf9\x48\x9d\x17\xf7\xdf"
37208                           "\x06\x67\xf4\x6d\xf2\xbc\xa2\xe5",
37209                 .ptext  = "\x2f\xd6\x16\x6b\xf9\x4b\x44\x14"
37210                           "\x90\x93\xe5\xfd\x05\xaa\x00\x26"
37211                           "\xbd\xab\x11\xb8\xf0\xcb\x11\x72"
37212                           "\xdd\xc5\x15\x4f\x4e\x1b\xf8\xc9"
37213                           "\x8f\x4a\xd5\x69\xf8\x9e\xfb\x05"
37214                           "\x8a\x37\x46\xfe\xfa\x58\x9b\x0e"
37215                           "\x72\x90\x9a\x06\xa5\x42\xf4\x7c"
37216                           "\x35\xd5\x64\x70\x72\x67\xfc\x8b"
37217                           "\xab\x5a\x2f\x64\x9b\xa1\xec\xe7"
37218                           "\xe6\x92\x69\xdb\x62\xa4\xe7\x44"
37219                           "\x88\x28\xd4\x52\x64\x19\xa9\xd7"
37220                           "\x0c\x00\xe6\xe7\xc1\x28\xc1\xf5"
37221                           "\x72\xc5\xfa\x09\x22\x2e\xf4\x82"
37222                           "\xa3\xdc\xc1\x68\xf9\x29\x55\x8d"
37223                           "\x04\x67\x13\xa6\x52\x04\x3c\x0c"
37224                           "\x14\xf2\x87\x23\x61\xab\x82\xcb"
37225                           "\x49\x5b\x6b\xd4\x4f\x0d\xd4\x95"
37226                           "\x82\xcd\xe3\x69\x47\x1b\x31\x73"
37227                           "\x73\x77\xc1\x53\x7d\x43\x5e\x4a"
37228                           "\x80\x3a\xca\x9c\xc7\x04\x1a\x31"
37229                           "\x8e\xe6\x76\x7f\xe1\xb3\xd0\x57"
37230                           "\xa2\xb2\xf6\x09\x51\xc9\x6d\xbc"
37231                           "\x79\xed\x57\x50\x36\xd2\x93\xa4"
37232                           "\x40\x5d\xac\x3a\x3b\xb6\x2d\x89"
37233                           "\x78\xa2\xbd\x23\xec\x35\x06\xf0"
37234                           "\xa8\xc8\xc9\xb0\xe3\x28\x2b\xba"
37235                           "\x70\xa0\xfe\xed\x13\xc4\xd7\x90"
37236                           "\xb1\x6a\xe0\xe1\x30\x71\x15\xd0"
37237                           "\xe2\xb3\xa6\x4e\xb0\x01\xf9\xe7"
37238                           "\x59\xc6\x1e\xed\x46\x2b\xe3\xa8"
37239                           "\x22\xeb\x7f\x1c\xd9\xcd\xe0\xa6"
37240                           "\x72\x42\x2c\x06\x75\xbb\xb7\x6b"
37241                           "\xca\x49\x5e\xa1\x47\x8d\x9e\xfe"
37242                           "\x60\xcc\x34\x95\x8e\xfa\x1e\x3e"
37243                           "\x85\x4b\x03\x54\xea\x34\x1c\x41"
37244                           "\x90\x45\xa6\xbe\xcf\x58\x4f\xca"
37245                           "\x2c\x79\xc0\x3e\x8f\xd7\x3b\xd4"
37246                           "\x55\x74\xa8\xe1\x57\x09\xbf\xab"
37247                           "\x2c\xf9\xe4\xdd\x17\x99\x57\x60"
37248                           "\x4b\x88\x2a\x7f\x43\x86\xb9\x9a"
37249                           "\x60\xbf\x4c\xcf\x9b\x41\xb8\x99"
37250                           "\x69\x15\x4f\x91\x4d\xeb\xdf\x6f"
37251                           "\xcc\x4c\xf9\x6f\xf2\x33\x23\xe7"
37252                           "\x02\x44\xaa\xa2\xfa\xb1\x39\xa5"
37253                           "\xff\x88\xf5\x37\x02\x33\x24\xfc"
37254                           "\x79\x11\x4c\x94\xc2\x31\x87\x9c"
37255                           "\x53\x19\x99\x32\xe4\xde\x18\xf4"
37256                           "\x8f\xe2\xe8\xa3\xfb\x0b\xaa\x7c"
37257                           "\xdb\x83\x0f\xf6\xc0\x8a\x9b\xcd"
37258                           "\x7b\x16\x05\x5b\xe4\xb4\x34\x03"
37259                           "\xe3\x8f\xc9\x4b\x56\x84\x2a\x4c"
37260                           "\x36\x72\x3c\x84\x4f\xba\xa2\x7f"
37261                           "\xf7\x1b\xba\x4d\x8a\xb8\x5d\x51"
37262                           "\x36\xfb\xef\x23\x18\x6f\x33\x2d"
37263                           "\xbb\x06\x24\x8e\x33\x98\x6e\xcd"
37264                           "\x63\x11\x18\x6b\xcc\x1b\x66\xb9"
37265                           "\x38\x8d\x06\x8d\x98\x1a\xef\xaa"
37266                           "\x35\x4a\x90\xfa\xb1\xd3\xcc\x11"
37267                           "\x50\x4c\x54\x18\x60\x5d\xe4\x11"
37268                           "\xfc\x19\xe1\x53\x20\x5c\xe7\xef"
37269                           "\x8a\x2b\xa8\x82\x51\x5f\x5d\x43"
37270                           "\x34\xe5\xcf\x7b\x1b\x6f\x81\x19"
37271                           "\xb7\xdf\xa8\x9e\x81\x89\x5f\x33"
37272                           "\x69\xaf\xde\x89\x68\x88\xf0\x71",
37273                 .ctext  = "\xab\x15\x46\x5b\xed\x4f\xa8\xac"
37274                           "\xbf\x31\x30\x84\x55\xa4\xb8\x98"
37275                           "\x79\xba\xa0\x15\xa4\x55\x20\xec"
37276                           "\xf9\x94\x71\xe6\x6a\x6f\xee\x87"
37277                           "\x2e\x3a\xa2\x95\xae\x6e\x56\x09"
37278                           "\xe9\xc0\x0f\xe2\xc6\xb7\x30\xa9"
37279                           "\x73\x8e\x59\x7c\xfd\xe3\x71\xf7"
37280                           "\xae\x8b\x91\xab\x5e\x36\xe9\xa8"
37281                           "\xff\x17\xfa\xa2\x94\x93\x11\x42"
37282                           "\x67\x96\x99\xc5\xf0\xad\x2a\x57"
37283                           "\xf9\xa6\x70\x4a\xdf\x71\xff\xc0"
37284                           "\xe2\xaf\x9a\xae\x57\x58\x13\x3b"
37285                           "\x2d\xf1\xc7\x8f\xdb\x8a\xcc\xce"
37286                           "\x53\x1a\x69\x55\x39\xc8\xbe\xc3"
37287                           "\x2d\xb1\x03\xd9\xa3\x99\xf4\x8d"
37288                           "\xd9\x2d\x27\xae\xa5\xe7\x77\x7f"
37289                           "\xbb\x88\x84\xea\xfa\x19\x3f\x44"
37290                           "\x61\x21\x8a\x1f\xbe\xac\x60\xb4"
37291                           "\xaf\xe9\x00\xab\xef\x3c\x53\x56"
37292                           "\xcd\x4b\x53\xd8\x9b\xfe\x88\x23"
37293                           "\x5b\x85\x76\x08\xec\xd1\x6e\x4a"
37294                           "\x87\xa4\x7d\x29\x4e\x4f\x3f\xc9"
37295                           "\xa4\xab\x63\xea\xdd\xef\x9f\x79"
37296                           "\x38\x18\x7d\x90\x90\xf9\x12\x57"
37297                           "\x1d\x89\xea\xfe\xd4\x47\x45\x32"
37298                           "\x6a\xf6\xe7\xde\x22\x7e\xee\xc1"
37299                           "\xbc\x2d\xc3\xbb\xe5\xd4\x13\xac"
37300                           "\x63\xff\x5b\xb1\x05\x96\xd5\xf3"
37301                           "\x07\x9a\x62\xb6\x30\xea\x7d\x1e"
37302                           "\xee\x75\x0a\x1b\xcc\x6e\x4d\xa7"
37303                           "\xf7\x4d\x74\xd8\x60\x32\x5e\xd0"
37304                           "\x93\xd7\x19\x90\x4e\x26\xdb\xe4"
37305                           "\x5e\xd4\xa8\xb9\x76\xba\x56\x91"
37306                           "\xc4\x75\x04\x1e\xc2\x77\x24\x6f"
37307                           "\xf9\xe8\x4a\xec\x7f\x86\x95\xb3"
37308                           "\x5c\x2c\x97\xab\xf0\xf7\x74\x5b"
37309                           "\x0b\xc2\xda\x42\x40\x34\x16\xed"
37310                           "\x06\xc1\x25\x53\x17\x0d\x81\x4e"
37311                           "\xe6\xf2\x0f\x6d\x94\x3c\x90\x7a"
37312                           "\xae\x20\xe9\x3f\xf8\x18\x67\x6a"
37313                           "\x49\x1e\x41\xb6\x46\xab\xc8\xa7"
37314                           "\xcb\x19\x96\xf5\x99\xc0\x66\x3e"
37315                           "\x77\xcf\x73\x52\x83\x2a\xe2\x48"
37316                           "\x27\x6c\xeb\xe7\xe7\xc4\xd5\x6a"
37317                           "\x40\x67\xbc\xbf\x6b\x3c\xf3\xbb"
37318                           "\x51\x5e\x31\xac\x03\x81\xab\x61"
37319                           "\xfa\xa5\xa6\x7d\x8b\xc3\x8a\x75"
37320                           "\x28\x7a\x71\x9c\xac\x8f\x76\xfc"
37321                           "\xf9\x6c\x5d\x9b\xd7\xf6\x36\x2d"
37322                           "\x61\xd5\x61\xaa\xdd\x01\xfc\x57"
37323                           "\x91\x10\xcd\xcd\x6d\x27\x63\x24"
37324                           "\x67\x46\x7a\xbb\x61\x56\x39\xb1"
37325                           "\xd6\x79\xfe\x77\xca\xd6\x73\x59"
37326                           "\x6e\x58\x11\x90\x03\x26\x74\x2a"
37327                           "\xfa\x52\x12\x47\xfb\x12\xeb\x3e"
37328                           "\x88\xf0\x52\x6c\xc0\x54\x7a\x88"
37329                           "\x8c\xe5\xde\x9e\xba\xb9\xf2\xe1"
37330                           "\x97\x2e\x5c\xbd\xf4\x13\x7e\xf3"
37331                           "\xc4\xe1\x87\xa5\x35\xfa\x7c\x71"
37332                           "\x1a\xc9\xf4\xa8\x57\xe2\x5a\x6b"
37333                           "\x14\xe0\x73\xaf\x56\x6b\xa0\x00"
37334                           "\x9e\x5f\x64\xac\x00\xfb\xc4\x92"
37335                           "\xe5\xe2\x8a\xb2\x9e\x75\x49\x85"
37336                           "\x25\x66\xa5\x1a\xf9\x7d\x1d\x60",
37337                 .klen   = 24,
37338                 .len    = 512,
37339         },
37340         {
37341                 .key    = "\x05\x60\x3a\x7e\x60\x90\x46\x18"
37342                           "\x6c\x60\xba\xeb\x12\xd7\xbe\xd1"
37343                           "\xd3\xf6\x10\x46\x9d\xf1\x0c\xb4"
37344                           "\x73\xe3\x93\x27\xa8\x2c\x13\xaa",
37345                 .iv     = "\xf5\x96\xd1\xb6\xcb\x44\xd8\xd0"
37346                           "\x3e\xdb\x92\x80\x08\x94\xcd\xd3",
37347                 .ptext  = "\x78",
37348                 .ctext  = "\xc5",
37349                 .klen   = 32,
37350                 .len    = 1,
37351         },
37352         {
37353                 .key    = "\x35\xca\x38\xf3\xd9\xd6\x34\xef"
37354                           "\xcd\xee\xa3\x26\x86\xba\xfb\x45"
37355                           "\x01\xfa\x52\x67\xff\xc5\x9d\xaa"
37356                           "\x64\x9a\x05\xbb\x85\x20\xa7\xf2",
37357                 .iv     = "\xe3\xda\xf5\xff\x42\x59\x87\x86"
37358                           "\xee\x7b\xd6\xb4\x6a\x25\x44\xff",
37359                 .ptext  = "\x44\x67\x1e\x04\x53\xd2\x4b\xd9"
37360                           "\x96\x33\x07\x54\xe4\x8e\x20",
37361                 .ctext  = "\xcc\x55\x40\x79\x47\x5c\x8b\xa6"
37362                           "\xca\x7b\x9f\x50\xe3\x21\xea",
37363                 .klen   = 32,
37364                 .len    = 15,
37365         },
37366         {
37367                 .key    = "\xaf\xd9\x14\x14\xd5\xdb\xc9\xce"
37368                           "\x76\x5c\x5a\xbf\x43\x05\x29\x24"
37369                           "\xc4\x13\x68\xcc\xe8\x37\xbd\xb9"
37370                           "\x41\x20\xf5\x53\x48\xd0\xa2\xd6",
37371                 .iv     = "\xa7\xb4\x00\x08\x79\x10\xae\xf5"
37372                           "\x02\xbf\x85\xb2\x69\x4c\xc6\x04",
37373                 .ptext  = "\xac\x6a\xa8\x0c\xb0\x84\xbf\x4c"
37374                           "\xae\x94\x20\x58\x7e\x00\x93\x89",
37375                 .ctext  = "\xd5\xaa\xe2\xe9\x86\x4c\x95\x4e"
37376                           "\xde\xb6\x15\xcb\xdc\x1f\x13\x38",
37377                 .klen   = 32,
37378                 .len    = 16,
37379         },
37380         {
37381                 .key    = "\xed\xe3\x8b\xe7\x1c\x17\xbf\x4a"
37382                           "\x02\xe2\xfc\x76\xac\xf5\x3c\x00"
37383                           "\x5d\xdc\xfc\x83\xeb\x45\xb4\xcb"
37384                           "\x59\x62\x60\xec\x69\x9c\x16\x45",
37385                 .iv     = "\xe4\x0e\x2b\x90\xd2\xfa\x94\x2e"
37386                           "\x10\xe5\x64\x2b\x97\x28\x15\xc7",
37387                 .ptext  = "\xe6\x53\xff\x60\x0e\xc4\x51\xe4"
37388                           "\x93\x4d\xe5\x55\xc5\xd9\xad\x48"
37389                           "\x52",
37390                 .ctext  = "\xba\x25\x28\xf5\xcf\x31\x91\x80"
37391                           "\xda\x2b\x95\x5f\x20\xcb\xfb\x9f"
37392                           "\xc6",
37393                 .klen   = 32,
37394                 .len    = 17,
37395         },
37396         {
37397                 .key    = "\x77\x5c\xc0\x73\x9a\x64\x97\x91"
37398                           "\x2f\xee\xe0\x20\xc2\x04\x59\x2e"
37399                           "\x97\xd2\xa7\x70\xb3\xb0\x21\x6b"
37400                           "\x8f\xbf\xb8\x51\xa8\xea\x0f\x62",
37401                 .iv     = "\x31\x8e\x1f\xcd\xfd\x23\xeb\x7f"
37402                           "\x8a\x1f\x1b\x23\x53\x27\x44\xe5",
37403                 .ptext  = "\xcd\xff\x8c\x9b\x94\x5a\x51\x3f"
37404                           "\x40\x93\x56\x93\x66\x39\x63\x1f"
37405                           "\xbf\xe6\xa4\xfa\xbe\x79\x93\x03"
37406                           "\xf5\x66\x74\x16\xfc\xe4\xce",
37407                 .ctext  = "\x8b\xd3\xc3\xce\x66\xf8\x66\x4c"
37408                           "\xad\xd6\xf5\x0f\xd8\x99\x5a\x75"
37409                           "\xa1\x3c\xab\x0b\x21\x36\x57\x72"
37410                           "\x88\x29\xe9\xea\x4a\x8d\xe9",
37411                 .klen   = 32,
37412                 .len    = 31,
37413         },
37414         {
37415                 .key    = "\xa1\x2f\x4d\xde\xfe\xa1\xff\xa8"
37416                           "\x73\xdd\xe3\xe2\x95\xfc\xea\x9c"
37417                           "\xd0\x80\x42\x0c\xb8\x43\x3e\x99"
37418                           "\x39\x38\x0a\x8c\xe8\x45\x3a\x7b",
37419                 .iv     = "\x32\xc4\x6f\xb1\x14\x43\xd1\x87"
37420                           "\xe2\x6f\x5a\x58\x02\x36\x7e\x2a",
37421                 .ptext  = "\x9e\x5c\x1e\xf1\xd6\x7d\x09\x57"
37422                           "\x18\x48\x55\xda\x7d\x44\xf9\x6d"
37423                           "\xac\xcd\x59\xbb\x10\xa2\x94\x67"
37424                           "\xd1\x6f\xfe\x6b\x4a\x11\xe8\x04"
37425                           "\x09\x26\x4f\x8d\x5d\xa1\x7b\x42"
37426                           "\xf9\x4b\x66\x76\x38\x12\xfe\xfe",
37427                 .ctext  = "\x42\xbc\xa7\x64\x15\x9a\x04\x71"
37428                           "\x2c\x5f\x94\xba\x89\x3a\xad\xbc"
37429                           "\x87\xb3\xf4\x09\x4f\x57\x06\x18"
37430                           "\xdc\x84\x20\xf7\x64\x85\xca\x3b"
37431                           "\xab\xe6\x33\x56\x34\x60\x5d\x4b"
37432                           "\x2e\x16\x13\xd4\x77\xde\x2d\x2b",
37433                 .klen   = 32,
37434                 .len    = 48,
37435         },
37436         {
37437                 .key    = "\xfb\xf5\xb7\x3d\xa6\x95\x42\xbf"
37438                           "\xd2\x94\x6c\x74\x0f\xbc\x5a\x28"
37439                           "\x35\x3c\x51\x58\x84\xfb\x7d\x11"
37440                           "\x16\x1e\x00\x97\x37\x08\xb7\x16",
37441                 .iv     = "\x9b\x53\x57\x40\xe6\xd9\xa7\x27"
37442                           "\x78\xd4\x9b\xd2\x29\x1d\x24\xa9",
37443                 .ptext  = "\x8b\x02\x60\x0a\x3e\xb7\x10\x59"
37444                           "\xc3\xac\xd5\x2a\x75\x81\xf2\xdb"
37445                           "\x55\xca\x65\x86\x44\xfb\xfe\x91"
37446                           "\x26\xbb\x45\xb2\x46\x22\x3e\x08"
37447                           "\xa2\xbf\x46\xcb\x68\x7d\x45\x7b"
37448                           "\xa1\x6a\x3c\x6e\x25\xeb\xed\x31"
37449                           "\x7a\x8b\x47\xf9\xde\xec\x3d\x87"
37450                           "\x09\x20\x2e\xfa\xba\x8b\x9b\xc5"
37451                           "\x6c\x25\x9c\x9d\x2a\xe8\xab\x90"
37452                           "\x3f\x86\xee\x61\x13\x21\xd4\xde"
37453                           "\xe1\x0c\x95\xfc\x5c\x8a\x6e\x0a"
37454                           "\x73\xcf\x08\x69\x44\x4e\xde\x25"
37455                           "\xaf\xaa\x56\x04\xc4\xb3\x60\x44"
37456                           "\x3b\x8b\x3d\xee\xae\x42\x4b\xd2"
37457                           "\x9a\x6c\xa0\x8e\x52\x06\xb2\xd1"
37458                           "\x5d\x38\x30\x6d\x27\x9b\x1a\xd8",
37459                 .ctext  = "\xa3\x78\x33\x78\x95\x95\x97\x07"
37460                           "\x53\xa3\xa1\x5b\x18\x32\x27\xf7"
37461                           "\x09\x12\x53\x70\x83\xb5\x6a\x9f"
37462                           "\x26\x6d\x10\x0d\xe0\x1c\xe6\x2b"
37463                           "\x70\x00\xdc\xa1\x60\xef\x1b\xee"
37464                           "\xc5\xa5\x51\x17\xae\xcc\xf2\xed"
37465                           "\xc4\x60\x07\xdf\xd5\x7a\xe9\x90"
37466                           "\x3c\x9f\x96\x5d\x72\x65\x5d\xef"
37467                           "\xd0\x94\x32\xc4\x85\x90\x78\xa1"
37468                           "\x2e\x64\xf6\xee\x8e\x74\x3f\x20"
37469                           "\x2f\x12\x3b\x3d\xd5\x39\x8e\x5a"
37470                           "\xf9\x8f\xce\x94\x5d\x82\x18\x66"
37471                           "\x14\xaf\x4c\xfe\xe0\x91\xc3\x4a"
37472                           "\x85\xcf\xe7\xe8\xf7\xcb\xf0\x31"
37473                           "\x88\x7d\xc9\x5b\x71\x9d\x5f\xd2"
37474                           "\xfa\xed\xa6\x24\xda\xbb\xb1\x84",
37475                 .klen   = 32,
37476                 .len    = 128,
37477         },
37478         {
37479                 .key    = "\x32\x37\x2b\x8f\x7b\xb1\x23\x79"
37480                           "\x05\x52\xde\x05\xf1\x68\x3f\x6c"
37481                           "\xa4\xae\xbc\x21\xc2\xc6\xf0\xbd"
37482                           "\x0f\x20\xb7\xa4\xc5\x05\x7b\x64",
37483                 .iv     = "\xff\x26\x4e\x67\x48\xdd\xcf\xfe"
37484                           "\x42\x09\x04\x98\x5f\x1e\xfa\x80",
37485                 .ptext  = "\x99\xdc\x3b\x19\x41\xf9\xff\x6e"
37486                           "\x76\xb5\x03\xfa\x61\xed\xf8\x44"
37487                           "\x70\xb9\xf0\x83\x80\x6e\x31\x77"
37488                           "\x77\xe4\xc7\xb4\x77\x02\xab\x91"
37489                           "\x82\xc6\xf8\x7c\x46\x61\x03\x69"
37490                           "\x09\xa0\xf7\x12\xb7\x81\x6c\xa9"
37491                           "\x10\x5c\xbb\x55\xb3\x44\xed\xb5"
37492                           "\xa2\x52\x48\x71\x90\x5d\xda\x40"
37493                           "\x0b\x7f\x4a\x11\x6d\xa7\x3d\x8e"
37494                           "\x1b\xcd\x9d\x4e\x75\x8b\x7d\x87"
37495                           "\xe5\x39\x34\x32\x1e\xe6\x8d\x51"
37496                           "\xd4\x1f\xe3\x1d\x50\xa0\x22\x37"
37497                           "\x7c\xb0\xd9\xfb\xb6\xb2\x16\xf6"
37498                           "\x6d\x26\xa0\x4e\x8c\x6a\xe6\xb6"
37499                           "\xbe\x4c\x7c\xe3\x88\x10\x18\x90"
37500                           "\x11\x50\x19\x90\xe7\x19\x3f\xd0"
37501                           "\x31\x15\x0f\x06\x96\xfe\xa7\x7b"
37502                           "\xc3\x32\x88\x69\xa4\x12\xe3\x64"
37503                           "\x02\x30\x17\x74\x6c\x88\x7c\x9b"
37504                           "\xd6\x6d\x75\xdf\x11\x86\x70\x79"
37505                           "\x48\x7d\x34\x3e\x33\x58\x07\x8b"
37506                           "\xd2\x50\xac\x35\x15\x45\x05\xb4"
37507                           "\x4d\x31\x97\x19\x87\x23\x4b\x87"
37508                           "\x53\xdc\xa9\x19\x78\xf1\xbf\x35"
37509                           "\x30\x04\x14\xd4\xcf\xb2\x8c\x87"
37510                           "\x7d\xdb\x69\xc9\xcd\xfe\x40\x3e"
37511                           "\x8d\x66\x5b\x61\xe5\xf0\x2d\x87"
37512                           "\x93\x3a\x0c\x2b\x04\x98\x05\xc2"
37513                           "\x56\x4d\xc4\x6c\xcd\x7a\x98\x7e"
37514                           "\xe2\x2d\x79\x07\x91\x9f\xdf\x2f"
37515                           "\x72\xc9\x8f\xcb\x0b\x87\x1b\xb7"
37516                           "\x04\x86\xcb\x47\xfa\x5d\x03",
37517                 .ctext  = "\x0b\x00\xf7\xf2\xc8\x6a\xba\x9a"
37518                           "\x0a\x97\x18\x7a\x00\xa0\xdb\xf4"
37519                           "\x5e\x8e\x4a\xb7\xe0\x51\xf1\x75"
37520                           "\x17\x8b\xb4\xf1\x56\x11\x05\x9f"
37521                           "\x2f\x2e\xba\x67\x04\xe1\xb4\xa5"
37522                           "\xfc\x7c\x8c\xad\xc6\xb9\xd1\x64"
37523                           "\xca\xbd\x5d\xaf\xdb\x65\x48\x4f"
37524                           "\x1b\xb3\x94\x5c\x0b\xd0\xee\xcd"
37525                           "\xb5\x7f\x43\x8a\xd8\x8b\x66\xde"
37526                           "\xd2\x9c\x13\x65\xa4\x47\xa7\x03"
37527                           "\xc5\xa1\x46\x8f\x2f\x84\xbc\xef"
37528                           "\x48\x9d\x9d\xb5\xbd\x43\xff\xd2"
37529                           "\xd2\x7a\x5a\x13\xbf\xb4\xf6\x05"
37530                           "\x17\xcd\x01\x12\xf0\x35\x27\x96"
37531                           "\xf4\xc1\x65\xf7\x69\xef\x64\x1b"
37532                           "\x6e\x4a\xe8\x77\xce\x83\x01\xb7"
37533                           "\x60\xe6\x45\x2a\xcd\x41\x4a\xb5"
37534                           "\x8e\xcc\x45\x93\xf1\xd6\x64\x5f"
37535                           "\x32\x60\xe4\x29\x4a\x82\x6c\x86"
37536                           "\x16\xe4\xcc\xdb\x5f\xc8\x11\xa6"
37537                           "\xfe\x88\xd6\xc3\xe5\x5c\xbb\x67"
37538                           "\xec\xa5\x7b\xf5\xa8\x4f\x77\x25"
37539                           "\x5d\x0c\x2a\x99\xf9\xb9\xd1\xae"
37540                           "\x3c\x83\x2a\x93\x9b\x66\xec\x68"
37541                           "\x2c\x93\x02\x8a\x8a\x1e\x2f\x50"
37542                           "\x09\x37\x19\x5c\x2a\x3a\xc2\xcb"
37543                           "\xcb\x89\x82\x81\xb7\xbb\xef\x73"
37544                           "\x8b\xc9\xae\x42\x96\xef\x70\xc0"
37545                           "\x89\xc7\x3e\x6a\x26\xc3\xe4\x39"
37546                           "\x53\xa9\xcf\x63\x7d\x05\xf3\xff"
37547                           "\x52\x04\xf6\x7f\x23\x96\xe9\xf7"
37548                           "\xff\xd6\x50\xa3\x0e\x20\x71",
37549                 .klen   = 32,
37550                 .len    = 255,
37551         },
37552         {
37553                 .key    = "\x39\x5f\xf4\x9c\x90\x3a\x9a\x25"
37554                           "\x15\x11\x79\x39\xed\x26\x5e\xf6"
37555                           "\xda\xcf\x33\x4f\x82\x97\xab\x10"
37556                           "\xc1\x55\x48\x82\x80\xa8\x02\xb2",
37557                 .iv     = "\x82\x60\xd9\x06\xeb\x40\x99\x76"
37558                           "\x08\xc5\xa4\x83\x45\xb8\x38\x5a",
37559                 .ptext  = "\xa1\xa8\xac\xac\x08\xaf\x8f\x84"
37560                           "\xbf\xcc\x79\x31\x5e\x61\x01\xd1"
37561                           "\x4d\x5f\x9b\xcd\x91\x92\x9a\xa1"
37562                           "\x99\x0d\x49\xb2\xd7\xfd\x25\x93"
37563                           "\x51\x96\xbd\x91\x8b\x08\xf1\xc6"
37564                           "\x0d\x17\xf6\xef\xfd\xd2\x78\x16"
37565                           "\xc8\x08\x27\x7b\xca\x98\xc6\x12"
37566                           "\x86\x11\xdb\xd5\x08\x3d\x5a\x2c"
37567                           "\xcf\x15\x0e\x9b\x42\x78\xeb\x1f"
37568                           "\x52\xbc\xd7\x5a\x8a\x33\x6c\x14"
37569                           "\xfc\x61\xad\x2e\x1e\x03\x66\xea"
37570                           "\x79\x0e\x88\x88\xde\x93\xe3\x81"
37571                           "\xb5\xc4\x1c\xe6\x9c\x08\x18\x8e"
37572                           "\xa0\x87\xda\xe6\xf8\xcb\x30\x44"
37573                           "\x2d\x4e\xc0\xa3\x60\xf9\x62\x7b"
37574                           "\x4b\xd5\x61\x6d\xe2\x67\x95\x54"
37575                           "\x10\xd1\xca\x22\xe8\xb6\xb1\x3a"
37576                           "\x2d\xd7\x35\x5b\x22\x88\x55\x67"
37577                           "\x3d\x83\x8f\x07\x98\xa8\xf2\xcf"
37578                           "\x04\xb7\x9e\x52\xca\xe0\x98\x72"
37579                           "\x5c\xc1\x00\xd4\x1f\x2c\x61\xf3"
37580                           "\xe8\x40\xaf\x4a\xee\x66\x41\xa0"
37581                           "\x02\x77\x29\x30\x65\x59\x4b\x20"
37582                           "\x7b\x0d\x80\x97\x27\x7f\xd5\x90"
37583                           "\xbb\x9d\x76\x90\xe5\x43\x43\x72"
37584                           "\xd0\xd4\x14\x75\x66\xb3\xb6\xaf"
37585                           "\x09\xe4\x23\xb0\x62\xad\x17\x28"
37586                           "\x39\x26\xab\xf5\xf7\x5c\xb6\x33"
37587                           "\xbd\x27\x09\x5b\x29\xe4\x40\x0b"
37588                           "\xc1\x26\x32\xdb\x9a\xdf\xf9\x5a"
37589                           "\xae\x03\x2c\xa4\x40\x84\x9a\xb7"
37590                           "\x4e\x47\xa8\x0f\x23\xc7\xbb\xcf"
37591                           "\x2b\xf2\x32\x6c\x35\x6a\x91\xba"
37592                           "\x0e\xea\xa2\x8b\x2f\xbd\xb5\xea"
37593                           "\x6e\xbc\xb5\x4b\x03\xb3\x86\xe0"
37594                           "\x86\xcf\xba\xcb\x38\x2c\x32\xa6"
37595                           "\x6d\xe5\x28\xa6\xad\xd2\x7f\x73"
37596                           "\x43\x14\xf8\xb1\x99\x12\x2d\x2b"
37597                           "\xdf\xcd\xf2\x81\x43\x94\xdf\xb1"
37598                           "\x17\xc9\x33\xa6\x3d\xef\x96\xb8"
37599                           "\xd6\x0d\x00\xec\x49\x66\x85\x5d"
37600                           "\x44\x62\x12\x04\x55\x5c\x48\xd3"
37601                           "\xbd\x73\xac\x54\x8f\xbf\x97\x8e"
37602                           "\x85\xfd\xc2\xa1\x25\x32\x38\x6a"
37603                           "\x1f\xac\x57\x3c\x4f\x56\x73\xf2"
37604                           "\x1d\xb6\x48\x68\xc7\x0c\xe7\x60"
37605                           "\xd2\x8e\x4d\xfb\xc7\x20\x7b\xb7"
37606                           "\x45\x28\x12\xc6\x26\xae\xea\x7c"
37607                           "\x5d\xe2\x46\xb5\xae\xe1\xc3\x98"
37608                           "\x6f\x72\xd5\xa2\xfd\xed\x40\xfd"
37609                           "\xf9\xdf\x61\xec\x45\x2c\x15\xe0"
37610                           "\x1e\xbb\xde\x71\x37\x5f\x73\xc2"
37611                           "\x11\xcc\x6e\x6d\xe1\xb5\x1b\xd2"
37612                           "\x2a\xdd\x19\x8a\xc2\xe1\xa0\xa4"
37613                           "\x26\xeb\xb2\x2c\x4f\x77\x52\xf1"
37614                           "\x42\x72\x6c\xad\xd7\x78\x5d\x72"
37615                           "\xc9\x16\x26\x25\x1b\x4c\xe6\x58"
37616                           "\x79\x57\xb5\x06\x15\x4f\xe5\xba"
37617                           "\xa2\x7f\x2d\x5b\x87\x8a\x44\x70"
37618                           "\xec\xc7\xef\x84\xae\x60\xa2\x61"
37619                           "\x86\xe9\x18\xcd\x28\xc4\xa4\xf5"
37620                           "\xbc\x84\xb8\x86\xa0\xba\xf1\xf1"
37621                           "\x08\x3b\x32\x75\x35\x22\x7a\x65"
37622                           "\xca\x48\xe8\xef\x6e\xe2\x8e\x00",
37623                 .ctext  = "\x2f\xae\xd8\x67\xeb\x15\xde\x75"
37624                           "\x53\xa3\x0e\x5a\xcf\x1c\xbe\xea"
37625                           "\xde\xf9\xcf\xc2\x9f\xfd\x0f\x44"
37626                           "\xc0\xe0\x7a\x76\x1d\xcb\x4a\xf8"
37627                           "\x35\xd6\xe3\x95\x98\x6b\x3f\x89"
37628                           "\xc4\xe6\xb6\x6f\xe1\x8b\x39\x4b"
37629                           "\x1c\x6c\x77\xe4\xe1\x8a\xbc\x61"
37630                           "\x00\x6a\xb1\x37\x2f\x45\xe6\x04"
37631                           "\x52\x0b\xfc\x1e\x32\xc1\xd8\x9d"
37632                           "\xfa\xdd\x67\x5c\xe0\x75\x83\xd0"
37633                           "\x21\x9e\x02\xea\xc0\x7f\xc0\x29"
37634                           "\xb3\x6c\xa5\x97\xb3\x29\x82\x1a"
37635                           "\x94\xa5\xb4\xb6\x49\xe5\xa5\xad"
37636                           "\x95\x40\x52\x7c\x84\x88\xa4\xa8"
37637                           "\x26\xe4\xd9\x5d\x41\xf2\x93\x7b"
37638                           "\xa4\x48\x1b\x66\x91\xb9\x7c\xc2"
37639                           "\x99\x29\xdf\xd8\x30\xac\xd4\x47"
37640                           "\x42\xa0\x14\x87\x67\xb8\xfd\x0b"
37641                           "\x1e\xcb\x5e\x5c\x9a\xc2\x04\x8b"
37642                           "\x17\x29\x9d\x99\x7f\x86\x4c\xe2"
37643                           "\x5c\x96\xa6\x0f\xb6\x47\x33\x5c"
37644                           "\xe4\x50\x49\xd5\x4f\x92\x0b\x9a"
37645                           "\xbc\x52\x4c\x41\xf5\xc9\x3e\x76"
37646                           "\x55\x55\xd4\xdc\x71\x14\x23\xfc"
37647                           "\x5f\xd5\x08\xde\xa0\xf7\x28\xc0"
37648                           "\xe1\x61\xac\x64\x66\xf6\xd1\x31"
37649                           "\xe4\xa4\xa9\xed\xbc\xad\x4f\x3b"
37650                           "\x59\xb9\x48\x1b\xe7\xb1\x6f\xc6"
37651                           "\xba\x40\x1c\x0b\xe7\x2f\x31\x65"
37652                           "\x85\xf5\xe9\x14\x0a\x31\xf5\xf3"
37653                           "\xc0\x1c\x20\x35\x73\x38\x0f\x8e"
37654                           "\x39\xf0\x68\xae\x08\x9c\x87\x4b"
37655                           "\x42\xfc\x22\x17\xee\x96\x51\x2a"
37656                           "\xd8\x57\x5a\x35\xea\x72\x74\xfc"
37657                           "\xb3\x0e\x69\x9a\xe1\x4f\x24\x90"
37658                           "\xc5\x4b\xe5\xd7\xe3\x82\x2f\xc5"
37659                           "\x62\x46\x3e\xab\x72\x4e\xe0\xf3"
37660                           "\x90\x09\x4c\xb2\xe1\xe8\xa0\xf5"
37661                           "\x46\x40\x2b\x47\x85\x3c\x21\x90"
37662                           "\x3d\xad\x25\x5a\x36\xdf\xe5\xbc"
37663                           "\x7e\x80\x4d\x53\x77\xf1\x79\xa6"
37664                           "\xec\x22\x80\x88\x68\xd6\x2d\x8b"
37665                           "\x3e\xf7\x52\xc7\x2a\x20\x42\x5c"
37666                           "\xed\x99\x4f\x32\x80\x00\x7e\x73"
37667                           "\xd7\x6d\x7f\x7d\x42\x54\x4a\xfe"
37668                           "\xff\x6f\x61\xca\x2a\xbb\x4f\xeb"
37669                           "\x4f\xe4\x4e\xaf\x2c\x4f\x82\xcd"
37670                           "\xa1\xa7\x11\xb3\x34\x33\xcf\x32"
37671                           "\x63\x0e\x24\x3a\x35\xbe\x06\xd5"
37672                           "\x17\xcb\x02\x30\x33\x6e\x8c\x49"
37673                           "\x40\x6e\x34\x8c\x07\xd4\x3e\xe6"
37674                           "\xaf\x78\x6d\x8c\x10\x5f\x21\x58"
37675                           "\x49\x26\xc5\xaf\x0d\x7d\xd4\xaf"
37676                           "\xcd\x5b\xa1\xe3\xf6\x39\x1c\x9b"
37677                           "\x8e\x00\xa1\xa7\x9e\x17\x4a\xc0"
37678                           "\x54\x56\x9e\xcf\xcf\x88\x79\x8d"
37679                           "\x50\xf7\x56\x8e\x0a\x73\x46\x6b"
37680                           "\xc3\xb9\x9b\x6c\x7d\xc4\xc8\xb6"
37681                           "\x03\x5f\x30\x62\x7d\xe6\xdb\x15"
37682                           "\xe1\x39\x02\x8c\xff\xda\xc8\x43"
37683                           "\xf2\xa9\xbf\x00\xe7\x3a\x61\x89"
37684                           "\xdf\xb0\xca\x7d\x8c\x8a\x6a\x9f"
37685                           "\x18\x89\x3d\x39\xac\x36\x6f\x05"
37686                           "\x1f\xb5\xda\x00\xea\xe1\x51\x21",
37687                 .klen   = 32,
37688                 .len    = 512,
37689         },
37690
37691 };
37692
37693 /*
37694  * Test vectors generated using https://github.com/google/hctr2
37695  *
37696  * To ensure compatibility with RFC 8452, some tests were sourced from
37697  * https://datatracker.ietf.org/doc/html/rfc8452
37698  */
37699 static const struct hash_testvec polyval_tv_template[] = {
37700         { // From RFC 8452
37701                 .key    = "\x31\x07\x28\xd9\x91\x1f\x1f\x38"
37702                           "\x37\xb2\x43\x16\xc3\xfa\xb9\xa0",
37703                 .plaintext      = "\x65\x78\x61\x6d\x70\x6c\x65\x00"
37704                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37705                           "\x48\x65\x6c\x6c\x6f\x20\x77\x6f"
37706                           "\x72\x6c\x64\x00\x00\x00\x00\x00"
37707                           "\x38\x00\x00\x00\x00\x00\x00\x00"
37708                           "\x58\x00\x00\x00\x00\x00\x00\x00",
37709                 .digest = "\xad\x7f\xcf\x0b\x51\x69\x85\x16"
37710                           "\x62\x67\x2f\x3c\x5f\x95\x13\x8f",
37711                 .psize  = 48,
37712                 .ksize  = 16,
37713         },
37714         { // From RFC 8452
37715                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37716                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37717                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
37718                           "\x00\x00\x00\x00\x00\x00\x00\x00",
37719                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
37720                           "\x00\x00\x00\x00\x00\x00\x00\x00",
37721                 .psize  = 16,
37722                 .ksize  = 16,
37723         },
37724         { // From RFC 8452
37725                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37726                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37727                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
37728                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37729                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37730                           "\x40\x00\x00\x00\x00\x00\x00\x00",
37731                 .digest = "\xeb\x93\xb7\x74\x09\x62\xc5\xe4"
37732                           "\x9d\x2a\x90\xa7\xdc\x5c\xec\x74",
37733                 .psize  = 32,
37734                 .ksize  = 16,
37735         },
37736         { // From RFC 8452
37737                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37738                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37739                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
37740                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37741                           "\x02\x00\x00\x00\x00\x00\x00\x00"
37742                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37743                           "\x03\x00\x00\x00\x00\x00\x00\x00"
37744                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37745                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37746                           "\x80\x01\x00\x00\x00\x00\x00\x00",
37747                 .digest = "\x81\x38\x87\x46\xbc\x22\xd2\x6b"
37748                           "\x2a\xbc\x3d\xcb\x15\x75\x42\x22",
37749                 .psize  = 64,
37750                 .ksize  = 16,
37751         },
37752         { // From RFC 8452
37753                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37754                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37755                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
37756                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37757                           "\x02\x00\x00\x00\x00\x00\x00\x00"
37758                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37759                           "\x03\x00\x00\x00\x00\x00\x00\x00"
37760                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37761                           "\x04\x00\x00\x00\x00\x00\x00\x00"
37762                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37763                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37764                           "\x00\x02\x00\x00\x00\x00\x00\x00",
37765                 .digest = "\x1e\x39\xb6\xd3\x34\x4d\x34\x8f"
37766                           "\x60\x44\xf8\x99\x35\xd1\xcf\x78",
37767                 .psize  = 80,
37768                 .ksize  = 16,
37769         },
37770         { // From RFC 8452
37771                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37772                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37773                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
37774                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37775                           "\x02\x00\x00\x00\x00\x00\x00\x00"
37776                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37777                           "\x03\x00\x00\x00\x00\x00\x00\x00"
37778                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37779                           "\x04\x00\x00\x00\x00\x00\x00\x00"
37780                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37781                           "\x05\x00\x00\x00\x00\x00\x00\x00"
37782                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37783                           "\x08\x00\x00\x00\x00\x00\x00\x00"
37784                           "\x00\x02\x00\x00\x00\x00\x00\x00",
37785                 .digest = "\xff\xcd\x05\xd5\x77\x0f\x34\xad"
37786                           "\x92\x67\xf0\xa5\x99\x94\xb1\x5a",
37787                 .psize  = 96,
37788                 .ksize  = 16,
37789         },
37790         { // Random ( 1)
37791                 .key    = "\x90\xcc\xac\xee\xba\xd7\xd4\x68"
37792                           "\x98\xa6\x79\x70\xdf\x66\x15\x6c",
37793                 .plaintext      = "",
37794                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
37795                           "\x00\x00\x00\x00\x00\x00\x00\x00",
37796                 .psize  = 0,
37797                 .ksize  = 16,
37798         },
37799         { // Random ( 1)
37800                 .key    = "\xc1\x45\x71\xf0\x30\x07\x94\xe7"
37801                           "\x3a\xdd\xe4\xc6\x19\x2d\x02\xa2",
37802                 .plaintext      = "\xc1\x5d\x47\xc7\x4c\x7c\x5e\x07"
37803                           "\x85\x14\x8f\x79\xcc\x73\x83\xf7"
37804                           "\x35\xb8\xcb\x73\x61\xf0\x53\x31"
37805                           "\xbf\x84\xde\xb6\xde\xaf\xb0\xb8"
37806                           "\xb7\xd9\x11\x91\x89\xfd\x1e\x4c"
37807                           "\x84\x4a\x1f\x2a\x87\xa4\xaf\x62"
37808                           "\x8d\x7d\x58\xf6\x43\x35\xfc\x53"
37809                           "\x8f\x1a\xf6\x12\xe1\x13\x3f\x66"
37810                           "\x91\x4b\x13\xd6\x45\xfb\xb0\x7a"
37811                           "\xe0\x8b\x8e\x99\xf7\x86\x46\x37"
37812                           "\xd1\x22\x9e\x52\xf3\x3f\xd9\x75"
37813                           "\x2c\x2c\xc6\xbb\x0e\x08\x14\x29"
37814                           "\xe8\x50\x2f\xd8\xbe\xf4\xe9\x69"
37815                           "\x4a\xee\xf7\xae\x15\x65\x35\x1e",
37816                 .digest = "\x00\x4f\x5d\xe9\x3b\xc0\xd6\x50"
37817                           "\x3e\x38\x73\x86\xc6\xda\xca\x7f",
37818                 .psize  = 112,
37819                 .ksize  = 16,
37820         },
37821         { // Random ( 1)
37822                 .key    = "\x37\xbe\x68\x16\x50\xb9\x4e\xb0"
37823                           "\x47\xde\xe2\xbd\xde\xe4\x48\x09",
37824                 .plaintext      = "\x87\xfc\x68\x9f\xff\xf2\x4a\x1e"
37825                           "\x82\x3b\x73\x8f\xc1\xb2\x1b\x7a"
37826                           "\x6c\x4f\x81\xbc\x88\x9b\x6c\xa3"
37827                           "\x9c\xc2\xa5\xbc\x14\x70\x4c\x9b"
37828                           "\x0c\x9f\x59\x92\x16\x4b\x91\x3d"
37829                           "\x18\x55\x22\x68\x12\x8c\x63\xb2"
37830                           "\x51\xcb\x85\x4b\xd2\xae\x0b\x1c"
37831                           "\x5d\x28\x9d\x1d\xb1\xc8\xf0\x77"
37832                           "\xe9\xb5\x07\x4e\x06\xc8\xee\xf8"
37833                           "\x1b\xed\x72\x2a\x55\x7d\x16\xc9"
37834                           "\xf2\x54\xe7\xe9\xe0\x44\x5b\x33"
37835                           "\xb1\x49\xee\xff\x43\xfb\x82\xcd"
37836                           "\x4a\x70\x78\x81\xa4\x34\x36\xe8"
37837                           "\x4c\x28\x54\xa6\x6c\xc3\x6b\x78"
37838                           "\xe7\xc0\x5d\xc6\x5d\x81\xab\x70"
37839                           "\x08\x86\xa1\xfd\xf4\x77\x55\xfd"
37840                           "\xa3\xe9\xe2\x1b\xdf\x99\xb7\x80"
37841                           "\xf9\x0a\x4f\x72\x4a\xd3\xaf\xbb"
37842                           "\xb3\x3b\xeb\x08\x58\x0f\x79\xce"
37843                           "\xa5\x99\x05\x12\x34\xd4\xf4\x86"
37844                           "\x37\x23\x1d\xc8\x49\xc0\x92\xae"
37845                           "\xa6\xac\x9b\x31\x55\xed\x15\xc6"
37846                           "\x05\x17\x37\x8d\x90\x42\xe4\x87"
37847                           "\x89\x62\x88\x69\x1c\x6a\xfd\xe3"
37848                           "\x00\x2b\x47\x1a\x73\xc1\x51\xc2"
37849                           "\xc0\x62\x74\x6a\x9e\xb2\xe5\x21"
37850                           "\xbe\x90\xb5\xb0\x50\xca\x88\x68"
37851                           "\xe1\x9d\x7a\xdf\x6c\xb7\xb9\x98"
37852                           "\xee\x28\x62\x61\x8b\xd1\x47\xf9"
37853                           "\x04\x7a\x0b\x5d\xcd\x2b\x65\xf5"
37854                           "\x12\xa3\xfe\x1a\xaa\x2c\x78\x42"
37855                           "\xb8\xbe\x7d\x74\xeb\x59\xba\xba",
37856                 .digest = "\xae\x11\xd4\x60\x2a\x5f\x9e\x42"
37857                           "\x89\x04\xc2\x34\x8d\x55\x94\x0a",
37858                 .psize  = 256,
37859                 .ksize  = 16,
37860         },
37861
37862 };
37863
37864 /*
37865  * Test vectors generated using https://github.com/google/hctr2
37866  */
37867 static const struct cipher_testvec aes_hctr2_tv_template[] = {
37868         {
37869                 .key    = "\xe1\x15\x66\x3c\x8d\xc6\x3a\xff"
37870                           "\xef\x41\xd7\x47\xa2\xcc\x8a\xba",
37871                 .iv     = "\xc3\xbe\x2a\xcb\xb5\x39\x86\xf1"
37872                           "\x91\xad\x6c\xf4\xde\x74\x45\x63"
37873                           "\x5c\x7a\xd5\xcc\x8b\x76\xef\x0e"
37874                           "\xcf\x2c\x60\x69\x37\xfd\x07\x96",
37875                 .ptext  = "\x65\x75\xae\xd3\xe2\xbc\x43\x5c"
37876                           "\xb3\x1a\xd8\x05\xc3\xd0\x56\x29",
37877                 .ctext  = "\x11\x91\xea\x74\x58\xcc\xd5\xa2"
37878                           "\xd0\x55\x9e\x3d\xfe\x7f\xc8\xfe",
37879                 .klen   = 16,
37880                 .len    = 16,
37881         },
37882         {
37883                 .key    = "\xe7\xd1\x77\x48\x76\x0b\xcd\x34"
37884                           "\x2a\x2d\xe7\x74\xca\x11\x9c\xae",
37885                 .iv     = "\x71\x1c\x49\x62\xd9\x5b\x50\x5e"
37886                           "\x68\x87\xbc\xf6\x89\xff\xed\x30"
37887                           "\xe4\xe5\xbd\xb6\x10\x4f\x9f\x66"
37888                           "\x28\x06\x5a\xf4\x27\x35\xcd\xe5",
37889                 .ptext  = "\x87\x03\x8f\x06\xa8\x61\x54\xda"
37890                           "\x01\x45\xd4\x01\xef\x4a\x22\xcf"
37891                           "\x78\x15\x9f\xbd\x64\xbd\x2c\xb9"
37892                           "\x40\x1d\x72\xae\x53\x63\xa5",
37893                 .ctext  = "\x4e\xa1\x05\x27\xb8\x45\xe4\xa1"
37894                           "\xbb\x30\xb4\xa6\x12\x74\x63\xd6"
37895                           "\x17\xc9\xcc\x2f\x18\x64\xe0\x06"
37896                           "\x0a\xa0\xff\x72\x10\x7b\x22",
37897                 .klen   = 16,
37898                 .len    = 31,
37899         },
37900         {
37901                 .key    = "\x59\x65\x3b\x1d\x43\x5e\xc0\xae"
37902                           "\xb8\x9d\x9b\xdd\x22\x03\xbf\xca",
37903                 .iv     = "\xec\x95\xfa\x5a\xcf\x5e\xd2\x93"
37904                           "\xa3\xb5\xe5\xbe\xf3\x01\x7b\x01"
37905                           "\xd1\xca\x6c\x06\x82\xf0\xbd\x67"
37906                           "\xd9\x6c\xa4\xdc\xb4\x38\x0f\x74",
37907                 .ptext  = "\x45\xdf\x75\x87\xbc\x72\xce\x55"
37908                           "\xc9\xfa\xcb\xfc\x9f\x40\x82\x2b"
37909                           "\xc6\x4f\x4f\x5b\x8b\x3b\x6d\x67"
37910                           "\xa6\x93\x62\x89\x8c\x19\xf4\xe3"
37911                           "\x08\x92\x9c\xc9\x47\x2c\x6e\xd0"
37912                           "\xa3\x02\x2b\xdb\x2c\xf2\x8d\x46"
37913                           "\xcd\xb0\x9d\x26\x63\x4c\x40\x6b"
37914                           "\x79\x43\xe5\xce\x42\xa8\xec\x3b"
37915                           "\x5b\xd0\xea\xa4\xe6\xdb\x66\x55"
37916                           "\x7a\x76\xec\xab\x7d\x2a\x2b\xbd"
37917                           "\xa9\xab\x22\x64\x1a\xa1\xae\x84"
37918                           "\x86\x79\x67\xe9\xb2\x50\xbe\x12"
37919                           "\x2f\xb2\x14\xf0\xdb\x71\xd8\xa7"
37920                           "\x41\x8a\x88\xa0\x6a\x6e\x9d\x2a"
37921                           "\xfa\x11\x37\x40\x32\x09\x4c\x47"
37922                           "\x41\x07\x31\x85\x3d\xa8\xf7\x64",
37923                 .ctext  = "\x2d\x4b\x9f\x93\xca\x5a\x48\x26"
37924                           "\x01\xcc\x54\xe4\x31\x50\x12\xf0"
37925                           "\x49\xff\x59\x42\x68\xbd\x87\x8f"
37926                           "\x9e\x62\x96\xcd\xb9\x24\x57\xa4"
37927                           "\x0b\x7b\xf5\x2e\x0e\xa8\x65\x07"
37928                           "\xab\x05\xd5\xca\xe7\x9c\x6c\x34"
37929                           "\x5d\x42\x34\xa4\x62\xe9\x75\x48"
37930                           "\x3d\x9e\x8f\xfa\x42\xe9\x75\x08"
37931                           "\x4e\x54\x91\x2b\xbd\x11\x0f\x8e"
37932                           "\xf0\x82\xf5\x24\xf1\xc4\xfc\xae"
37933                           "\x42\x54\x7f\xce\x15\xa8\xb2\x33"
37934                           "\xc0\x86\xb6\x2b\xe8\x44\xce\x1f"
37935                           "\x68\x57\x66\x94\x6e\xad\xeb\xf3"
37936                           "\x30\xf8\x11\xbd\x60\x00\xc6\xd5"
37937                           "\x4c\x81\xf1\x20\x2b\x4a\x5b\x99"
37938                           "\x79\x3b\xc9\x5c\x74\x23\xe6\x5d",
37939                 .klen   = 16,
37940                 .len    = 128,
37941         },
37942         {
37943                 .key    = "\x3e\x08\x5d\x64\x6c\x98\xec\xec"
37944                           "\x70\x0e\x0d\xa1\x41\x20\x99\x82",
37945                 .iv     = "\x11\xb7\x77\x91\x0d\x99\xd9\x8d"
37946                           "\x35\x3a\xf7\x14\x6b\x09\x37\xe5"
37947                           "\xad\x51\xf6\xc3\x96\x4b\x64\x56"
37948                           "\xa8\xbd\x81\xcc\xbe\x94\xaf\xe4",
37949                 .ptext  = "\xff\x8d\xb9\xc0\xe3\x69\xb3\xb2"
37950                           "\x8b\x11\x26\xb3\x11\xec\xfb\xb9"
37951                           "\x9c\xc1\x71\xd6\xe3\x26\x0e\xe0"
37952                           "\x68\x40\x60\xb9\x3a\x63\x56\x8a"
37953                           "\x9e\xc1\xf0\x10\xb1\x64\x32\x70"
37954                           "\xf8\xcd\xc6\xc4\x49\x4c\xe1\xce"
37955                           "\xf3\xe1\x03\xf8\x35\xae\xe0\x5e"
37956                           "\xef\x5f\xbc\x41\x75\x26\x13\xcc"
37957                           "\x37\x85\xdf\xc0\x5d\xa6\x47\x98"
37958                           "\xf1\x97\x52\x58\x04\xe6\xb5\x01"
37959                           "\xc0\xb8\x17\x6d\x74\xbd\x9a\xdf"
37960                           "\xa4\x37\x94\x86\xb0\x13\x83\x28"
37961                           "\xc9\xa2\x07\x3f\xb5\xb2\x72\x40"
37962                           "\x0e\x60\xdf\x57\x07\xb7\x2c\x66"
37963                           "\x10\x3f\x8d\xdd\x30\x0a\x47\xd5"
37964                           "\xe8\x9d\xfb\xa1\xaf\x53\xd7\x05"
37965                           "\xc7\xd2\xba\xe7\x2c\xa0\xbf\xb8"
37966                           "\xd1\x93\xe7\x41\x82\xa3\x41\x3a"
37967                           "\xaf\x12\xd6\xf8\x34\xda\x92\x46"
37968                           "\xad\xa2\x2f\xf6\x7e\x46\x96\xd8"
37969                           "\x03\xf3\x49\x64\xde\xd8\x06\x8b"
37970                           "\xa0\xbc\x63\x35\x38\xb6\x6b\xda"
37971                           "\x5b\x50\x3f\x13\xa5\x84\x1b\x1b"
37972                           "\x66\x89\x95\xb7\xc2\x16\x3c\xe9"
37973                           "\x24\xb0\x8c\x6f\x49\xef\xf7\x28"
37974                           "\x6a\x24\xfd\xbe\x25\xe2\xb4\x90"
37975                           "\x77\x44\x08\xb8\xda\xd2\xde\x2c"
37976                           "\xa0\x57\x45\x57\x29\x47\x6b\x89"
37977                           "\x4a\xf6\xa7\x2a\xc3\x9e\x7b\xc8"
37978                           "\xfd\x9f\x89\xab\xee\x6d\xa3\xb4"
37979                           "\x23\x90\x7a\xe9\x89\xa0\xc7\xb3"
37980                           "\x17\x41\x87\x91\xfc\x97\x42",
37981                 .ctext  = "\xfc\x9b\x96\x66\xc4\x82\x2a\x4a"
37982                           "\xb1\x24\xba\xc7\x78\x5f\x79\xc1"
37983                           "\x57\x2e\x47\x29\x4d\x7b\xd2\x9a"
37984                           "\xbd\xc6\xc1\x26\x7b\x8e\x3f\x5d"
37985                           "\xd4\xb4\x9f\x6a\x02\x24\x4a\xad"
37986                           "\x0c\x00\x1b\xdf\x92\xc5\x8a\xe1"
37987                           "\x77\x79\xcc\xd5\x20\xbf\x83\xf4"
37988                           "\x4b\xad\x11\xbf\xdb\x47\x65\x70"
37989                           "\x43\xf3\x65\xdf\xb7\xdc\xb2\xb9"
37990                           "\xaa\x3f\xb3\xdf\x79\x69\x0d\xa0"
37991                           "\x86\x1c\xba\x48\x0b\x01\xc1\x88"
37992                           "\xdf\x03\xb1\x06\x3c\x1d\x56\xa1"
37993                           "\x8e\x98\xc1\xa6\x95\xa2\x5b\x72"
37994                           "\x76\x59\xd2\x26\x25\xcd\xef\x7c"
37995                           "\xc9\x60\xea\x43\xd1\x12\x8a\x8a"
37996                           "\x63\x12\x78\xcb\x2f\x88\x1e\x88"
37997                           "\x78\x59\xde\xba\x4d\x2c\x78\x61"
37998                           "\x75\x37\x54\xfd\x80\xc7\x5e\x98"
37999                           "\xcf\x14\x62\x8e\xfb\x72\xee\x4d"
38000                           "\x9f\xaf\x8b\x09\xe5\x21\x0a\x91"
38001                           "\x8f\x88\x87\xd5\xb1\x84\xab\x18"
38002                           "\x08\x57\xed\x72\x35\xa6\x0e\xc6"
38003                           "\xff\xcb\xfe\x2c\x48\x39\x14\x44"
38004                           "\xba\x59\x32\x3a\x2d\xc4\x5f\xcb"
38005                           "\xbe\x68\x8e\x7b\xee\x21\xa4\x32"
38006                           "\x11\xa0\x99\xfd\x90\xde\x59\x43"
38007                           "\xeb\xed\xd5\x87\x68\x46\xc6\xde"
38008                           "\x0b\x07\x17\x59\x6a\xab\xca\x15"
38009                           "\x65\x02\x01\xb6\x71\x8c\x3b\xaa"
38010                           "\x18\x3b\x30\xae\x38\x5b\x2c\x74"
38011                           "\xd4\xee\x4a\xfc\xf7\x1b\x09\xd4"
38012                           "\xda\x8b\x1d\x5d\x6f\x21\x6c",
38013                 .klen   = 16,
38014                 .len    = 255,
38015         },
38016         {
38017                 .key    = "\x24\xf6\xe1\x62\xe5\xaf\x99\xda"
38018                           "\x84\xec\x41\xb0\xa3\x0b\xd5\xa8"
38019                           "\xa0\x3e\x7b\xa6\xdd\x6c\x8f\xa8",
38020                 .iv     = "\x7f\x80\x24\x62\x32\xdd\xab\x66"
38021                           "\xf2\x87\x29\x24\xec\xd2\x4b\x9f"
38022                           "\x0c\x33\x52\xd9\xe0\xcc\x6e\xe4"
38023                           "\x90\x85\x43\x97\xc4\x62\x14\x33",
38024                 .ptext  = "\xef\x58\xe7\x7f\xa9\xd9\xb8\xd7"
38025                           "\xa2\x91\x97\x07\x27\x9e\xba\xe8"
38026                           "\xaa",
38027                 .ctext  = "\xd7\xc3\x81\x91\xf2\x40\x17\x73"
38028                           "\x3e\x3b\x1c\x2a\x8e\x11\x9c\x17"
38029                           "\xf1",
38030                 .klen   = 24,
38031                 .len    = 17,
38032         },
38033         {
38034                 .key    = "\xbf\xaf\xd7\x67\x8c\x47\xcf\x21"
38035                           "\x8a\xa5\xdd\x32\x25\x47\xbe\x4f"
38036                           "\xf1\x3a\x0b\xa6\xaa\x2d\xcf\x09",
38037                 .iv     = "\xd9\xe8\xf0\x92\x4e\xfc\x1d\xf2"
38038                           "\x81\x37\x7c\x8f\xf1\x59\x09\x20"
38039                           "\xf4\x46\x51\x86\x4f\x54\x8b\x32"
38040                           "\x58\xd1\x99\x8b\x8c\x03\xeb\x5d",
38041                 .ptext  = "\xcd\x64\x90\xf9\x7c\xe5\x0e\x5a"
38042                           "\x75\xe7\x8e\x39\x86\xec\x20\x43"
38043                           "\x8a\x49\x09\x15\x47\xf4\x3c\x89"
38044                           "\x21\xeb\xcf\x4e\xcf\x91\xb5\x40"
38045                           "\xcd\xe5\x4d\x5c\x6f\xf2\xd2\x80"
38046                           "\xfa\xab\xb3\x76\x9f\x7f\x84\x0a",
38047                 .ctext  = "\x44\x98\x64\x15\xb7\x0b\x80\xa3"
38048                           "\xb9\xca\x23\xff\x3b\x0b\x68\x74"
38049                           "\xbb\x3e\x20\x19\x9f\x28\x71\x2a"
38050                           "\x48\x3c\x7c\xe2\xef\xb5\x10\xac"
38051                           "\x82\x9f\xcd\x08\x8f\x6b\x16\x6f"
38052                           "\xc3\xbb\x07\xfb\x3c\xb0\x1b\x27",
38053                 .klen   = 24,
38054                 .len    = 48,
38055         },
38056         {
38057                 .key    = "\xb8\x35\xa2\x5f\x86\xbb\x82\x99"
38058                           "\x27\xeb\x01\x3f\x92\xaf\x80\x24"
38059                           "\x4c\x66\xa2\x89\xff\x2e\xa2\x25",
38060                 .iv     = "\x0a\x1d\x96\xd3\xe0\xe8\x0c\x9b"
38061                           "\x9d\x6f\x21\x97\xc2\x17\xdb\x39"
38062                           "\x3f\xd8\x64\x48\x80\x04\xee\x43"
38063                           "\x02\xce\x88\xe2\x81\x81\x5f\x81",
38064                 .ptext  = "\xb8\xf9\x16\x8b\x25\x68\xd0\x9c"
38065                           "\xd2\x28\xac\xa8\x79\xc2\x30\xc1"
38066                           "\x31\xde\x1c\x37\x1b\xa2\xb5\xe6"
38067                           "\xf0\xd0\xf8\x9c\x7f\xc6\x46\x07"
38068                           "\x5c\xc3\x06\xe4\xf0\x02\xec\xf8"
38069                           "\x59\x7c\xc2\x5d\xf8\x0c\x21\xae"
38070                           "\x9e\x82\xb1\x1a\x5f\x78\x44\x15"
38071                           "\x00\xa7\x2e\x52\xc5\x98\x98\x35"
38072                           "\x03\xae\xd0\x8e\x07\x57\xe2\x5a"
38073                           "\x17\xbf\x52\x40\x54\x5b\x74\xe5"
38074                           "\x2d\x35\xaf\x9e\x37\xf7\x7e\x4a"
38075                           "\x8c\x9e\xa1\xdc\x40\xb4\x5b\x36"
38076                           "\xdc\x3a\x68\xe6\xb7\x35\x0b\x8a"
38077                           "\x90\xec\x74\x8f\x09\x9a\x7f\x02"
38078                           "\x4d\x03\x46\x35\x62\xb1\xbd\x08"
38079                           "\x3f\x54\x2a\x10\x0b\xdc\x69\xaf"
38080                           "\x25\x3a\x0c\x5f\xe0\x51\xe7\x11"
38081                           "\xb7\x00\xab\xbb\x9a\xb0\xdc\x4d"
38082                           "\xc3\x7d\x1a\x6e\xd1\x09\x52\xbd"
38083                           "\x6b\x43\x55\x22\x3a\x78\x14\x7d"
38084                           "\x79\xfd\x8d\xfc\x9b\x1d\x0f\xa2"
38085                           "\xc7\xb9\xf8\x87\xd5\x96\x50\x61"
38086                           "\xa7\x5e\x1e\x57\x97\xe0\xad\x2f"
38087                           "\x93\xe6\xe8\x83\xec\x85\x26\x5e"
38088                           "\xd9\x2a\x15\xe0\xe9\x09\x25\xa1"
38089                           "\x77\x2b\x88\xdc\xa4\xa5\x48\xb6"
38090                           "\xf7\xcc\xa6\xa9\xba\xf3\x42\x5c"
38091                           "\x70\x9d\xe9\x29\xc1\xf1\x33\xdd"
38092                           "\x56\x48\x17\x86\x14\x51\x5c\x10"
38093                           "\xab\xfd\xd3\x26\x8c\x21\xf5\x93"
38094                           "\x1b\xeb\x47\x97\x73\xbb\x88\x10"
38095                           "\xf3\xfe\xf5\xde\xf3\x2e\x05\x46"
38096                           "\x1c\x0d\xa3\x10\x48\x9c\x71\x16"
38097                           "\x78\x33\x4d\x0a\x74\x3b\xe9\x34"
38098                           "\x0b\xa7\x0e\x9e\x61\xe9\xe9\xfd"
38099                           "\x85\xa0\xcb\x19\xfd\x7c\x33\xe3"
38100                           "\x0e\xce\xc2\x6f\x9d\xa4\x2d\x77"
38101                           "\xfd\xad\xee\x5e\x08\x3e\xd7\xf5"
38102                           "\xfb\xc3\xd7\x93\x96\x08\x96\xca"
38103                           "\x58\x81\x16\x9b\x98\x0a\xe2\xef"
38104                           "\x7f\xda\x40\xe4\x1f\x46\x9e\x67"
38105                           "\x2b\x84\xcb\x42\xc4\xd6\x6a\xcf"
38106                           "\x2d\xb2\x33\xc0\x56\xb3\x35\x6f"
38107                           "\x29\x36\x8f\x6a\x5b\xec\xd5\x4f"
38108                           "\xa0\x70\xff\xb6\x5b\xde\x6a\x93"
38109                           "\x20\x3c\xe2\x76\x7a\xef\x3c\x79"
38110                           "\x31\x65\xce\x3a\x0e\xd0\xbe\xa8"
38111                           "\x21\x95\xc7\x2b\x62\x8e\x67\xdd"
38112                           "\x20\x79\xe4\xe5\x01\x15\xc0\xec"
38113                           "\x0f\xd9\x23\xc8\xca\xdf\xd4\x7d"
38114                           "\x1d\xf8\x64\x4f\x56\xb1\x83\xa7"
38115                           "\x43\xbe\xfc\xcf\xc2\x8c\x33\xda"
38116                           "\x36\xd0\x52\xef\x9e\x9e\x88\xf4"
38117                           "\xa8\x21\x0f\xaa\xee\x8d\xa0\x24"
38118                           "\x4d\xcb\xb1\x72\x07\xf0\xc2\x06"
38119                           "\x60\x65\x85\x84\x2c\x60\xcf\x61"
38120                           "\xe7\x56\x43\x5b\x2b\x50\x74\xfa"
38121                           "\xdb\x4e\xea\x88\xd4\xb3\x83\x8f"
38122                           "\x6f\x97\x4b\x57\x7a\x64\x64\xae"
38123                           "\x0a\x37\x66\xc5\x03\xad\xb5\xf9"
38124                           "\x08\xb0\x3a\x74\xde\x97\x51\xff"
38125                           "\x48\x4f\x5c\xa4\xf8\x7a\xb4\x05"
38126                           "\x27\x70\x52\x86\x1b\x78\xfc\x18"
38127                           "\x06\x27\xa9\x62\xf7\xda\xd2\x8e",
38128                 .ctext  = "\x3b\xe1\xdb\xb3\xc5\x9a\xde\x69"
38129                           "\x58\x05\xcc\xeb\x02\x51\x78\x4a"
38130                           "\xac\x28\xe9\xed\xd1\xc9\x15\x7d"
38131                           "\x33\x7d\xc1\x47\x12\x41\x11\xf8"
38132                           "\x4a\x2c\xb7\xa3\x41\xbe\x59\xf7"
38133                           "\x22\xdb\x2c\xda\x9c\x00\x61\x9b"
38134                           "\x73\xb3\x0b\x84\x2b\xc1\xf3\x80"
38135                           "\x84\xeb\x19\x60\x80\x09\xe1\xcd"
38136                           "\x16\x3a\x20\x23\xc4\x82\x4f\xba"
38137                           "\x3b\x8e\x55\xd7\xa9\x0b\x75\xd0"
38138                           "\xda\xce\xd2\xee\x7e\x4b\x7f\x65"
38139                           "\x4d\x28\xc5\xd3\x15\x2c\x40\x96"
38140                           "\x52\xd4\x18\x61\x2b\xe7\x83\xec"
38141                           "\x89\x62\x9c\x4c\x50\xe6\xe2\xbb"
38142                           "\x25\xa1\x0f\xa7\xb0\xb4\xb2\xde"
38143                           "\x54\x20\xae\xa3\x56\xa5\x26\x4c"
38144                           "\xd5\xcc\xe5\xcb\x28\x44\xb1\xef"
38145                           "\x67\x2e\x93\x6d\x00\x88\x83\x9a"
38146                           "\xf2\x1c\x48\x38\xec\x1a\x24\x90"
38147                           "\x73\x0a\xdb\xe8\xce\x95\x7a\x2c"
38148                           "\x8c\xe9\xb7\x07\x1d\xb3\xa3\x20"
38149                           "\xbe\xad\x61\x84\xac\xde\x76\xb5"
38150                           "\xa6\x28\x29\x47\x63\xc4\xfc\x13"
38151                           "\x3f\x71\xfb\x58\x37\x34\x82\xed"
38152                           "\x9e\x05\x19\x1f\xc1\x67\xc1\xab"
38153                           "\xf5\xfd\x7c\xea\xfa\xa4\xf8\x0a"
38154                           "\xac\x4c\x92\xdf\x65\x73\xd7\xdb"
38155                           "\xed\x2c\xe0\x84\x5f\x57\x8c\x76"
38156                           "\x3e\x05\xc0\xc3\x68\x96\x95\x0b"
38157                           "\x88\x97\xfe\x2e\x99\xd5\xc2\xb9"
38158                           "\x53\x9f\xf3\x32\x10\x1f\x1f\x5d"
38159                           "\xdf\x21\x95\x70\x91\xe8\xa1\x3e"
38160                           "\x19\x3e\xb6\x0b\xa8\xdb\xf8\xd4"
38161                           "\x54\x27\xb8\xab\x5d\x78\x0c\xe6"
38162                           "\xb7\x08\xee\xa4\xb6\x6b\xeb\x5a"
38163                           "\x89\x69\x2b\xbd\xd4\x21\x5b\xbf"
38164                           "\x79\xbb\x0f\xff\xdb\x23\x9a\xeb"
38165                           "\x8d\xf2\xc4\x39\xb4\x90\x77\x6f"
38166                           "\x68\xe2\xb8\xf3\xf1\x65\x4f\xd5"
38167                           "\x24\x80\x06\xaf\x7c\x8d\x15\x0c"
38168                           "\xfd\x56\xe5\xe3\x01\xa5\xf7\x1c"
38169                           "\x31\xd6\xa2\x01\x1e\x59\xf9\xa9"
38170                           "\x42\xd5\xc2\x34\xda\x25\xde\xc6"
38171                           "\x5d\x38\xef\xd1\x4c\xc1\xd9\x1b"
38172                           "\x98\xfd\xcd\x57\x6f\xfd\x46\x91"
38173                           "\x90\x3d\x52\x2b\x2c\x7d\xcf\x71"
38174                           "\xcf\xd1\x77\x23\x71\x36\xb1\xce"
38175                           "\xc7\x5d\xf0\x5b\x44\x3d\x43\x71"
38176                           "\xac\xb8\xa0\x6a\xea\x89\x5c\xff"
38177                           "\x81\x73\xd4\x83\xd1\xc9\xe9\xe2"
38178                           "\xa8\xa6\x0f\x36\xe6\xaa\x57\xd4"
38179                           "\x27\xd2\xc9\xda\x94\x02\x1f\xfb"
38180                           "\xe1\xa1\x07\xbe\xe1\x1b\x15\x94"
38181                           "\x1e\xac\x2f\x57\xbb\x41\x22\xaf"
38182                           "\x60\x5e\xcc\x66\xcb\x16\x62\xab"
38183                           "\xb8\x7c\x99\xf4\x84\x93\x0c\xc2"
38184                           "\xa2\x49\xe4\xfd\x17\x55\xe1\xa6"
38185                           "\x8d\x5b\xc6\x1b\xc8\xac\xec\x11"
38186                           "\x33\xcf\xb0\xe8\xc7\x28\x4f\xb2"
38187                           "\x5c\xa6\xe2\x71\xab\x80\x0a\xa7"
38188                           "\x5c\x59\x50\x9f\x7a\x32\xb7\xe5"
38189                           "\x24\x9a\x8e\x25\x21\x2e\xb7\x18"
38190                           "\xd0\xf2\xe7\x27\x6f\xda\xc1\x00"
38191                           "\xd9\xa6\x03\x59\xac\x4b\xcb\xba",
38192                 .klen   = 24,
38193                 .len    = 512,
38194         },
38195         {
38196                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
38197                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
38198                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
38199                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
38200                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
38201                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
38202                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
38203                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
38204                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
38205                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
38206                 .ctext  = "\x27\x38\x78\x47\x16\xd9\x71\x35"
38207                           "\x2e\x7e\xdd\x7e\x43\x3c\xb8\x40",
38208                 .klen   = 32,
38209                 .len    = 16,
38210         },
38211         {
38212                 .key    = "\x93\xfa\x7e\xe2\x0e\x67\xc4\x39"
38213                           "\xe7\xca\x47\x95\x68\x9d\x5e\x5a"
38214                           "\x7c\x26\x19\xab\xc6\xca\x6a\x4c"
38215                           "\x45\xa6\x96\x42\xae\x6c\xff\xe7",
38216                 .iv     = "\xea\x82\x47\x95\x3b\x22\xa1\x3a"
38217                           "\x6a\xca\x24\x4c\x50\x7e\x23\xcd"
38218                           "\x0e\x50\xe5\x41\xb6\x65\x29\xd8"
38219                           "\x30\x23\x00\xd2\x54\xa7\xd6\x56",
38220                 .ptext  = "\xdb\x1f\x1f\xec\xad\x83\x6e\x5d"
38221                           "\x19\xa5\xf6\x3b\xb4\x93\x5a\x57"
38222                           "\x6f",
38223                 .ctext  = "\xf1\x46\x6e\x9d\xb3\x01\xf0\x6b"
38224                           "\xc2\xac\x57\x88\x48\x6d\x40\x72"
38225                           "\x68",
38226                 .klen   = 32,
38227                 .len    = 17,
38228         },
38229         {
38230                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
38231                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
38232                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
38233                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
38234                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
38235                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
38236                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
38237                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
38238                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
38239                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
38240                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
38241                           "\x43\x5a\x46\x06\x94\x2d\xf2",
38242                 .ctext  = "\xdb\xfd\xc8\x03\xd0\xec\xc1\xfe"
38243                           "\xbd\x64\x37\xb8\x82\x43\x62\x4e"
38244                           "\x7e\x54\xa3\xe2\x24\xa7\x27\xe8"
38245                           "\xa4\xd5\xb3\x6c\xb2\x26\xb4",
38246                 .klen   = 32,
38247                 .len    = 31,
38248         },
38249         {
38250                 .key    = "\x03\x65\x03\x6e\x4d\xe6\xe8\x4e"
38251                           "\x8b\xbe\x22\x19\x48\x31\xee\xd9"
38252                           "\xa0\x91\x21\xbe\x62\x89\xde\x78"
38253                           "\xd9\xb0\x36\xa3\x3c\xce\x43\xd5",
38254                 .iv     = "\xa9\xc3\x4b\xe7\x0f\xfc\x6d\xbf"
38255                           "\x56\x27\x21\x1c\xfc\xd6\x04\x10"
38256                           "\x5f\x43\xe2\x30\x35\x29\x6c\x10"
38257                           "\x90\xf1\xbf\x61\xed\x0f\x8a\x91",
38258                 .ptext  = "\x07\xaa\x02\x26\xb4\x98\x11\x5e"
38259                           "\x33\x41\x21\x51\x51\x63\x2c\x72"
38260                           "\x00\xab\x32\xa7\x1c\xc8\x3c\x9c"
38261                           "\x25\x0e\x8b\x9a\xdf\x85\xed\x2d"
38262                           "\xf4\xf2\xbc\x55\xca\x92\x6d\x22"
38263                           "\xfd\x22\x3b\x42\x4c\x0b\x74\xec",
38264                 .ctext  = "\x7b\xb1\x43\x6d\xd8\x72\x6c\xf6"
38265                           "\x67\x6a\x00\xc4\xf1\xf0\xf5\xa4"
38266                           "\xfc\x60\x91\xab\x46\x0b\x15\xfc"
38267                           "\xd7\xc1\x28\x15\xa1\xfc\xf7\x68"
38268                           "\x8e\xcc\x27\x62\x00\x64\x56\x72"
38269                           "\xa6\x17\xd7\x3f\x67\x80\x10\x58",
38270                 .klen   = 32,
38271                 .len    = 48,
38272         },
38273         {
38274                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
38275                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
38276                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
38277                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
38278                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
38279                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
38280                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
38281                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
38282                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
38283                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
38284                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
38285                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
38286                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
38287                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
38288                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
38289                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
38290                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
38291                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
38292                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
38293                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
38294                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
38295                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
38296                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
38297                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
38298                 .ctext  = "\xeb\xf9\x98\x86\x3c\x40\x9f\x16"
38299                           "\x84\x01\xf9\x06\x0f\xeb\x3c\xa9"
38300                           "\x4c\xa4\x8e\x5d\xc3\x8d\xe5\xd3"
38301                           "\xae\xa6\xe6\xcc\xd6\x2d\x37\x4f"
38302                           "\x99\xc8\xa3\x21\x46\xb8\x69\xf2"
38303                           "\xe3\x14\x89\xd7\xb9\xf5\x9e\x4e"
38304                           "\x07\x93\x6f\x78\x8e\x6b\xea\x8f"
38305                           "\xfb\x43\xb8\x3e\x9b\x4c\x1d\x7e"
38306                           "\x20\x9a\xc5\x87\xee\xaf\xf6\xf9"
38307                           "\x46\xc5\x18\x8a\xe8\x69\xe7\x96"
38308                           "\x52\x55\x5f\x00\x1e\x1a\xdc\xcc"
38309                           "\x13\xa5\xee\xff\x4b\x27\xca\xdc"
38310                           "\x10\xa6\x48\x76\x98\x43\x94\xa3"
38311                           "\xc7\xe2\xc9\x65\x9b\x08\x14\x26"
38312                           "\x1d\x68\xfb\x15\x0a\x33\x49\x84"
38313                           "\x84\x33\x5a\x1b\x24\x46\x31\x92",
38314                 .klen   = 32,
38315                 .len    = 128,
38316         },
38317         {
38318                 .key    = "\x36\x45\x11\xa2\x98\x5f\x96\x7c"
38319                           "\xc6\xb4\x94\x31\x0a\x67\x09\x32"
38320                           "\x6c\x6f\x6f\x00\xf0\x17\xcb\xac"
38321                           "\xa5\xa9\x47\x9e\x2e\x85\x2f\xfa",
38322                 .iv     = "\x28\x88\xaa\x9b\x59\x3b\x1e\x97"
38323                           "\x82\xe5\x5c\x9e\x6d\x14\x11\x19"
38324                           "\x6e\x38\x8f\xd5\x40\x2b\xca\xf9"
38325                           "\x7b\x4c\xe4\xa3\xd0\xd2\x8a\x13",
38326                 .ptext  = "\x95\xd2\xf7\x71\x1b\xca\xa5\x86"
38327                           "\xd9\x48\x01\x93\x2f\x79\x55\x29"
38328                           "\x71\x13\x15\x0e\xe6\x12\xbc\x4d"
38329                           "\x8a\x31\xe3\x40\x2a\xc6\x5e\x0d"
38330                           "\x68\xbb\x4a\x62\x8d\xc7\x45\x77"
38331                           "\xd2\xb8\xc7\x1d\xf1\xd2\x5d\x97"
38332                           "\xcf\xac\x52\xe5\x32\x77\xb6\xda"
38333                           "\x30\x85\xcf\x2b\x98\xe9\xaa\x34"
38334                           "\x62\xb5\x23\x9e\xb7\xa6\xd4\xe0"
38335                           "\xb4\x58\x18\x8c\x4d\xde\x4d\x01"
38336                           "\x83\x89\x24\xca\xfb\x11\xd4\x82"
38337                           "\x30\x7a\x81\x35\xa0\xb4\xd4\xb6"
38338                           "\x84\xea\x47\x91\x8c\x19\x86\x25"
38339                           "\xa6\x06\x8d\x78\xe6\xed\x87\xeb"
38340                           "\xda\xea\x73\x7c\xbf\x66\xb8\x72"
38341                           "\xe3\x0a\xb8\x0c\xcb\x1a\x73\xf1"
38342                           "\xa7\xca\x0a\xde\x57\x2b\xbd\x2b"
38343                           "\xeb\x8b\x24\x38\x22\xd3\x0e\x1f"
38344                           "\x17\xa0\x84\x98\x31\x77\xfd\x34"
38345                           "\x6a\x4e\x3d\x84\x4c\x0e\xfb\xed"
38346                           "\xc8\x2a\x51\xfa\xd8\x73\x21\x8a"
38347                           "\xdb\xb5\xfe\x1f\xee\xc4\xe8\x65"
38348                           "\x54\x84\xdd\x96\x6d\xfd\xd3\x31"
38349                           "\x77\x36\x52\x6b\x80\x4f\x9e\xb4"
38350                           "\xa2\x55\xbf\x66\x41\x49\x4e\x87"
38351                           "\xa7\x0c\xca\xe7\xa5\xc5\xf6\x6f"
38352                           "\x27\x56\xe2\x48\x22\xdd\x5f\x59"
38353                           "\x3c\xf1\x9f\x83\xe5\x2d\xfb\x71"
38354                           "\xad\xd1\xae\x1b\x20\x5c\x47\xb7"
38355                           "\x3b\xd3\x14\xce\x81\x42\xb1\x0a"
38356                           "\xf0\x49\xfa\xc2\xe7\x86\xbf\xcd"
38357                           "\xb0\x95\x9f\x8f\x79\x41\x54",
38358                 .ctext  = "\xf6\x57\x51\xc4\x25\x61\x2d\xfa"
38359                           "\xd6\xd9\x3f\x9a\x81\x51\xdd\x8e"
38360                           "\x3d\xe7\xaa\x2d\xb1\xda\xc8\xa6"
38361                           "\x9d\xaa\x3c\xab\x62\xf2\x80\xc3"
38362                           "\x2c\xe7\x58\x72\x1d\x44\xc5\x28"
38363                           "\x7f\xb4\xf9\xbc\x9c\xb2\xab\x8e"
38364                           "\xfa\xd1\x4d\x72\xd9\x79\xf5\xa0"
38365                           "\x24\x3e\x90\x25\x31\x14\x38\x45"
38366                           "\x59\xc8\xf6\xe2\xc6\xf6\xc1\xa7"
38367                           "\xb2\xf8\xa7\xa9\x2b\x6f\x12\x3a"
38368                           "\xb0\x81\xa4\x08\x57\x59\xb1\x56"
38369                           "\x4c\x8f\x18\x55\x33\x5f\xd6\x6a"
38370                           "\xc6\xa0\x4b\xd6\x6b\x64\x3e\x9e"
38371                           "\xfd\x66\x16\xe2\xdb\xeb\x5f\xb3"
38372                           "\x50\x50\x3e\xde\x8d\x72\x76\x01"
38373                           "\xbe\xcc\xc9\x52\x09\x2d\x8d\xe7"
38374                           "\xd6\xc3\x66\xdb\x36\x08\xd1\x77"
38375                           "\xc8\x73\x46\x26\x24\x29\xbf\x68"
38376                           "\x2d\x2a\x99\x43\x56\x55\xe4\x93"
38377                           "\xaf\xae\x4d\xe7\x55\x4a\xc0\x45"
38378                           "\x26\xeb\x3b\x12\x90\x7c\xdc\xd1"
38379                           "\xd5\x6f\x0a\xd0\xa9\xd7\x4b\x89"
38380                           "\x0b\x07\xd8\x86\xad\xa1\xc4\x69"
38381                           "\x1f\x5e\x8b\xc4\x9e\x91\x41\x25"
38382                           "\x56\x98\x69\x78\x3a\x9e\xae\x91"
38383                           "\xd8\xd9\xfa\xfb\xff\x81\x25\x09"
38384                           "\xfc\xed\x2d\x87\xbc\x04\x62\x97"
38385                           "\x35\xe1\x26\xc2\x46\x1c\xcf\xd7"
38386                           "\x14\xed\x02\x09\xa5\xb2\xb6\xaa"
38387                           "\x27\x4e\x61\xb3\x71\x6b\x47\x16"
38388                           "\xb7\xe8\xd4\xaf\x52\xeb\x6a\x6b"
38389                           "\xdb\x4c\x65\x21\x9e\x1c\x36",
38390                 .klen   = 32,
38391                 .len    = 255,
38392         },
38393         {
38394                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
38395                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
38396                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
38397                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
38398                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
38399                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
38400                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
38401                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
38402                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
38403                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
38404                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
38405                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
38406                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
38407                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
38408                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
38409                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
38410                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
38411                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
38412                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
38413                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
38414                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
38415                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
38416                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
38417                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
38418                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
38419                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
38420                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
38421                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
38422                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
38423                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
38424                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
38425                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
38426                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
38427                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
38428                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
38429                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
38430                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
38431                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
38432                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
38433                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
38434                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
38435                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
38436                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
38437                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
38438                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
38439                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
38440                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
38441                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
38442                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
38443                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
38444                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
38445                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
38446                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
38447                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
38448                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
38449                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
38450                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
38451                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
38452                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
38453                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
38454                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
38455                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
38456                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
38457                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
38458                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
38459                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
38460                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
38461                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
38462                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
38463                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
38464                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
38465                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
38466                 .ctext  = "\x9f\x72\x87\xc7\x17\xfb\x20\x15"
38467                           "\x65\xb3\x55\xa8\x1c\x8e\x52\x32"
38468                           "\xb1\x82\x8d\xbf\xb5\x9f\x10\x0a"
38469                           "\xe8\x0c\x70\x62\xef\x89\xb6\x1f"
38470                           "\x73\xcc\xe4\xcc\x7a\x3a\x75\x4a"
38471                           "\x26\xe7\xf5\xd7\x7b\x17\x39\x2d"
38472                           "\xd2\x27\x6e\xf9\x2f\x9e\xe2\xf6"
38473                           "\xfa\x16\xc2\xf2\x49\x26\xa7\x5b"
38474                           "\xe7\xca\x25\x0e\x45\xa0\x34\xc2"
38475                           "\x9a\x37\x79\x7e\x7c\x58\x18\x94"
38476                           "\x10\xa8\x7c\x48\xa9\xd7\x63\x89"
38477                           "\x9e\x61\x4d\x26\x34\xd9\xf0\xb1"
38478                           "\x2d\x17\x2c\x6f\x7c\x35\x0e\xbe"
38479                           "\x77\x71\x7c\x17\x5b\xab\x70\xdb"
38480                           "\x2f\x54\x0f\xa9\xc8\xf4\xf5\xab"
38481                           "\x52\x04\x3a\xb8\x03\xa7\xfd\x57"
38482                           "\x45\x5e\xbc\x77\xe1\xee\x79\x8c"
38483                           "\x58\x7b\x1f\xf7\x75\xde\x68\x17"
38484                           "\x98\x85\x8a\x18\x5c\xd2\x39\x78"
38485                           "\x7a\x6f\x26\x6e\xe1\x13\x91\xdd"
38486                           "\xdf\x0e\x6e\x67\xcc\x51\x53\xd8"
38487                           "\x17\x5e\xce\xa7\xe4\xaf\xfa\xf3"
38488                           "\x4f\x9f\x01\x9b\x04\xe7\xfc\xf9"
38489                           "\x6a\xdc\x1d\x0c\x9a\xaa\x3a\x7a"
38490                           "\x73\x03\xdf\xbf\x3b\x82\xbe\xb0"
38491                           "\xb4\xa4\xcf\x07\xd7\xde\x71\x25"
38492                           "\xc5\x10\xee\x0a\x15\x96\x8b\x4f"
38493                           "\xfe\xb8\x28\xbd\x4a\xcd\xeb\x9f"
38494                           "\x5d\x00\xc1\xee\xe8\x16\x44\xec"
38495                           "\xe9\x7b\xd6\x85\x17\x29\xcf\x58"
38496                           "\x20\xab\xf7\xce\x6b\xe7\x71\x7d"
38497                           "\x4f\xa8\xb0\xe9\x7d\x70\xd6\x0b"
38498                           "\x2e\x20\xb1\x1a\x63\x37\xaa\x2c"
38499                           "\x94\xee\xd5\xf6\x58\x2a\xf4\x7a"
38500                           "\x4c\xba\xf5\xe9\x3c\x6f\x95\x13"
38501                           "\x5f\x96\x81\x5b\xb5\x62\xf2\xd7"
38502                           "\x8d\xbe\xa1\x31\x51\xe6\xfe\xc9"
38503                           "\x07\x7d\x0f\x00\x3a\x66\x8c\x4b"
38504                           "\x94\xaa\xe5\x56\xde\xcd\x74\xa7"
38505                           "\x48\x67\x6f\xed\xc9\x6a\xef\xaf"
38506                           "\x9a\xb7\xae\x60\xfa\xc0\x37\x39"
38507                           "\xa5\x25\xe5\x22\xea\x82\x55\x68"
38508                           "\x3e\x30\xc3\x5a\xb6\x29\x73\x7a"
38509                           "\xb6\xfb\x34\xee\x51\x7c\x54\xe5"
38510                           "\x01\x4d\x72\x25\x32\x4a\xa3\x68"
38511                           "\x80\x9a\x89\xc5\x11\x66\x4c\x8c"
38512                           "\x44\x50\xbe\xd7\xa0\xee\xa6\xbb"
38513                           "\x92\x0c\xe6\xd7\x83\x51\xb1\x69"
38514                           "\x63\x40\xf3\xf4\x92\x84\xc4\x38"
38515                           "\x29\xfb\xb4\x84\xa0\x19\x75\x16"
38516                           "\x60\xbf\x0a\x9c\x89\xee\xad\xb4"
38517                           "\x43\xf9\x71\x39\x45\x7c\x24\x83"
38518                           "\x30\xbb\xee\x28\xb0\x86\x7b\xec"
38519                           "\x93\xc1\xbf\xb9\x97\x1b\x96\xef"
38520                           "\xee\x58\x35\x61\x12\x19\xda\x25"
38521                           "\x77\xe5\x80\x1a\x31\x27\x9b\xe4"
38522                           "\xda\x8b\x7e\x51\x4d\xcb\x01\x19"
38523                           "\x4f\xdc\x92\x1a\x17\xd5\x6b\xf4"
38524                           "\x50\xe3\x06\xe4\x76\x9f\x65\x00"
38525                           "\xbd\x7a\xe2\x64\x26\xf2\xe4\x7e"
38526                           "\x40\xf2\x80\xab\x62\xd5\xef\x23"
38527                           "\x8b\xfb\x6f\x24\x6e\x9b\x66\x0e"
38528                           "\xf4\x1c\x24\x1e\x1d\x26\x95\x09"
38529                           "\x94\x3c\xb2\xb6\x02\xa7\xd9\x9a",
38530                 .klen   = 32,
38531                 .len    = 512,
38532         },
38533
38534 };
38535
38536 #endif  /* _CRYPTO_TESTMGR_H */