Merge tag 'trace-tools-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[sfrench/cifs-2.6.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\xb6\x4b\xb1\xd1\xac\xba\x24\x8f\x65\xb2\x60\x00\x90\xbf\xbd"
657         "\x78\x05\x73\xe9\x79\x1d\x6f\x7c\x0b\xd2\xc3\x93\xa7\x28\xe1\x75"
658         "\xf7\xd5\x95\x1d\x28\x10\xc0\x75\x50\x5c\x1a\x4f\x3f\x8f\xa5\xee"
659         "\xa3",
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         "\x8d\xd6\xb8\x3e\xe5\xff\x23\xf6\x25\xa2\x43\x42\x74\x45\xa7\x40"
667         "\x3a\xff\x2f\xe1\xd3\xf6\x9f\xe8\x33\xcb\x12\x11",
668         .m_size = 28,
669         .algo = OID_id_ecdsa_with_sha224,
670         .c =
671         "\x30\x34\x02\x18\x5a\x8b\x82\x69\x7e\x8a\x0a\x09\x14\xf8\x11\x2b"
672         "\x55\xdc\xae\x37\x83\x7b\x12\xe6\xb6\x5b\xcb\xd4\x02\x18\x6a\x14"
673         "\x4f\x53\x75\xc8\x02\x48\xeb\xc3\x92\x0f\x1e\x72\xee\xc4\xa3\xe3"
674         "\x5c\x99\xdb\x92\x5b\x36",
675         .c_size = 54,
676         .public_key_vec = true,
677         .siggen_sigver_test = true,
678         }, {
679         .key =
680         "\x04\xe2\x51\x24\x9b\xf7\xb6\x32\x82\x39\x66\x3d\x5b\xec\x3b\xae"
681         "\x0c\xd5\xf2\x67\xd1\xc7\xe1\x02\xe4\xbf\x90\x62\xb8\x55\x75\x56"
682         "\x69\x20\x5e\xcb\x4e\xca\x33\xd6\xcb\x62\x6b\x94\xa9\xa2\xe9\x58"
683         "\x91",
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         "\x35\xec\xa1\xa0\x9e\x14\xde\x33\x03\xb6\xf6\xbd\x0c\x2f\xb2\xfd"
691         "\x1f\x27\x82\xa5\xd7\x70\x3f\xef\xa0\x82\x69\x8e\x73\x31\x8e\xd7",
692         .m_size = 32,
693         .algo = OID_id_ecdsa_with_sha256,
694         .c =
695         "\x30\x35\x02\x18\x3f\x72\x3f\x1f\x42\xd2\x3f\x1d\x6b\x1a\x58\x56"
696         "\xf1\x8f\xf7\xfd\x01\x48\xfb\x5f\x72\x2a\xd4\x8f\x02\x19\x00\xb3"
697         "\x69\x43\xfd\x48\x19\x86\xcf\x32\xdd\x41\x74\x6a\x51\xc7\xd9\x7d"
698         "\x3a\x97\xd9\xcd\x1a\x6a\x49",
699         .c_size = 55,
700         .public_key_vec = true,
701         .siggen_sigver_test = true,
702         }, {
703         .key =
704         "\x04\x5a\x13\xfe\x68\x86\x4d\xf4\x17\xc7\xa4\xe5\x8c\x65\x57\xb7"
705         "\x03\x73\x26\x57\xfb\xe5\x58\x40\xd8\xfd\x49\x05\xab\xf1\x66\x1f"
706         "\xe2\x9d\x93\x9e\xc2\x22\x5a\x8b\x4f\xf3\x77\x22\x59\x7e\xa6\x4e"
707         "\x8b",
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         "\x9d\x2e\x1a\x8f\xed\x6c\x4b\x61\xae\xac\xd5\x19\x79\xce\x67\xf9"
715         "\xa0\x34\xeb\xb0\x81\xf9\xd9\xdc\x6e\xb3\x5c\xa8\x69\xfc\x8a\x61"
716         "\x39\x81\xfb\xfd\x5c\x30\x6b\xa8\xee\xed\x89\xaf\xa3\x05\xe4\x78",
717         .m_size = 48,
718         .algo = OID_id_ecdsa_with_sha384,
719         .c =
720         "\x30\x35\x02\x19\x00\xf0\xa3\x38\xce\x2b\xf8\x9d\x1a\xcf\x7f\x34"
721         "\xb4\xb4\xe5\xc5\x00\xdd\x15\xbb\xd6\x8c\xa7\x03\x78\x02\x18\x64"
722         "\xbc\x5a\x1f\x82\x96\x61\xd7\xd1\x01\x77\x44\x5d\x53\xa4\x7c\x93"
723         "\x12\x3b\x3b\x28\xfb\x6d\xe1",
724         .c_size = 55,
725         .public_key_vec = true,
726         .siggen_sigver_test = true,
727         }, {
728         .key =
729         "\x04\xd5\xf2\x6e\xc3\x94\x5c\x52\xbc\xdf\x86\x6c\x14\xd1\xca\xea"
730         "\xcc\x72\x3a\x8a\xf6\x7a\x3a\x56\x36\x3b\xca\xc6\x94\x0e\x17\x1d"
731         "\x9e\xa0\x58\x28\xf9\x4b\xe6\xd1\xa5\x44\x91\x35\x0d\xe7\xf5\x11"
732         "\x57",
733         .key_len = 49,
734         .params =
735         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
736         "\xce\x3d\x03\x01\x01",
737         .param_len = 21,
738         .m =
739         "\xd5\x4b\xe9\x36\xda\xd8\x6e\xc0\x50\x03\xbe\x00\x43\xff\xf0\x23"
740         "\xac\xa2\x42\xe7\x37\x77\x79\x52\x8f\x3e\xc0\x16\xc1\xfc\x8c\x67"
741         "\x16\xbc\x8a\x5d\x3b\xd3\x13\xbb\xb6\xc0\x26\x1b\xeb\x33\xcc\x70"
742         "\x4a\xf2\x11\x37\xe8\x1b\xba\x55\xac\x69\xe1\x74\x62\x7c\x6e\xb5",
743         .m_size = 64,
744         .algo = OID_id_ecdsa_with_sha512,
745         .c =
746         "\x30\x35\x02\x19\x00\x88\x5b\x8f\x59\x43\xbf\xcf\xc6\xdd\x3f\x07"
747         "\x87\x12\xa0\xd4\xac\x2b\x11\x2d\x1c\xb6\x06\xc9\x6c\x02\x18\x73"
748         "\xb4\x22\x9a\x98\x73\x3c\x83\xa9\x14\x2a\x5e\xf5\xe5\xfb\x72\x28"
749         "\x6a\xdf\x97\xfd\x82\x76\x24",
750         .c_size = 55,
751         .public_key_vec = true,
752         .siggen_sigver_test = true,
753         },
754 };
755
756 static const struct akcipher_testvec ecdsa_nist_p256_tv_template[] = {
757         {
758         .key =
759         "\x04\x8b\x6d\xc0\x33\x8e\x2d\x8b\x67\xf5\xeb\xc4\x7f\xa0\xf5\xd9"
760         "\x7b\x03\xa5\x78\x9a\xb5\xea\x14\xe4\x23\xd0\xaf\xd7\x0e\x2e\xa0"
761         "\xc9\x8b\xdb\x95\xf8\xb3\xaf\xac\x00\x2c\x2c\x1f\x7a\xfd\x95\x88"
762         "\x43\x13\xbf\xf3\x1c\x05\x1a\x14\x18\x09\x3f\xd6\x28\x3e\xc5\xa0"
763         "\xd4",
764         .key_len = 65,
765         .params =
766         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
767         "\xce\x3d\x03\x01\x07",
768         .param_len = 21,
769         .m =
770         "\x1a\x15\xbc\xa3\xe4\xed\x3a\xb8\x23\x67\xc6\xc4\x34\xf8\x6c\x41"
771         "\x04\x0b\xda\xc5\x77\xfa\x1c\x2d\xe6\x2c\x3b\xe0",
772         .m_size = 28,
773         .algo = OID_id_ecdsa_with_sha224,
774         .c =
775         "\x30\x44\x02\x20\x20\x43\xfa\xc0\x9f\x9d\x7b\xe7\xae\xce\x77\x59"
776         "\x1a\xdb\x59\xd5\x34\x62\x79\xcb\x6a\x91\x67\x2e\x7d\x25\xd8\x25"
777         "\xf5\x81\xd2\x1e\x02\x20\x5f\xf8\x74\xf8\x57\xd0\x5e\x54\x76\x20"
778         "\x4a\x77\x22\xec\xc8\x66\xbf\x50\x05\x58\x39\x0e\x26\x92\xce\xd5"
779         "\x2e\x8b\xde\x5a\x04\x0e",
780         .c_size = 70,
781         .public_key_vec = true,
782         .siggen_sigver_test = true,
783         }, {
784         .key =
785         "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
786         "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
787         "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
788         "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
789         "\xb8",
790         .key_len = 65,
791         .params =
792         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
793         "\xce\x3d\x03\x01\x07",
794         .param_len = 21,
795         .m =
796         "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
797         "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
798         .m_size = 32,
799         .algo = OID_id_ecdsa_with_sha256,
800         .c =
801         "\x30\x45\x02\x20\x08\x31\xfa\x74\x0d\x1d\x21\x5d\x09\xdc\x29\x63"
802         "\xa8\x1a\xad\xfc\xac\x44\xc3\xe8\x24\x11\x2d\xa4\x91\xdc\x02\x67"
803         "\xdc\x0c\xd0\x82\x02\x21\x00\xbd\xff\xce\xee\x42\xc3\x97\xff\xf9"
804         "\xa9\x81\xac\x4a\x50\xd0\x91\x0a\x6e\x1b\xc4\xaf\xe1\x83\xc3\x4f"
805         "\x2a\x65\x35\x23\xe3\x1d\xfa",
806         .c_size = 71,
807         .public_key_vec = true,
808         .siggen_sigver_test = true,
809         }, {
810         .key =
811         "\x04\xc5\xc6\xea\x60\xc9\xce\xad\x02\x8d\xf5\x3e\x24\xe3\x52\x1d"
812         "\x28\x47\x3b\xc3\x6b\xa4\x99\x35\x99\x11\x88\x88\xc8\xf4\xee\x7e"
813         "\x8c\x33\x8f\x41\x03\x24\x46\x2b\x1a\x82\xf9\x9f\xe1\x97\x1b\x00"
814         "\xda\x3b\x24\x41\xf7\x66\x33\x58\x3d\x3a\x81\xad\xcf\x16\xe9\xe2"
815         "\x7c",
816         .key_len = 65,
817         .params =
818         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
819         "\xce\x3d\x03\x01\x07",
820         .param_len = 21,
821         .m =
822         "\x3e\x78\x70\xfb\xcd\x66\xba\x91\xa1\x79\xff\x1e\x1c\x6b\x78\xe6"
823         "\xc0\x81\x3a\x65\x97\x14\x84\x36\x14\x1a\x9a\xb7\xc5\xab\x84\x94"
824         "\x5e\xbb\x1b\x34\x71\xcb\x41\xe1\xf6\xfc\x92\x7b\x34\xbb\x86\xbb",
825         .m_size = 48,
826         .algo = OID_id_ecdsa_with_sha384,
827         .c =
828         "\x30\x46\x02\x21\x00\x8e\xf3\x6f\xdc\xf8\x69\xa6\x2e\xd0\x2e\x95"
829         "\x54\xd1\x95\x64\x93\x08\xb2\x6b\x24\x94\x48\x46\x5e\xf2\xe4\x6c"
830         "\xc7\x94\xb1\xd5\xfe\x02\x21\x00\xeb\xa7\x80\x26\xdc\xf9\x3a\x44"
831         "\x19\xfb\x5f\x92\xf4\xc9\x23\x37\x69\xf4\x3b\x4f\x47\xcf\x9b\x16"
832         "\xc0\x60\x11\x92\xdc\x17\x89\x12",
833         .c_size = 72,
834         .public_key_vec = true,
835         .siggen_sigver_test = true,
836         }, {
837         .key =
838         "\x04\xd7\x27\x46\x49\xf6\x26\x85\x12\x40\x76\x8e\xe2\xe6\x2a\x7a"
839         "\x83\xb1\x4e\x7a\xeb\x3b\x5c\x67\x4a\xb5\xa4\x92\x8c\x69\xff\x38"
840         "\xee\xd9\x4e\x13\x29\x59\xad\xde\x6b\xbb\x45\x31\xee\xfd\xd1\x1b"
841         "\x64\xd3\xb5\xfc\xaf\x9b\x4b\x88\x3b\x0e\xb7\xd6\xdf\xf1\xd5\x92"
842         "\xbf",
843         .key_len = 65,
844         .params =
845         "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
846         "\xce\x3d\x03\x01\x07",
847         .param_len = 21,
848         .m =
849         "\x57\xb7\x9e\xe9\x05\x0a\x8c\x1b\xc9\x13\xe5\x4a\x24\xc7\xe2\xe9"
850         "\x43\xc3\xd1\x76\x62\xf4\x98\x1a\x9c\x13\xb0\x20\x1b\xe5\x39\xca"
851         "\x4f\xd9\x85\x34\x95\xa2\x31\xbc\xbb\xde\xdd\x76\xbb\x61\xe3\xcf"
852         "\x9d\xc0\x49\x7a\xf3\x7a\xc4\x7d\xa8\x04\x4b\x8d\xb4\x4d\x5b\xd6",
853         .m_size = 64,
854         .algo = OID_id_ecdsa_with_sha512,
855         .c =
856         "\x30\x45\x02\x21\x00\xb8\x6d\x87\x81\x43\xdf\xfb\x9f\x40\xea\x44"
857         "\x81\x00\x4e\x29\x08\xed\x8c\x73\x30\x6c\x22\xb3\x97\x76\xf6\x04"
858         "\x99\x09\x37\x4d\xfa\x02\x20\x1e\xb9\x75\x31\xf6\x04\xa5\x4d\xf8"
859         "\x00\xdd\xab\xd4\xc0\x2b\xe6\x5c\xad\xc3\x78\x1c\xc2\xc1\x19\x76"
860         "\x31\x79\x4a\xe9\x81\x6a\xee",
861         .c_size = 71,
862         .public_key_vec = true,
863         .siggen_sigver_test = true,
864         },
865 };
866
867 static const struct akcipher_testvec ecdsa_nist_p384_tv_template[] = {
868         {
869         .key = /* secp384r1(sha224) */
870         "\x04\x69\x6c\xcf\x62\xee\xd0\x0d\xe5\xb5\x2f\x70\x54\xcf\x26\xa0"
871         "\xd9\x98\x8d\x92\x2a\xab\x9b\x11\xcb\x48\x18\xa1\xa9\x0d\xd5\x18"
872         "\x3e\xe8\x29\x6e\xf6\xe4\xb5\x8e\xc7\x4a\xc2\x5f\x37\x13\x99\x05"
873         "\xb6\xa4\x9d\xf9\xfb\x79\x41\xe7\xd7\x96\x9f\x73\x3b\x39\x43\xdc"
874         "\xda\xf4\x06\xb9\xa5\x29\x01\x9d\x3b\xe1\xd8\x68\x77\x2a\xf4\x50"
875         "\x6b\x93\x99\x6c\x66\x4c\x42\x3f\x65\x60\x6c\x1c\x0b\x93\x9b\x9d"
876         "\xe0",
877         .key_len = 97,
878         .params =
879         "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
880         "\x00\x22",
881         .param_len = 18,
882         .m =
883         "\x12\x80\xb6\xeb\x25\xe2\x3d\xf0\x21\x32\x96\x17\x3a\x38\x39\xfd"
884         "\x1f\x05\x34\x7b\xb8\xf9\x71\x66\x03\x4f\xd5\xe5",
885         .m_size = 28,
886         .algo = OID_id_ecdsa_with_sha224,
887         .c =
888         "\x30\x66\x02\x31\x00\x8a\x51\x84\xce\x13\x1e\xd2\xdc\xec\xcb\xe4"
889         "\x89\x47\xb2\xf7\xbc\x97\xf1\xc8\x72\x26\xcf\x5a\x5e\xc5\xda\xb4"
890         "\xe3\x93\x07\xe0\x99\xc9\x9c\x11\xb8\x10\x01\xc5\x41\x3f\xdd\x15"
891         "\x1b\x68\x2b\x9d\x8b\x02\x31\x00\x8b\x03\x2c\xfc\x1f\xd1\xa9\xa4"
892         "\x4b\x00\x08\x31\x6c\xf5\xd5\xf6\xdf\xd8\x68\xa2\x64\x42\x65\xf3"
893         "\x4d\xd0\xc6\x6e\xb0\xe9\xfc\x14\x9f\x19\xd0\x42\x8b\x93\xc2\x11"
894         "\x88\x2b\x82\x26\x5e\x1c\xda\xfb",
895         .c_size = 104,
896         .public_key_vec = true,
897         .siggen_sigver_test = true,
898         }, {
899         .key = /* secp384r1(sha256) */
900         "\x04\xee\xd6\xda\x3e\x94\x90\x00\x27\xed\xf8\x64\x55\xd6\x51\x9a"
901         "\x1f\x52\x00\x63\x78\xf1\xa9\xfd\x75\x4c\x9e\xb2\x20\x1a\x91\x5a"
902         "\xba\x7a\xa3\xe5\x6c\xb6\x25\x68\x4b\xe8\x13\xa6\x54\x87\x2c\x0e"
903         "\xd0\x83\x95\xbc\xbf\xc5\x28\x4f\x77\x1c\x46\xa6\xf0\xbc\xd4\xa4"
904         "\x8d\xc2\x8f\xb3\x32\x37\x40\xd6\xca\xf8\xae\x07\x34\x52\x39\x52"
905         "\x17\xc3\x34\x29\xd6\x40\xea\x5c\xb9\x3f\xfb\x32\x2e\x12\x33\xbc"
906         "\xab",
907         .key_len = 97,
908         .params =
909         "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
910         "\x00\x22",
911         .param_len = 18,
912         .m =
913         "\xaa\xe7\xfd\x03\x26\xcb\x94\x71\xe4\xce\x0f\xc5\xff\xa6\x29\xa3"
914         "\xe1\xcc\x4c\x35\x4e\xde\xca\x80\xab\x26\x0c\x25\xe6\x68\x11\xc2",
915         .m_size = 32,
916         .algo = OID_id_ecdsa_with_sha256,
917         .c =
918         "\x30\x64\x02\x30\x08\x09\x12\x9d\x6e\x96\x64\xa6\x8e\x3f\x7e\xce"
919         "\x0a\x9b\xaa\x59\xcc\x47\x53\x87\xbc\xbd\x83\x3f\xaf\x06\x3f\x84"
920         "\x04\xe2\xf9\x67\xb6\xc6\xfc\x70\x2e\x66\x3c\x77\xc8\x8d\x2c\x79"
921         "\x3a\x8e\x32\xc4\x02\x30\x40\x34\xb8\x90\xa9\x80\xab\x47\x26\xa2"
922         "\xb0\x89\x42\x0a\xda\xd9\xdd\xce\xbc\xb2\x97\xf4\x9c\xf3\x15\x68"
923         "\xc0\x75\x3e\x23\x5e\x36\x4f\x8d\xde\x1e\x93\x8d\x95\xbb\x10\x0e"
924         "\xf4\x1f\x39\xca\x4d\x43",
925         .c_size = 102,
926         .public_key_vec = true,
927         .siggen_sigver_test = true,
928         }, {
929         .key = /* secp384r1(sha384) */
930         "\x04\x3a\x2f\x62\xe7\x1a\xcf\x24\xd0\x0b\x7c\xe0\xed\x46\x0a\x4f"
931         "\x74\x16\x43\xe9\x1a\x25\x7c\x55\xff\xf0\x29\x68\x66\x20\x91\xf9"
932         "\xdb\x2b\xf6\xb3\x6c\x54\x01\xca\xc7\x6a\x5c\x0d\xeb\x68\xd9\x3c"
933         "\xf1\x01\x74\x1f\xf9\x6c\xe5\x5b\x60\xe9\x7f\x5d\xb3\x12\x80\x2a"
934         "\xd8\x67\x92\xc9\x0e\x4c\x4c\x6b\xa1\xb2\xa8\x1e\xac\x1c\x97\xd9"
935         "\x21\x67\xe5\x1b\x5a\x52\x31\x68\xd6\xee\xf0\x19\xb0\x55\xed\x89"
936         "\x9e",
937         .key_len = 97,
938         .params =
939         "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
940         "\x00\x22",
941         .param_len = 18,
942         .m =
943         "\x8d\xf2\xc0\xe9\xa8\xf3\x8e\x44\xc4\x8c\x1a\xa0\xb8\xd7\x17\xdf"
944         "\xf2\x37\x1b\xc6\xe3\xf5\x62\xcc\x68\xf5\xd5\x0b\xbf\x73\x2b\xb1"
945         "\xb0\x4c\x04\x00\x31\xab\xfe\xc8\xd6\x09\xc8\xf2\xea\xd3\x28\xff",
946         .m_size = 48,
947         .algo = OID_id_ecdsa_with_sha384,
948         .c =
949         "\x30\x66\x02\x31\x00\x9b\x28\x68\xc0\xa1\xea\x8c\x50\xee\x2e\x62"
950         "\x35\x46\xfa\x00\xd8\x2d\x7a\x91\x5f\x49\x2d\x22\x08\x29\xe6\xfb"
951         "\xca\x8c\xd6\xb6\xb4\x3b\x1f\x07\x8f\x15\x02\xfe\x1d\xa2\xa4\xc8"
952         "\xf2\xea\x9d\x11\x1f\x02\x31\x00\xfc\x50\xf6\x43\xbd\x50\x82\x0e"
953         "\xbf\xe3\x75\x24\x49\xac\xfb\xc8\x71\xcd\x8f\x18\x99\xf0\x0f\x13"
954         "\x44\x92\x8c\x86\x99\x65\xb3\x97\x96\x17\x04\xc9\x05\x77\xf1\x8e"
955         "\xab\x8d\x4e\xde\xe6\x6d\x9b\x66",
956         .c_size = 104,
957         .public_key_vec = true,
958         .siggen_sigver_test = true,
959         }, {
960         .key = /* secp384r1(sha512) */
961         "\x04\xb4\xe7\xc1\xeb\x64\x25\x22\x46\xc3\x86\x61\x80\xbe\x1e\x46"
962         "\xcb\xf6\x05\xc2\xee\x73\x83\xbc\xea\x30\x61\x4d\x40\x05\x41\xf4"
963         "\x8c\xe3\x0e\x5c\xf0\x50\xf2\x07\x19\xe8\x4f\x25\xbe\xee\x0c\x95"
964         "\x54\x36\x86\xec\xc2\x20\x75\xf3\x89\xb5\x11\xa1\xb7\xf5\xaf\xbe"
965         "\x81\xe4\xc3\x39\x06\xbd\xe4\xfe\x68\x1c\x6d\x99\x2b\x1b\x63\xfa"
966         "\xdf\x42\x5c\xc2\x5a\xc7\x0c\xf4\x15\xf7\x1b\xa3\x2e\xd7\x00\xac"
967         "\xa3",
968         .key_len = 97,
969         .params =
970         "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
971         "\x00\x22",
972         .param_len = 18,
973         .m =
974         "\xe8\xb7\x52\x7d\x1a\x44\x20\x05\x53\x6b\x3a\x68\xf2\xe7\x6c\xa1"
975         "\xae\x9d\x84\xbb\xba\x52\x43\x3e\x2c\x42\x78\x49\xbf\x78\xb2\x71"
976         "\xeb\xe1\xe0\xe8\x42\x7b\x11\xad\x2b\x99\x05\x1d\x36\xe6\xac\xfc"
977         "\x55\x73\xf0\x15\x63\x39\xb8\x6a\x6a\xc5\x91\x5b\xca\x6a\xa8\x0e",
978         .m_size = 64,
979         .algo = OID_id_ecdsa_with_sha512,
980         .c =
981         "\x30\x63\x02\x2f\x1d\x20\x94\x77\xfe\x31\xfa\x4d\xc6\xef\xda\x02"
982         "\xe7\x0f\x52\x9a\x02\xde\x93\xe8\x83\xe4\x84\x4c\xfc\x6f\x80\xe3"
983         "\xaf\xb3\xd9\xdc\x2b\x43\x0e\x6a\xb3\x53\x6f\x3e\xb3\xc7\xa8\xb3"
984         "\x17\x77\xd1\x02\x30\x63\xf6\xf0\x3d\x5f\x5f\x99\x3f\xde\x3a\x3d"
985         "\x16\xaf\xb4\x52\x6a\xec\x63\xe3\x0c\xec\x50\xdc\xcc\xc4\x6a\x03"
986         "\x5f\x8d\x7a\xf9\xfb\x34\xe4\x8b\x80\xa5\xb6\xda\x2c\x4e\x45\xcf"
987         "\x3c\x93\xff\x50\x5d",
988         .c_size = 101,
989         .public_key_vec = true,
990         .siggen_sigver_test = true,
991         },
992 };
993
994 /*
995  * EC-RDSA test vectors are generated by gost-engine.
996  */
997 static const struct akcipher_testvec ecrdsa_tv_template[] = {
998         {
999         .key =
1000         "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
1001         "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
1002         "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
1003         "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
1004         "\x27\xfc",
1005         .key_len = 66,
1006         .params = /* OID_gostCPSignA */
1007         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
1008         "\x07\x01\x01\x02\x02",
1009         .param_len = 21,
1010         .c =
1011         "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
1012         "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
1013         "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
1014         "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
1015         .c_size = 64,
1016         .algo = OID_gost2012PKey256,
1017         .m =
1018         "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
1019         "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
1020         .m_size = 32,
1021         .public_key_vec = true,
1022         .siggen_sigver_test = true,
1023         },
1024         {
1025         .key =
1026         "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
1027         "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
1028         "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
1029         "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
1030         "\xa0\x73",
1031         .key_len = 66,
1032         .params = /* OID_gostCPSignB */
1033         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
1034         "\x07\x01\x01\x02\x02",
1035         .param_len = 21,
1036         .c =
1037         "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
1038         "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
1039         "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
1040         "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
1041         .c_size = 64,
1042         .algo = OID_gost2012PKey256,
1043         .m =
1044         "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
1045         "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
1046         .m_size = 32,
1047         .public_key_vec = true,
1048         .siggen_sigver_test = true,
1049         },
1050         {
1051         .key =
1052         "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
1053         "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
1054         "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
1055         "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
1056         "\xba\x15",
1057         .key_len = 66,
1058         .params = /* OID_gostCPSignC */
1059         "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
1060         "\x07\x01\x01\x02\x02",
1061         .param_len = 21,
1062         .c =
1063         "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
1064         "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
1065         "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
1066         "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
1067         .c_size = 64,
1068         .algo = OID_gost2012PKey256,
1069         .m =
1070         "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
1071         "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
1072         .m_size = 32,
1073         .public_key_vec = true,
1074         .siggen_sigver_test = true,
1075         },
1076         {
1077         .key =
1078         "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
1079         "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
1080         "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
1081         "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
1082         "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
1083         "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
1084         "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
1085         "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
1086         "\x9d\x86\x1a",
1087         .key_len = 131,
1088         .params = /* OID_gostTC26Sign512A */
1089         "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
1090         .param_len = 13,
1091         .c =
1092         "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
1093         "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
1094         "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
1095         "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
1096         "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
1097         "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
1098         "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
1099         "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
1100         .c_size = 128,
1101         .algo = OID_gost2012PKey512,
1102         .m =
1103         "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
1104         "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
1105         "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
1106         "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
1107         .m_size = 64,
1108         .public_key_vec = true,
1109         .siggen_sigver_test = true,
1110         },
1111         {
1112         .key =
1113         "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
1114         "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
1115         "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
1116         "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
1117         "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
1118         "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
1119         "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
1120         "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
1121         "\x8e\x78\x48",
1122         .key_len = 131,
1123         .params = /* OID_gostTC26Sign512B */
1124         "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
1125         .param_len = 13,
1126         .c =
1127         "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
1128         "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
1129         "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
1130         "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
1131         "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
1132         "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
1133         "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
1134         "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
1135         .c_size = 128,
1136         .algo = OID_gost2012PKey512,
1137         .m =
1138         "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
1139         "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
1140         "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
1141         "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
1142         .m_size = 64,
1143         .public_key_vec = true,
1144         .siggen_sigver_test = true,
1145         },
1146 };
1147
1148 /*
1149  * PKCS#1 RSA test vectors. Obtained from CAVS testing.
1150  */
1151 static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
1152         {
1153         .key =
1154         "\x30\x82\x04\xa5\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
1155         "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
1156         "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
1157         "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
1158         "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
1159         "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
1160         "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
1161         "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
1162         "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
1163         "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
1164         "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
1165         "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
1166         "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
1167         "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
1168         "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
1169         "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
1170         "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x03\x01\x00"
1171         "\x01\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac"
1172         "\x47\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4"
1173         "\xdc\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b"
1174         "\x12\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd"
1175         "\xef\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71"
1176         "\x9c\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5"
1177         "\x80\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f"
1178         "\x8d\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e"
1179         "\x28\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5"
1180         "\x95\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae"
1181         "\xf1\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52"
1182         "\x4c\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d"
1183         "\xd4\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88"
1184         "\x4e\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9"
1185         "\x7a\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f"
1186         "\xda\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d"
1187         "\x46\xb8\x35\xdf\x41\x02\x81\x81\x00\xe4\x4c\xae\xde\x16\xfd\x9f"
1188         "\x83\x55\x5b\x84\x4a\xcf\x1c\xf1\x37\x95\xad\xca\x29\x7f\x2d\x6e"
1189         "\x32\x81\xa4\x2b\x26\x14\x96\x1d\x40\x05\xec\x0c\xaf\x3f\x2c\x6f"
1190         "\x2c\xe8\xbf\x1d\xee\xd0\xb3\xef\x7c\x5b\x9e\x88\x4f\x2a\x8b\x0e"
1191         "\x4a\xbd\xb7\x8c\xfa\x10\x0e\x3b\xda\x68\xad\x41\x2b\xe4\x96\xfa"
1192         "\x7f\x80\x52\x5f\x07\x9f\x0e\x3b\x5e\x96\x45\x1a\x13\x2b\x94\xce"
1193         "\x1f\x07\x69\x85\x35\xfc\x69\x63\x5b\xf8\xf8\x3f\xce\x9d\x40\x1e"
1194         "\x7c\xad\xfb\x9e\xce\xe0\x01\xf8\xef\x59\x5d\xdc\x00\x79\xab\x8a"
1195         "\x3f\x80\xa2\x76\x32\x94\xa9\xea\x65\x02\x81\x81\x00\xf1\x38\x60"
1196         "\x90\x0d\x0c\x2e\x3d\x34\xe5\x90\xea\x21\x43\x1f\x68\x63\x16\x7b"
1197         "\x25\x8d\xde\x82\x2b\x52\xf8\xa3\xfd\x0f\x39\xe7\xe9\x5e\x32\x75"
1198         "\x15\x7d\xd0\xc9\xce\x06\xe5\xfb\xa9\xcb\x22\xe5\xdb\x49\x09\xf2"
1199         "\xe6\xb7\xa5\xa7\x75\x2e\x91\x2d\x2b\x5d\xf1\x48\x61\x45\x43\xd7"
1200         "\xbd\xfc\x11\x73\xb5\x11\x9f\xb2\x18\x3a\x6f\x36\xa7\xc2\xd3\x18"
1201         "\x4d\xf0\xc5\x1f\x70\x8c\x9b\xc5\x1d\x95\xa8\x5a\x9e\x8c\xb1\x4b"
1202         "\x6a\x2a\x84\x76\x2c\xd8\x4f\x47\xb0\x81\x84\x02\x45\xf0\x85\xf8"
1203         "\x0c\x6d\xa7\x0c\x4d\x2c\xb2\x5b\x81\x70\xfd\x6e\x17\x02\x81\x81"
1204         "\x00\x8d\x07\xc5\xfa\x92\x4f\x48\xcb\xd3\xdd\xfe\x02\x4c\xa1\x7f"
1205         "\x6d\xab\xfc\x38\xe7\x9b\x95\xcf\xfe\x49\x51\xc6\x09\xf7\x2b\xa8"
1206         "\x94\x15\x54\x75\x9d\x88\xb4\x05\x55\xc3\xcd\xd4\x4a\xe4\x08\x53"
1207         "\xc8\x09\xbd\x0c\x4d\x83\x65\x75\x85\xbc\x5e\xf8\x2a\xbd\xe2\x5d"
1208         "\x1d\x16\x0e\xf9\x34\x89\x38\xaf\x34\x36\x6c\x2c\x22\x44\x22\x81"
1209         "\x90\x73\xd9\xea\x3a\xaf\x70\x74\x48\x7c\xc6\xb5\xb0\xdc\xe5\xa9"
1210         "\xa8\x76\x4b\xbc\xf7\x00\xf3\x4c\x22\x0f\x44\x62\x1d\x40\x0a\x57"
1211         "\xe2\x5b\xdd\x7c\x7b\x9a\xad\xda\x70\x52\x21\x8a\x4c\xc2\xc3\x98"
1212         "\x75\x02\x81\x81\x00\xed\x24\x5c\xa2\x21\x81\xa1\x0f\xa1\x2a\x33"
1213         "\x0e\x49\xc7\x00\x60\x92\x51\x6e\x9d\x9b\xdc\x6d\x22\x04\x7e\xd6"
1214         "\x51\x19\x9f\xf6\xe3\x91\x2c\x8f\xb8\xa2\x29\x19\xcc\x47\x31\xdf"
1215         "\xf8\xab\xf0\xd2\x02\x83\xca\x99\x16\xc2\xe2\xc3\x3f\x4b\x99\x83"
1216         "\xcb\x87\x9e\x86\x66\xc2\x3e\x91\x21\x80\x66\xf3\xd6\xc5\xcd\xb6"
1217         "\xbb\x64\xef\x22\xcf\x48\x94\x58\xe7\x7e\xd5\x7c\x34\x1c\xb7\xa2"
1218         "\xd0\x93\xe9\x9f\xb5\x11\x61\xd7\x5f\x37\x0f\x64\x52\x70\x11\x78"
1219         "\xcc\x08\x77\xeb\xf8\x30\x1e\xb4\x9e\x1b\x4a\xc7\xa8\x33\x51\xe0"
1220         "\xed\xdf\x53\xf6\xdf\x02\x81\x81\x00\x86\xd9\x4c\xee\x65\x61\xc1"
1221         "\x19\xa9\xd5\x74\x9b\xd5\xca\xf6\x83\x2b\x06\xb4\x20\xfe\x45\x29"
1222         "\xe8\xe3\xfa\xe1\x4f\x28\x8e\x63\x2f\x74\xc3\x3a\x5c\x9a\xf5\x9e"
1223         "\x0e\x0d\xc5\xfe\xa0\x4c\x00\xce\x7b\xa4\x19\x17\x59\xaf\x13\x3a"
1224         "\x03\x8f\x54\xf5\x60\x39\x2e\xd9\x06\xb3\x7c\xd6\x90\x06\x41\x77"
1225         "\xf3\x93\xe1\x7a\x01\x41\xc1\x8f\xfe\x4c\x88\x39\xdb\xde\x71\x9e"
1226         "\x58\xd1\x49\x50\x80\xb2\x5a\x4f\x69\x8b\xb8\xfe\x63\xd4\x42\x3d"
1227         "\x37\x61\xa8\x4c\xff\xb6\x99\x4c\xf4\x51\xe0\x44\xaa\x69\x79\x3f"
1228         "\x81\xa4\x61\x3d\x26\xe9\x04\x52\x64",
1229         .key_len = 1193,
1230         /*
1231          * m is SHA256 hash of following message:
1232          * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
1233          * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
1234          * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
1235          * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
1236          * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
1237          * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
1238          * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
1239          * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
1240          */
1241         .m =
1242         "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
1243         "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
1244         .m_size = 32,
1245         .c =
1246         "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
1247         "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
1248         "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
1249         "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
1250         "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
1251         "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
1252         "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
1253         "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
1254         "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
1255         "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
1256         "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
1257         "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
1258         "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
1259         "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
1260         "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
1261         "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
1262         .c_size = 256,
1263         .siggen_sigver_test = true,
1264         }
1265 };
1266
1267 static const struct kpp_testvec dh_tv_template[] = {
1268         {
1269         .secret =
1270 #ifdef __LITTLE_ENDIAN
1271         "\x01\x00" /* type */
1272         "\x11\x02" /* len */
1273         "\x00\x01\x00\x00" /* key_size */
1274         "\x00\x01\x00\x00" /* p_size */
1275         "\x01\x00\x00\x00" /* g_size */
1276 #else
1277         "\x00\x01" /* type */
1278         "\x02\x11" /* len */
1279         "\x00\x00\x01\x00" /* key_size */
1280         "\x00\x00\x01\x00" /* p_size */
1281         "\x00\x00\x00\x01" /* g_size */
1282 #endif
1283         /* xa */
1284         "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
1285         "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
1286         "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
1287         "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
1288         "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
1289         "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
1290         "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
1291         "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
1292         "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
1293         "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
1294         "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
1295         "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
1296         "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
1297         "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
1298         "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
1299         "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
1300         /* p */
1301         "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
1302         "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
1303         "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
1304         "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
1305         "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
1306         "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
1307         "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
1308         "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
1309         "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
1310         "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
1311         "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
1312         "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
1313         "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
1314         "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
1315         "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
1316         "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
1317         /* g */
1318         "\x02",
1319         .b_public =
1320         "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
1321         "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
1322         "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
1323         "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
1324         "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
1325         "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
1326         "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
1327         "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
1328         "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
1329         "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
1330         "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
1331         "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
1332         "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
1333         "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
1334         "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
1335         "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
1336         .expected_a_public =
1337         "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
1338         "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
1339         "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
1340         "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
1341         "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
1342         "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
1343         "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
1344         "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
1345         "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
1346         "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
1347         "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
1348         "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
1349         "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
1350         "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
1351         "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
1352         "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
1353         .expected_ss =
1354         "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
1355         "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
1356         "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
1357         "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
1358         "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
1359         "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
1360         "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
1361         "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
1362         "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
1363         "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
1364         "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
1365         "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
1366         "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
1367         "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
1368         "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
1369         "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
1370         .secret_size = 529,
1371         .b_public_size = 256,
1372         .expected_a_public_size = 256,
1373         .expected_ss_size = 256,
1374         },
1375         {
1376         .secret =
1377 #ifdef __LITTLE_ENDIAN
1378         "\x01\x00" /* type */
1379         "\x11\x02" /* len */
1380         "\x00\x01\x00\x00" /* key_size */
1381         "\x00\x01\x00\x00" /* p_size */
1382         "\x01\x00\x00\x00" /* g_size */
1383 #else
1384         "\x00\x01" /* type */
1385         "\x02\x11" /* len */
1386         "\x00\x00\x01\x00" /* key_size */
1387         "\x00\x00\x01\x00" /* p_size */
1388         "\x00\x00\x00\x01" /* g_size */
1389 #endif
1390         /* xa */
1391         "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
1392         "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
1393         "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
1394         "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
1395         "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
1396         "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
1397         "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
1398         "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
1399         "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
1400         "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
1401         "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
1402         "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
1403         "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
1404         "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
1405         "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
1406         "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
1407         /* p */
1408         "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
1409         "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
1410         "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
1411         "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
1412         "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
1413         "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
1414         "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
1415         "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
1416         "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
1417         "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
1418         "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
1419         "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
1420         "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
1421         "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
1422         "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
1423         "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
1424         /* g */
1425         "\x02",
1426         .b_public =
1427         "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
1428         "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
1429         "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
1430         "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
1431         "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
1432         "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
1433         "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
1434         "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
1435         "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
1436         "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
1437         "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
1438         "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
1439         "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
1440         "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
1441         "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
1442         "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
1443         .expected_a_public =
1444         "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
1445         "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
1446         "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
1447         "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
1448         "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
1449         "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
1450         "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
1451         "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
1452         "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
1453         "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
1454         "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
1455         "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
1456         "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
1457         "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
1458         "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
1459         "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
1460         .expected_ss =
1461         "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
1462         "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
1463         "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
1464         "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
1465         "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
1466         "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
1467         "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
1468         "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
1469         "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
1470         "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
1471         "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
1472         "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
1473         "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
1474         "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
1475         "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
1476         "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
1477         .secret_size = 529,
1478         .b_public_size = 256,
1479         .expected_a_public_size = 256,
1480         .expected_ss_size = 256,
1481         }
1482 };
1483
1484 static const struct kpp_testvec ffdhe2048_dh_tv_template[] __maybe_unused = {
1485         {
1486         .secret =
1487 #ifdef __LITTLE_ENDIAN
1488         "\x01\x00" /* type */
1489         "\x10\x01" /* len */
1490         "\x00\x01\x00\x00" /* key_size */
1491         "\x00\x00\x00\x00" /* p_size */
1492         "\x00\x00\x00\x00" /* g_size */
1493 #else
1494         "\x00\x01" /* type */
1495         "\x01\x10" /* len */
1496         "\x00\x00\x01\x00" /* key_size */
1497         "\x00\x00\x00\x00" /* p_size */
1498         "\x00\x00\x00\x00" /* g_size */
1499 #endif
1500         /* xa */
1501         "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
1502         "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
1503         "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
1504         "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
1505         "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
1506         "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
1507         "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
1508         "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
1509         "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
1510         "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
1511         "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
1512         "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
1513         "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
1514         "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
1515         "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
1516         "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
1517         .b_public =
1518         "\x5c\x00\x6f\xda\xfe\x4c\x0c\xc2\x18\xff\xa9\xec\x7a\xbe\x8a\x51"
1519         "\x64\x6b\x57\xf8\xed\xe2\x36\x77\xc1\x23\xbf\x56\xa6\x48\x76\x34"
1520         "\x0e\xf3\x68\x05\x45\x6a\x98\x5b\x9e\x8b\xc0\x11\x29\xcb\x5b\x66"
1521         "\x2d\xc2\xeb\x4c\xf1\x7d\x85\x30\xaa\xd5\xf5\xb8\xd3\x62\x1e\x97"
1522         "\x1e\x34\x18\xf8\x76\x8c\x10\xca\x1f\xe4\x5d\x62\xe1\xbe\x61\xef"
1523         "\xaf\x2c\x8d\x97\x15\xa5\x86\xd5\xd3\x12\x6f\xec\xe2\xa4\xb2\x5a"
1524         "\x35\x1d\xd4\x91\xa6\xef\x13\x09\x65\x9c\x45\xc0\x12\xad\x7f\xee"
1525         "\x93\x5d\xfa\x89\x26\x7d\xae\xee\xea\x8c\xa3\xcf\x04\x2d\xa0\xc7"
1526         "\xd9\x14\x62\xaf\xdf\xa0\x33\xd7\x5e\x83\xa2\xe6\x0e\x0e\x5d\x77"
1527         "\xce\xe6\x72\xe4\xec\x9d\xff\x72\x9f\x38\x95\x19\x96\xba\x4c\xe3"
1528         "\x5f\xb8\x46\x4a\x1d\xe9\x62\x7b\xa8\xdc\xe7\x61\x90\x6b\xb9\xd4"
1529         "\xad\x0b\xa3\x06\xb3\x70\xfa\xea\x2b\xc4\x2c\xde\x43\x37\xf6\x8d"
1530         "\x72\xf0\x86\x9a\xbb\x3b\x8e\x7a\x71\x03\x30\x30\x2a\x5d\xcd\x1e"
1531         "\xe4\xd3\x08\x07\x75\x17\x17\x72\x1e\x77\x6c\x98\x0d\x29\x7f\xac"
1532         "\xe7\xb2\xee\xa9\x1c\x33\x9d\x08\x39\xe1\xd8\x5b\xe5\xbc\x48\xb2"
1533         "\xb6\xdf\xcd\xa0\x42\x06\xcc\xfb\xed\x60\x6f\xbc\x57\xac\x09\x45",
1534         .expected_a_public =
1535         "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
1536         "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
1537         "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
1538         "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
1539         "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
1540         "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
1541         "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
1542         "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
1543         "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
1544         "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
1545         "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
1546         "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
1547         "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
1548         "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
1549         "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
1550         "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
1551         .expected_ss =
1552         "\xf3\x0e\x64\x7b\x66\xd7\x82\x7e\xab\x7e\x4a\xbe\x13\x6f\x43\x3d"
1553         "\xea\x4f\x1f\x8b\x9d\x41\x56\x71\xe1\x06\x96\x02\x68\xfa\x44\x6e"
1554         "\xe7\xf2\x26\xd4\x01\x4a\xf0\x28\x25\x76\xad\xd7\xe0\x17\x74\xfe"
1555         "\xf9\xe1\x6d\xd3\xf7\xc7\xdf\xc0\x62\xa5\xf3\x4e\x1b\x5c\x77\x2a"
1556         "\xfb\x0b\x87\xc3\xde\x1e\xc1\xe0\xd3\x7a\xb8\x02\x02\xec\x9c\x97"
1557         "\xfb\x34\xa0\x20\x10\x23\x87\xb2\x9a\x72\xe3\x3d\xb2\x18\x50\xf3"
1558         "\x6a\xd3\xd3\x19\xc4\x36\xd5\x59\xd6\xd6\xa7\x5c\xc3\xf9\x09\x33"
1559         "\xa1\xf5\xb9\x4b\xf3\x0b\xe1\x4f\x79\x6b\x45\xf2\xec\x8b\xe5\x69"
1560         "\x9f\xc6\x05\x01\xfe\x3a\x13\xfd\x6d\xea\x03\x83\x29\x7c\x7f\xf5"
1561         "\x41\x55\x95\xde\x7e\x62\xae\xaf\x28\xdb\x7c\xa9\x90\x1e\xb2\xb1"
1562         "\x1b\xef\xf1\x2e\xde\x47\xaa\xa8\x92\x9a\x49\x3d\xc0\xe0\x8d\xbb"
1563         "\x0c\x42\x86\xaf\x00\xce\xb0\xab\x22\x7c\xe9\xbe\xb9\x72\x2f\xcf"
1564         "\x5e\x5d\x62\x52\x2a\xd1\xfe\xcc\xa2\xf3\x40\xfd\x01\xa7\x54\x0a"
1565         "\xa1\xfb\x1c\xf2\x44\xa6\x47\x30\x5a\xba\x2a\x05\xff\xd0\x6c\xab"
1566         "\xeb\xe6\x8f\xf6\xd7\x73\xa3\x0e\x6c\x0e\xcf\xfd\x8e\x16\x5d\xe0"
1567         "\x2c\x11\x05\x82\x3c\x22\x16\x6c\x52\x61\xcf\xbb\xff\xf8\x06\xd0",
1568         .secret_size = 272,
1569         .b_public_size = 256,
1570         .expected_a_public_size = 256,
1571         .expected_ss_size = 256,
1572         },
1573         {
1574         .secret =
1575 #ifdef __LITTLE_ENDIAN
1576         "\x01\x00" /* type */
1577         "\x10\x00" /* len */
1578         "\x00\x00\x00\x00" /* key_size */
1579         "\x00\x00\x00\x00" /* p_size */
1580         "\x00\x00\x00\x00", /* g_size */
1581 #else
1582         "\x00\x01" /* type */
1583         "\x00\x10" /* len */
1584         "\x00\x00\x00\x00" /* key_size */
1585         "\x00\x00\x00\x00" /* p_size */
1586         "\x00\x00\x00\x00", /* g_size */
1587 #endif
1588         .b_secret =
1589 #ifdef __LITTLE_ENDIAN
1590         "\x01\x00" /* type */
1591         "\x10\x01" /* len */
1592         "\x00\x01\x00\x00" /* key_size */
1593         "\x00\x00\x00\x00" /* p_size */
1594         "\x00\x00\x00\x00" /* g_size */
1595 #else
1596         "\x00\x01" /* type */
1597         "\x01\x10" /* len */
1598         "\x00\x00\x01\x00" /* key_size */
1599         "\x00\x00\x00\x00" /* p_size */
1600         "\x00\x00\x00\x00" /* g_size */
1601 #endif
1602         /* xa */
1603         "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
1604         "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
1605         "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
1606         "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
1607         "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
1608         "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
1609         "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
1610         "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
1611         "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
1612         "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
1613         "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
1614         "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
1615         "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
1616         "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
1617         "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
1618         "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
1619         .b_public =
1620         "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
1621         "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
1622         "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
1623         "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
1624         "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
1625         "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
1626         "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
1627         "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
1628         "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
1629         "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
1630         "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
1631         "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
1632         "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
1633         "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
1634         "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
1635         "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
1636         .secret_size = 16,
1637         .b_secret_size = 272,
1638         .b_public_size = 256,
1639         .expected_a_public_size = 256,
1640         .expected_ss_size = 256,
1641         .genkey = true,
1642         },
1643 };
1644
1645 static const struct kpp_testvec ffdhe3072_dh_tv_template[] __maybe_unused = {
1646         {
1647         .secret =
1648 #ifdef __LITTLE_ENDIAN
1649         "\x01\x00" /* type */
1650         "\x90\x01" /* len */
1651         "\x80\x01\x00\x00" /* key_size */
1652         "\x00\x00\x00\x00" /* p_size */
1653         "\x00\x00\x00\x00" /* g_size */
1654 #else
1655         "\x00\x01" /* type */
1656         "\x01\x90" /* len */
1657         "\x00\x00\x01\x80" /* key_size */
1658         "\x00\x00\x00\x00" /* p_size */
1659         "\x00\x00\x00\x00" /* g_size */
1660 #endif
1661         /* xa */
1662         "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
1663         "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
1664         "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
1665         "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
1666         "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
1667         "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
1668         "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
1669         "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
1670         "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
1671         "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
1672         "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
1673         "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
1674         "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
1675         "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
1676         "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
1677         "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
1678         "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
1679         "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
1680         "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
1681         "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
1682         "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
1683         "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
1684         "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
1685         "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
1686         .b_public =
1687         "\x73\x40\x8b\xce\xe8\x6a\x1c\x03\x50\x54\x42\x36\x22\xc6\x1d\xe8"
1688         "\xe1\xef\x5c\x89\xa5\x55\xc1\xc4\x1c\xd7\x4f\xee\x5d\xba\x62\x60"
1689         "\xfe\x93\x2f\xfd\x93\x2c\x8f\x70\xc6\x47\x17\x25\xb2\x95\xd7\x7d"
1690         "\x41\x81\x4d\x52\x1c\xbe\x4d\x57\x3e\x26\x51\x28\x03\x8f\x67\xf5"
1691         "\x22\x16\x1c\x67\xf7\x62\xcb\xfd\xa3\xee\x8d\xe0\xfa\x15\x9a\x53"
1692         "\xbe\x7b\x9f\xc0\x12\x7a\xfc\x5e\x77\x2d\x60\x06\xba\x71\xc5\xca"
1693         "\xd7\x26\xaf\x3b\xba\x6f\xd3\xc4\x82\x57\x19\x26\xb0\x16\x7b\xbd"
1694         "\x83\xf2\x21\x03\x79\xff\x0a\x6f\xc5\x7b\x00\x15\xad\x5b\xf4\x42"
1695         "\x1f\xcb\x7f\x3d\x34\x77\x3c\xc3\xe0\x38\xa5\x40\x51\xbe\x6f\xd9"
1696         "\xc9\x77\x9c\xfc\x0d\xc1\x8e\xef\x0f\xaa\x5e\xa8\xbb\x16\x4a\x3e"
1697         "\x26\x55\xae\xc1\xb6\x3e\xfd\x73\xf7\x59\xd2\xe5\x4b\x91\x8e\x28"
1698         "\x77\x1e\x5a\xe2\xcd\xce\x92\x35\xbb\x1e\xbb\xcf\x79\x94\xdf\x31"
1699         "\xde\x31\xa8\x75\xf6\xe0\xaa\x2e\xe9\x4f\x44\xc8\xba\xb9\xab\x80"
1700         "\x29\xa1\xea\x58\x2e\x40\x96\xa0\x1a\xf5\x2c\x38\x47\x43\x5d\x26"
1701         "\x2c\xd8\xad\xea\xd3\xad\xe8\x51\x49\xad\x45\x2b\x25\x7c\xde\xe4"
1702         "\xaf\x03\x2a\x39\x26\x86\x66\x10\xbc\xa8\x71\xda\xe0\xe8\xf1\xdd"
1703         "\x50\xff\x44\xb2\xd3\xc7\xff\x66\x63\xf6\x42\xe3\x97\x9d\x9e\xf4"
1704         "\xa6\x89\xb9\xab\x12\x17\xf2\x85\x56\x9c\x6b\x24\x71\x83\x57\x7d"
1705         "\x3c\x7b\x2b\x88\x92\x19\xd7\x1a\x00\xd5\x38\x94\x43\x60\x4d\xa7"
1706         "\x12\x9e\x0d\xf6\x5c\x9a\xd3\xe2\x9e\xb1\x21\xe8\xe2\x9e\xe9\x1e"
1707         "\x9d\xa5\x94\x95\xa6\x3d\x12\x15\xd8\x8b\xac\xe0\x8c\xde\xe6\x40"
1708         "\x98\xaa\x5e\x55\x4f\x3d\x86\x87\x0d\xe3\xc6\x68\x15\xe6\xde\x17"
1709         "\x78\x21\xc8\x6c\x06\xc7\x94\x56\xb4\xaf\xa2\x35\x0b\x0c\x97\xd7"
1710         "\xa4\x12\xee\xf4\xd2\xef\x80\x28\xb3\xee\xe9\x15\x8b\x01\x32\x79",
1711         .expected_a_public =
1712         "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
1713         "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
1714         "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
1715         "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
1716         "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
1717         "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
1718         "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
1719         "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
1720         "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
1721         "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
1722         "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
1723         "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
1724         "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
1725         "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
1726         "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
1727         "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
1728         "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
1729         "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
1730         "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
1731         "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
1732         "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
1733         "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
1734         "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
1735         "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
1736         .expected_ss =
1737         "\x47\x8e\xb2\x19\x09\xf0\x46\x99\x6b\x41\x86\xf7\x34\xad\xbf\x2a"
1738         "\x18\x1b\x7d\xec\xa9\xb2\x47\x2f\x40\xfb\x9a\x64\x30\x44\xf3\x4c"
1739         "\x01\x67\xad\x57\x5a\xbc\xd4\xc8\xef\x7e\x8a\x14\x74\x1d\x6d\x8c"
1740         "\x7b\xce\xc5\x57\x5f\x95\xe8\x72\xba\xdf\xa3\xcd\x00\xbe\x09\x4c"
1741         "\x06\x72\xe7\x17\xb0\xe5\xe5\xb7\x20\xa5\xcb\xd9\x68\x99\xad\x3f"
1742         "\xde\xf3\xde\x1d\x1c\x00\x74\xd2\xd1\x57\x55\x5d\xce\x76\x0c\xc4"
1743         "\x7a\xc4\x65\x7c\x19\x17\x0a\x09\x66\x7d\x3a\xab\xf7\x61\x3a\xe3"
1744         "\x5b\xac\xcf\x69\xb0\x8b\xee\x5d\x28\x36\xbb\x3f\x74\xce\x6e\x38"
1745         "\x1e\x39\xab\x26\xca\x89\xdc\x58\x59\xcb\x95\xe4\xbc\xd6\x19\x48"
1746         "\xd0\x55\x68\x7b\xb4\x27\x95\x3c\xd9\x58\x10\x4f\x8f\x55\x1c\x3f"
1747         "\x04\xce\x89\x1f\x82\x28\xe9\x48\x17\x47\x8f\xee\xb7\x8f\xeb\xb1"
1748         "\x29\xa8\x23\x18\x73\x33\x9f\x83\x08\xca\xcd\x54\x6e\xca\xec\x78"
1749         "\x7b\x16\x83\x3f\xdb\x0a\xef\xfd\x87\x94\x19\x08\x6e\x6e\x22\x57"
1750         "\xd7\xd2\x79\xf9\xf6\xeb\xe0\x6c\x93\x9d\x95\xfa\x41\x7a\xa9\xd6"
1751         "\x2a\xa3\x26\x9b\x24\x1b\x8b\xa0\xed\x04\xb2\xe4\x6c\x4e\xc4\x3f"
1752         "\x61\xe5\xe0\x4d\x09\x28\xaf\x58\x35\x25\x0b\xd5\x38\x18\x69\x51"
1753         "\x18\x51\x73\x7b\x28\x19\x9f\xe4\x69\xfc\x2c\x25\x08\x99\x8f\x62"
1754         "\x65\x62\xa5\x28\xf1\xf4\xfb\x02\x29\x27\xb0\x5e\xbb\x4f\xf9\x1a"
1755         "\xa7\xc4\x38\x63\x5b\x01\xfe\x00\x66\xe3\x47\x77\x21\x85\x17\xd5"
1756         "\x34\x19\xd3\x87\xab\x44\x62\x08\x59\xb2\x6b\x1f\x21\x0c\x23\x84"
1757         "\xf7\xba\x92\x67\xf9\x16\x85\x6a\xe0\xeb\xe7\x4f\x06\x80\x81\x81"
1758         "\x28\x9c\xe8\x2e\x71\x97\x48\xe0\xd1\xbc\xce\xe9\x42\x2c\x89\xdf"
1759         "\x0b\xa9\xa1\x07\x84\x33\x78\x7f\x49\x2f\x1c\x55\xc3\x7f\xc3\x37"
1760         "\x40\xdf\x13\xf4\xa0\x21\x79\x6e\x3a\xe3\xb8\x23\x9e\x8a\x6e\x9c",
1761         .secret_size = 400,
1762         .b_public_size = 384,
1763         .expected_a_public_size = 384,
1764         .expected_ss_size = 384,
1765         },
1766         {
1767         .secret =
1768 #ifdef __LITTLE_ENDIAN
1769         "\x01\x00" /* type */
1770         "\x10\x00" /* len */
1771         "\x00\x00\x00\x00" /* key_size */
1772         "\x00\x00\x00\x00" /* p_size */
1773         "\x00\x00\x00\x00", /* g_size */
1774 #else
1775         "\x00\x01" /* type */
1776         "\x00\x10" /* len */
1777         "\x00\x00\x00\x00" /* key_size */
1778         "\x00\x00\x00\x00" /* p_size */
1779         "\x00\x00\x00\x00", /* g_size */
1780 #endif
1781         .b_secret =
1782 #ifdef __LITTLE_ENDIAN
1783         "\x01\x00" /* type */
1784         "\x90\x01" /* len */
1785         "\x80\x01\x00\x00" /* key_size */
1786         "\x00\x00\x00\x00" /* p_size */
1787         "\x00\x00\x00\x00" /* g_size */
1788 #else
1789         "\x00\x01" /* type */
1790         "\x01\x90" /* len */
1791         "\x00\x00\x01\x80" /* key_size */
1792         "\x00\x00\x00\x00" /* p_size */
1793         "\x00\x00\x00\x00" /* g_size */
1794 #endif
1795         /* xa */
1796         "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
1797         "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
1798         "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
1799         "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
1800         "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
1801         "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
1802         "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
1803         "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
1804         "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
1805         "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
1806         "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
1807         "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
1808         "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
1809         "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
1810         "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
1811         "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
1812         "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
1813         "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
1814         "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
1815         "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
1816         "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
1817         "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
1818         "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
1819         "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
1820         .b_public =
1821         "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
1822         "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
1823         "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
1824         "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
1825         "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
1826         "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
1827         "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
1828         "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
1829         "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
1830         "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
1831         "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
1832         "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
1833         "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
1834         "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
1835         "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
1836         "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
1837         "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
1838         "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
1839         "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
1840         "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
1841         "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
1842         "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
1843         "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
1844         "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
1845         .secret_size = 16,
1846         .b_secret_size = 400,
1847         .b_public_size = 384,
1848         .expected_a_public_size = 384,
1849         .expected_ss_size = 384,
1850         .genkey = true,
1851         },
1852 };
1853
1854 static const struct kpp_testvec ffdhe4096_dh_tv_template[] __maybe_unused = {
1855         {
1856         .secret =
1857 #ifdef __LITTLE_ENDIAN
1858         "\x01\x00" /* type */
1859         "\x10\x02" /* len */
1860         "\x00\x02\x00\x00" /* key_size */
1861         "\x00\x00\x00\x00" /* p_size */
1862         "\x00\x00\x00\x00" /* g_size */
1863 #else
1864         "\x00\x01" /* type */
1865         "\x02\x10" /* len */
1866         "\x00\x00\x02\x00" /* key_size */
1867         "\x00\x00\x00\x00" /* p_size */
1868         "\x00\x00\x00\x00" /* g_size */
1869 #endif
1870         /* xa */
1871         "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
1872         "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
1873         "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
1874         "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
1875         "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
1876         "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
1877         "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
1878         "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
1879         "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
1880         "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
1881         "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
1882         "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
1883         "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
1884         "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
1885         "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
1886         "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
1887         "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
1888         "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
1889         "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
1890         "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
1891         "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
1892         "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
1893         "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
1894         "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
1895         "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
1896         "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
1897         "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
1898         "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
1899         "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
1900         "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
1901         "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
1902         "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
1903         .b_public =
1904         "\x24\x38\x02\x02\x2f\xeb\x54\xdd\x73\x21\x91\x4a\xd8\xa4\x0a\xbf"
1905         "\xf4\xf5\x9a\x45\xb5\xcd\x42\xa3\x57\xcc\x65\x4a\x23\x2e\xee\x59"
1906         "\xba\x6f\x14\x89\xae\x2e\x14\x0a\x72\x77\x23\x7f\x6c\x2e\xba\x52"
1907         "\x3f\x71\xbf\xe4\x60\x03\x16\xaa\x61\xf5\x80\x1d\x8a\x45\x9e\x53"
1908         "\x7b\x07\xd9\x7e\xfe\xaf\xcb\xda\xff\x20\x71\xba\x89\x39\x75\xc3"
1909         "\xb3\x65\x0c\xb1\xa7\xfa\x4a\xe7\xe0\x85\xc5\x4e\x91\x47\x41\xf4"
1910         "\xdd\xcd\xc5\x3d\x17\x12\xed\xee\xc0\x31\xb1\xaf\xc1\xd5\x3c\x07"
1911         "\xa1\x5a\xc4\x05\x45\xe3\x10\x0c\xc3\x14\xae\x65\xca\x40\xae\x31"
1912         "\x5c\x13\x0d\x32\x85\xa7\x6e\xf4\x5e\x29\x3d\x4e\xd3\xd7\x49\x58"
1913         "\xe1\x73\xbb\x0a\x7b\xd6\x13\xea\x49\xd7\x20\x3d\x31\xaa\x77\xab"
1914         "\x21\x74\xe9\x2f\xe9\x5e\xbe\x2f\xb4\xa2\x79\xf2\xbc\xcc\x51\x94"
1915         "\xd2\x1d\xb2\xe6\xc5\x39\x66\xd7\xe5\x46\x75\x53\x76\xed\x49\xea"
1916         "\x3b\xdd\x01\x27\xdb\x83\xa5\x9f\xd2\xee\xc8\xde\x9e\xde\xd2\xe7"
1917         "\x99\xad\x9c\xe0\x71\x66\x29\xd8\x0d\xfe\xdc\xd1\xbc\xc7\x9a\xbe"
1918         "\x8b\x26\x46\x57\xb6\x79\xfa\xad\x8b\x45\x2e\xb5\xe5\x89\x34\x01"
1919         "\x93\x00\x9d\xe9\x58\x74\x8b\xda\x07\x92\xb5\x01\x4a\xe1\x44\x36"
1920         "\xc7\x6c\xde\xc8\x7a\x17\xd0\xde\xee\x68\x92\xb5\xde\x21\x2b\x1c"
1921         "\xbc\x65\x30\x1e\xae\x15\x3d\x9a\xaf\x20\xa3\xc4\x21\x70\xfb\x2f"
1922         "\x36\x72\x31\xc0\xe8\x85\xdf\xc5\x50\x4c\x90\x10\x32\xa4\xc7\xee"
1923         "\x59\x5a\x21\xf4\xf1\x33\xcf\xbe\xac\x67\xb1\x40\x7c\x0b\x3f\x64"
1924         "\xe5\xd2\x2d\xb7\x7d\x0f\xce\xf7\x9b\x05\xee\x37\x61\xd2\x61\x9e"
1925         "\x1a\x80\x2e\x79\xe6\x1b\x25\xb3\x61\x3d\x53\xe7\xe5\x97\x9a\xc2"
1926         "\x39\xb1\xe3\x91\xc6\xee\x96\x2e\xa9\xb4\xb8\xad\xd8\x04\x3e\x11"
1927         "\x31\x67\xb8\x6a\xcb\x6e\x1a\x4c\x7f\x74\xc7\x1f\x09\xd1\xd0\x6b"
1928         "\x17\xde\xea\xe8\x0b\xe6\x6a\xee\x2f\xe3\x5b\x9c\x59\x5d\x00\x57"
1929         "\xbf\x24\x25\xba\x22\x34\xb9\xc5\x3c\xc4\x57\x26\xd0\x6d\x89\xee"
1930         "\x67\x79\x3c\x70\xf9\xc3\xb4\x30\xf0\x2e\xca\xfa\x74\x00\xd1\x00"
1931         "\x6d\x03\x97\xd5\x08\x3f\x0b\x8e\xb8\x1d\xa3\x91\x7f\xa9\x3a\xf0"
1932         "\x37\x57\x46\x87\x82\xa3\xb5\x8f\x51\xaa\xc7\x7b\xfe\x86\x26\xb9"
1933         "\xfa\xe6\x1e\xee\x92\x9d\x3a\xed\x5b\x5e\x3f\xe5\xca\x5e\x13\x01"
1934         "\xdd\x4c\x8d\x85\xf0\x60\x61\xb7\x60\x24\x83\x9f\xbe\x72\x21\x81"
1935         "\x55\x7e\x7e\x6d\xf3\x28\xc8\x77\x5a\xae\x5a\x32\x86\xd5\x61\xad",
1936         .expected_a_public =
1937         "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
1938         "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
1939         "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
1940         "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
1941         "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
1942         "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
1943         "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
1944         "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
1945         "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
1946         "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
1947         "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
1948         "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
1949         "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
1950         "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
1951         "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
1952         "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
1953         "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
1954         "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
1955         "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
1956         "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
1957         "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
1958         "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
1959         "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
1960         "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
1961         "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
1962         "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
1963         "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
1964         "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
1965         "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
1966         "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
1967         "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
1968         "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
1969         .expected_ss =
1970         "\xe2\xce\x0e\x4b\x64\xf3\x84\x62\x38\xfd\xe3\x6f\x69\x40\x22\xb0"
1971         "\x73\x27\x03\x12\x82\xa4\x6e\x03\x57\xec\x3d\xa0\xc1\x4f\x4b\x09"
1972         "\xa1\xd4\xe0\x1a\x5d\x91\x2e\x08\xad\x57\xfa\xcc\x55\x90\x5f\xa0"
1973         "\x52\x27\x62\x8d\xe5\x2d\xa1\x5f\xf0\x30\x43\x77\x4e\x3f\x02\x58"
1974         "\xcb\xa0\x51\xae\x1d\x24\xf9\x0a\xd1\x36\x0b\x95\x0f\x07\xd9\xf7"
1975         "\xe2\x36\x14\x2f\xf0\x11\xc2\xc9\xaf\x66\x4e\x0d\xb4\x60\x01\x4e"
1976         "\xa8\x49\xc6\xec\x5f\xb2\xbc\x05\x48\x91\x4e\xe1\xc3\x99\x9f\xeb"
1977         "\x4a\xc1\xde\x05\x9a\x65\x39\x7d\x2f\x89\x85\xb2\xcf\xec\x25\x27"
1978         "\x5f\x1c\x11\x63\xcf\x7b\x86\x98\x39\xae\xc2\x16\x8f\x79\xd1\x20"
1979         "\xd0\xb4\xa0\xba\x44\xd8\xf5\x3a\x0a\x08\x4c\xd1\xb9\xdd\x0a\x5b"
1980         "\x9e\x62\xf3\x52\x0c\x84\x12\x43\x9b\xd7\xdf\x86\x71\x03\xdd\x04"
1981         "\x98\x55\x0c\x7b\xe2\xe8\x03\x17\x25\x84\xd9\xbd\xe1\xce\x64\xbe"
1982         "\xca\x55\xd4\x5b\xef\x61\x5b\x68\x4b\x80\x37\x40\xae\x28\x87\x81"
1983         "\x55\x34\x96\x50\x21\x47\x49\xc0\xda\x26\x46\xb8\xe8\xcc\x5a\x27"
1984         "\x9c\x9d\x0a\x3d\xcc\x4c\x63\x27\x81\x82\x2e\xf4\xa8\x91\x37\x3e"
1985         "\xa7\x34\x6a\x0f\x60\x44\xdd\x2e\xdc\xf9\x19\xf2\x2e\x81\x05\x51"
1986         "\x16\xbc\xc0\x85\xa5\xd5\x08\x09\x1f\xcd\xed\xa4\xc5\xdb\x16\x43"
1987         "\xb5\x7a\x71\x66\x19\x2e\xef\x13\xbc\x40\x39\x0a\x00\x45\x7e\x61"
1988         "\xe9\x68\x60\x83\x00\x70\xd1\x71\xd3\xa2\x61\x3e\x00\x46\x93\x0d"
1989         "\xbf\xe6\xa2\x07\xe6\x40\x1a\xf4\x57\xc6\x67\x39\xd8\xd7\x6b\xc5"
1990         "\xa5\xd8\x38\x78\x12\xb4\x97\x12\xbe\x97\x13\xef\xe4\x74\x0c\xe0"
1991         "\x75\x89\x64\xf4\xe8\x85\xda\x84\x7b\x1d\xfe\xdd\x21\xba\xda\x01"
1992         "\x52\xdc\x59\xe5\x47\x50\x7e\x15\x20\xd0\x43\x37\x6e\x48\x39\x00"
1993         "\xee\xd9\x54\x6d\x00\x65\xc9\x4b\x85\xa2\x8a\x40\x55\xd0\x63\x0c"
1994         "\xb5\x7a\x0d\x37\x67\x27\x73\x18\x7f\x5a\xf5\x0e\x22\xb9\xb0\x3f"
1995         "\xda\xf1\xec\x7c\x24\x01\x49\xa9\x09\x0e\x0f\xc4\xa9\xef\xc8\x2b"
1996         "\x13\xd1\x0a\x6f\xf8\x92\x4b\x1d\xdd\x6c\x9c\x35\xde\x75\x46\x32"
1997         "\xe6\xfb\xda\x58\xba\x81\x08\xca\xa9\xb6\x69\x71\x96\x2a\x1f\x2e"
1998         "\x25\xe0\x37\xfe\xee\x4d\x27\xaa\x04\xda\x95\xbb\x93\xcf\x8f\xa2"
1999         "\x1d\x67\x35\xe3\x51\x8f\x87\x3b\xa9\x62\x05\xee\x44\xb7\x2e\xd0"
2000         "\x07\x63\x32\xf5\xcd\x64\x18\x20\xcf\x22\x42\x28\x22\x1a\xa8\xbb"
2001         "\x74\x8a\x6f\x2a\xea\x8a\x48\x0a\xad\xd7\xed\xba\xa3\x89\x37\x01",
2002         .secret_size = 528,
2003         .b_public_size = 512,
2004         .expected_a_public_size = 512,
2005         .expected_ss_size = 512,
2006         },
2007         {
2008         .secret =
2009 #ifdef __LITTLE_ENDIAN
2010         "\x01\x00" /* type */
2011         "\x10\x00" /* len */
2012         "\x00\x00\x00\x00" /* key_size */
2013         "\x00\x00\x00\x00" /* p_size */
2014         "\x00\x00\x00\x00", /* g_size */
2015 #else
2016         "\x00\x01" /* type */
2017         "\x00\x10" /* len */
2018         "\x00\x00\x00\x00" /* key_size */
2019         "\x00\x00\x00\x00" /* p_size */
2020         "\x00\x00\x00\x00", /* g_size */
2021 #endif
2022         .b_secret =
2023 #ifdef __LITTLE_ENDIAN
2024         "\x01\x00" /* type */
2025         "\x10\x02" /* len */
2026         "\x00\x02\x00\x00" /* key_size */
2027         "\x00\x00\x00\x00" /* p_size */
2028         "\x00\x00\x00\x00" /* g_size */
2029 #else
2030         "\x00\x01" /* type */
2031         "\x02\x10" /* len */
2032         "\x00\x00\x02\x00" /* key_size */
2033         "\x00\x00\x00\x00" /* p_size */
2034         "\x00\x00\x00\x00" /* g_size */
2035 #endif
2036         /* xa */
2037         "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
2038         "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
2039         "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
2040         "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
2041         "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
2042         "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
2043         "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
2044         "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
2045         "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
2046         "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
2047         "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
2048         "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
2049         "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
2050         "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
2051         "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
2052         "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
2053         "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
2054         "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
2055         "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
2056         "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
2057         "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
2058         "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
2059         "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
2060         "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
2061         "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
2062         "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
2063         "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
2064         "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
2065         "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
2066         "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
2067         "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
2068         "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
2069         .b_public =
2070         "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
2071         "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
2072         "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
2073         "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
2074         "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
2075         "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
2076         "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
2077         "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
2078         "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
2079         "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
2080         "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
2081         "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
2082         "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
2083         "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
2084         "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
2085         "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
2086         "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
2087         "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
2088         "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
2089         "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
2090         "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
2091         "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
2092         "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
2093         "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
2094         "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
2095         "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
2096         "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
2097         "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
2098         "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
2099         "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
2100         "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
2101         "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
2102         .secret_size = 16,
2103         .b_secret_size = 528,
2104         .b_public_size = 512,
2105         .expected_a_public_size = 512,
2106         .expected_ss_size = 512,
2107         .genkey = true,
2108         },
2109 };
2110
2111 static const struct kpp_testvec ffdhe6144_dh_tv_template[] __maybe_unused = {
2112         {
2113         .secret =
2114 #ifdef __LITTLE_ENDIAN
2115         "\x01\x00" /* type */
2116         "\x10\x03" /* len */
2117         "\x00\x03\x00\x00" /* key_size */
2118         "\x00\x00\x00\x00" /* p_size */
2119         "\x00\x00\x00\x00" /* g_size */
2120 #else
2121         "\x00\x01" /* type */
2122         "\x03\x10" /* len */
2123         "\x00\x00\x03\x00" /* key_size */
2124         "\x00\x00\x00\x00" /* p_size */
2125         "\x00\x00\x00\x00" /* g_size */
2126 #endif
2127         /* xa */
2128         "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
2129         "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
2130         "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
2131         "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
2132         "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
2133         "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
2134         "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
2135         "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
2136         "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
2137         "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
2138         "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
2139         "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
2140         "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
2141         "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
2142         "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
2143         "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
2144         "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
2145         "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
2146         "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
2147         "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
2148         "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
2149         "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
2150         "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
2151         "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
2152         "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
2153         "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
2154         "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
2155         "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
2156         "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
2157         "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
2158         "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
2159         "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
2160         "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
2161         "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
2162         "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
2163         "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
2164         "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
2165         "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
2166         "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
2167         "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
2168         "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
2169         "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
2170         "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
2171         "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
2172         "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
2173         "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
2174         "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
2175         "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
2176         .b_public =
2177         "\x30\x31\xbe\x43\xd0\x14\x22\x6b\x4b\x8c\x9a\xca\xc6\xdd\xe5\x99"
2178         "\xce\xb8\x30\x23\xb6\xa8\x8c\x4d\xfa\xef\xad\xa6\x6a\x21\x50\xa6"
2179         "\x45\x2d\x19\x2a\x29\x81\xc5\xac\xb4\xa8\x5f\x6d\x5b\xc8\x5f\x12"
2180         "\x35\x21\xfb\x37\xaa\x0c\x79\xeb\xd4\x83\x01\xda\xa3\xf3\x51\x6e"
2181         "\x17\xf9\xef\x3f\xbd\x2f\xd2\x43\x82\x12\x48\xeb\x61\x4c\x8e\xf2"
2182         "\x6c\x76\xf9\x6d\x42\x2a\xcb\x10\x13\x3b\xf6\x9b\xcd\x46\x1e\xa2"
2183         "\xa7\x2c\x08\x56\xd2\x42\xf5\x03\xf0\x3e\xef\xa2\xa2\xf2\x4c\xf2"
2184         "\xdb\x4f\xeb\x40\x15\x53\x27\xf7\xd4\x8e\x58\x23\xf5\x2c\x88\x04"
2185         "\x1e\xb1\xb6\xe3\xd6\x9c\x49\x08\xa1\x4b\xb8\x33\xe4\x75\x85\xa1"
2186         "\x86\x97\xce\x1d\xe9\x9f\xe2\xd8\xf2\x7e\xad\xdc\x8a\x4d\xbd\x06"
2187         "\x52\x00\x9a\x2c\x69\xdd\x02\x0c\x69\x5a\xf9\x1d\xfd\xdc\xfb\x82"
2188         "\xb2\xe5\xf3\x24\xba\xd1\x09\x76\x90\xb5\x7a\x92\xa6\x6b\x97\xc0"
2189         "\xce\x13\x9b\x4b\xbc\x30\x91\xb2\x13\x8b\x57\x6c\x8b\x66\x6e\x58"
2190         "\x3e\x91\x50\xc7\x6c\xe1\x18\xec\xbf\x69\xcd\xcb\xa0\xbc\x0d\x05"
2191         "\xc4\xf8\x45\x92\xe0\x05\xd3\x08\xb3\x30\x19\xc8\x80\xf8\x17\x9f"
2192         "\x1e\x6a\x49\x8e\x43\xef\x7a\x49\xa5\x93\xd9\xed\xd1\x07\x03\xe4"
2193         "\xa3\x55\xeb\x1e\x2f\x69\xd7\x40\x8f\x6e\x1c\xb6\x94\xfb\xba\x4e"
2194         "\x46\xd0\x38\x71\x00\x88\x93\x6a\x55\xfc\x16\x95\x1f\xb1\xf6\x2f"
2195         "\x26\x45\x50\x54\x30\x62\x62\xe8\x80\xe5\x24\x0b\xe4\x15\x6b\x32"
2196         "\x16\xc2\x30\x9b\x56\xb4\xc9\x5e\x50\xb4\x27\x82\x86\x01\xda\x68"
2197         "\x44\x4b\x15\x81\x31\x13\x52\xd8\x08\xbc\xae\xf3\xa5\x94\x1c\x81"
2198         "\xe8\x42\xd6\x42\xd6\xff\x99\x58\x0f\x61\x3e\x82\x9e\x2d\x13\x03"
2199         "\x54\x02\x74\xf4\x6b\x43\x43\xce\x54\x44\x36\x3f\x55\xfa\xb2\x56"
2200         "\xdc\xac\xb5\x65\x89\xbe\x36\xd2\x58\x65\x79\x4c\xf3\xe2\x01\xf1"
2201         "\x69\x96\x29\x20\x5d\xee\xf5\x8a\x8b\x9f\x72\xf7\x27\x02\xde\x3b"
2202         "\xc7\x52\x19\xdc\x8e\x22\x36\x09\x14\x59\x07\xbb\x1e\x49\x69\x4f"
2203         "\x00\x7b\x9a\x5d\x23\xe9\xbe\x0d\x52\x90\xa3\x0d\xde\xe7\x80\x57"
2204         "\x53\x69\x39\xe6\xf8\x33\xeb\x92\x0d\x9e\x04\x8b\x16\x16\x16\x1c"
2205         "\xa9\xe6\xe3\x0e\x0a\xc6\xf6\x61\xd1\x44\x2b\x3e\x5e\x02\xfe\xaa"
2206         "\xe3\xf3\x8f\xf9\xc8\x20\x37\xad\xbc\x95\xb8\xc5\xe7\x95\xda\xfb"
2207         "\x80\x5b\xf6\x40\x28\xae\xc1\x4c\x09\xde\xff\x1e\xbf\x51\xd2\xfe"
2208         "\x08\xdc\xb0\x48\x21\xf5\x4c\x43\xdc\x7b\x69\x83\xc8\x69\x5c\xc4"
2209         "\xa9\x98\x76\x4b\xc4\x4a\xac\x1d\xa5\x52\xe3\x35\x43\xdd\x30\xd4"
2210         "\xa0\x51\x9c\xc2\x62\x4c\x7e\xa5\xfb\xd3\x2c\x8a\x09\x7f\x53\xa3"
2211         "\xcd\xca\x58\x1b\x4c\xaf\xba\x21\x8b\x88\x1d\xc0\xe9\x0a\x17\x30"
2212         "\x33\xd6\xa2\xa5\x49\x50\x61\x3b\xff\x37\x71\x66\xef\x61\xbc\xb2"
2213         "\x53\x82\xe5\x70\xef\x32\xff\x9d\x97\xe0\x82\xe0\xbb\x49\xc2\x29"
2214         "\x58\x89\xdd\xe9\x62\x52\xfb\xba\x22\xa6\xd9\x16\xfa\x55\xb3\x06"
2215         "\xed\x6d\x70\x6e\xdc\x47\x7c\x67\x1a\xcc\x27\x98\xd4\xd7\xe6\xf0"
2216         "\xf8\x9f\x51\x3e\xf0\xee\xad\xb6\x78\x69\x71\xb5\xcb\x09\xa3\xa6"
2217         "\x3f\x29\x24\x46\xe0\x65\xbc\x9f\x6c\xe9\xf9\x49\x49\x96\x75\xe5"
2218         "\xe1\xff\x82\x70\xf4\x7e\xff\x8f\xec\x47\x98\x6d\x5b\x88\x60\xee"
2219         "\x43\xb1\xe2\x14\xc1\x49\x95\x74\x46\xd3\x3f\x73\xb2\xe9\x88\xe0"
2220         "\xd3\xb1\xc4\x2c\xef\xee\xdd\x6c\xc5\xa1\x29\xef\x86\xd2\x36\x8a"
2221         "\x2f\x7c\x9d\x28\x0a\x6d\xc9\x5a\xdb\xd4\x04\x06\x36\x96\x09\x03"
2222         "\x71\x5d\x38\x67\xa2\x08\x2a\x04\xe7\xd6\x51\x5a\x19\x9d\xe7\xf1"
2223         "\x5d\x6f\xe2\xff\x48\x37\xb7\x8b\xb1\x14\xb4\x96\xcd\xf0\xa7\xbd"
2224         "\xef\x20\xff\x0a\x8d\x08\xb7\x15\x98\x5a\x13\xd2\xda\x2a\x27\x75",
2225         .expected_a_public =
2226         "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
2227         "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
2228         "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
2229         "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
2230         "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
2231         "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
2232         "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
2233         "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
2234         "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
2235         "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
2236         "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
2237         "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
2238         "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
2239         "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
2240         "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
2241         "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
2242         "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
2243         "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
2244         "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
2245         "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
2246         "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
2247         "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
2248         "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
2249         "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
2250         "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
2251         "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
2252         "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
2253         "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
2254         "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
2255         "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
2256         "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
2257         "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
2258         "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
2259         "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
2260         "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
2261         "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
2262         "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
2263         "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
2264         "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
2265         "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
2266         "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
2267         "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
2268         "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
2269         "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
2270         "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
2271         "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
2272         "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
2273         "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
2274         .expected_ss =
2275         "\x9a\x9c\x1c\xb7\x73\x2f\xf2\x12\xed\x59\x01\xbb\x75\xf7\xf5\xe4"
2276         "\xa0\xa8\xbc\x3f\x3f\xb6\xf7\x74\x6e\xc4\xba\x6d\x6c\x4d\x93\x31"
2277         "\x2b\xa7\xa4\xb3\x47\x8f\x77\x04\xb5\xa5\xab\xca\x6b\x5a\xe2\x86"
2278         "\x02\x60\xca\xb4\xd7\x5e\xe0\x0f\x73\xdd\xa2\x38\x7c\xae\x0f\x5a"
2279         "\x1a\xd7\xfd\xb6\xc8\x6f\xdd\xe0\x98\xd5\x07\xea\x1f\x2a\xbb\x9e"
2280         "\xef\x01\x24\x04\xee\xf5\x89\xb1\x12\x26\x54\x95\xef\xcb\x84\xe9"
2281         "\xae\x05\xef\x63\x25\x15\x65\x79\x79\x79\x91\xc3\x76\x72\xb4\x85"
2282         "\x86\xd9\xd3\x03\xb0\xff\x04\x96\x05\x3c\xde\xbf\x47\x34\x76\x70"
2283         "\x17\xd2\x24\x83\xb9\xbb\xcf\x70\x7c\xb8\xc6\x7b\x4e\x01\x86\x36"
2284         "\xc7\xc5\xe5\x8b\x7c\x69\x74\x9a\xfe\x1f\x58\x85\x0f\x00\xf8\x4e"
2285         "\xf1\x56\xdc\xd1\x11\x28\x2c\xcf\x6c\xb9\xc9\x57\x17\x2e\x19\x19"
2286         "\x55\xb3\x4c\xd8\xfb\xe7\x6f\x70\x63\xf9\x53\x45\xdd\xd5\x62\x95"
2287         "\xd3\x7d\x7e\xa0\x00\x1a\x62\x9f\x96\x0a\x5d\x0a\x25\x02\xbb\xff"
2288         "\x5a\xe8\x9e\x5a\x66\x08\x93\xbc\x92\xaf\xd2\x28\x04\x97\xc1\x54"
2289         "\xfe\xcc\x0a\x25\xa2\xf4\x1d\x5a\x9a\xb1\x3e\x9c\xba\x78\xe2\xcf"
2290         "\x71\x70\xe3\x40\xea\xba\x69\x9b\x03\xdd\x99\x26\x09\x84\x9d\x69"
2291         "\x4d\x3d\x0b\xe9\x3f\x51\xcd\x05\xe5\x00\xaf\x2c\xd3\xf6\xc0\x68"
2292         "\xb5\x23\x53\x33\x14\xbd\x39\x1c\xbd\x1b\xe6\x72\x90\xcc\xc2\x86"
2293         "\x1a\x42\x83\x55\xb3\xed\x0b\x62\x6d\x0e\xbb\x9e\x2a\x42\x32\x05"
2294         "\x3f\xf2\x2c\xc8\x9f\x3c\xd2\xb1\x0b\xb6\x4c\xa0\x22\x36\xee\xb9"
2295         "\x55\x23\x3e\x80\xc7\x28\x7c\x39\x11\xd3\x4a\x96\x2e\xef\x52\x34"
2296         "\xf2\xda\xb1\xc6\xf5\x02\x10\xbf\x56\x6b\x50\x56\xcd\x2c\xfe\xe1"
2297         "\x94\x14\x19\x24\x6e\x9a\xdf\x0c\xb8\xe2\xb8\xd5\xa3\xc1\x22\x8e"
2298         "\x84\x92\x00\x16\xf1\x3f\x83\xf6\x36\x31\xa5\x38\xc6\xcf\xf8\x9b"
2299         "\x03\xc7\x6f\xb9\xa1\x04\xdf\x20\x0f\x0b\x0f\x70\xff\x57\x36\x7f"
2300         "\xb3\x6b\xcb\x8f\x48\xf7\xb2\xdb\x85\x05\xd1\xfe\x34\x05\xf6\x57"
2301         "\xb4\x5b\xcc\x3f\x0e\xba\x36\x59\xb0\xfd\x4d\xf6\xf4\x5e\xd2\x65"
2302         "\x1d\x98\x87\xb4\x5e\xff\x29\xaa\x84\x9b\x44\x0f\x06\x36\x61\xbd"
2303         "\xdb\x51\xda\x56\xc2\xd6\x19\xe2\x57\x4f\xd0\x29\x71\xc8\xe4\xd6"
2304         "\xfb\x8c\xd0\xfc\x4f\x25\x09\xa6\xfc\x67\xe2\xb8\xac\xd3\x88\x8f"
2305         "\x1f\xf6\xa1\xe3\x45\xa6\x34\xe3\xb1\x6b\xb7\x37\x0e\x06\xc7\x63"
2306         "\xde\xac\x3b\xac\x07\x91\x64\xcc\x12\x10\x46\x85\x14\x0b\x6b\x03"
2307         "\xba\x4a\x85\xae\xc5\x8c\xa5\x9d\x36\x38\x33\xca\x42\x9c\x4b\x0c"
2308         "\x46\xe1\x77\xe9\x1f\x80\xfe\xb7\x1d\x5a\xf4\xc6\x11\x26\x78\xea"
2309         "\x81\x25\x77\x47\xed\x8b\x59\xc2\x6b\x49\xff\x83\x56\xec\xa5\xf0"
2310         "\xe0\x8b\x15\xd4\x99\x40\x2a\x65\x2a\x98\xf4\x71\x35\x63\x84\x08"
2311         "\x4d\xcd\x71\x85\x55\xbc\xa4\x1c\x90\x93\x03\x41\xde\xed\x78\x62"
2312         "\x07\x30\x50\xac\x60\x21\x06\xc3\xab\xa4\x04\xc0\xc2\x32\x07\xc4"
2313         "\x1f\x2f\xec\xe2\x32\xbf\xbe\x5e\x50\x5b\x2a\x19\x71\x44\x37\x76"
2314         "\x8b\xbc\xdb\x73\x98\x65\x78\xc9\x33\x97\x7e\xdc\x60\xa8\x87\xf2"
2315         "\xb5\x96\x55\x7f\x44\x07\xcb\x3b\xf3\xd7\x82\xfd\x77\x21\x82\x21"
2316         "\x1a\x8b\xa2\xf5\x1f\x66\xd0\x57\x00\x4f\xa9\xa5\x33\xb8\x69\x91"
2317         "\xe8\x2e\xf7\x73\x47\x89\x30\x9b\xb1\xfd\xe1\x5d\x11\xfd\x84\xd9"
2318         "\xa2\x91\x1f\x8a\xa7\x7a\x77\x8e\x3b\x10\x1d\x0a\x59\x50\x34\xb0"
2319         "\xc3\x90\x9f\x56\xb7\x43\xeb\x51\x99\x2b\x8e\x6d\x7b\x58\xe7\xc0"
2320         "\x7f\x3d\xa0\x27\x50\xf2\x6e\xc8\x1e\x7f\x84\xb3\xe1\xf7\x09\x85"
2321         "\xd2\x9b\x56\x6b\xba\xa5\x19\x2e\xec\xd8\x5c\xf5\x4e\x43\x36\x2e"
2322         "\x89\x85\x41\x7f\x9c\x91\x2e\x62\xc3\x41\xcf\x0e\xa1\x7f\xeb\x50",
2323         .secret_size = 784,
2324         .b_public_size = 768,
2325         .expected_a_public_size = 768,
2326         .expected_ss_size = 768,
2327         },
2328         {
2329         .secret =
2330 #ifdef __LITTLE_ENDIAN
2331         "\x01\x00" /* type */
2332         "\x10\x00" /* len */
2333         "\x00\x00\x00\x00" /* key_size */
2334         "\x00\x00\x00\x00" /* p_size */
2335         "\x00\x00\x00\x00", /* g_size */
2336 #else
2337         "\x00\x01" /* type */
2338         "\x00\x10" /* len */
2339         "\x00\x00\x00\x00" /* key_size */
2340         "\x00\x00\x00\x00" /* p_size */
2341         "\x00\x00\x00\x00", /* g_size */
2342 #endif
2343         .b_secret =
2344 #ifdef __LITTLE_ENDIAN
2345         "\x01\x00" /* type */
2346         "\x10\x03" /* len */
2347         "\x00\x03\x00\x00" /* key_size */
2348         "\x00\x00\x00\x00" /* p_size */
2349         "\x00\x00\x00\x00" /* g_size */
2350 #else
2351         "\x00\x01" /* type */
2352         "\x03\x10" /* len */
2353         "\x00\x00\x03\x00" /* key_size */
2354         "\x00\x00\x00\x00" /* p_size */
2355         "\x00\x00\x00\x00" /* g_size */
2356 #endif
2357         /* xa */
2358         "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
2359         "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
2360         "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
2361         "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
2362         "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
2363         "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
2364         "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
2365         "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
2366         "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
2367         "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
2368         "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
2369         "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
2370         "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
2371         "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
2372         "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
2373         "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
2374         "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
2375         "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
2376         "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
2377         "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
2378         "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
2379         "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
2380         "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
2381         "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
2382         "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
2383         "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
2384         "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
2385         "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
2386         "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
2387         "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
2388         "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
2389         "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
2390         "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
2391         "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
2392         "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
2393         "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
2394         "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
2395         "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
2396         "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
2397         "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
2398         "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
2399         "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
2400         "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
2401         "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
2402         "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
2403         "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
2404         "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
2405         "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
2406         .b_public =
2407         "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
2408         "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
2409         "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
2410         "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
2411         "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
2412         "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
2413         "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
2414         "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
2415         "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
2416         "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
2417         "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
2418         "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
2419         "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
2420         "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
2421         "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
2422         "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
2423         "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
2424         "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
2425         "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
2426         "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
2427         "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
2428         "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
2429         "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
2430         "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
2431         "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
2432         "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
2433         "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
2434         "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
2435         "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
2436         "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
2437         "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
2438         "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
2439         "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
2440         "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
2441         "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
2442         "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
2443         "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
2444         "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
2445         "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
2446         "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
2447         "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
2448         "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
2449         "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
2450         "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
2451         "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
2452         "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
2453         "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
2454         "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
2455         .secret_size = 16,
2456         .b_secret_size = 784,
2457         .b_public_size = 768,
2458         .expected_a_public_size = 768,
2459         .expected_ss_size = 768,
2460         .genkey = true,
2461         },
2462 };
2463
2464 static const struct kpp_testvec ffdhe8192_dh_tv_template[] __maybe_unused = {
2465         {
2466         .secret =
2467 #ifdef __LITTLE_ENDIAN
2468         "\x01\x00" /* type */
2469         "\x10\x04" /* len */
2470         "\x00\x04\x00\x00" /* key_size */
2471         "\x00\x00\x00\x00" /* p_size */
2472         "\x00\x00\x00\x00" /* g_size */
2473 #else
2474         "\x00\x01" /* type */
2475         "\x04\x10" /* len */
2476         "\x00\x00\x04\x00" /* key_size */
2477         "\x00\x00\x00\x00" /* p_size */
2478         "\x00\x00\x00\x00" /* g_size */
2479 #endif
2480         /* xa */
2481         "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
2482         "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
2483         "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
2484         "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
2485         "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
2486         "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
2487         "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
2488         "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
2489         "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
2490         "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
2491         "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
2492         "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
2493         "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
2494         "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
2495         "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
2496         "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
2497         "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
2498         "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
2499         "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
2500         "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
2501         "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
2502         "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
2503         "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
2504         "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
2505         "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
2506         "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
2507         "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
2508         "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
2509         "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
2510         "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
2511         "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
2512         "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
2513         "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
2514         "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
2515         "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
2516         "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
2517         "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
2518         "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
2519         "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
2520         "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
2521         "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
2522         "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
2523         "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
2524         "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
2525         "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
2526         "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
2527         "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
2528         "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
2529         "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
2530         "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
2531         "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
2532         "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
2533         "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
2534         "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
2535         "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
2536         "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
2537         "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
2538         "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
2539         "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
2540         "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
2541         "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
2542         "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
2543         "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
2544         "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
2545         .b_public =
2546         "\x26\xa8\x3a\x97\xe0\x52\x76\x07\x26\xa7\xbb\x21\xfd\xe5\x69\xde"
2547         "\xe6\xe0\xb5\xa0\xf1\xaa\x51\x2b\x56\x1c\x3c\x6c\xe5\x9f\x8f\x75"
2548         "\x71\x04\x86\xf6\x43\x2f\x20\x7f\x45\x4f\x5c\xb9\xf3\x90\xbe\xa9"
2549         "\xa0\xd7\xe8\x03\x0e\xfe\x99\x9b\x8a\x1c\xbe\xa7\x63\xe8\x2b\x45"
2550         "\xd4\x2c\x65\x25\x4c\x33\xda\xc5\x85\x77\x5d\x62\xea\x93\xe4\x45"
2551         "\x59\xff\xa1\xd2\xf1\x73\x11\xed\x02\x64\x8a\x1a\xfb\xe1\x88\xa6"
2552         "\x50\x6f\xff\x87\x12\xbb\xfc\x10\xcf\x19\x41\xb0\x35\x44\x7d\x51"
2553         "\xe9\xc0\x77\xf2\x73\x21\x2e\x62\xbf\x65\xa5\xd1\x3b\xb1\x3e\x19"
2554         "\x75\x4b\xb7\x8e\x03\xc3\xdf\xc8\xb2\xe6\xec\x2d\x7d\xa5\x6a\xba"
2555         "\x93\x47\x50\xeb\x6e\xdb\x88\x05\x45\xad\x03\x8c\xf7\x9a\xe1\xc9"
2556         "\x1e\x16\x96\x37\xa5\x3e\xe9\xb9\xa8\xdc\xb9\xa9\xf6\xa1\x3d\xed"
2557         "\xbe\x12\x29\x8a\x3d\x3d\x90\xfc\x94\xfe\x66\x28\x1c\x1b\xa4\x89"
2558         "\x47\x66\x4f\xac\x14\x00\x22\x2d\x5c\x03\xea\x71\x4d\x19\x7d\xd6"
2559         "\x58\x39\x4c\x3d\x06\x2b\x30\xa6\xdc\x2c\x8d\xd1\xde\x79\x77\xfa"
2560         "\x9c\x6b\x72\x11\x8a\x7f\x7d\x37\x28\x2a\x88\xbf\x0a\xdb\xac\x3b"
2561         "\xc5\xa5\xd5\x7e\x25\xec\xa6\x7f\x5b\x53\x75\x83\x49\xd4\x77\xcc"
2562         "\x7d\x7e\xd3\x3d\x30\x2c\x98\x3f\x18\x9a\x11\x8a\x37\xda\x99\x0f"
2563         "\x3b\x06\xe1\x87\xd5\xe9\x4e\xe0\x9c\x0e\x39\x34\xe2\xdd\xf6\x58"
2564         "\x60\x63\xa6\xea\xe8\xc0\xb4\xde\xdf\xa0\xbc\x21\xc3\x2d\xf4\xa4"
2565         "\xc8\x6f\x62\x6c\x0f\x71\x88\xf9\xda\x2d\x30\xd5\x95\xe1\xfc\x6d"
2566         "\x88\xc5\xc3\x95\x51\x83\xde\x41\x46\x6f\x7e\x1b\x10\x48\xad\x2b"
2567         "\x82\x88\xa2\x6f\x57\x4d\x4a\xbd\x90\xc8\x06\x8f\x52\x5d\x6e\xee"
2568         "\x09\xe6\xa3\xcb\x30\x9c\x14\xf6\xac\x66\x9b\x81\x0a\x75\x42\x6b"
2569         "\xab\x27\xec\x76\xfb\x8d\xc5\xbf\x0e\x93\x81\x7b\x81\xd4\x85\xa6"
2570         "\x90\x5a\xa6\xa2\x8b\xa9\xb7\x34\xe6\x15\x36\x93\x8b\xe2\x99\xc7"
2571         "\xad\x66\x7e\xd6\x89\xa9\xc8\x15\xcb\xc5\xeb\x06\x85\xd4\x2f\x6e"
2572         "\x9b\x95\x7a\x06\x6c\xfa\x31\x1d\xc4\xe5\x7d\xfb\x10\x35\x88\xc2"
2573         "\xbe\x1c\x16\x5d\xc2\xf4\x0d\xf3\xc9\x94\xb2\x7e\xa7\xbd\x9c\x03"
2574         "\x32\xaf\x8b\x1a\xc8\xcc\x82\xd8\x87\x96\x6e\x3d\xcc\x93\xd2\x43"
2575         "\x73\xf9\xde\xec\x49\x49\xf4\x56\x2a\xc8\x6e\x32\x70\x48\xf8\x70"
2576         "\xa3\x96\x31\xf4\xf2\x08\xc5\x12\xd2\xeb\xb6\xea\xa3\x07\x05\x61"
2577         "\x74\xa3\x04\x2f\x17\x82\x40\x5e\x4c\xd1\x51\xb8\x10\x5b\xc8\x9f"
2578         "\x87\x73\x80\x0d\x6f\xc6\xb9\xf6\x7c\x31\x0a\xcc\xd9\x03\x0f\x7a"
2579         "\x47\x69\xb1\x55\xab\xe9\xb5\x75\x62\x9e\x95\xbe\x7b\xa9\x53\x6e"
2580         "\x28\x73\xdc\xb3\xa4\x8a\x1c\x91\xf5\x8a\xf9\x32\x2b\xbd\xa5\xdc"
2581         "\x07\xb5\xaf\x49\xdb\x9c\x35\xc9\x69\xde\xac\xb1\xd0\x86\xcb\x31"
2582         "\x0b\xc4\x4f\x63\x4e\x70\xa7\x80\xe3\xbc\x0b\x73\x0e\xf2\x8c\x87"
2583         "\x88\x7b\xa9\x6d\xde\x8a\x73\x14\xb9\x80\x55\x03\x2b\x29\x64\x6a"
2584         "\xda\x48\x0e\x78\x07\x40\x48\x46\x58\xa9\x4e\x68\x1d\xd1\xc1\xc8"
2585         "\x3b\x35\x53\x61\xd5\xe3\x0d\x4c\x42\x74\x10\x67\x85\x9f\x66\x2a"
2586         "\xf7\x2b\x7b\x77\x8b\x6e\xda\x2c\xc1\x5a\x20\x34\x3f\xf5\x8b\x6f"
2587         "\xe4\x61\xf5\x58\xab\x72\x1a\xf1\x8d\x28\xcc\xa5\x30\x68\xb5\x50"
2588         "\x7b\x81\x43\x89\x8e\xa9\xac\x63\x3a\x4a\x78\x7b\xd2\x45\xe6\xe0"
2589         "\xdc\x5d\xf2\x1a\x2b\x54\x50\xa5\x9d\xf6\xe7\x9f\x25\xaf\x56\x6a"
2590         "\x84\x2a\x75\xa3\x9a\xc7\xfa\x94\xec\x83\xab\xa5\xaa\xe1\xf9\x89"
2591         "\x29\xa9\xf6\x53\x24\x24\xae\x4a\xe8\xbc\xe8\x9e\x5c\xd7\x54\x7c"
2592         "\x65\x20\x97\x28\x94\x76\xf9\x9e\x81\xcf\x98\x6a\x3a\x7b\xec\xf3"
2593         "\x09\x60\x2e\x43\x18\xb5\xf6\x8c\x44\x0f\xf2\x0a\x17\x5b\xac\x98"
2594         "\x30\xab\x6e\xd5\xb3\xef\x25\x68\x50\xb6\xe1\xc0\xe4\x5a\x63\x43"
2595         "\xea\xca\xda\x23\xc1\xc2\xe9\x30\xec\xb3\x9f\xbf\x1f\x09\x76\xaf"
2596         "\x65\xbc\xb5\xab\x30\xac\x0b\x05\xef\x5c\xa3\x65\x77\x33\x1c\xc5"
2597         "\xdf\xc9\x39\xab\xca\xf4\x3b\x88\x25\x6d\x50\x87\xb1\x79\xc2\x23"
2598         "\x9d\xb5\x21\x01\xaa\xa3\xb7\x61\xa3\x48\x91\x72\x3d\x54\x85\x86"
2599         "\x91\x81\x35\x78\xbf\x8f\x27\x57\xcb\x9b\x34\xab\x63\x40\xf1\xbc"
2600         "\x23\x5a\x26\x6a\xba\x57\xe2\x8f\x2a\xdc\x82\xe0\x3b\x7f\xec\xd3"
2601         "\xd8\x9d\xd3\x13\x54\x70\x64\xc3\xfd\xbf\xa3\x46\xa7\x53\x42\x7f"
2602         "\xc1\xbd\x7b\xb3\x13\x47\x2a\x45\x1e\x76\x2c\x0d\x6d\x46\x26\x24"
2603         "\xa8\xc7\x00\x2b\x10\x7f\x2a\x6c\xfc\x68\x4e\x6e\x85\x53\x00\xaf"
2604         "\xd5\xfb\x59\x64\xc7\x9b\x24\xd1\x05\xdc\x34\x53\x6d\x27\xa9\x79"
2605         "\xff\xd7\x5e\x7a\x40\x81\x8e\xc3\xf2\x38\xc9\x8d\x87\xb5\x38\xda"
2606         "\x43\x64\x1b\x59\x62\x88\xc1\x6e\x85\x84\x33\xcd\x6d\x7b\x62\x1d"
2607         "\x60\xf9\x98\xf7\xd1\xb1\xd4\xbe\x56\x6e\xa8\x6f\xff\xe7\x8b\x60"
2608         "\x53\x80\xc7\x7c\xe0\x78\x89\xa9\xab\x42\x8f\x8e\x4d\x92\xac\xa7"
2609         "\xfd\x47\x11\xc7\xdb\x7c\x77\xfb\xa4\x1d\x70\xaf\x56\x14\x52\xb0",
2610         .expected_a_public =
2611         "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
2612         "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
2613         "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
2614         "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
2615         "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
2616         "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
2617         "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
2618         "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
2619         "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
2620         "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
2621         "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
2622         "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
2623         "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
2624         "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
2625         "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
2626         "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
2627         "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
2628         "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
2629         "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
2630         "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
2631         "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
2632         "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
2633         "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
2634         "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
2635         "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
2636         "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
2637         "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
2638         "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
2639         "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
2640         "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
2641         "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
2642         "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
2643         "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
2644         "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
2645         "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
2646         "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
2647         "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
2648         "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
2649         "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
2650         "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
2651         "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
2652         "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
2653         "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
2654         "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
2655         "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
2656         "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
2657         "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
2658         "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
2659         "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
2660         "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
2661         "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
2662         "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
2663         "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
2664         "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
2665         "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
2666         "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
2667         "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
2668         "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
2669         "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
2670         "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
2671         "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
2672         "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
2673         "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
2674         "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
2675         .expected_ss =
2676         "\xf9\x55\x4f\x48\x38\x74\xb7\x46\xa3\xc4\x2e\x88\xf0\x34\xab\x1d"
2677         "\xcd\xa5\x58\xa7\x95\x88\x36\x62\x6f\x8a\xbd\xf2\xfb\x6f\x3e\xb9"
2678         "\x91\x65\x58\xef\x70\x2f\xd5\xc2\x97\x70\xcb\xce\x8b\x78\x1c\xe0"
2679         "\xb9\xfa\x77\x34\xd2\x4a\x19\x58\x11\xfd\x93\x84\x40\xc0\x8c\x19"
2680         "\x8b\x98\x50\x83\xba\xfb\xe2\xad\x8b\x81\x84\x63\x90\x41\x4b\xf8"
2681         "\xe8\x78\x86\x04\x09\x8d\x84\xd1\x43\xfd\xa3\x58\x21\x2a\x3b\xb1"
2682         "\xa2\x5b\x48\x74\x3c\xa9\x16\x34\x28\xf0\x8e\xde\xe2\xcf\x8e\x68"
2683         "\x53\xab\x65\x06\xb7\x86\xb1\x08\x4f\x73\x97\x00\x10\x95\xd1\x84"
2684         "\x72\xcf\x14\xdb\xff\xa7\x80\xd8\xe5\xf2\x2c\x89\x37\xb0\x81\x2c"
2685         "\xf5\xd6\x7d\x1b\xb0\xe2\x8e\x87\x32\x3d\x37\x6a\x79\xaa\xe7\x08"
2686         "\xc9\x67\x55\x5f\x1c\xae\xa6\xf5\xef\x79\x3a\xaf\x3f\x82\x14\xe2"
2687         "\xf3\x69\x91\xed\xb7\x9e\xc9\xde\xd0\x29\x70\xd9\xeb\x0f\xf5\xc7"
2688         "\xf6\x7c\xa7\x7f\xec\xed\xe1\xbd\x13\xe1\x43\xe4\x42\x30\xe3\x5f"
2689         "\xe0\xf3\x15\x55\x2f\x7a\x42\x17\x67\xcb\xc2\x4f\xd0\x85\xfc\x6c"
2690         "\xec\xe8\xfc\x25\x78\x4b\xe4\x0f\xd4\x3d\x78\x28\xd3\x53\x79\xcb"
2691         "\x2c\x82\x67\x9a\xdc\x32\x55\xd2\xda\xae\xd8\x61\xce\xd6\x59\x0b"
2692         "\xc5\x44\xeb\x08\x81\x8c\x65\xb2\xb7\xa6\xff\xf7\xbf\x99\xc6\x8a"
2693         "\xbe\xde\xc2\x17\x56\x05\x6e\xd2\xf1\x1e\xa2\x04\xeb\x02\x74\xaa"
2694         "\x04\xfc\xf0\x6b\xd4\xfc\xf0\x7a\x5f\xfe\xe2\x74\x7f\xeb\x9b\x6a"
2695         "\x8a\x09\x96\x5d\xe1\x91\xb6\x9e\x37\xd7\x63\xd7\xb3\x5c\xb5\xa3"
2696         "\x5f\x62\x00\xdf\xc5\xbf\x85\xba\xa7\xa9\xb6\x1f\x76\x78\x65\x01"
2697         "\xfe\x1d\x6c\xfe\x15\x9e\xf4\xb1\xbc\x8d\xad\x3c\xec\x69\x27\x57"
2698         "\xa4\x89\x77\x46\xe1\x49\xc7\x22\xde\x79\xe0\xf7\x3a\xa1\x59\x8b"
2699         "\x59\x71\xcc\xd6\x18\x24\xc1\x8a\x2f\xe3\xdf\xdd\x6c\xf7\x62\xaa"
2700         "\x15\xaa\x39\x37\x3b\xaf\x7d\x6e\x88\xeb\x19\xa8\xa0\x26\xd3\xaa"
2701         "\x2d\xcc\x5f\x56\x99\x86\xa9\xed\x4d\x02\x31\x40\x97\x70\x83\xa7"
2702         "\x08\x98\x7e\x49\x46\xd9\x75\xb5\x7a\x6a\x40\x69\xa0\x6d\xb2\x18"
2703         "\xc0\xad\x88\x05\x02\x95\x6f\xf7\x8f\xcb\xa2\xe4\x7b\xab\x4a\x0f"
2704         "\x9a\x1b\xef\xcc\xd1\x6a\x5d\x1e\x6a\x2a\x8b\x5b\x80\xbc\x5f\x38"
2705         "\xdd\xaf\xad\x44\x15\xb4\xaf\x26\x1c\x1a\x4d\xa7\x4b\xec\x88\x33"
2706         "\x24\x42\xb5\x0c\x9c\x56\xd4\xba\xa7\xb9\x65\xd5\x76\xb2\xbc\x16"
2707         "\x8e\xfa\x0c\x7a\xc0\xa2\x2c\x5a\x39\x56\x7d\xe6\xf8\xa9\xf4\x49"
2708         "\xd0\x50\xf2\x5e\x4b\x0a\x43\xe4\x9a\xbb\xea\x35\x28\x99\x84\x83"
2709         "\xec\xc1\xa0\x68\x15\x9a\x2b\x01\x04\x48\x09\x11\x1b\xb6\xa4\xd8"
2710         "\x03\xad\xb6\x4c\x9e\x1d\x90\xae\x88\x0f\x75\x95\x25\xa0\x27\x13"
2711         "\xb7\x4f\xe2\x3e\xd5\x59\x1a\x7c\xde\x95\x14\x28\xd1\xde\x84\xe4"
2712         "\x07\x7c\x5b\x06\xd6\xe6\x9c\x8a\xbe\xd2\xb4\x62\xd1\x67\x8a\x9c"
2713         "\xac\x4f\xfa\x70\xd6\xc8\xc0\xeb\x5e\xf6\x3e\xdc\x48\x8e\xce\x3f"
2714         "\x92\x3e\x60\x77\x63\x60\x6b\x76\x04\xa5\xba\xc9\xab\x92\x4e\x0d"
2715         "\xdc\xca\x82\x44\x5f\x3a\x42\xeb\x01\xe7\xe0\x33\xb3\x32\xaf\x4b"
2716         "\x81\x35\x2d\xb6\x57\x15\xfe\x52\xc7\x54\x2e\x41\x3b\x22\x6b\x12"
2717         "\x72\xdb\x5c\x66\xd0\xb6\xb4\xfe\x90\xc0\x20\x34\x95\xf9\xe4\xc7"
2718         "\x7e\x71\x89\x4f\x6f\xfb\x2a\xf3\xdf\x3f\xe3\xcf\x0e\x1a\xd9\xf2"
2719         "\xc1\x02\x67\x5d\xdc\xf1\x7d\xe8\xcf\x64\x77\x4d\x12\x03\x77\x2c"
2720         "\xfb\xe1\x59\xf7\x2c\x96\x9c\xaf\x46\x9c\xc7\x67\xcf\xee\x94\x50"
2721         "\xc7\xa1\x23\xe6\x9f\x4d\x73\x92\xad\xf9\x4a\xce\xdb\x44\xd5\xe3"
2722         "\x17\x05\x37\xdb\x9c\x6c\xc5\x7e\xb7\xd4\x11\x4a\x8c\x51\x03\xaa"
2723         "\x73\x4b\x16\xd9\x79\xf5\xf1\x67\x20\x9b\x25\xe5\x41\x52\x59\x06"
2724         "\x8b\xf2\x23\x2f\x6e\xea\xf3\x24\x0a\x94\xbb\xb8\x7e\xd9\x23\x4a"
2725         "\x9f\x1f\xe1\x13\xb5\xfe\x85\x2f\x4c\xbe\x6a\x66\x02\x1d\x90\xd2"
2726         "\x01\x25\x8a\xfd\x78\x3a\x28\xb8\x18\xc1\x38\x16\x21\x6b\xb4\xf9"
2727         "\x64\x0f\xf1\x73\xc4\x5c\xd1\x41\xf2\xfe\xe7\x26\xad\x79\x12\x75"
2728         "\x49\x48\xdb\x21\x71\x35\xf7\xb7\x46\x5a\xa1\x81\x25\x47\x31\xea"
2729         "\x1d\x76\xbb\x32\x5a\x90\xb0\x42\x1a\x47\xe8\x0c\x82\x92\x43\x1c"
2730         "\x0b\xdd\xe5\x25\xce\xd3\x06\xcc\x59\x5a\xc9\xa0\x01\xac\x29\x12"
2731         "\x31\x2e\x3d\x1a\xed\x3b\xf3\xa7\xef\x52\xc2\x0d\x18\x1f\x03\x28"
2732         "\xc9\x2b\x38\x61\xa4\x01\xc9\x3c\x11\x08\x14\xd4\xe5\x31\xe9\x3c"
2733         "\x1d\xad\xf8\x76\xc4\x84\x9f\xea\x16\x61\x3d\x6d\xa3\x32\x31\xcd"
2734         "\x1c\xca\xb8\x74\xc2\x45\xf3\x01\x9c\x7a\xaf\xfd\xe7\x1e\x5a\x18"
2735         "\xb1\x9d\xbb\x7a\x2d\x34\x40\x17\x49\xad\x1f\xeb\x2d\xa2\x26\xb8"
2736         "\x16\x28\x4b\x72\xdd\xd0\x8d\x85\x4c\xdd\xf8\x57\x48\xd5\x1d\xfb"
2737         "\xbd\xec\x11\x5d\x1e\x9c\x26\x81\xbf\xf1\x16\x12\x32\xc3\xf3\x07"
2738         "\x0e\x6e\x7f\x17\xec\xfb\xf4\x5d\xe2\xb1\xca\x97\xca\x46\x20\x2d"
2739         "\x09\x85\x19\x25\x89\xa8\x9b\x51\x74\xae\xc9\x1b\x4c\xb6\x80\x62",
2740         .secret_size = 1040,
2741         .b_public_size = 1024,
2742         .expected_a_public_size = 1024,
2743         .expected_ss_size = 1024,
2744         },
2745         {
2746         .secret =
2747 #ifdef __LITTLE_ENDIAN
2748         "\x01\x00" /* type */
2749         "\x10\x00" /* len */
2750         "\x00\x00\x00\x00" /* key_size */
2751         "\x00\x00\x00\x00" /* p_size */
2752         "\x00\x00\x00\x00", /* g_size */
2753 #else
2754         "\x00\x01" /* type */
2755         "\x00\x10" /* len */
2756         "\x00\x00\x00\x00" /* key_size */
2757         "\x00\x00\x00\x00" /* p_size */
2758         "\x00\x00\x00\x00", /* g_size */
2759 #endif
2760         .b_secret =
2761 #ifdef __LITTLE_ENDIAN
2762         "\x01\x00" /* type */
2763         "\x10\x04" /* len */
2764         "\x00\x04\x00\x00" /* key_size */
2765         "\x00\x00\x00\x00" /* p_size */
2766         "\x00\x00\x00\x00" /* g_size */
2767 #else
2768         "\x00\x01" /* type */
2769         "\x04\x10" /* len */
2770         "\x00\x00\x04\x00" /* key_size */
2771         "\x00\x00\x00\x00" /* p_size */
2772         "\x00\x00\x00\x00" /* g_size */
2773 #endif
2774         /* xa */
2775         "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
2776         "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
2777         "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
2778         "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
2779         "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
2780         "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
2781         "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
2782         "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
2783         "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
2784         "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
2785         "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
2786         "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
2787         "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
2788         "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
2789         "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
2790         "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
2791         "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
2792         "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
2793         "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
2794         "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
2795         "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
2796         "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
2797         "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
2798         "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
2799         "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
2800         "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
2801         "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
2802         "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
2803         "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
2804         "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
2805         "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
2806         "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
2807         "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
2808         "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
2809         "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
2810         "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
2811         "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
2812         "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
2813         "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
2814         "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
2815         "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
2816         "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
2817         "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
2818         "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
2819         "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
2820         "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
2821         "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
2822         "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
2823         "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
2824         "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
2825         "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
2826         "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
2827         "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
2828         "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
2829         "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
2830         "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
2831         "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
2832         "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
2833         "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
2834         "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
2835         "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
2836         "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
2837         "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
2838         "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
2839         .b_public =
2840         "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
2841         "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
2842         "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
2843         "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
2844         "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
2845         "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
2846         "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
2847         "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
2848         "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
2849         "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
2850         "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
2851         "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
2852         "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
2853         "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
2854         "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
2855         "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
2856         "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
2857         "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
2858         "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
2859         "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
2860         "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
2861         "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
2862         "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
2863         "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
2864         "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
2865         "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
2866         "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
2867         "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
2868         "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
2869         "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
2870         "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
2871         "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
2872         "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
2873         "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
2874         "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
2875         "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
2876         "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
2877         "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
2878         "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
2879         "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
2880         "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
2881         "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
2882         "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
2883         "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
2884         "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
2885         "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
2886         "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
2887         "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
2888         "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
2889         "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
2890         "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
2891         "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
2892         "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
2893         "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
2894         "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
2895         "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
2896         "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
2897         "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
2898         "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
2899         "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
2900         "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
2901         "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
2902         "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
2903         "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
2904         .secret_size = 16,
2905         .b_secret_size = 1040,
2906         .b_public_size = 1024,
2907         .expected_a_public_size = 1024,
2908         .expected_ss_size = 1024,
2909         .genkey = true,
2910         },
2911 };
2912
2913 static const struct kpp_testvec curve25519_tv_template[] = {
2914 {
2915         .secret = (u8[32]){ 0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d,
2916                      0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66, 0x45,
2917                      0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a,
2918                      0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x2a },
2919         .b_public = (u8[32]){ 0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4,
2920                     0xd3, 0x5b, 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37,
2921                     0x3f, 0x83, 0x43, 0xc8, 0x5b, 0x78, 0x67, 0x4d,
2922                     0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b, 0x4f },
2923         .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
2924                     0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
2925                     0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
2926                     0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
2927         .secret_size = 32,
2928         .b_public_size = 32,
2929         .expected_ss_size = 32,
2930
2931 },
2932 {
2933         .secret = (u8[32]){ 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, 0x4b,
2934                      0x79, 0xe1, 0x7f, 0x8b, 0x83, 0x80, 0x0e, 0xe6,
2935                      0x6f, 0x3b, 0xb1, 0x29, 0x26, 0x18, 0xb6, 0xfd,
2936                      0x1c, 0x2f, 0x8b, 0x27, 0xff, 0x88, 0xe0, 0xeb },
2937         .b_public = (u8[32]){ 0x85, 0x20, 0xf0, 0x09, 0x89, 0x30, 0xa7, 0x54,
2938                     0x74, 0x8b, 0x7d, 0xdc, 0xb4, 0x3e, 0xf7, 0x5a,
2939                     0x0d, 0xbf, 0x3a, 0x0d, 0x26, 0x38, 0x1a, 0xf4,
2940                     0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a },
2941         .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
2942                     0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
2943                     0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
2944                     0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
2945         .secret_size = 32,
2946         .b_public_size = 32,
2947         .expected_ss_size = 32,
2948
2949 },
2950 {
2951         .secret = (u8[32]){ 1 },
2952         .b_public = (u8[32]){ 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2953                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2954                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2955                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
2956         .expected_ss = (u8[32]){ 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64,
2957                     0x41, 0x60, 0x77, 0x66, 0x5b, 0x4e, 0x22, 0x9d,
2958                     0x0b, 0x95, 0x48, 0xdc, 0x0c, 0xd8, 0x19, 0x98,
2959                     0xdd, 0xcd, 0xc5, 0xc8, 0x53, 0x3c, 0x79, 0x7f },
2960         .secret_size = 32,
2961         .b_public_size = 32,
2962         .expected_ss_size = 32,
2963
2964 },
2965 {
2966         .secret = (u8[32]){ 1 },
2967         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2968                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2969                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2970                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
2971         .expected_ss = (u8[32]){ 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f,
2972                     0xe6, 0x26, 0x19, 0xcf, 0xf0, 0x4d, 0xd4, 0x3d,
2973                     0xb7, 0x3f, 0xfc, 0x1b, 0x63, 0x08, 0xed, 0xe3,
2974                     0x0b, 0x78, 0xd8, 0x73, 0x80, 0xf1, 0xe8, 0x34 },
2975         .secret_size = 32,
2976         .b_public_size = 32,
2977         .expected_ss_size = 32,
2978
2979 },
2980 {
2981         .secret = (u8[32]){ 0xa5, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
2982                      0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
2983                      0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
2984                      0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0xc4 },
2985         .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
2986                     0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
2987                     0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
2988                     0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
2989         .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
2990                     0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
2991                     0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
2992                     0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
2993         .secret_size = 32,
2994         .b_public_size = 32,
2995         .expected_ss_size = 32,
2996
2997 },
2998 {
2999         .secret = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x0a, 0xff, 0xff, 0xff,
3000                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3001                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3002                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3003         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3004                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3005                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3006                     0xff, 0xff, 0xff, 0xff, 0x0a, 0x00, 0xfb, 0x9f },
3007         .expected_ss = (u8[32]){ 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2,
3008                     0xc6, 0x93, 0x46, 0x83, 0x81, 0x7c, 0xc6, 0x57,
3009                     0xf3, 0x31, 0x03, 0x19, 0x49, 0x48, 0x20, 0x05,
3010                     0x42, 0x2b, 0x4e, 0xae, 0x8d, 0x1d, 0x43, 0x23 },
3011         .secret_size = 32,
3012         .b_public_size = 32,
3013         .expected_ss_size = 32,
3014
3015 },
3016 {
3017         .secret = (u8[32]){ 0x8e, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3018                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3019                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3020                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3021         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3022                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3023                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3024                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x06 },
3025         .expected_ss = (u8[32]){ 0x5a, 0xdf, 0xaa, 0x25, 0x86, 0x8e, 0x32, 0x3d,
3026                     0xae, 0x49, 0x62, 0xc1, 0x01, 0x5c, 0xb3, 0x12,
3027                     0xe1, 0xc5, 0xc7, 0x9e, 0x95, 0x3f, 0x03, 0x99,
3028                     0xb0, 0xba, 0x16, 0x22, 0xf3, 0xb6, 0xf7, 0x0c },
3029         .secret_size = 32,
3030         .b_public_size = 32,
3031         .expected_ss_size = 32,
3032
3033 },
3034 /* wycheproof - normal case */
3035 {
3036         .secret = (u8[32]){ 0x48, 0x52, 0x83, 0x4d, 0x9d, 0x6b, 0x77, 0xda,
3037                      0xde, 0xab, 0xaa, 0xf2, 0xe1, 0x1d, 0xca, 0x66,
3038                      0xd1, 0x9f, 0xe7, 0x49, 0x93, 0xa7, 0xbe, 0xc3,
3039                      0x6c, 0x6e, 0x16, 0xa0, 0x98, 0x3f, 0xea, 0xba },
3040         .b_public = (u8[32]){ 0x9c, 0x64, 0x7d, 0x9a, 0xe5, 0x89, 0xb9, 0xf5,
3041                     0x8f, 0xdc, 0x3c, 0xa4, 0x94, 0x7e, 0xfb, 0xc9,
3042                     0x15, 0xc4, 0xb2, 0xe0, 0x8e, 0x74, 0x4a, 0x0e,
3043                     0xdf, 0x46, 0x9d, 0xac, 0x59, 0xc8, 0xf8, 0x5a },
3044         .expected_ss = (u8[32]){ 0x87, 0xb7, 0xf2, 0x12, 0xb6, 0x27, 0xf7, 0xa5,
3045                     0x4c, 0xa5, 0xe0, 0xbc, 0xda, 0xdd, 0xd5, 0x38,
3046                     0x9d, 0x9d, 0xe6, 0x15, 0x6c, 0xdb, 0xcf, 0x8e,
3047                     0xbe, 0x14, 0xff, 0xbc, 0xfb, 0x43, 0x65, 0x51 },
3048         .secret_size = 32,
3049         .b_public_size = 32,
3050         .expected_ss_size = 32,
3051
3052 },
3053 /* wycheproof - public key on twist */
3054 {
3055         .secret = (u8[32]){ 0x58, 0x8c, 0x06, 0x1a, 0x50, 0x80, 0x4a, 0xc4,
3056                      0x88, 0xad, 0x77, 0x4a, 0xc7, 0x16, 0xc3, 0xf5,
3057                      0xba, 0x71, 0x4b, 0x27, 0x12, 0xe0, 0x48, 0x49,
3058                      0x13, 0x79, 0xa5, 0x00, 0x21, 0x19, 0x98, 0xa8 },
3059         .b_public = (u8[32]){ 0x63, 0xaa, 0x40, 0xc6, 0xe3, 0x83, 0x46, 0xc5,
3060                     0xca, 0xf2, 0x3a, 0x6d, 0xf0, 0xa5, 0xe6, 0xc8,
3061                     0x08, 0x89, 0xa0, 0x86, 0x47, 0xe5, 0x51, 0xb3,
3062                     0x56, 0x34, 0x49, 0xbe, 0xfc, 0xfc, 0x97, 0x33 },
3063         .expected_ss = (u8[32]){ 0xb1, 0xa7, 0x07, 0x51, 0x94, 0x95, 0xff, 0xff,
3064                     0xb2, 0x98, 0xff, 0x94, 0x17, 0x16, 0xb0, 0x6d,
3065                     0xfa, 0xb8, 0x7c, 0xf8, 0xd9, 0x11, 0x23, 0xfe,
3066                     0x2b, 0xe9, 0xa2, 0x33, 0xdd, 0xa2, 0x22, 0x12 },
3067         .secret_size = 32,
3068         .b_public_size = 32,
3069         .expected_ss_size = 32,
3070
3071 },
3072 /* wycheproof - public key on twist */
3073 {
3074         .secret = (u8[32]){ 0xb0, 0x5b, 0xfd, 0x32, 0xe5, 0x53, 0x25, 0xd9,
3075                      0xfd, 0x64, 0x8c, 0xb3, 0x02, 0x84, 0x80, 0x39,
3076                      0x00, 0x0b, 0x39, 0x0e, 0x44, 0xd5, 0x21, 0xe5,
3077                      0x8a, 0xab, 0x3b, 0x29, 0xa6, 0x96, 0x0b, 0xa8 },
3078         .b_public = (u8[32]){ 0x0f, 0x83, 0xc3, 0x6f, 0xde, 0xd9, 0xd3, 0x2f,
3079                     0xad, 0xf4, 0xef, 0xa3, 0xae, 0x93, 0xa9, 0x0b,
3080                     0xb5, 0xcf, 0xa6, 0x68, 0x93, 0xbc, 0x41, 0x2c,
3081                     0x43, 0xfa, 0x72, 0x87, 0xdb, 0xb9, 0x97, 0x79 },
3082         .expected_ss = (u8[32]){ 0x67, 0xdd, 0x4a, 0x6e, 0x16, 0x55, 0x33, 0x53,
3083                     0x4c, 0x0e, 0x3f, 0x17, 0x2e, 0x4a, 0xb8, 0x57,
3084                     0x6b, 0xca, 0x92, 0x3a, 0x5f, 0x07, 0xb2, 0xc0,
3085                     0x69, 0xb4, 0xc3, 0x10, 0xff, 0x2e, 0x93, 0x5b },
3086         .secret_size = 32,
3087         .b_public_size = 32,
3088         .expected_ss_size = 32,
3089
3090 },
3091 /* wycheproof - public key on twist */
3092 {
3093         .secret = (u8[32]){ 0x70, 0xe3, 0x4b, 0xcb, 0xe1, 0xf4, 0x7f, 0xbc,
3094                      0x0f, 0xdd, 0xfd, 0x7c, 0x1e, 0x1a, 0xa5, 0x3d,
3095                      0x57, 0xbf, 0xe0, 0xf6, 0x6d, 0x24, 0x30, 0x67,
3096                      0xb4, 0x24, 0xbb, 0x62, 0x10, 0xbe, 0xd1, 0x9c },
3097         .b_public = (u8[32]){ 0x0b, 0x82, 0x11, 0xa2, 0xb6, 0x04, 0x90, 0x97,
3098                     0xf6, 0x87, 0x1c, 0x6c, 0x05, 0x2d, 0x3c, 0x5f,
3099                     0xc1, 0xba, 0x17, 0xda, 0x9e, 0x32, 0xae, 0x45,
3100                     0x84, 0x03, 0xb0, 0x5b, 0xb2, 0x83, 0x09, 0x2a },
3101         .expected_ss = (u8[32]){ 0x4a, 0x06, 0x38, 0xcf, 0xaa, 0x9e, 0xf1, 0x93,
3102                     0x3b, 0x47, 0xf8, 0x93, 0x92, 0x96, 0xa6, 0xb2,
3103                     0x5b, 0xe5, 0x41, 0xef, 0x7f, 0x70, 0xe8, 0x44,
3104                     0xc0, 0xbc, 0xc0, 0x0b, 0x13, 0x4d, 0xe6, 0x4a },
3105         .secret_size = 32,
3106         .b_public_size = 32,
3107         .expected_ss_size = 32,
3108
3109 },
3110 /* wycheproof - public key on twist */
3111 {
3112         .secret = (u8[32]){ 0x68, 0xc1, 0xf3, 0xa6, 0x53, 0xa4, 0xcd, 0xb1,
3113                      0xd3, 0x7b, 0xba, 0x94, 0x73, 0x8f, 0x8b, 0x95,
3114                      0x7a, 0x57, 0xbe, 0xb2, 0x4d, 0x64, 0x6e, 0x99,
3115                      0x4d, 0xc2, 0x9a, 0x27, 0x6a, 0xad, 0x45, 0x8d },
3116         .b_public = (u8[32]){ 0x34, 0x3a, 0xc2, 0x0a, 0x3b, 0x9c, 0x6a, 0x27,
3117                     0xb1, 0x00, 0x81, 0x76, 0x50, 0x9a, 0xd3, 0x07,
3118                     0x35, 0x85, 0x6e, 0xc1, 0xc8, 0xd8, 0xfc, 0xae,
3119                     0x13, 0x91, 0x2d, 0x08, 0xd1, 0x52, 0xf4, 0x6c },
3120         .expected_ss = (u8[32]){ 0x39, 0x94, 0x91, 0xfc, 0xe8, 0xdf, 0xab, 0x73,
3121                     0xb4, 0xf9, 0xf6, 0x11, 0xde, 0x8e, 0xa0, 0xb2,
3122                     0x7b, 0x28, 0xf8, 0x59, 0x94, 0x25, 0x0b, 0x0f,
3123                     0x47, 0x5d, 0x58, 0x5d, 0x04, 0x2a, 0xc2, 0x07 },
3124         .secret_size = 32,
3125         .b_public_size = 32,
3126         .expected_ss_size = 32,
3127
3128 },
3129 /* wycheproof - public key on twist */
3130 {
3131         .secret = (u8[32]){ 0xd8, 0x77, 0xb2, 0x6d, 0x06, 0xdf, 0xf9, 0xd9,
3132                      0xf7, 0xfd, 0x4c, 0x5b, 0x37, 0x69, 0xf8, 0xcd,
3133                      0xd5, 0xb3, 0x05, 0x16, 0xa5, 0xab, 0x80, 0x6b,
3134                      0xe3, 0x24, 0xff, 0x3e, 0xb6, 0x9e, 0xa0, 0xb2 },
3135         .b_public = (u8[32]){ 0xfa, 0x69, 0x5f, 0xc7, 0xbe, 0x8d, 0x1b, 0xe5,
3136                     0xbf, 0x70, 0x48, 0x98, 0xf3, 0x88, 0xc4, 0x52,
3137                     0xba, 0xfd, 0xd3, 0xb8, 0xea, 0xe8, 0x05, 0xf8,
3138                     0x68, 0x1a, 0x8d, 0x15, 0xc2, 0xd4, 0xe1, 0x42 },
3139         .expected_ss = (u8[32]){ 0x2c, 0x4f, 0xe1, 0x1d, 0x49, 0x0a, 0x53, 0x86,
3140                     0x17, 0x76, 0xb1, 0x3b, 0x43, 0x54, 0xab, 0xd4,
3141                     0xcf, 0x5a, 0x97, 0x69, 0x9d, 0xb6, 0xe6, 0xc6,
3142                     0x8c, 0x16, 0x26, 0xd0, 0x76, 0x62, 0xf7, 0x58 },
3143         .secret_size = 32,
3144         .b_public_size = 32,
3145         .expected_ss_size = 32,
3146
3147 },
3148 /* wycheproof - edge case on twist */
3149 {
3150         .secret = (u8[32]){ 0x38, 0xdd, 0xe9, 0xf3, 0xe7, 0xb7, 0x99, 0x04,
3151                      0x5f, 0x9a, 0xc3, 0x79, 0x3d, 0x4a, 0x92, 0x77,
3152                      0xda, 0xde, 0xad, 0xc4, 0x1b, 0xec, 0x02, 0x90,
3153                      0xf8, 0x1f, 0x74, 0x4f, 0x73, 0x77, 0x5f, 0x84 },
3154         .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3155                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3156                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3157                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3158         .expected_ss = (u8[32]){ 0x9a, 0x2c, 0xfe, 0x84, 0xff, 0x9c, 0x4a, 0x97,
3159                     0x39, 0x62, 0x5c, 0xae, 0x4a, 0x3b, 0x82, 0xa9,
3160                     0x06, 0x87, 0x7a, 0x44, 0x19, 0x46, 0xf8, 0xd7,
3161                     0xb3, 0xd7, 0x95, 0xfe, 0x8f, 0x5d, 0x16, 0x39 },
3162         .secret_size = 32,
3163         .b_public_size = 32,
3164         .expected_ss_size = 32,
3165
3166 },
3167 /* wycheproof - edge case on twist */
3168 {
3169         .secret = (u8[32]){ 0x98, 0x57, 0xa9, 0x14, 0xe3, 0xc2, 0x90, 0x36,
3170                      0xfd, 0x9a, 0x44, 0x2b, 0xa5, 0x26, 0xb5, 0xcd,
3171                      0xcd, 0xf2, 0x82, 0x16, 0x15, 0x3e, 0x63, 0x6c,
3172                      0x10, 0x67, 0x7a, 0xca, 0xb6, 0xbd, 0x6a, 0xa5 },
3173         .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3174                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3175                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3176                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3177         .expected_ss = (u8[32]){ 0x4d, 0xa4, 0xe0, 0xaa, 0x07, 0x2c, 0x23, 0x2e,
3178                     0xe2, 0xf0, 0xfa, 0x4e, 0x51, 0x9a, 0xe5, 0x0b,
3179                     0x52, 0xc1, 0xed, 0xd0, 0x8a, 0x53, 0x4d, 0x4e,
3180                     0xf3, 0x46, 0xc2, 0xe1, 0x06, 0xd2, 0x1d, 0x60 },
3181         .secret_size = 32,
3182         .b_public_size = 32,
3183         .expected_ss_size = 32,
3184
3185 },
3186 /* wycheproof - edge case on twist */
3187 {
3188         .secret = (u8[32]){ 0x48, 0xe2, 0x13, 0x0d, 0x72, 0x33, 0x05, 0xed,
3189                      0x05, 0xe6, 0xe5, 0x89, 0x4d, 0x39, 0x8a, 0x5e,
3190                      0x33, 0x36, 0x7a, 0x8c, 0x6a, 0xac, 0x8f, 0xcd,
3191                      0xf0, 0xa8, 0x8e, 0x4b, 0x42, 0x82, 0x0d, 0xb7 },
3192         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0x03, 0x00, 0x00, 0xf8, 0xff,
3193                     0xff, 0x1f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0xff,
3194                     0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x07, 0x00,
3195                     0x00, 0xf0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00 },
3196         .expected_ss = (u8[32]){ 0x9e, 0xd1, 0x0c, 0x53, 0x74, 0x7f, 0x64, 0x7f,
3197                     0x82, 0xf4, 0x51, 0x25, 0xd3, 0xde, 0x15, 0xa1,
3198                     0xe6, 0xb8, 0x24, 0x49, 0x6a, 0xb4, 0x04, 0x10,
3199                     0xff, 0xcc, 0x3c, 0xfe, 0x95, 0x76, 0x0f, 0x3b },
3200         .secret_size = 32,
3201         .b_public_size = 32,
3202         .expected_ss_size = 32,
3203
3204 },
3205 /* wycheproof - edge case on twist */
3206 {
3207         .secret = (u8[32]){ 0x28, 0xf4, 0x10, 0x11, 0x69, 0x18, 0x51, 0xb3,
3208                      0xa6, 0x2b, 0x64, 0x15, 0x53, 0xb3, 0x0d, 0x0d,
3209                      0xfd, 0xdc, 0xb8, 0xff, 0xfc, 0xf5, 0x37, 0x00,
3210                      0xa7, 0xbe, 0x2f, 0x6a, 0x87, 0x2e, 0x9f, 0xb0 },
3211         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x07, 0x00,
3212                     0x00, 0xe0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00,
3213                     0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0xf8, 0xff,
3214                     0xff, 0x0f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x7f },
3215         .expected_ss = (u8[32]){ 0xcf, 0x72, 0xb4, 0xaa, 0x6a, 0xa1, 0xc9, 0xf8,
3216                     0x94, 0xf4, 0x16, 0x5b, 0x86, 0x10, 0x9a, 0xa4,
3217                     0x68, 0x51, 0x76, 0x48, 0xe1, 0xf0, 0xcc, 0x70,
3218                     0xe1, 0xab, 0x08, 0x46, 0x01, 0x76, 0x50, 0x6b },
3219         .secret_size = 32,
3220         .b_public_size = 32,
3221         .expected_ss_size = 32,
3222
3223 },
3224 /* wycheproof - edge case on twist */
3225 {
3226         .secret = (u8[32]){ 0x18, 0xa9, 0x3b, 0x64, 0x99, 0xb9, 0xf6, 0xb3,
3227                      0x22, 0x5c, 0xa0, 0x2f, 0xef, 0x41, 0x0e, 0x0a,
3228                      0xde, 0xc2, 0x35, 0x32, 0x32, 0x1d, 0x2d, 0x8e,
3229                      0xf1, 0xa6, 0xd6, 0x02, 0xa8, 0xc6, 0x5b, 0x83 },
3230         .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
3231                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
3232                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
3233                     0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x7f },
3234         .expected_ss = (u8[32]){ 0x5d, 0x50, 0xb6, 0x28, 0x36, 0xbb, 0x69, 0x57,
3235                     0x94, 0x10, 0x38, 0x6c, 0xf7, 0xbb, 0x81, 0x1c,
3236                     0x14, 0xbf, 0x85, 0xb1, 0xc7, 0xb1, 0x7e, 0x59,
3237                     0x24, 0xc7, 0xff, 0xea, 0x91, 0xef, 0x9e, 0x12 },
3238         .secret_size = 32,
3239         .b_public_size = 32,
3240         .expected_ss_size = 32,
3241
3242 },
3243 /* wycheproof - edge case on twist */
3244 {
3245         .secret = (u8[32]){ 0xc0, 0x1d, 0x13, 0x05, 0xa1, 0x33, 0x8a, 0x1f,
3246                      0xca, 0xc2, 0xba, 0x7e, 0x2e, 0x03, 0x2b, 0x42,
3247                      0x7e, 0x0b, 0x04, 0x90, 0x31, 0x65, 0xac, 0xa9,
3248                      0x57, 0xd8, 0xd0, 0x55, 0x3d, 0x87, 0x17, 0xb0 },
3249         .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3250                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3251                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3252                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3253         .expected_ss = (u8[32]){ 0x19, 0x23, 0x0e, 0xb1, 0x48, 0xd5, 0xd6, 0x7c,
3254                     0x3c, 0x22, 0xab, 0x1d, 0xae, 0xff, 0x80, 0xa5,
3255                     0x7e, 0xae, 0x42, 0x65, 0xce, 0x28, 0x72, 0x65,
3256                     0x7b, 0x2c, 0x80, 0x99, 0xfc, 0x69, 0x8e, 0x50 },
3257         .secret_size = 32,
3258         .b_public_size = 32,
3259         .expected_ss_size = 32,
3260
3261 },
3262 /* wycheproof - edge case for public key */
3263 {
3264         .secret = (u8[32]){ 0x38, 0x6f, 0x7f, 0x16, 0xc5, 0x07, 0x31, 0xd6,
3265                      0x4f, 0x82, 0xe6, 0xa1, 0x70, 0xb1, 0x42, 0xa4,
3266                      0xe3, 0x4f, 0x31, 0xfd, 0x77, 0x68, 0xfc, 0xb8,
3267                      0x90, 0x29, 0x25, 0xe7, 0xd1, 0xe2, 0x1a, 0xbe },
3268         .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3269                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3270                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3271                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3272         .expected_ss = (u8[32]){ 0x0f, 0xca, 0xb5, 0xd8, 0x42, 0xa0, 0x78, 0xd7,
3273                     0xa7, 0x1f, 0xc5, 0x9b, 0x57, 0xbf, 0xb4, 0xca,
3274                     0x0b, 0xe6, 0x87, 0x3b, 0x49, 0xdc, 0xdb, 0x9f,
3275                     0x44, 0xe1, 0x4a, 0xe8, 0xfb, 0xdf, 0xa5, 0x42 },
3276         .secret_size = 32,
3277         .b_public_size = 32,
3278         .expected_ss_size = 32,
3279
3280 },
3281 /* wycheproof - edge case for public key */
3282 {
3283         .secret = (u8[32]){ 0xe0, 0x23, 0xa2, 0x89, 0xbd, 0x5e, 0x90, 0xfa,
3284                      0x28, 0x04, 0xdd, 0xc0, 0x19, 0xa0, 0x5e, 0xf3,
3285                      0xe7, 0x9d, 0x43, 0x4b, 0xb6, 0xea, 0x2f, 0x52,
3286                      0x2e, 0xcb, 0x64, 0x3a, 0x75, 0x29, 0x6e, 0x95 },
3287         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
3288                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
3289                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
3290                     0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 },
3291         .expected_ss = (u8[32]){ 0x54, 0xce, 0x8f, 0x22, 0x75, 0xc0, 0x77, 0xe3,
3292                     0xb1, 0x30, 0x6a, 0x39, 0x39, 0xc5, 0xe0, 0x3e,
3293                     0xef, 0x6b, 0xbb, 0x88, 0x06, 0x05, 0x44, 0x75,
3294                     0x8d, 0x9f, 0xef, 0x59, 0xb0, 0xbc, 0x3e, 0x4f },
3295         .secret_size = 32,
3296         .b_public_size = 32,
3297         .expected_ss_size = 32,
3298
3299 },
3300 /* wycheproof - edge case for public key */
3301 {
3302         .secret = (u8[32]){ 0x68, 0xf0, 0x10, 0xd6, 0x2e, 0xe8, 0xd9, 0x26,
3303                      0x05, 0x3a, 0x36, 0x1c, 0x3a, 0x75, 0xc6, 0xea,
3304                      0x4e, 0xbd, 0xc8, 0x60, 0x6a, 0xb2, 0x85, 0x00,
3305                      0x3a, 0x6f, 0x8f, 0x40, 0x76, 0xb0, 0x1e, 0x83 },
3306         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3307                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3308                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3309                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
3310         .expected_ss = (u8[32]){ 0xf1, 0x36, 0x77, 0x5c, 0x5b, 0xeb, 0x0a, 0xf8,
3311                     0x11, 0x0a, 0xf1, 0x0b, 0x20, 0x37, 0x23, 0x32,
3312                     0x04, 0x3c, 0xab, 0x75, 0x24, 0x19, 0x67, 0x87,
3313                     0x75, 0xa2, 0x23, 0xdf, 0x57, 0xc9, 0xd3, 0x0d },
3314         .secret_size = 32,
3315         .b_public_size = 32,
3316         .expected_ss_size = 32,
3317
3318 },
3319 /* wycheproof - edge case for public key */
3320 {
3321         .secret = (u8[32]){ 0x58, 0xeb, 0xcb, 0x35, 0xb0, 0xf8, 0x84, 0x5c,
3322                      0xaf, 0x1e, 0xc6, 0x30, 0xf9, 0x65, 0x76, 0xb6,
3323                      0x2c, 0x4b, 0x7b, 0x6c, 0x36, 0xb2, 0x9d, 0xeb,
3324                      0x2c, 0xb0, 0x08, 0x46, 0x51, 0x75, 0x5c, 0x96 },
3325         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff,
3326                     0xff, 0xdf, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff,
3327                     0xfe, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xf7, 0xff,
3328                     0xff, 0xf7, 0xff, 0xff, 0xbf, 0xff, 0xff, 0x3f },
3329         .expected_ss = (u8[32]){ 0xbf, 0x9a, 0xff, 0xd0, 0x6b, 0x84, 0x40, 0x85,
3330                     0x58, 0x64, 0x60, 0x96, 0x2e, 0xf2, 0x14, 0x6f,
3331                     0xf3, 0xd4, 0x53, 0x3d, 0x94, 0x44, 0xaa, 0xb0,
3332                     0x06, 0xeb, 0x88, 0xcc, 0x30, 0x54, 0x40, 0x7d },
3333         .secret_size = 32,
3334         .b_public_size = 32,
3335         .expected_ss_size = 32,
3336
3337 },
3338 /* wycheproof - edge case for public key */
3339 {
3340         .secret = (u8[32]){ 0x18, 0x8c, 0x4b, 0xc5, 0xb9, 0xc4, 0x4b, 0x38,
3341                      0xbb, 0x65, 0x8b, 0x9b, 0x2a, 0xe8, 0x2d, 0x5b,
3342                      0x01, 0x01, 0x5e, 0x09, 0x31, 0x84, 0xb1, 0x7c,
3343                      0xb7, 0x86, 0x35, 0x03, 0xa7, 0x83, 0xe1, 0xbb },
3344         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3345                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3346                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3347                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3348         .expected_ss = (u8[32]){ 0xd4, 0x80, 0xde, 0x04, 0xf6, 0x99, 0xcb, 0x3b,
3349                     0xe0, 0x68, 0x4a, 0x9c, 0xc2, 0xe3, 0x12, 0x81,
3350                     0xea, 0x0b, 0xc5, 0xa9, 0xdc, 0xc1, 0x57, 0xd3,
3351                     0xd2, 0x01, 0x58, 0xd4, 0x6c, 0xa5, 0x24, 0x6d },
3352         .secret_size = 32,
3353         .b_public_size = 32,
3354         .expected_ss_size = 32,
3355
3356 },
3357 /* wycheproof - edge case for public key */
3358 {
3359         .secret = (u8[32]){ 0xe0, 0x6c, 0x11, 0xbb, 0x2e, 0x13, 0xce, 0x3d,
3360                      0xc7, 0x67, 0x3f, 0x67, 0xf5, 0x48, 0x22, 0x42,
3361                      0x90, 0x94, 0x23, 0xa9, 0xae, 0x95, 0xee, 0x98,
3362                      0x6a, 0x98, 0x8d, 0x98, 0xfa, 0xee, 0x23, 0xa2 },
3363         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
3364                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
3365                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
3366                     0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f },
3367         .expected_ss = (u8[32]){ 0x4c, 0x44, 0x01, 0xcc, 0xe6, 0xb5, 0x1e, 0x4c,
3368                     0xb1, 0x8f, 0x27, 0x90, 0x24, 0x6c, 0x9b, 0xf9,
3369                     0x14, 0xdb, 0x66, 0x77, 0x50, 0xa1, 0xcb, 0x89,
3370                     0x06, 0x90, 0x92, 0xaf, 0x07, 0x29, 0x22, 0x76 },
3371         .secret_size = 32,
3372         .b_public_size = 32,
3373         .expected_ss_size = 32,
3374
3375 },
3376 /* wycheproof - edge case for public key */
3377 {
3378         .secret = (u8[32]){ 0xc0, 0x65, 0x8c, 0x46, 0xdd, 0xe1, 0x81, 0x29,
3379                      0x29, 0x38, 0x77, 0x53, 0x5b, 0x11, 0x62, 0xb6,
3380                      0xf9, 0xf5, 0x41, 0x4a, 0x23, 0xcf, 0x4d, 0x2c,
3381                      0xbc, 0x14, 0x0a, 0x4d, 0x99, 0xda, 0x2b, 0x8f },
3382         .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3383                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3384                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3385                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3386         .expected_ss = (u8[32]){ 0x57, 0x8b, 0xa8, 0xcc, 0x2d, 0xbd, 0xc5, 0x75,
3387                     0xaf, 0xcf, 0x9d, 0xf2, 0xb3, 0xee, 0x61, 0x89,
3388                     0xf5, 0x33, 0x7d, 0x68, 0x54, 0xc7, 0x9b, 0x4c,
3389                     0xe1, 0x65, 0xea, 0x12, 0x29, 0x3b, 0x3a, 0x0f },
3390         .secret_size = 32,
3391         .b_public_size = 32,
3392         .expected_ss_size = 32,
3393
3394 },
3395 /* wycheproof - public key >= p */
3396 {
3397         .secret = (u8[32]){ 0xf0, 0x1e, 0x48, 0xda, 0xfa, 0xc9, 0xd7, 0xbc,
3398                      0xf5, 0x89, 0xcb, 0xc3, 0x82, 0xc8, 0x78, 0xd1,
3399                      0x8b, 0xda, 0x35, 0x50, 0x58, 0x9f, 0xfb, 0x5d,
3400                      0x50, 0xb5, 0x23, 0xbe, 0xbe, 0x32, 0x9d, 0xae },
3401         .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3402                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3403                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3404                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3405         .expected_ss = (u8[32]){ 0xbd, 0x36, 0xa0, 0x79, 0x0e, 0xb8, 0x83, 0x09,
3406                     0x8c, 0x98, 0x8b, 0x21, 0x78, 0x67, 0x73, 0xde,
3407                     0x0b, 0x3a, 0x4d, 0xf1, 0x62, 0x28, 0x2c, 0xf1,
3408                     0x10, 0xde, 0x18, 0xdd, 0x48, 0x4c, 0xe7, 0x4b },
3409         .secret_size = 32,
3410         .b_public_size = 32,
3411         .expected_ss_size = 32,
3412
3413 },
3414 /* wycheproof - public key >= p */
3415 {
3416         .secret = (u8[32]){ 0x28, 0x87, 0x96, 0xbc, 0x5a, 0xff, 0x4b, 0x81,
3417                      0xa3, 0x75, 0x01, 0x75, 0x7b, 0xc0, 0x75, 0x3a,
3418                      0x3c, 0x21, 0x96, 0x47, 0x90, 0xd3, 0x86, 0x99,
3419                      0x30, 0x8d, 0xeb, 0xc1, 0x7a, 0x6e, 0xaf, 0x8d },
3420         .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3421                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3422                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3423                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3424         .expected_ss = (u8[32]){ 0xb4, 0xe0, 0xdd, 0x76, 0xda, 0x7b, 0x07, 0x17,
3425                     0x28, 0xb6, 0x1f, 0x85, 0x67, 0x71, 0xaa, 0x35,
3426                     0x6e, 0x57, 0xed, 0xa7, 0x8a, 0x5b, 0x16, 0x55,
3427                     0xcc, 0x38, 0x20, 0xfb, 0x5f, 0x85, 0x4c, 0x5c },
3428         .secret_size = 32,
3429         .b_public_size = 32,
3430         .expected_ss_size = 32,
3431
3432 },
3433 /* wycheproof - public key >= p */
3434 {
3435         .secret = (u8[32]){ 0x98, 0xdf, 0x84, 0x5f, 0x66, 0x51, 0xbf, 0x11,
3436                      0x38, 0x22, 0x1f, 0x11, 0x90, 0x41, 0xf7, 0x2b,
3437                      0x6d, 0xbc, 0x3c, 0x4a, 0xce, 0x71, 0x43, 0xd9,
3438                      0x9f, 0xd5, 0x5a, 0xd8, 0x67, 0x48, 0x0d, 0xa8 },
3439         .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3440                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3441                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3442                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3443         .expected_ss = (u8[32]){ 0x6f, 0xdf, 0x6c, 0x37, 0x61, 0x1d, 0xbd, 0x53,
3444                     0x04, 0xdc, 0x0f, 0x2e, 0xb7, 0xc9, 0x51, 0x7e,
3445                     0xb3, 0xc5, 0x0e, 0x12, 0xfd, 0x05, 0x0a, 0xc6,
3446                     0xde, 0xc2, 0x70, 0x71, 0xd4, 0xbf, 0xc0, 0x34 },
3447         .secret_size = 32,
3448         .b_public_size = 32,
3449         .expected_ss_size = 32,
3450
3451 },
3452 /* wycheproof - public key >= p */
3453 {
3454         .secret = (u8[32]){ 0xf0, 0x94, 0x98, 0xe4, 0x6f, 0x02, 0xf8, 0x78,
3455                      0x82, 0x9e, 0x78, 0xb8, 0x03, 0xd3, 0x16, 0xa2,
3456                      0xed, 0x69, 0x5d, 0x04, 0x98, 0xa0, 0x8a, 0xbd,
3457                      0xf8, 0x27, 0x69, 0x30, 0xe2, 0x4e, 0xdc, 0xb0 },
3458         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3459                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3460                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3461                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3462         .expected_ss = (u8[32]){ 0x4c, 0x8f, 0xc4, 0xb1, 0xc6, 0xab, 0x88, 0xfb,
3463                     0x21, 0xf1, 0x8f, 0x6d, 0x4c, 0x81, 0x02, 0x40,
3464                     0xd4, 0xe9, 0x46, 0x51, 0xba, 0x44, 0xf7, 0xa2,
3465                     0xc8, 0x63, 0xce, 0xc7, 0xdc, 0x56, 0x60, 0x2d },
3466         .secret_size = 32,
3467         .b_public_size = 32,
3468         .expected_ss_size = 32,
3469
3470 },
3471 /* wycheproof - public key >= p */
3472 {
3473         .secret = (u8[32]){ 0x18, 0x13, 0xc1, 0x0a, 0x5c, 0x7f, 0x21, 0xf9,
3474                      0x6e, 0x17, 0xf2, 0x88, 0xc0, 0xcc, 0x37, 0x60,
3475                      0x7c, 0x04, 0xc5, 0xf5, 0xae, 0xa2, 0xdb, 0x13,
3476                      0x4f, 0x9e, 0x2f, 0xfc, 0x66, 0xbd, 0x9d, 0xb8 },
3477         .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3478                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3479                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3480                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
3481         .expected_ss = (u8[32]){ 0x1c, 0xd0, 0xb2, 0x82, 0x67, 0xdc, 0x54, 0x1c,
3482                     0x64, 0x2d, 0x6d, 0x7d, 0xca, 0x44, 0xa8, 0xb3,
3483                     0x8a, 0x63, 0x73, 0x6e, 0xef, 0x5c, 0x4e, 0x65,
3484                     0x01, 0xff, 0xbb, 0xb1, 0x78, 0x0c, 0x03, 0x3c },
3485         .secret_size = 32,
3486         .b_public_size = 32,
3487         .expected_ss_size = 32,
3488
3489 },
3490 /* wycheproof - public key >= p */
3491 {
3492         .secret = (u8[32]){ 0x78, 0x57, 0xfb, 0x80, 0x86, 0x53, 0x64, 0x5a,
3493                      0x0b, 0xeb, 0x13, 0x8a, 0x64, 0xf5, 0xf4, 0xd7,
3494                      0x33, 0xa4, 0x5e, 0xa8, 0x4c, 0x3c, 0xda, 0x11,
3495                      0xa9, 0xc0, 0x6f, 0x7e, 0x71, 0x39, 0x14, 0x9e },
3496         .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3497                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3498                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3499                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
3500         .expected_ss = (u8[32]){ 0x87, 0x55, 0xbe, 0x01, 0xc6, 0x0a, 0x7e, 0x82,
3501                     0x5c, 0xff, 0x3e, 0x0e, 0x78, 0xcb, 0x3a, 0xa4,
3502                     0x33, 0x38, 0x61, 0x51, 0x6a, 0xa5, 0x9b, 0x1c,
3503                     0x51, 0xa8, 0xb2, 0xa5, 0x43, 0xdf, 0xa8, 0x22 },
3504         .secret_size = 32,
3505         .b_public_size = 32,
3506         .expected_ss_size = 32,
3507
3508 },
3509 /* wycheproof - public key >= p */
3510 {
3511         .secret = (u8[32]){ 0xe0, 0x3a, 0xa8, 0x42, 0xe2, 0xab, 0xc5, 0x6e,
3512                      0x81, 0xe8, 0x7b, 0x8b, 0x9f, 0x41, 0x7b, 0x2a,
3513                      0x1e, 0x59, 0x13, 0xc7, 0x23, 0xee, 0xd2, 0x8d,
3514                      0x75, 0x2f, 0x8d, 0x47, 0xa5, 0x9f, 0x49, 0x8f },
3515         .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3516                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3517                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3518                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
3519         .expected_ss = (u8[32]){ 0x54, 0xc9, 0xa1, 0xed, 0x95, 0xe5, 0x46, 0xd2,
3520                     0x78, 0x22, 0xa3, 0x60, 0x93, 0x1d, 0xda, 0x60,
3521                     0xa1, 0xdf, 0x04, 0x9d, 0xa6, 0xf9, 0x04, 0x25,
3522                     0x3c, 0x06, 0x12, 0xbb, 0xdc, 0x08, 0x74, 0x76 },
3523         .secret_size = 32,
3524         .b_public_size = 32,
3525         .expected_ss_size = 32,
3526
3527 },
3528 /* wycheproof - public key >= p */
3529 {
3530         .secret = (u8[32]){ 0xf8, 0xf7, 0x07, 0xb7, 0x99, 0x9b, 0x18, 0xcb,
3531                      0x0d, 0x6b, 0x96, 0x12, 0x4f, 0x20, 0x45, 0x97,
3532                      0x2c, 0xa2, 0x74, 0xbf, 0xc1, 0x54, 0xad, 0x0c,
3533                      0x87, 0x03, 0x8c, 0x24, 0xc6, 0xd0, 0xd4, 0xb2 },
3534         .b_public = (u8[32]){ 0xda, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3535                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3536                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3537                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3538         .expected_ss = (u8[32]){ 0xcc, 0x1f, 0x40, 0xd7, 0x43, 0xcd, 0xc2, 0x23,
3539                     0x0e, 0x10, 0x43, 0xda, 0xba, 0x8b, 0x75, 0xe8,
3540                     0x10, 0xf1, 0xfb, 0xab, 0x7f, 0x25, 0x52, 0x69,
3541                     0xbd, 0x9e, 0xbb, 0x29, 0xe6, 0xbf, 0x49, 0x4f },
3542         .secret_size = 32,
3543         .b_public_size = 32,
3544         .expected_ss_size = 32,
3545
3546 },
3547 /* wycheproof - public key >= p */
3548 {
3549         .secret = (u8[32]){ 0xa0, 0x34, 0xf6, 0x84, 0xfa, 0x63, 0x1e, 0x1a,
3550                      0x34, 0x81, 0x18, 0xc1, 0xce, 0x4c, 0x98, 0x23,
3551                      0x1f, 0x2d, 0x9e, 0xec, 0x9b, 0xa5, 0x36, 0x5b,
3552                      0x4a, 0x05, 0xd6, 0x9a, 0x78, 0x5b, 0x07, 0x96 },
3553         .b_public = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3554                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3555                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3556                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3557         .expected_ss = (u8[32]){ 0x54, 0x99, 0x8e, 0xe4, 0x3a, 0x5b, 0x00, 0x7b,
3558                     0xf4, 0x99, 0xf0, 0x78, 0xe7, 0x36, 0x52, 0x44,
3559                     0x00, 0xa8, 0xb5, 0xc7, 0xe9, 0xb9, 0xb4, 0x37,
3560                     0x71, 0x74, 0x8c, 0x7c, 0xdf, 0x88, 0x04, 0x12 },
3561         .secret_size = 32,
3562         .b_public_size = 32,
3563         .expected_ss_size = 32,
3564
3565 },
3566 /* wycheproof - public key >= p */
3567 {
3568         .secret = (u8[32]){ 0x30, 0xb6, 0xc6, 0xa0, 0xf2, 0xff, 0xa6, 0x80,
3569                      0x76, 0x8f, 0x99, 0x2b, 0xa8, 0x9e, 0x15, 0x2d,
3570                      0x5b, 0xc9, 0x89, 0x3d, 0x38, 0xc9, 0x11, 0x9b,
3571                      0xe4, 0xf7, 0x67, 0xbf, 0xab, 0x6e, 0x0c, 0xa5 },
3572         .b_public = (u8[32]){ 0xdc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3573                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3574                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3575                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3576         .expected_ss = (u8[32]){ 0xea, 0xd9, 0xb3, 0x8e, 0xfd, 0xd7, 0x23, 0x63,
3577                     0x79, 0x34, 0xe5, 0x5a, 0xb7, 0x17, 0xa7, 0xae,
3578                     0x09, 0xeb, 0x86, 0xa2, 0x1d, 0xc3, 0x6a, 0x3f,
3579                     0xee, 0xb8, 0x8b, 0x75, 0x9e, 0x39, 0x1e, 0x09 },
3580         .secret_size = 32,
3581         .b_public_size = 32,
3582         .expected_ss_size = 32,
3583
3584 },
3585 /* wycheproof - public key >= p */
3586 {
3587         .secret = (u8[32]){ 0x90, 0x1b, 0x9d, 0xcf, 0x88, 0x1e, 0x01, 0xe0,
3588                      0x27, 0x57, 0x50, 0x35, 0xd4, 0x0b, 0x43, 0xbd,
3589                      0xc1, 0xc5, 0x24, 0x2e, 0x03, 0x08, 0x47, 0x49,
3590                      0x5b, 0x0c, 0x72, 0x86, 0x46, 0x9b, 0x65, 0x91 },
3591         .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3592                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3593                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3594                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3595         .expected_ss = (u8[32]){ 0x60, 0x2f, 0xf4, 0x07, 0x89, 0xb5, 0x4b, 0x41,
3596                     0x80, 0x59, 0x15, 0xfe, 0x2a, 0x62, 0x21, 0xf0,
3597                     0x7a, 0x50, 0xff, 0xc2, 0xc3, 0xfc, 0x94, 0xcf,
3598                     0x61, 0xf1, 0x3d, 0x79, 0x04, 0xe8, 0x8e, 0x0e },
3599         .secret_size = 32,
3600         .b_public_size = 32,
3601         .expected_ss_size = 32,
3602
3603 },
3604 /* wycheproof - public key >= p */
3605 {
3606         .secret = (u8[32]){ 0x80, 0x46, 0x67, 0x7c, 0x28, 0xfd, 0x82, 0xc9,
3607                      0xa1, 0xbd, 0xb7, 0x1a, 0x1a, 0x1a, 0x34, 0xfa,
3608                      0xba, 0x12, 0x25, 0xe2, 0x50, 0x7f, 0xe3, 0xf5,
3609                      0x4d, 0x10, 0xbd, 0x5b, 0x0d, 0x86, 0x5f, 0x8e },
3610         .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3611                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3612                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3613                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3614         .expected_ss = (u8[32]){ 0xe0, 0x0a, 0xe8, 0xb1, 0x43, 0x47, 0x12, 0x47,
3615                     0xba, 0x24, 0xf1, 0x2c, 0x88, 0x55, 0x36, 0xc3,
3616                     0xcb, 0x98, 0x1b, 0x58, 0xe1, 0xe5, 0x6b, 0x2b,
3617                     0xaf, 0x35, 0xc1, 0x2a, 0xe1, 0xf7, 0x9c, 0x26 },
3618         .secret_size = 32,
3619         .b_public_size = 32,
3620         .expected_ss_size = 32,
3621
3622 },
3623 /* wycheproof - public key >= p */
3624 {
3625         .secret = (u8[32]){ 0x60, 0x2f, 0x7e, 0x2f, 0x68, 0xa8, 0x46, 0xb8,
3626                      0x2c, 0xc2, 0x69, 0xb1, 0xd4, 0x8e, 0x93, 0x98,
3627                      0x86, 0xae, 0x54, 0xfd, 0x63, 0x6c, 0x1f, 0xe0,
3628                      0x74, 0xd7, 0x10, 0x12, 0x7d, 0x47, 0x24, 0x91 },
3629         .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3630                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3631                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3632                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3633         .expected_ss = (u8[32]){ 0x98, 0xcb, 0x9b, 0x50, 0xdd, 0x3f, 0xc2, 0xb0,
3634                     0xd4, 0xf2, 0xd2, 0xbf, 0x7c, 0x5c, 0xfd, 0xd1,
3635                     0x0c, 0x8f, 0xcd, 0x31, 0xfc, 0x40, 0xaf, 0x1a,
3636                     0xd4, 0x4f, 0x47, 0xc1, 0x31, 0x37, 0x63, 0x62 },
3637         .secret_size = 32,
3638         .b_public_size = 32,
3639         .expected_ss_size = 32,
3640
3641 },
3642 /* wycheproof - public key >= p */
3643 {
3644         .secret = (u8[32]){ 0x60, 0x88, 0x7b, 0x3d, 0xc7, 0x24, 0x43, 0x02,
3645                      0x6e, 0xbe, 0xdb, 0xbb, 0xb7, 0x06, 0x65, 0xf4,
3646                      0x2b, 0x87, 0xad, 0xd1, 0x44, 0x0e, 0x77, 0x68,
3647                      0xfb, 0xd7, 0xe8, 0xe2, 0xce, 0x5f, 0x63, 0x9d },
3648         .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3649                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3650                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3651                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3652         .expected_ss = (u8[32]){ 0x38, 0xd6, 0x30, 0x4c, 0x4a, 0x7e, 0x6d, 0x9f,
3653                     0x79, 0x59, 0x33, 0x4f, 0xb5, 0x24, 0x5b, 0xd2,
3654                     0xc7, 0x54, 0x52, 0x5d, 0x4c, 0x91, 0xdb, 0x95,
3655                     0x02, 0x06, 0x92, 0x62, 0x34, 0xc1, 0xf6, 0x33 },
3656         .secret_size = 32,
3657         .b_public_size = 32,
3658         .expected_ss_size = 32,
3659
3660 },
3661 /* wycheproof - public key >= p */
3662 {
3663         .secret = (u8[32]){ 0x78, 0xd3, 0x1d, 0xfa, 0x85, 0x44, 0x97, 0xd7,
3664                      0x2d, 0x8d, 0xef, 0x8a, 0x1b, 0x7f, 0xb0, 0x06,
3665                      0xce, 0xc2, 0xd8, 0xc4, 0x92, 0x46, 0x47, 0xc9,
3666                      0x38, 0x14, 0xae, 0x56, 0xfa, 0xed, 0xa4, 0x95 },
3667         .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3668                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3669                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3670                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3671         .expected_ss = (u8[32]){ 0x78, 0x6c, 0xd5, 0x49, 0x96, 0xf0, 0x14, 0xa5,
3672                     0xa0, 0x31, 0xec, 0x14, 0xdb, 0x81, 0x2e, 0xd0,
3673                     0x83, 0x55, 0x06, 0x1f, 0xdb, 0x5d, 0xe6, 0x80,
3674                     0xa8, 0x00, 0xac, 0x52, 0x1f, 0x31, 0x8e, 0x23 },
3675         .secret_size = 32,
3676         .b_public_size = 32,
3677         .expected_ss_size = 32,
3678
3679 },
3680 /* wycheproof - public key >= p */
3681 {
3682         .secret = (u8[32]){ 0xc0, 0x4c, 0x5b, 0xae, 0xfa, 0x83, 0x02, 0xdd,
3683                      0xde, 0xd6, 0xa4, 0xbb, 0x95, 0x77, 0x61, 0xb4,
3684                      0xeb, 0x97, 0xae, 0xfa, 0x4f, 0xc3, 0xb8, 0x04,
3685                      0x30, 0x85, 0xf9, 0x6a, 0x56, 0x59, 0xb3, 0xa5 },
3686         .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3687                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3688                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3689                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
3690         .expected_ss = (u8[32]){ 0x29, 0xae, 0x8b, 0xc7, 0x3e, 0x9b, 0x10, 0xa0,
3691                     0x8b, 0x4f, 0x68, 0x1c, 0x43, 0xc3, 0xe0, 0xac,
3692                     0x1a, 0x17, 0x1d, 0x31, 0xb3, 0x8f, 0x1a, 0x48,
3693                     0xef, 0xba, 0x29, 0xae, 0x63, 0x9e, 0xa1, 0x34 },
3694         .secret_size = 32,
3695         .b_public_size = 32,
3696         .expected_ss_size = 32,
3697
3698 },
3699 /* wycheproof - RFC 7748 */
3700 {
3701         .secret = (u8[32]){ 0xa0, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
3702                      0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
3703                      0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
3704                      0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0x44 },
3705         .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
3706                     0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
3707                     0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
3708                     0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
3709         .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
3710                     0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
3711                     0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
3712                     0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
3713         .secret_size = 32,
3714         .b_public_size = 32,
3715         .expected_ss_size = 32,
3716
3717 },
3718 /* wycheproof - RFC 7748 */
3719 {
3720         .secret = (u8[32]){ 0x48, 0x66, 0xe9, 0xd4, 0xd1, 0xb4, 0x67, 0x3c,
3721                      0x5a, 0xd2, 0x26, 0x91, 0x95, 0x7d, 0x6a, 0xf5,
3722                      0xc1, 0x1b, 0x64, 0x21, 0xe0, 0xea, 0x01, 0xd4,
3723                      0x2c, 0xa4, 0x16, 0x9e, 0x79, 0x18, 0xba, 0x4d },
3724         .b_public = (u8[32]){ 0xe5, 0x21, 0x0f, 0x12, 0x78, 0x68, 0x11, 0xd3,
3725                     0xf4, 0xb7, 0x95, 0x9d, 0x05, 0x38, 0xae, 0x2c,
3726                     0x31, 0xdb, 0xe7, 0x10, 0x6f, 0xc0, 0x3c, 0x3e,
3727                     0xfc, 0x4c, 0xd5, 0x49, 0xc7, 0x15, 0xa4, 0x13 },
3728         .expected_ss = (u8[32]){ 0x95, 0xcb, 0xde, 0x94, 0x76, 0xe8, 0x90, 0x7d,
3729                     0x7a, 0xad, 0xe4, 0x5c, 0xb4, 0xb8, 0x73, 0xf8,
3730                     0x8b, 0x59, 0x5a, 0x68, 0x79, 0x9f, 0xa1, 0x52,
3731                     0xe6, 0xf8, 0xf7, 0x64, 0x7a, 0xac, 0x79, 0x57 },
3732         .secret_size = 32,
3733         .b_public_size = 32,
3734         .expected_ss_size = 32,
3735
3736 },
3737 /* wycheproof - edge case for shared secret */
3738 {
3739         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3740                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3741                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3742                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3743         .b_public = (u8[32]){ 0x0a, 0xb4, 0xe7, 0x63, 0x80, 0xd8, 0x4d, 0xde,
3744                     0x4f, 0x68, 0x33, 0xc5, 0x8f, 0x2a, 0x9f, 0xb8,
3745                     0xf8, 0x3b, 0xb0, 0x16, 0x9b, 0x17, 0x2b, 0xe4,
3746                     0xb6, 0xe0, 0x59, 0x28, 0x87, 0x74, 0x1a, 0x36 },
3747         .expected_ss = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3748                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3749                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3750                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3751         .secret_size = 32,
3752         .b_public_size = 32,
3753         .expected_ss_size = 32,
3754
3755 },
3756 /* wycheproof - edge case for shared secret */
3757 {
3758         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3759                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3760                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3761                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3762         .b_public = (u8[32]){ 0x89, 0xe1, 0x0d, 0x57, 0x01, 0xb4, 0x33, 0x7d,
3763                     0x2d, 0x03, 0x21, 0x81, 0x53, 0x8b, 0x10, 0x64,
3764                     0xbd, 0x40, 0x84, 0x40, 0x1c, 0xec, 0xa1, 0xfd,
3765                     0x12, 0x66, 0x3a, 0x19, 0x59, 0x38, 0x80, 0x00 },
3766         .expected_ss = (u8[32]){ 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3767                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3768                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3769                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3770         .secret_size = 32,
3771         .b_public_size = 32,
3772         .expected_ss_size = 32,
3773
3774 },
3775 /* wycheproof - edge case for shared secret */
3776 {
3777         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3778                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3779                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3780                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3781         .b_public = (u8[32]){ 0x2b, 0x55, 0xd3, 0xaa, 0x4a, 0x8f, 0x80, 0xc8,
3782                     0xc0, 0xb2, 0xae, 0x5f, 0x93, 0x3e, 0x85, 0xaf,
3783                     0x49, 0xbe, 0xac, 0x36, 0xc2, 0xfa, 0x73, 0x94,
3784                     0xba, 0xb7, 0x6c, 0x89, 0x33, 0xf8, 0xf8, 0x1d },
3785         .expected_ss = (u8[32]){ 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3786                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3787                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3788                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
3789         .secret_size = 32,
3790         .b_public_size = 32,
3791         .expected_ss_size = 32,
3792
3793 },
3794 /* wycheproof - edge case for shared secret */
3795 {
3796         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3797                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3798                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3799                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3800         .b_public = (u8[32]){ 0x63, 0xe5, 0xb1, 0xfe, 0x96, 0x01, 0xfe, 0x84,
3801                     0x38, 0x5d, 0x88, 0x66, 0xb0, 0x42, 0x12, 0x62,
3802                     0xf7, 0x8f, 0xbf, 0xa5, 0xaf, 0xf9, 0x58, 0x5e,
3803                     0x62, 0x66, 0x79, 0xb1, 0x85, 0x47, 0xd9, 0x59 },
3804         .expected_ss = (u8[32]){ 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3805                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3806                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3807                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3808         .secret_size = 32,
3809         .b_public_size = 32,
3810         .expected_ss_size = 32,
3811
3812 },
3813 /* wycheproof - edge case for shared secret */
3814 {
3815         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3816                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3817                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3818                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3819         .b_public = (u8[32]){ 0xe4, 0x28, 0xf3, 0xda, 0xc1, 0x78, 0x09, 0xf8,
3820                     0x27, 0xa5, 0x22, 0xce, 0x32, 0x35, 0x50, 0x58,
3821                     0xd0, 0x73, 0x69, 0x36, 0x4a, 0xa7, 0x89, 0x02,
3822                     0xee, 0x10, 0x13, 0x9b, 0x9f, 0x9d, 0xd6, 0x53 },
3823         .expected_ss = (u8[32]){ 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3824                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3825                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3826                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3827         .secret_size = 32,
3828         .b_public_size = 32,
3829         .expected_ss_size = 32,
3830
3831 },
3832 /* wycheproof - edge case for shared secret */
3833 {
3834         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3835                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3836                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3837                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3838         .b_public = (u8[32]){ 0xb3, 0xb5, 0x0e, 0x3e, 0xd3, 0xa4, 0x07, 0xb9,
3839                     0x5d, 0xe9, 0x42, 0xef, 0x74, 0x57, 0x5b, 0x5a,
3840                     0xb8, 0xa1, 0x0c, 0x09, 0xee, 0x10, 0x35, 0x44,
3841                     0xd6, 0x0b, 0xdf, 0xed, 0x81, 0x38, 0xab, 0x2b },
3842         .expected_ss = (u8[32]){ 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3843                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3844                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3845                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3846         .secret_size = 32,
3847         .b_public_size = 32,
3848         .expected_ss_size = 32,
3849
3850 },
3851 /* wycheproof - edge case for shared secret */
3852 {
3853         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3854                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3855                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3856                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3857         .b_public = (u8[32]){ 0x21, 0x3f, 0xff, 0xe9, 0x3d, 0x5e, 0xa8, 0xcd,
3858                     0x24, 0x2e, 0x46, 0x28, 0x44, 0x02, 0x99, 0x22,
3859                     0xc4, 0x3c, 0x77, 0xc9, 0xe3, 0xe4, 0x2f, 0x56,
3860                     0x2f, 0x48, 0x5d, 0x24, 0xc5, 0x01, 0xa2, 0x0b },
3861         .expected_ss = (u8[32]){ 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3862                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3863                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3864                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
3865         .secret_size = 32,
3866         .b_public_size = 32,
3867         .expected_ss_size = 32,
3868
3869 },
3870 /* wycheproof - edge case for shared secret */
3871 {
3872         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3873                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3874                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3875                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3876         .b_public = (u8[32]){ 0x91, 0xb2, 0x32, 0xa1, 0x78, 0xb3, 0xcd, 0x53,
3877                     0x09, 0x32, 0x44, 0x1e, 0x61, 0x39, 0x41, 0x8f,
3878                     0x72, 0x17, 0x22, 0x92, 0xf1, 0xda, 0x4c, 0x18,
3879                     0x34, 0xfc, 0x5e, 0xbf, 0xef, 0xb5, 0x1e, 0x3f },
3880         .expected_ss = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3881                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3882                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3883                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
3884         .secret_size = 32,
3885         .b_public_size = 32,
3886         .expected_ss_size = 32,
3887
3888 },
3889 /* wycheproof - edge case for shared secret */
3890 {
3891         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3892                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3893                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3894                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3895         .b_public = (u8[32]){ 0x04, 0x5c, 0x6e, 0x11, 0xc5, 0xd3, 0x32, 0x55,
3896                     0x6c, 0x78, 0x22, 0xfe, 0x94, 0xeb, 0xf8, 0x9b,
3897                     0x56, 0xa3, 0x87, 0x8d, 0xc2, 0x7c, 0xa0, 0x79,
3898                     0x10, 0x30, 0x58, 0x84, 0x9f, 0xab, 0xcb, 0x4f },
3899         .expected_ss = (u8[32]){ 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3900                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3901                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3902                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3903         .secret_size = 32,
3904         .b_public_size = 32,
3905         .expected_ss_size = 32,
3906
3907 },
3908 /* wycheproof - edge case for shared secret */
3909 {
3910         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3911                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3912                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3913                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3914         .b_public = (u8[32]){ 0x1c, 0xa2, 0x19, 0x0b, 0x71, 0x16, 0x35, 0x39,
3915                     0x06, 0x3c, 0x35, 0x77, 0x3b, 0xda, 0x0c, 0x9c,
3916                     0x92, 0x8e, 0x91, 0x36, 0xf0, 0x62, 0x0a, 0xeb,
3917                     0x09, 0x3f, 0x09, 0x91, 0x97, 0xb7, 0xf7, 0x4e },
3918         .expected_ss = (u8[32]){ 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3919                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3920                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3921                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3922         .secret_size = 32,
3923         .b_public_size = 32,
3924         .expected_ss_size = 32,
3925
3926 },
3927 /* wycheproof - edge case for shared secret */
3928 {
3929         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3930                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3931                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3932                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3933         .b_public = (u8[32]){ 0xf7, 0x6e, 0x90, 0x10, 0xac, 0x33, 0xc5, 0x04,
3934                     0x3b, 0x2d, 0x3b, 0x76, 0xa8, 0x42, 0x17, 0x10,
3935                     0x00, 0xc4, 0x91, 0x62, 0x22, 0xe9, 0xe8, 0x58,
3936                     0x97, 0xa0, 0xae, 0xc7, 0xf6, 0x35, 0x0b, 0x3c },
3937         .expected_ss = (u8[32]){ 0xdd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3938                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3939                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3940                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3941         .secret_size = 32,
3942         .b_public_size = 32,
3943         .expected_ss_size = 32,
3944
3945 },
3946 /* wycheproof - edge case for shared secret */
3947 {
3948         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3949                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3950                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3951                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3952         .b_public = (u8[32]){ 0xbb, 0x72, 0x68, 0x8d, 0x8f, 0x8a, 0xa7, 0xa3,
3953                     0x9c, 0xd6, 0x06, 0x0c, 0xd5, 0xc8, 0x09, 0x3c,
3954                     0xde, 0xc6, 0xfe, 0x34, 0x19, 0x37, 0xc3, 0x88,
3955                     0x6a, 0x99, 0x34, 0x6c, 0xd0, 0x7f, 0xaa, 0x55 },
3956         .expected_ss = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3957                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3958                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3959                     0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
3960         .secret_size = 32,
3961         .b_public_size = 32,
3962         .expected_ss_size = 32,
3963
3964 },
3965 /* wycheproof - edge case for shared secret */
3966 {
3967         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3968                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3969                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3970                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3971         .b_public = (u8[32]){ 0x88, 0xfd, 0xde, 0xa1, 0x93, 0x39, 0x1c, 0x6a,
3972                     0x59, 0x33, 0xef, 0x9b, 0x71, 0x90, 0x15, 0x49,
3973                     0x44, 0x72, 0x05, 0xaa, 0xe9, 0xda, 0x92, 0x8a,
3974                     0x6b, 0x91, 0xa3, 0x52, 0xba, 0x10, 0xf4, 0x1f },
3975         .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3976                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3977                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3978                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 },
3979         .secret_size = 32,
3980         .b_public_size = 32,
3981         .expected_ss_size = 32,
3982
3983 },
3984 /* wycheproof - edge case for shared secret */
3985 {
3986         .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
3987                      0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
3988                      0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
3989                      0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
3990         .b_public = (u8[32]){ 0x30, 0x3b, 0x39, 0x2f, 0x15, 0x31, 0x16, 0xca,
3991                     0xd9, 0xcc, 0x68, 0x2a, 0x00, 0xcc, 0xc4, 0x4c,
3992                     0x95, 0xff, 0x0d, 0x3b, 0xbe, 0x56, 0x8b, 0xeb,
3993                     0x6c, 0x4e, 0x73, 0x9b, 0xaf, 0xdc, 0x2c, 0x68 },
3994         .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3995                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3996                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3997                     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 },
3998         .secret_size = 32,
3999         .b_public_size = 32,
4000         .expected_ss_size = 32,
4001
4002 },
4003 /* wycheproof - checking for overflow */
4004 {
4005         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4006                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4007                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4008                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4009         .b_public = (u8[32]){ 0xfd, 0x30, 0x0a, 0xeb, 0x40, 0xe1, 0xfa, 0x58,
4010                     0x25, 0x18, 0x41, 0x2b, 0x49, 0xb2, 0x08, 0xa7,
4011                     0x84, 0x2b, 0x1e, 0x1f, 0x05, 0x6a, 0x04, 0x01,
4012                     0x78, 0xea, 0x41, 0x41, 0x53, 0x4f, 0x65, 0x2d },
4013         .expected_ss = (u8[32]){ 0xb7, 0x34, 0x10, 0x5d, 0xc2, 0x57, 0x58, 0x5d,
4014                     0x73, 0xb5, 0x66, 0xcc, 0xb7, 0x6f, 0x06, 0x27,
4015                     0x95, 0xcc, 0xbe, 0xc8, 0x91, 0x28, 0xe5, 0x2b,
4016                     0x02, 0xf3, 0xe5, 0x96, 0x39, 0xf1, 0x3c, 0x46 },
4017         .secret_size = 32,
4018         .b_public_size = 32,
4019         .expected_ss_size = 32,
4020
4021 },
4022 /* wycheproof - checking for overflow */
4023 {
4024         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4025                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4026                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4027                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4028         .b_public = (u8[32]){ 0xc8, 0xef, 0x79, 0xb5, 0x14, 0xd7, 0x68, 0x26,
4029                     0x77, 0xbc, 0x79, 0x31, 0xe0, 0x6e, 0xe5, 0xc2,
4030                     0x7c, 0x9b, 0x39, 0x2b, 0x4a, 0xe9, 0x48, 0x44,
4031                     0x73, 0xf5, 0x54, 0xe6, 0x67, 0x8e, 0xcc, 0x2e },
4032         .expected_ss = (u8[32]){ 0x64, 0x7a, 0x46, 0xb6, 0xfc, 0x3f, 0x40, 0xd6,
4033                     0x21, 0x41, 0xee, 0x3c, 0xee, 0x70, 0x6b, 0x4d,
4034                     0x7a, 0x92, 0x71, 0x59, 0x3a, 0x7b, 0x14, 0x3e,
4035                     0x8e, 0x2e, 0x22, 0x79, 0x88, 0x3e, 0x45, 0x50 },
4036         .secret_size = 32,
4037         .b_public_size = 32,
4038         .expected_ss_size = 32,
4039
4040 },
4041 /* wycheproof - checking for overflow */
4042 {
4043         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4044                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4045                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4046                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4047         .b_public = (u8[32]){ 0x64, 0xae, 0xac, 0x25, 0x04, 0x14, 0x48, 0x61,
4048                     0x53, 0x2b, 0x7b, 0xbc, 0xb6, 0xc8, 0x7d, 0x67,
4049                     0xdd, 0x4c, 0x1f, 0x07, 0xeb, 0xc2, 0xe0, 0x6e,
4050                     0xff, 0xb9, 0x5a, 0xec, 0xc6, 0x17, 0x0b, 0x2c },
4051         .expected_ss = (u8[32]){ 0x4f, 0xf0, 0x3d, 0x5f, 0xb4, 0x3c, 0xd8, 0x65,
4052                     0x7a, 0x3c, 0xf3, 0x7c, 0x13, 0x8c, 0xad, 0xce,
4053                     0xcc, 0xe5, 0x09, 0xe4, 0xeb, 0xa0, 0x89, 0xd0,
4054                     0xef, 0x40, 0xb4, 0xe4, 0xfb, 0x94, 0x61, 0x55 },
4055         .secret_size = 32,
4056         .b_public_size = 32,
4057         .expected_ss_size = 32,
4058
4059 },
4060 /* wycheproof - checking for overflow */
4061 {
4062         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4063                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4064                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4065                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4066         .b_public = (u8[32]){ 0xbf, 0x68, 0xe3, 0x5e, 0x9b, 0xdb, 0x7e, 0xee,
4067                     0x1b, 0x50, 0x57, 0x02, 0x21, 0x86, 0x0f, 0x5d,
4068                     0xcd, 0xad, 0x8a, 0xcb, 0xab, 0x03, 0x1b, 0x14,
4069                     0x97, 0x4c, 0xc4, 0x90, 0x13, 0xc4, 0x98, 0x31 },
4070         .expected_ss = (u8[32]){ 0x21, 0xce, 0xe5, 0x2e, 0xfd, 0xbc, 0x81, 0x2e,
4071                     0x1d, 0x02, 0x1a, 0x4a, 0xf1, 0xe1, 0xd8, 0xbc,
4072                     0x4d, 0xb3, 0xc4, 0x00, 0xe4, 0xd2, 0xa2, 0xc5,
4073                     0x6a, 0x39, 0x26, 0xdb, 0x4d, 0x99, 0xc6, 0x5b },
4074         .secret_size = 32,
4075         .b_public_size = 32,
4076         .expected_ss_size = 32,
4077
4078 },
4079 /* wycheproof - checking for overflow */
4080 {
4081         .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
4082                      0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
4083                      0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
4084                      0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
4085         .b_public = (u8[32]){ 0x53, 0x47, 0xc4, 0x91, 0x33, 0x1a, 0x64, 0xb4,
4086                     0x3d, 0xdc, 0x68, 0x30, 0x34, 0xe6, 0x77, 0xf5,
4087                     0x3d, 0xc3, 0x2b, 0x52, 0xa5, 0x2a, 0x57, 0x7c,
4088                     0x15, 0xa8, 0x3b, 0xf2, 0x98, 0xe9, 0x9f, 0x19 },
4089         .expected_ss = (u8[32]){ 0x18, 0xcb, 0x89, 0xe4, 0xe2, 0x0c, 0x0c, 0x2b,
4090                     0xd3, 0x24, 0x30, 0x52, 0x45, 0x26, 0x6c, 0x93,
4091                     0x27, 0x69, 0x0b, 0xbe, 0x79, 0xac, 0xb8, 0x8f,
4092                     0x5b, 0x8f, 0xb3, 0xf7, 0x4e, 0xca, 0x3e, 0x52 },
4093         .secret_size = 32,
4094         .b_public_size = 32,
4095         .expected_ss_size = 32,
4096
4097 },
4098 /* wycheproof - private key == -1 (mod order) */
4099 {
4100         .secret = (u8[32]){ 0xa0, 0x23, 0xcd, 0xd0, 0x83, 0xef, 0x5b, 0xb8,
4101                      0x2f, 0x10, 0xd6, 0x2e, 0x59, 0xe1, 0x5a, 0x68,
4102                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4103                      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50 },
4104         .b_public = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
4105                     0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
4106                     0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
4107                     0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
4108         .expected_ss = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
4109                     0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
4110                     0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
4111                     0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
4112         .secret_size = 32,
4113         .b_public_size = 32,
4114         .expected_ss_size = 32,
4115
4116 },
4117 /* wycheproof - private key == 1 (mod order) on twist */
4118 {
4119         .secret = (u8[32]){ 0x58, 0x08, 0x3d, 0xd2, 0x61, 0xad, 0x91, 0xef,
4120                      0xf9, 0x52, 0x32, 0x2e, 0xc8, 0x24, 0xc6, 0x82,
4121                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
4122                      0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x5f },
4123         .b_public = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
4124                     0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
4125                     0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
4126                     0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
4127         .expected_ss = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
4128                     0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
4129                     0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
4130                     0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
4131         .secret_size = 32,
4132         .b_public_size = 32,
4133         .expected_ss_size = 32,
4134
4135 }
4136 };
4137
4138 static const struct kpp_testvec ecdh_p192_tv_template[] = {
4139         {
4140         .secret =
4141 #ifdef __LITTLE_ENDIAN
4142         "\x02\x00" /* type */
4143         "\x1e\x00" /* len */
4144         "\x18\x00" /* key_size */
4145 #else
4146         "\x00\x02" /* type */
4147         "\x00\x1e" /* len */
4148         "\x00\x18" /* key_size */
4149 #endif
4150         "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
4151         "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
4152         "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
4153         .b_public =
4154         "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
4155         "\x7a\x99\x75\x64\x36\x13\x9a\x94"
4156         "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
4157         "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
4158         "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
4159         "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
4160         .expected_a_public =
4161         "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
4162         "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
4163         "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
4164         "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
4165         "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
4166         "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
4167         .expected_ss =
4168         "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
4169         "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
4170         "\x99\x80\x81\x28\xaf\xc5\x51\x74",
4171         .secret_size = 30,
4172         .b_public_size = 48,
4173         .expected_a_public_size = 48,
4174         .expected_ss_size = 24
4175         }
4176 };
4177
4178 static const struct kpp_testvec ecdh_p256_tv_template[] = {
4179         {
4180         .secret =
4181 #ifdef __LITTLE_ENDIAN
4182         "\x02\x00" /* type */
4183         "\x26\x00" /* len */
4184         "\x20\x00" /* key_size */
4185 #else
4186         "\x00\x02" /* type */
4187         "\x00\x26" /* len */
4188         "\x00\x20" /* key_size */
4189 #endif
4190         "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
4191         "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
4192         "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
4193         "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
4194         .expected_a_public =
4195         "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
4196         "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
4197         "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
4198         "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
4199         "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
4200         "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
4201         "\x6a\x02\x6e\x41\x87\x68\x38\x77"
4202         "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
4203         .expected_ss =
4204         "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
4205         "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
4206         "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
4207         "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
4208         .b_public =
4209         "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
4210         "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
4211         "\x29\xb2\x47\x03\x19\xab\xdd\x34"
4212         "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
4213         "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
4214         "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
4215         "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
4216         "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
4217         .secret_size = 38,
4218         .b_public_size = 64,
4219         .expected_a_public_size = 64,
4220         .expected_ss_size = 32
4221         }, {
4222         .secret =
4223 #ifdef __LITTLE_ENDIAN
4224         "\x02\x00" /* type */
4225         "\x06\x00" /* len */
4226         "\x00\x00", /* key_size */
4227 #else
4228         "\x00\x02" /* type */
4229         "\x00\x06" /* len */
4230         "\x00\x00", /* key_size */
4231 #endif
4232         .b_secret =
4233 #ifdef __LITTLE_ENDIAN
4234         "\x02\x00" /* type */
4235         "\x26\x00" /* len */
4236         "\x20\x00" /* key_size */
4237 #else
4238         "\x00\x02" /* type */
4239         "\x00\x26" /* len */
4240         "\x00\x20" /* key_size */
4241 #endif
4242         "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
4243         "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
4244         "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
4245         "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
4246         .b_public =
4247         "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
4248         "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
4249         "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
4250         "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
4251         "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
4252         "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
4253         "\x6a\x02\x6e\x41\x87\x68\x38\x77"
4254         "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
4255         .secret_size = 6,
4256         .b_secret_size = 38,
4257         .b_public_size = 64,
4258         .expected_a_public_size = 64,
4259         .expected_ss_size = 32,
4260         .genkey = true,
4261         }
4262 };
4263
4264 /*
4265  * NIST P384 test vectors from RFC5903
4266  */
4267 static const struct kpp_testvec ecdh_p384_tv_template[] = {
4268         {
4269         .secret =
4270 #ifdef __LITTLE_ENDIAN
4271         "\x02\x00" /* type */
4272         "\x36\x00" /* len */
4273         "\x30\x00" /* key_size */
4274 #else
4275         "\x00\x02" /* type */
4276         "\x00\x36" /* len */
4277         "\x00\x30" /* key_size */
4278 #endif
4279         "\x09\x9F\x3C\x70\x34\xD4\xA2\xC6"
4280         "\x99\x88\x4D\x73\xA3\x75\xA6\x7F"
4281         "\x76\x24\xEF\x7C\x6B\x3C\x0F\x16"
4282         "\x06\x47\xB6\x74\x14\xDC\xE6\x55"
4283         "\xE3\x5B\x53\x80\x41\xE6\x49\xEE"
4284         "\x3F\xAE\xF8\x96\x78\x3A\xB1\x94",
4285         .b_public =
4286         "\xE5\x58\xDB\xEF\x53\xEE\xCD\xE3"
4287         "\xD3\xFC\xCF\xC1\xAE\xA0\x8A\x89"
4288         "\xA9\x87\x47\x5D\x12\xFD\x95\x0D"
4289         "\x83\xCF\xA4\x17\x32\xBC\x50\x9D"
4290         "\x0D\x1A\xC4\x3A\x03\x36\xDE\xF9"
4291         "\x6F\xDA\x41\xD0\x77\x4A\x35\x71"
4292         "\xDC\xFB\xEC\x7A\xAC\xF3\x19\x64"
4293         "\x72\x16\x9E\x83\x84\x30\x36\x7F"
4294         "\x66\xEE\xBE\x3C\x6E\x70\xC4\x16"
4295         "\xDD\x5F\x0C\x68\x75\x9D\xD1\xFF"
4296         "\xF8\x3F\xA4\x01\x42\x20\x9D\xFF"
4297         "\x5E\xAA\xD9\x6D\xB9\xE6\x38\x6C",
4298         .expected_a_public =
4299         "\x66\x78\x42\xD7\xD1\x80\xAC\x2C"
4300         "\xDE\x6F\x74\xF3\x75\x51\xF5\x57"
4301         "\x55\xC7\x64\x5C\x20\xEF\x73\xE3"
4302         "\x16\x34\xFE\x72\xB4\xC5\x5E\xE6"
4303         "\xDE\x3A\xC8\x08\xAC\xB4\xBD\xB4"
4304         "\xC8\x87\x32\xAE\xE9\x5F\x41\xAA"
4305         "\x94\x82\xED\x1F\xC0\xEE\xB9\xCA"
4306         "\xFC\x49\x84\x62\x5C\xCF\xC2\x3F"
4307         "\x65\x03\x21\x49\xE0\xE1\x44\xAD"
4308         "\xA0\x24\x18\x15\x35\xA0\xF3\x8E"
4309         "\xEB\x9F\xCF\xF3\xC2\xC9\x47\xDA"
4310         "\xE6\x9B\x4C\x63\x45\x73\xA8\x1C",
4311         .expected_ss =
4312         "\x11\x18\x73\x31\xC2\x79\x96\x2D"
4313         "\x93\xD6\x04\x24\x3F\xD5\x92\xCB"
4314         "\x9D\x0A\x92\x6F\x42\x2E\x47\x18"
4315         "\x75\x21\x28\x7E\x71\x56\xC5\xC4"
4316         "\xD6\x03\x13\x55\x69\xB9\xE9\xD0"
4317         "\x9C\xF5\xD4\xA2\x70\xF5\x97\x46",
4318         .secret_size = 54,
4319         .b_public_size = 96,
4320         .expected_a_public_size = 96,
4321         .expected_ss_size = 48
4322         }
4323 };
4324
4325 /*
4326  * MD4 test vectors from RFC1320
4327  */
4328 static const struct hash_testvec md4_tv_template[] = {
4329         {
4330                 .plaintext = "",
4331                 .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
4332                           "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
4333         }, {
4334                 .plaintext = "a",
4335                 .psize  = 1,
4336                 .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
4337                           "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
4338         }, {
4339                 .plaintext = "abc",
4340                 .psize  = 3,
4341                 .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
4342                           "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
4343         }, {
4344                 .plaintext = "message digest",
4345                 .psize  = 14,
4346                 .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
4347                         "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
4348         }, {
4349                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4350                 .psize  = 26,
4351                 .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
4352                           "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
4353         }, {
4354                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
4355                 .psize  = 62,
4356                 .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
4357                           "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
4358         }, {
4359                 .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
4360                            "45678901234567890",
4361                 .psize  = 80,
4362                 .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
4363                           "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
4364         },
4365 };
4366
4367 static const struct hash_testvec sha3_224_tv_template[] = {
4368         {
4369                 .plaintext = "",
4370                 .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
4371                                 "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
4372                                 "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
4373                                 "\x5b\x5a\x6b\xc7",
4374         }, {
4375                 .plaintext = "a",
4376                 .psize  = 1,
4377                 .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
4378                                 "\x40\x5f\x08\x12\x69\x68\x5b\x38"
4379                                 "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
4380                                 "\x48\x2b\x6a\x8b",
4381         }, {
4382                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4383                                 "jklmklmnlmnomnopnopq",
4384                 .psize  = 56,
4385                 .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
4386                                 "\xc9\xfd\x55\x74\x49\x44\x79\xba"
4387                                 "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
4388                                 "\xd0\xfc\xce\x33",
4389         }, {
4390                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4391                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4392                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4393                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4394                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4395                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4396                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4397                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4398                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4399                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4400                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4401                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4402                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4403                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4404                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4405                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4406                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4407                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4408                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4409                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4410                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4411                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4412                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4413                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4414                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4415                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4416                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4417                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4418                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4419                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4420                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4421                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4422                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4423                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4424                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4425                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4426                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4427                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4428                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4429                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4430                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4431                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4432                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4433                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4434                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4435                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4436                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4437                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4438                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4439                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4440                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4441                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4442                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4443                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4444                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4445                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4446                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4447                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4448                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4449                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4450                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4451                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4452                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4453                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4454                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4455                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4456                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4457                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4458                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4459                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4460                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4461                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4462                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4463                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4464                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4465                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4466                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4467                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4468                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4469                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4470                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4471                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4472                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4473                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4474                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4475                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4476                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4477                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4478                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4479                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4480                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4481                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4482                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4483                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4484                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4485                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4486                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4487                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4488                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4489                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4490                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4491                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4492                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4493                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4494                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4495                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4496                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4497                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4498                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4499                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4500                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4501                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4502                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4503                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4504                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4505                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4506                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4507                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4508                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4509                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4510                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4511                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4512                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4513                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4514                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4515                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4516                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4517                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4518                 .psize     = 1023,
4519                 .digest    = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
4520                              "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
4521                              "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
4522                              "\xb6\x79\x10\x72",
4523         },
4524 };
4525
4526 static const struct hash_testvec sha3_256_tv_template[] = {
4527         {
4528                 .plaintext = "",
4529                 .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
4530                                 "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
4531                                 "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
4532                                 "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
4533         }, {
4534                 .plaintext = "a",
4535                 .psize  = 1,
4536                 .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
4537                                 "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
4538                                 "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
4539                                 "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
4540         }, {
4541                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4542                              "jklmklmnlmnomnopnopq",
4543                 .psize  = 56,
4544                 .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
4545                                 "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
4546                                 "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
4547                                 "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
4548         }, {
4549                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4550                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4551                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4552                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4553                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4554                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4555                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4556                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4557                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4558                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4559                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4560                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4561                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4562                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4563                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4564                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4565                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4566                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4567                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4568                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4569                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4570                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4571                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4572                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4573                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4574                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4575                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4576                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4577                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4578                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4579                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4580                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4581                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4582                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4583                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4584                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4585                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4586                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4587                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4588                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4589                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4590                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4591                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4592                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4593                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4594                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4595                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4596                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4597                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4598                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4599                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4600                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4601                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4602                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4603                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4604                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4605                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4606                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4607                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4608                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4609                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4610                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4611                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4612                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4613                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4614                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4615                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4616                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4617                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4618                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4619                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4620                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4621                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4622                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4623                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4624                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4625                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4626                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4627                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4628                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4629                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4630                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4631                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4632                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4633                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4634                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4635                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4636                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4637                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4638                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4639                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4640                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4641                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4642                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4643                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4644                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4645                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4646                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4647                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4648                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4649                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4650                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4651                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4652                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4653                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4654                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4655                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4656                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4657                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4658                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4659                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4660                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4661                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4662                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4663                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4664                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4665                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4666                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4667                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4668                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4669                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4670                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4671                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4672                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4673                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4674                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4675                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4676                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4677                 .psize     = 1023,
4678                 .digest    = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
4679                              "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
4680                              "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
4681                              "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
4682         },
4683 };
4684
4685
4686 static const struct hash_testvec sha3_384_tv_template[] = {
4687         {
4688                 .plaintext = "",
4689                 .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
4690                                 "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
4691                                 "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
4692                                 "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
4693                                 "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
4694                                 "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
4695         }, {
4696                 .plaintext = "a",
4697                 .psize  = 1,
4698                 .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
4699                                 "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
4700                                 "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
4701                                 "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
4702                                 "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
4703                                 "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
4704         }, {
4705                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4706                              "jklmklmnlmnomnopnopq",
4707                 .psize  = 56,
4708                 .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
4709                                 "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
4710                                 "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
4711                                 "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
4712                                 "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
4713                                 "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
4714         }, {
4715                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4716                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4717                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4718                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4719                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4720                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4721                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4722                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4723                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4724                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4725                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4726                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4727                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4728                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4729                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4730                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4731                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4732                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4733                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4734                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4735                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4736                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4737                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4738                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4739                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4740                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4741                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4742                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4743                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4744                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4745                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4746                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4747                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4748                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4749                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4750                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4751                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4752                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4753                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4754                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4755                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4756                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4757                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4758                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4759                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4760                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4761                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4762                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4763                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4764                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4765                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4766                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4767                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4768                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4769                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4770                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4771                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4772                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4773                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4774                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4775                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4776                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4777                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4778                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4779                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4780                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4781                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4782                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4783                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4784                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4785                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4786                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4787                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4788                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4789                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4790                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4791                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4792                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4793                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4794                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4795                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4796                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4797                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4798                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4799                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4800                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4801                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4802                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4803                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4804                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4805                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4806                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4807                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4808                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4809                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4810                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4811                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4812                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4813                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4814                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4815                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4816                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4817                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4818                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4819                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4820                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4821                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4822                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4823                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4824                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4825                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4826                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4827                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4828                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4829                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4830                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4831                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4832                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4833                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4834                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4835                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4836                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4837                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4838                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4839                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4840                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4841                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4842                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4843                 .psize     = 1023,
4844                 .digest    = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
4845                              "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
4846                              "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
4847                              "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
4848                              "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
4849                              "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
4850         },
4851 };
4852
4853
4854 static const struct hash_testvec sha3_512_tv_template[] = {
4855         {
4856                 .plaintext = "",
4857                 .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
4858                                 "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
4859                                 "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
4860                                 "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
4861                                 "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
4862                                 "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
4863                                 "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
4864                                 "\x01\x75\x85\x86\x28\x1d\xcd\x26",
4865         }, {
4866                 .plaintext = "a",
4867                 .psize  = 1,
4868                 .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
4869                                 "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
4870                                 "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
4871                                 "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
4872                                 "\x3f\x4f\x93\xff\x24\x39\x35\x86"
4873                                 "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
4874                                 "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
4875                                 "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
4876         }, {
4877                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4878                              "jklmklmnlmnomnopnopq",
4879                 .psize  = 56,
4880                 .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
4881                                 "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
4882                                 "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
4883                                 "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
4884                                 "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
4885                                 "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
4886                                 "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
4887                                 "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
4888         }, {
4889                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4890                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4891                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4892                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4893                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4894                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4895                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4896                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4897                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4898                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4899                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4900                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4901                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4902                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4903                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4904                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4905                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4906                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4907                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4908                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4909                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4910                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4911                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4912                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4913                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4914                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4915                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4916                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4917                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4918                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4919                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4920                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4921                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4922                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4923                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4924                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4925                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4926                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4927                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4928                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4929                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4930                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4931                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4932                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4933                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4934                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4935                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4936                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4937                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4938                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4939                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4940                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4941                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4942                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4943                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4944                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4945                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4946                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4947                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4948                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4949                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4950                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4951                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4952                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4953                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4954                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4955                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4956                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4957                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4958                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4959                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4960                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4961                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4962                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4963                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4964                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4965                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4966                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4967                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4968                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4969                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4970                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4971                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4972                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4973                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4974                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4975                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4976                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4977                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4978                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4979                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4980                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4981                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4982                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4983                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4984                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4985                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4986                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4987                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4988                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4989                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4990                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4991                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4992                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4993                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4994                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4995                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4996                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4997                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4998                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4999                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5000                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5001                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5002                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5003                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5004                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5005                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5006                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5007                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5008                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5009                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5010                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5011                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5012                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5013                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5014                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5015                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5016                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5017                 .psize     = 1023,
5018                 .digest    = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
5019                              "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
5020                              "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
5021                              "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
5022                              "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
5023                              "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
5024                              "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
5025                              "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
5026         },
5027 };
5028
5029
5030 /*
5031  * MD5 test vectors from RFC1321
5032  */
5033 static const struct hash_testvec md5_tv_template[] = {
5034         {
5035                 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
5036                           "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
5037         }, {
5038                 .plaintext = "a",
5039                 .psize  = 1,
5040                 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
5041                           "\x31\xc3\x99\xe2\x69\x77\x26\x61",
5042         }, {
5043                 .plaintext = "abc",
5044                 .psize  = 3,
5045                 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
5046                           "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
5047         }, {
5048                 .plaintext = "message digest",
5049                 .psize  = 14,
5050                 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
5051                           "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
5052         }, {
5053                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5054                 .psize  = 26,
5055                 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
5056                           "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
5057         }, {
5058                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
5059                 .psize  = 62,
5060                 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
5061                           "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
5062         }, {
5063                 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
5064                            "345678901234567890",
5065                 .psize  = 80,
5066                 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
5067                           "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
5068         }
5069
5070 };
5071
5072 /*
5073  * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
5074  */
5075 static const struct hash_testvec rmd160_tv_template[] = {
5076         {
5077                 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
5078                           "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
5079         }, {
5080                 .plaintext = "a",
5081                 .psize  = 1,
5082                 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
5083                           "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
5084         }, {
5085                 .plaintext = "abc",
5086                 .psize  = 3,
5087                 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
5088                           "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
5089         }, {
5090                 .plaintext = "message digest",
5091                 .psize  = 14,
5092                 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
5093                           "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
5094         }, {
5095                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5096                 .psize  = 26,
5097                 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
5098                           "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
5099         }, {
5100                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
5101                              "fghijklmnopqrstuvwxyz0123456789",
5102                 .psize  = 62,
5103                 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
5104                           "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
5105         }, {
5106                 .plaintext = "1234567890123456789012345678901234567890"
5107                              "1234567890123456789012345678901234567890",
5108                 .psize  = 80,
5109                 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
5110                           "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
5111         }, {
5112                 .plaintext = "abcdbcdecdefdefgefghfghighij"
5113                              "hijkijkljklmklmnlmnomnopnopq",
5114                 .psize  = 56,
5115                 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
5116                           "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
5117         }, {
5118                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
5119                              "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
5120                              "lmnopqrsmnopqrstnopqrstu",
5121                 .psize  = 112,
5122                 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
5123                           "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
5124         }, {
5125                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
5126                 .psize  = 32,
5127                 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
5128                           "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
5129         }
5130 };
5131
5132 static const u8 zeroes[4096] = { [0 ... 4095] = 0 };
5133 static const u8 ones[4096] = { [0 ... 4095] = 0xff };
5134
5135 static const struct hash_testvec crc64_rocksoft_tv_template[] = {
5136         {
5137                 .plaintext      = zeroes,
5138                 .psize          = 4096,
5139                 .digest         = "\x4e\xb6\x22\xeb\x67\xd3\x82\x64",
5140         }, {
5141                 .plaintext      = ones,
5142                 .psize          = 4096,
5143                 .digest         = "\xac\xa3\xec\x02\x73\xba\xdd\xc0",
5144         }
5145 };
5146
5147 static const struct hash_testvec crct10dif_tv_template[] = {
5148         {
5149                 .plaintext      = "abc",
5150                 .psize          = 3,
5151                 .digest         = (u8 *)(u16 []){ 0x443b },
5152         }, {
5153                 .plaintext      = "1234567890123456789012345678901234567890"
5154                                   "123456789012345678901234567890123456789",
5155                 .psize          = 79,
5156                 .digest         = (u8 *)(u16 []){ 0x4b70 },
5157         }, {
5158                 .plaintext      = "abcdddddddddddddddddddddddddddddddddddddddd"
5159                                   "ddddddddddddd",
5160                 .psize          = 56,
5161                 .digest         = (u8 *)(u16 []){ 0x9ce3 },
5162         }, {
5163                 .plaintext      = "1234567890123456789012345678901234567890"
5164                                   "1234567890123456789012345678901234567890"
5165                                   "1234567890123456789012345678901234567890"
5166                                   "1234567890123456789012345678901234567890"
5167                                   "1234567890123456789012345678901234567890"
5168                                   "1234567890123456789012345678901234567890"
5169                                   "1234567890123456789012345678901234567890"
5170                                   "123456789012345678901234567890123456789",
5171                 .psize          = 319,
5172                 .digest         = (u8 *)(u16 []){ 0x44c6 },
5173         }, {
5174                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
5175                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
5176                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
5177                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
5178                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
5179                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
5180                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
5181                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
5182                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
5183                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
5184                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
5185                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
5186                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
5187                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
5188                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
5189                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
5190                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
5191                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
5192                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
5193                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
5194                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
5195                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
5196                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
5197                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
5198                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
5199                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
5200                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
5201                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
5202                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
5203                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
5204                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
5205                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
5206                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
5207                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
5208                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
5209                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
5210                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
5211                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
5212                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
5213                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
5214                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
5215                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
5216                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
5217                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
5218                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
5219                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
5220                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
5221                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
5222                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
5223                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
5224                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
5225                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
5226                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
5227                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
5228                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
5229                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
5230                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
5231                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
5232                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
5233                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
5234                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
5235                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
5236                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
5237                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
5238                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
5239                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
5240                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
5241                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
5242                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
5243                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
5244                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
5245                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
5246                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
5247                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
5248                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
5249                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
5250                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
5251                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
5252                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
5253                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
5254                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
5255                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
5256                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
5257                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
5258                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
5259                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
5260                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
5261                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
5262                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
5263                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
5264                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
5265                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
5266                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
5267                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
5268                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
5269                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
5270                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
5271                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
5272                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
5273                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
5274                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
5275                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
5276                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
5277                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
5278                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
5279                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
5280                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
5281                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
5282                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
5283                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
5284                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
5285                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
5286                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
5287                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
5288                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
5289                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
5290                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
5291                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
5292                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
5293                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
5294                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
5295                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
5296                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
5297                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
5298                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
5299                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
5300                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
5301                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
5302                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
5303                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
5304                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
5305                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
5306                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
5307                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
5308                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
5309                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
5310                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
5311                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
5312                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
5313                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
5314                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
5315                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
5316                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
5317                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
5318                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
5319                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
5320                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
5321                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
5322                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
5323                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
5324                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
5325                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
5326                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
5327                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
5328                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
5329                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
5330                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
5331                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
5332                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
5333                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
5334                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
5335                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
5336                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
5337                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
5338                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
5339                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
5340                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
5341                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
5342                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
5343                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
5344                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
5345                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
5346                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
5347                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
5348                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
5349                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
5350                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
5351                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
5352                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
5353                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
5354                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
5355                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
5356                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
5357                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
5358                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
5359                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
5360                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
5361                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
5362                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
5363                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
5364                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
5365                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
5366                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
5367                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
5368                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
5369                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
5370                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
5371                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
5372                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
5373                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
5374                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
5375                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
5376                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
5377                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
5378                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
5379                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
5380                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
5381                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
5382                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
5383                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
5384                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
5385                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
5386                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
5387                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
5388                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
5389                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
5390                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
5391                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
5392                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
5393                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
5394                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
5395                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
5396                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
5397                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
5398                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
5399                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
5400                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
5401                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
5402                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
5403                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
5404                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
5405                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
5406                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
5407                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
5408                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
5409                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
5410                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
5411                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
5412                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
5413                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
5414                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
5415                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
5416                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
5417                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
5418                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
5419                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
5420                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
5421                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
5422                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
5423                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
5424                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
5425                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
5426                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
5427                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
5428                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
5429                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
5430                 .psize = 2048,
5431                 .digest         = (u8 *)(u16 []){ 0x23ca },
5432         }
5433 };
5434
5435 /*
5436  * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
5437  */
5438 static const struct hash_testvec streebog256_tv_template[] = {
5439         { /* M1 */
5440                 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
5441                 .psize = 63,
5442                 .digest =
5443                         "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
5444                         "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
5445                         "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
5446                         "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
5447         },
5448         { /* M2 */
5449                 .plaintext =
5450                         "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
5451                         "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
5452                         "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
5453                         "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
5454                         "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
5455                         "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
5456                         "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
5457                         "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
5458                         "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
5459                 .psize = 72,
5460                 .digest =
5461                         "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
5462                         "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
5463                         "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
5464                         "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
5465         },
5466 };
5467
5468 static const struct hash_testvec streebog512_tv_template[] = {
5469         { /* M1 */
5470                 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
5471                 .psize = 63,
5472                 .digest =
5473                         "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
5474                         "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
5475                         "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
5476                         "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
5477                         "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
5478                         "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
5479                         "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
5480                         "\x41\x79\x78\x91\xc1\x64\x6f\x48",
5481         },
5482         { /* M2 */
5483                 .plaintext =
5484                         "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
5485                         "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
5486                         "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
5487                         "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
5488                         "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
5489                         "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
5490                         "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
5491                         "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
5492                         "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
5493                 .psize = 72,
5494                 .digest =
5495                         "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
5496                         "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
5497                         "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
5498                         "\x53\x00\xee\xe4\x6d\x96\x13\x76"
5499                         "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
5500                         "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
5501                         "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
5502                         "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
5503         },
5504 };
5505
5506 /*
5507  * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
5508  */
5509 static const struct hash_testvec hmac_streebog256_tv_template[] = {
5510         {
5511                 .key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
5512                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
5513                         "\x10\x11\x12\x13\x14\x15\x16\x17"
5514                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
5515                 .ksize  = 32,
5516                 .plaintext =
5517                         "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
5518                         "\x43\x41\x45\x65\x63\x78\x01\x00",
5519                 .psize  = 16,
5520                 .digest =
5521                         "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
5522                         "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
5523                         "\x01\x31\x37\x01\x0a\x83\x75\x4f"
5524                         "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
5525         },
5526 };
5527
5528 static const struct hash_testvec hmac_streebog512_tv_template[] = {
5529         {
5530                 .key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
5531                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
5532                         "\x10\x11\x12\x13\x14\x15\x16\x17"
5533                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
5534                 .ksize  = 32,
5535                 .plaintext =
5536                         "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
5537                         "\x43\x41\x45\x65\x63\x78\x01\x00",
5538                 .psize  = 16,
5539                 .digest =
5540                         "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
5541                         "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
5542                         "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
5543                         "\x90\x55\x00\xe1\x71\x92\x3a\x77"
5544                         "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
5545                         "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
5546                         "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
5547                         "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
5548         },
5549 };
5550
5551 /*
5552  * SM2 test vectors.
5553  */
5554 static const struct akcipher_testvec sm2_tv_template[] = {
5555         { /* Generated from openssl */
5556         .key =
5557         "\x04"
5558         "\x8e\xa0\x33\x69\x91\x7e\x3d\xec\xad\x8e\xf0\x45\x5e\x13\x3e\x68"
5559         "\x5b\x8c\xab\x5c\xc6\xc8\x50\xdf\x91\x00\xe0\x24\x73\x4d\x31\xf2"
5560         "\x2e\xc0\xd5\x6b\xee\xda\x98\x93\xec\xd8\x36\xaa\xb9\xcf\x63\x82"
5561         "\xef\xa7\x1a\x03\xed\x16\xba\x74\xb8\x8b\xf9\xe5\x70\x39\xa4\x70",
5562         .key_len = 65,
5563         .param_len = 0,
5564         .c =
5565         "\x30\x45"
5566         "\x02\x20"
5567         "\x70\xab\xb6\x7d\xd6\x54\x80\x64\x42\x7e\x2d\x05\x08\x36\xc9\x96"
5568         "\x25\xc2\xbb\xff\x08\xe5\x43\x15\x5e\xf3\x06\xd9\x2b\x2f\x0a\x9f"
5569         "\x02\x21"
5570         "\x00"
5571         "\xbf\x21\x5f\x7e\x5d\x3f\x1a\x4d\x8f\x84\xc2\xe9\xa6\x4c\xa4\x18"
5572         "\xb2\xb8\x46\xf4\x32\x96\xfa\x57\xc6\x29\xd4\x89\xae\xcc\xda\xdb",
5573         .c_size = 71,
5574         .algo = OID_SM2_with_SM3,
5575         .m =
5576         "\x47\xa7\xbf\xd3\xda\xc4\x79\xee\xda\x8b\x4f\xe8\x40\x94\xd4\x32"
5577         "\x8f\xf1\xcd\x68\x4d\xbd\x9b\x1d\xe0\xd8\x9a\x5d\xad\x85\x47\x5c",
5578         .m_size = 32,
5579         .public_key_vec = true,
5580         .siggen_sigver_test = true,
5581         },
5582         { /* From libgcrypt */
5583         .key =
5584         "\x04"
5585         "\x87\x59\x38\x9a\x34\xaa\xad\x07\xec\xf4\xe0\xc8\xc2\x65\x0a\x44"
5586         "\x59\xc8\xd9\x26\xee\x23\x78\x32\x4e\x02\x61\xc5\x25\x38\xcb\x47"
5587         "\x75\x28\x10\x6b\x1e\x0b\x7c\x8d\xd5\xff\x29\xa9\xc8\x6a\x89\x06"
5588         "\x56\x56\xeb\x33\x15\x4b\xc0\x55\x60\x91\xef\x8a\xc9\xd1\x7d\x78",
5589         .key_len = 65,
5590         .param_len = 0,
5591         .c =
5592         "\x30\x44"
5593         "\x02\x20"
5594         "\xd9\xec\xef\xe8\x5f\xee\x3c\x59\x57\x8e\x5b\xab\xb3\x02\xe1\x42"
5595         "\x4b\x67\x2c\x0b\x26\xb6\x51\x2c\x3e\xfc\xc6\x49\xec\xfe\x89\xe5"
5596         "\x02\x20"
5597         "\x43\x45\xd0\xa5\xff\xe5\x13\x27\x26\xd0\xec\x37\xad\x24\x1e\x9a"
5598         "\x71\x9a\xa4\x89\xb0\x7e\x0f\xc4\xbb\x2d\x50\xd0\xe5\x7f\x7a\x68",
5599         .c_size = 70,
5600         .algo = OID_SM2_with_SM3,
5601         .m =
5602         "\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\x00"
5603         "\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12\x34\x56\x78\x9a\xbc\xde\xf0",
5604         .m_size = 32,
5605         .public_key_vec = true,
5606         .siggen_sigver_test = true,
5607         },
5608 };
5609
5610 /* Example vectors below taken from
5611  * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
5612  *
5613  * The rest taken from
5614  * https://github.com/adamws/oscca-sm3
5615  */
5616 static const struct hash_testvec sm3_tv_template[] = {
5617         {
5618                 .plaintext = "",
5619                 .psize = 0,
5620                 .digest = (u8 *)(u8 []) {
5621                         0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
5622                         0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
5623                         0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
5624                         0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
5625         }, {
5626                 .plaintext = "a",
5627                 .psize = 1,
5628                 .digest = (u8 *)(u8 []) {
5629                         0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
5630                         0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
5631                         0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
5632                         0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
5633         }, {
5634                 /* A.1. Example 1 */
5635                 .plaintext = "abc",
5636                 .psize = 3,
5637                 .digest = (u8 *)(u8 []) {
5638                         0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
5639                         0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
5640                         0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
5641                         0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
5642         }, {
5643                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5644                 .psize = 26,
5645                 .digest = (u8 *)(u8 []) {
5646                         0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
5647                         0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
5648                         0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
5649                         0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
5650         }, {
5651                 /* A.1. Example 2 */
5652                 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
5653                              "cdabcdabcdabcdabcd",
5654                 .psize = 64,
5655                 .digest = (u8 *)(u8 []) {
5656                         0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
5657                         0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
5658                         0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
5659                         0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
5660         }, {
5661                 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5662                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5663                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5664                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5665                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5666                              "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
5667                              "abcdabcdabcdabcdabcdabcdabcdabcd",
5668                 .psize = 256,
5669                 .digest = (u8 *)(u8 []) {
5670                         0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
5671                         0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
5672                         0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
5673                         0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
5674         }
5675 };
5676
5677 /* Example vectors below taken from
5678  * GM/T 0042-2015 Appendix D.3
5679  */
5680 static const struct hash_testvec hmac_sm3_tv_template[] = {
5681         {
5682                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5683                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5684                           "\x11\x12\x13\x14\x15\x16\x17\x18"
5685                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
5686                 .ksize  = 32,
5687                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
5688                              "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5689                 .psize  = 112,
5690                 .digest = "\xca\x05\xe1\x44\xed\x05\xd1\x85"
5691                           "\x78\x40\xd1\xf3\x18\xa4\xa8\x66"
5692                           "\x9e\x55\x9f\xc8\x39\x1f\x41\x44"
5693                           "\x85\xbf\xdf\x7b\xb4\x08\x96\x3a",
5694         }, {
5695                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
5696                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
5697                           "\x11\x12\x13\x14\x15\x16\x17\x18"
5698                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
5699                           "\x21\x22\x23\x24\x25",
5700                 .ksize  = 37,
5701                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5702                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5703                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5704                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
5705                 .psize  = 50,
5706                 .digest = "\x22\x0b\xf5\x79\xde\xd5\x55\x39"
5707                           "\x3f\x01\x59\xf6\x6c\x99\x87\x78"
5708                           "\x22\xa3\xec\xf6\x10\xd1\x55\x21"
5709                           "\x54\xb4\x1d\x44\xb9\x4d\xb3\xae",
5710         }, {
5711                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5712                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5713                          "\x0b\x0b\x0b\x0b\x0b\x0b",
5714                 .ksize  = 32,
5715                 .plaintext = "Hi There",
5716                 .psize  = 8,
5717                 .digest = "\xc0\xba\x18\xc6\x8b\x90\xc8\x8b"
5718                           "\xc0\x7d\xe7\x94\xbf\xc7\xd2\xc8"
5719                           "\xd1\x9e\xc3\x1e\xd8\x77\x3b\xc2"
5720                           "\xb3\x90\xc9\x60\x4e\x0b\xe1\x1e",
5721         }, {
5722                 .key    = "Jefe",
5723                 .ksize  = 4,
5724                 .plaintext = "what do ya want for nothing?",
5725                 .psize  = 28,
5726                 .digest = "\x2e\x87\xf1\xd1\x68\x62\xe6\xd9"
5727                           "\x64\xb5\x0a\x52\x00\xbf\x2b\x10"
5728                           "\xb7\x64\xfa\xa9\x68\x0a\x29\x6a"
5729                           "\x24\x05\xf2\x4b\xec\x39\xf8\x82",
5730         },
5731 };
5732
5733 /*
5734  * SHA1 test vectors from FIPS PUB 180-1
5735  * Long vector from CAVS 5.0
5736  */
5737 static const struct hash_testvec sha1_tv_template[] = {
5738         {
5739                 .plaintext = "",
5740                 .psize  = 0,
5741                 .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
5742                           "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
5743         }, {
5744                 .plaintext = "abc",
5745                 .psize  = 3,
5746                 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
5747                           "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
5748         }, {
5749                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5750                 .psize  = 56,
5751                 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
5752                           "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
5753         }, {
5754                 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
5755                              "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
5756                              "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
5757                              "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
5758                              "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
5759                              "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
5760                              "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
5761                              "\x72\x28\x26\xc0\x66\x86\x9e\xda"
5762                              "\xcd\x73\xb2\x54\x80\x35\x18\x58"
5763                              "\x13\xe2\x26\x34\xa9\xda\x44\x00"
5764                              "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
5765                              "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
5766                              "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
5767                              "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
5768                              "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
5769                              "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
5770                              "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
5771                              "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
5772                              "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
5773                              "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
5774                              "\x5a\x90\x11",
5775                 .psize  = 163,
5776                 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
5777                           "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
5778         }, {
5779                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5780                 .psize  = 64,
5781                 .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
5782                           "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
5783         }, {
5784                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5785                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5786                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5787                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5788                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5789                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5790                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5791                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5792                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5793                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5794                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5795                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5796                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5797                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5798                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5799                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5800                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5801                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5802                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5803                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5804                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5805                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5806                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5807                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5808                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5809                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5810                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5811                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5812                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5813                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5814                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5815                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5816                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5817                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5818                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5819                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5820                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5821                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5822                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5823                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5824                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5825                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5826                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5827                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5828                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5829                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5830                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5831                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5832                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5833                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5834                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5835                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5836                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5837                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5838                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5839                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5840                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5841                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5842                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5843                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5844                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5845                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5846                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5847                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5848                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5849                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5850                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5851                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5852                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5853                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5854                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5855                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5856                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5857                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5858                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5859                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5860                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5861                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5862                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5863                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5864                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5865                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5866                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5867                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5868                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5869                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5870                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5871                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5872                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5873                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5874                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5875                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5876                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5877                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5878                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5879                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5880                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5881                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5882                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5883                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5884                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5885                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5886                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5887                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5888                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5889                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5890                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5891                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5892                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5893                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5894                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5895                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5896                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5897                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5898                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5899                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5900                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5901                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5902                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5903                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5904                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5905                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5906                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5907                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5908                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5909                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5910                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5911                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5912                 .psize     = 1023,
5913                 .digest    = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
5914                              "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
5915                              "\x30\xd6\xc9\x85",
5916         }
5917 };
5918
5919
5920 /*
5921  * SHA224 test vectors from FIPS PUB 180-2
5922  */
5923 static const struct hash_testvec sha224_tv_template[] = {
5924         {
5925                 .plaintext = "",
5926                 .psize  = 0,
5927                 .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
5928                           "\x47\x61\x02\xbb\x28\x82\x34\xc4"
5929                           "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
5930                           "\xc5\xb3\xe4\x2f",
5931         }, {
5932                 .plaintext = "abc",
5933                 .psize  = 3,
5934                 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
5935                           "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
5936                           "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
5937                           "\xE3\x6C\x9D\xA7",
5938         }, {
5939                 .plaintext =
5940                 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5941                 .psize  = 56,
5942                 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
5943                           "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
5944                           "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
5945                           "\x52\x52\x25\x25",
5946         }, {
5947                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5948                 .psize  = 64,
5949                 .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
5950                           "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
5951                           "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
5952                           "\xef\x3b\xcb\x0e",
5953         }, {
5954                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5955                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5956                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5957                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5958                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5959                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5960                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5961                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5962                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5963                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5964                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5965                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5966                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5967                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5968                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5969                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5970                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5971                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5972                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5973                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5974                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5975                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5976                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5977                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5978                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5979                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5980                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5981                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5982                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5983                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5984                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5985                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5986                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5987                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5988                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5989                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5990                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5991                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5992                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5993                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5994                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5995                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5996                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5997                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5998                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5999                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6000                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6001                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6002                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6003                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6004                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6005                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6006                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6007                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6008                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6009                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6010                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6011                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6012                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6013                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6014                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6015                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6016                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6017                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6018                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6019                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6020                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6021                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6022                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6023                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6024                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6025                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6026                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6027                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6028                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6029                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6030                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6031                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6032                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6033                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6034                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6035                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6036                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6037                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6038                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6039                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6040                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6041                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6042                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6043                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6044                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6045                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6046                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6047                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6048                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6049                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6050                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6051                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6052                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6053                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6054                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6055                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6056                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6057                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6058                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6059                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6060                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6061                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6062                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6063                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6064                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6065                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6066                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6067                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6068                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6069                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6070                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6071                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6072                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6073                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6074                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6075                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6076                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6077                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6078                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6079                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6080                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6081                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6082                 .psize     = 1023,
6083                 .digest    = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
6084                              "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
6085                              "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
6086                              "\xe6\xf9\x4f\xcc",
6087         }
6088 };
6089
6090 /*
6091  * SHA256 test vectors from NIST
6092  */
6093 static const struct hash_testvec sha256_tv_template[] = {
6094         {
6095                 .plaintext = "",
6096                 .psize  = 0,
6097                 .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
6098                           "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
6099                           "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
6100                           "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
6101         }, {
6102                 .plaintext = "abc",
6103                 .psize  = 3,
6104                 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
6105                           "\x41\x41\x40\xde\x5d\xae\x22\x23"
6106                           "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
6107                           "\xb4\x10\xff\x61\xf2\x00\x15\xad",
6108         }, {
6109                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6110                 .psize  = 56,
6111                 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
6112                           "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
6113                           "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
6114                           "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
6115         }, {
6116                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
6117                 .psize  = 64,
6118                 .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
6119                           "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
6120                           "\xd6\xff\x94\xa3\x72\x91\x85\x66"
6121                           "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
6122         }, {
6123                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6124                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6125                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6126                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6127                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6128                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6129                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6130                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6131                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6132                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6133                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6134                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6135                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6136                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6137                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6138                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6139                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6140                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6141                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6142                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6143                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6144                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6145                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6146                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6147                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6148                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6149                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6150                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6151                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6152                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6153                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6154                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6155                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6156                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6157                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6158                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6159                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6160                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6161                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6162                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6163                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6164                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6165                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6166                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6167                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
6168                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6169                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6170                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6171                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6172                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6173                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6174                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6175                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6176                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6177                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6178                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6179                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6180                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6181                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6182                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6183                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6184                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6185                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6186                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6187                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6188                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6189                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6190                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6191                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6192                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6193                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6194                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6195                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6196                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6197                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6198                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6199                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6200                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6201                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6202                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6203                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6204                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6205                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6206                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6207                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6208                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6209                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6210                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6211                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6212                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6213                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6214                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6215                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6216                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6217                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6218                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6219                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6220                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6221                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6222                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6223                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6224                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6225                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6226                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6227                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6228                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6229                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6230                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6231                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6232                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6233                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6234                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6235                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6236                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6237                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6238                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6239                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6240                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6241                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6242                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6243                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6244                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6245                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6246                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6247                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6248                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6249                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6250                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6251                 .psize     = 1023,
6252                 .digest    = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
6253                              "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
6254                              "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
6255                              "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
6256         }
6257 };
6258
6259 /*
6260  * SHA384 test vectors from NIST and kerneli
6261  */
6262 static const struct hash_testvec sha384_tv_template[] = {
6263         {
6264                 .plaintext = "",
6265                 .psize  = 0,
6266                 .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
6267                           "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
6268                           "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
6269                           "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
6270                           "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
6271                           "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
6272         }, {
6273                 .plaintext= "abc",
6274                 .psize  = 3,
6275                 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
6276                           "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
6277                           "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
6278                           "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
6279                           "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
6280                           "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
6281         }, {
6282                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6283                 .psize  = 56,
6284                 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
6285                           "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
6286                           "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
6287                           "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
6288                           "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
6289                           "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
6290         }, {
6291                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
6292                            "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
6293                 .psize  = 112,
6294                 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
6295                           "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
6296                           "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
6297                           "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
6298                           "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
6299                           "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
6300         }, {
6301                 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
6302                            "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
6303                 .psize  = 104,
6304                 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
6305                           "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
6306                           "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
6307                           "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
6308                           "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
6309                           "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
6310         }, {
6311                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6312                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6313                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6314                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6315                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6316                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6317                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6318                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6319                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6320                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6321                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6322                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6323                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6324                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6325                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6326                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6327                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6328                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6329                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6330                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6331                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6332                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6333                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6334                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6335                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6336                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6337                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6338                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6339                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6340                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6341                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6342                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6343                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6344                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6345                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6346                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6347                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6348                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6349                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6350                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6351                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6352                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6353                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6354                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6355                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
6356                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6357                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6358                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6359                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6360                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6361                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6362                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6363                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6364                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6365                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6366                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6367                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6368                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6369                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6370                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6371                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6372                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6373                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6374                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6375                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6376                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6377                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6378                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6379                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6380                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6381                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6382                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6383                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6384                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6385                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6386                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6387                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6388                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6389                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6390                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6391                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6392                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6393                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6394                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6395                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6396                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6397                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6398                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6399                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6400                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6401                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6402                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6403                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6404                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6405                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6406                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6407                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6408                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6409                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6410                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6411                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6412                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6413                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6414                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6415                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6416                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6417                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6418                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6419                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6420                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6421                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6422                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6423                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6424                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6425                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6426                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6427                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6428                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6429                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6430                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6431                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6432                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6433                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6434                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6435                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6436                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6437                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6438                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6439                 .psize     = 1023,
6440                 .digest    = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
6441                              "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
6442                              "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
6443                              "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
6444                              "\x75\x29\x62\x83\xae\x3f\x17\xab"
6445                              "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
6446         }
6447 };
6448
6449 /*
6450  * SHA512 test vectors from NIST and kerneli
6451  */
6452 static const struct hash_testvec sha512_tv_template[] = {
6453         {
6454                 .plaintext = "",
6455                 .psize  = 0,
6456                 .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
6457                           "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
6458                           "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
6459                           "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
6460                           "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
6461                           "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
6462                           "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
6463                           "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
6464         }, {
6465                 .plaintext = "abc",
6466                 .psize  = 3,
6467                 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
6468                           "\xcc\x41\x73\x49\xae\x20\x41\x31"
6469                           "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
6470                           "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
6471                           "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
6472                           "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
6473                           "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
6474                           "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
6475         }, {
6476                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6477                 .psize  = 56,
6478                 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
6479                           "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
6480                           "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
6481                           "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
6482                           "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
6483                           "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
6484                           "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
6485                           "\x54\xec\x63\x12\x38\xca\x34\x45",
6486         }, {
6487                 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
6488                            "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
6489                 .psize  = 112,
6490                 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
6491                           "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
6492                           "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
6493                           "\x72\x99\xae\xad\xb6\x88\x90\x18"
6494                           "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
6495                           "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
6496                           "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
6497                           "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
6498         }, {
6499                 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
6500                            "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
6501                 .psize  = 104,
6502                 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
6503                           "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
6504                           "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
6505                           "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
6506                           "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
6507                           "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
6508                           "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
6509                           "\xed\xb4\x19\x87\x23\x28\x50\xc9",
6510         }, {
6511                 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
6512                              "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
6513                              "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
6514                              "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
6515                              "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
6516                              "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
6517                              "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
6518                              "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
6519                              "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
6520                              "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
6521                              "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
6522                              "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
6523                              "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
6524                              "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
6525                              "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
6526                              "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
6527                              "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
6528                              "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
6529                              "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
6530                              "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
6531                              "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
6532                              "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
6533                              "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
6534                              "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
6535                              "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
6536                              "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
6537                              "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
6538                              "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
6539                              "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
6540                              "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
6541                              "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
6542                              "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
6543                              "\x53\xea\x81\x18\x8c\x23\xba\x2e"
6544                              "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
6545                              "\x37\xce\x42\xd9\x70\x07\x7b\x12"
6546                              "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
6547                              "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
6548                              "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
6549                              "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
6550                              "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
6551                              "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
6552                              "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
6553                              "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
6554                              "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
6555                              "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
6556                              "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
6557                              "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
6558                              "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
6559                              "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
6560                              "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
6561                              "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
6562                              "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
6563                              "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
6564                              "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
6565                              "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
6566                              "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
6567                              "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
6568                              "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
6569                              "\x38\xcf\x43\xda\x71\x08\x7c\x13"
6570                              "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
6571                              "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
6572                              "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
6573                              "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
6574                              "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
6575                              "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
6576                              "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
6577                              "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
6578                              "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
6579                              "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
6580                              "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
6581                              "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
6582                              "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
6583                              "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
6584                              "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
6585                              "\xef\x63\xfa\x91\x05\x9c\x33\xca"
6586                              "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
6587                              "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
6588                              "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
6589                              "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
6590                              "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
6591                              "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
6592                              "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
6593                              "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
6594                              "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
6595                              "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
6596                              "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
6597                              "\xde\x75\x0c\x80\x17\xae\x22\xb9"
6598                              "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
6599                              "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
6600                              "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
6601                              "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
6602                              "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
6603                              "\x67\xfe\x72\x09\xa0\x14\xab\x42"
6604                              "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
6605                              "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
6606                              "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
6607                              "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
6608                              "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
6609                              "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
6610                              "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
6611                              "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
6612                              "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
6613                              "\x95\x09\xa0\x37\xce\x42\xd9\x70"
6614                              "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
6615                              "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
6616                              "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
6617                              "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
6618                              "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
6619                              "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
6620                              "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
6621                              "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
6622                              "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
6623                              "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
6624                              "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
6625                              "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
6626                              "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
6627                              "\x68\xff\x73\x0a\xa1\x15\xac\x43"
6628                              "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
6629                              "\x29\xc0\x57\xee\x62\xf9\x90\x04"
6630                              "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
6631                              "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
6632                              "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
6633                              "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
6634                              "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
6635                              "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
6636                              "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
6637                              "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
6638                              "\x08\x7c\x13\xaa\x1e\xb5\x4c",
6639                 .psize     = 1023,
6640                 .digest    = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
6641                              "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
6642                              "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
6643                              "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
6644                              "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
6645                              "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
6646                              "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
6647                              "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
6648         }
6649 };
6650
6651
6652 /*
6653  * WHIRLPOOL test vectors from Whirlpool package
6654  * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
6655  * submission
6656  */
6657 static const struct hash_testvec wp512_tv_template[] = {
6658         {
6659                 .plaintext = "",
6660                 .psize  = 0,
6661                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
6662                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
6663                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
6664                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
6665                           "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
6666                           "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
6667                           "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
6668                           "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
6669
6670
6671         }, {
6672                 .plaintext = "a",
6673                 .psize  = 1,
6674                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6675                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6676                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6677                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
6678                           "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
6679                           "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
6680                           "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
6681                           "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
6682         }, {
6683                 .plaintext = "abc",
6684                 .psize  = 3,
6685                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6686                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6687                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6688                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
6689                           "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
6690                           "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
6691                           "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
6692                           "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
6693         }, {
6694                 .plaintext = "message digest",
6695                 .psize  = 14,
6696                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6697                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6698                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6699                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
6700                           "\x84\x21\x55\x76\x59\xEF\x55\xC1"
6701                           "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
6702                           "\x92\xED\x92\x00\x52\x83\x8F\x33"
6703                           "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
6704         }, {
6705                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6706                 .psize  = 26,
6707                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6708                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6709                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6710                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
6711                           "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
6712                           "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
6713                           "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
6714                           "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
6715         }, {
6716                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6717                            "abcdefghijklmnopqrstuvwxyz0123456789",
6718                 .psize  = 62,
6719                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6720                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6721                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6722                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
6723                           "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
6724                           "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
6725                           "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
6726                           "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
6727         }, {
6728                 .plaintext = "1234567890123456789012345678901234567890"
6729                            "1234567890123456789012345678901234567890",
6730                 .psize  = 80,
6731                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6732                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6733                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6734                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
6735                           "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
6736                           "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
6737                           "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
6738                           "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
6739         }, {
6740                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6741                 .psize  = 32,
6742                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6743                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6744                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6745                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
6746                           "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
6747                           "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
6748                           "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
6749                           "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
6750         },
6751 };
6752
6753 static const struct hash_testvec wp384_tv_template[] = {
6754         {
6755                 .plaintext = "",
6756                 .psize  = 0,
6757                 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
6758                           "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
6759                           "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
6760                           "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
6761                           "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
6762                           "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
6763
6764
6765         }, {
6766                 .plaintext = "a",
6767                 .psize  = 1,
6768                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6769                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6770                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6771                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
6772                           "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
6773                           "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
6774         }, {
6775                 .plaintext = "abc",
6776                 .psize  = 3,
6777                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6778                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6779                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6780                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
6781                           "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
6782                           "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
6783         }, {
6784                 .plaintext = "message digest",
6785                 .psize  = 14,
6786                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6787                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6788                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6789                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
6790                           "\x84\x21\x55\x76\x59\xEF\x55\xC1"
6791                           "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
6792         }, {
6793                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6794                 .psize  = 26,
6795                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6796                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6797                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6798                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
6799                           "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
6800                           "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
6801         }, {
6802                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6803                            "abcdefghijklmnopqrstuvwxyz0123456789",
6804                 .psize  = 62,
6805                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6806                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6807                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6808                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
6809                           "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
6810                           "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
6811         }, {
6812                 .plaintext = "1234567890123456789012345678901234567890"
6813                            "1234567890123456789012345678901234567890",
6814                 .psize  = 80,
6815                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6816                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6817                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6818                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
6819                           "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
6820                           "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
6821         }, {
6822                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6823                 .psize  = 32,
6824                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6825                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6826                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6827                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
6828                           "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
6829                           "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
6830         },
6831 };
6832
6833 static const struct hash_testvec wp256_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
6842
6843         }, {
6844                 .plaintext = "a",
6845                 .psize  = 1,
6846                 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6847                           "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6848                           "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6849                           "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
6850         }, {
6851                 .plaintext = "abc",
6852                 .psize  = 3,
6853                 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6854                           "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6855                           "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6856                           "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
6857         }, {
6858                 .plaintext = "message digest",
6859                 .psize  = 14,
6860                 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6861                           "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6862                           "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6863                           "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
6864         }, {
6865                 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6866                 .psize  = 26,
6867                 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6868                           "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6869                           "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6870                           "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
6871         }, {
6872                 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6873                            "abcdefghijklmnopqrstuvwxyz0123456789",
6874                 .psize  = 62,
6875                 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6876                           "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6877                           "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6878                           "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
6879         }, {
6880                 .plaintext = "1234567890123456789012345678901234567890"
6881                            "1234567890123456789012345678901234567890",
6882                 .psize  = 80,
6883                 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6884                           "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6885                           "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6886                           "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
6887         }, {
6888                 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6889                 .psize  = 32,
6890                 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6891                           "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6892                           "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6893                           "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
6894         },
6895 };
6896
6897 static const struct hash_testvec ghash_tv_template[] =
6898 {
6899         {
6900                 .key    = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
6901                           "\xff\xca\xff\x95\xf8\x30\xf0\x61",
6902                 .ksize  = 16,
6903                 .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
6904                              "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
6905                 .psize  = 16,
6906                 .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
6907                           "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
6908         }, {
6909                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6910                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
6911                 .ksize  = 16,
6912                 .plaintext = "what do ya want for nothing?",
6913                 .psize  = 28,
6914                 .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
6915                           "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
6916         }, {
6917                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6918                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6919                 .ksize  = 16,
6920                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6921                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6922                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6923                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6924                 .psize  = 50,
6925                 .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
6926                           "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
6927         }, {
6928                 .key    = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
6929                           "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
6930                 .ksize  = 16,
6931                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6932                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6933                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6934                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6935                 .psize  = 50,
6936                 .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
6937                           "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
6938         }, {
6939                 .key    = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
6940                           "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
6941                 .ksize  = 16,
6942                 .plaintext = "Test With Truncation",
6943                 .psize  = 20,
6944                 .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
6945                           "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
6946         }, {
6947                 .key    = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
6948                         "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
6949                 .ksize  = 16,
6950                 .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
6951                         "\x65\x72\x20\x4c\x61\x75\x73\x63"
6952                         "\x68\x65\x6e\x20\x75\x6e\x64\x20"
6953                         "\x53\x74\x61\x75\x6e\x65\x6e\x20"
6954                         "\x73\x65\x69\x20\x73\x74\x69\x6c"
6955                         "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
6956                         "\x69\x6e\x20\x74\x69\x65\x66\x74"
6957                         "\x69\x65\x66\x65\x73\x20\x4c\x65"
6958                         "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
6959                         "\x73\x20\x64\x75\x20\x77\x65\x69"
6960                         "\xc3\x9f\x74\x20\x77\x61\x73\x20"
6961                         "\x64\x65\x72\x20\x57\x69\x6e\x64"
6962                         "\x20\x64\x69\x72\x20\x77\x69\x6c"
6963                         "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
6964                         "\x63\x68\x20\x64\x69\x65\x20\x42"
6965                         "\x69\x72\x6b\x65\x6e\x20\x62\x65"
6966                         "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
6967                         "\x64\x20\x77\x65\x6e\x6e\x20\x64"
6968                         "\x69\x72\x20\x65\x69\x6e\x6d\x61"
6969                         "\x6c\x20\x64\x61\x73\x20\x53\x63"
6970                         "\x68\x77\x65\x69\x67\x65\x6e\x20"
6971                         "\x73\x70\x72\x61\x63\x68\x2c\x0a"
6972                         "\x6c\x61\x73\x73\x20\x64\x65\x69"
6973                         "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
6974                         "\x20\x62\x65\x73\x69\x65\x67\x65"
6975                         "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
6976                         "\x20\x48\x61\x75\x63\x68\x65\x20"
6977                         "\x67\x69\x62\x74\x20\x64\x69\x63"
6978                         "\x68\x2c\x20\x67\x69\x62\x20\x6e"
6979                         "\x61\x63\x68\x2c\x0a\x65\x72\x20"
6980                         "\x77\x69\x72\x64\x20\x64\x69\x63"
6981                         "\x68\x20\x6c\x69\x65\x62\x65\x6e"
6982                         "\x20\x75\x6e\x64\x20\x77\x69\x65"
6983                         "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
6984                         "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
6985                         "\x65\x69\x6e\x65\x20\x53\x65\x65"
6986                         "\x6c\x65\x20\x73\x65\x69\x74\x20"
6987                         "\x77\x65\x69\x74\x2c\x20\x73\x65"
6988                         "\x69\x20\x77\x65\x69\x74\x2c\x0a"
6989                         "\x64\x61\x73\x73\x20\x64\x69\x72"
6990                         "\x20\x64\x61\x73\x20\x4c\x65\x62"
6991                         "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
6992                         "\x67\x65\x2c\x0a\x62\x72\x65\x69"
6993                         "\x74\x65\x20\x64\x69\x63\x68\x20"
6994                         "\x77\x69\x65\x20\x65\x69\x6e\x20"
6995                         "\x46\x65\x69\x65\x72\x6b\x6c\x65"
6996                         "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
6997                         "\x20\x64\x69\x65\x20\x73\x69\x6e"
6998                         "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
6999                         "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
7000                 .psize  = 400,
7001                 .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
7002                         "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
7003         },
7004 };
7005
7006 /*
7007  * HMAC-MD5 test vectors from RFC2202
7008  * (These need to be fixed to not use strlen).
7009  */
7010 static const struct hash_testvec hmac_md5_tv_template[] =
7011 {
7012         {
7013                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
7014                 .ksize  = 16,
7015                 .plaintext = "Hi There",
7016                 .psize  = 8,
7017                 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
7018                           "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
7019         }, {
7020                 .key    = "Jefe",
7021                 .ksize  = 4,
7022                 .plaintext = "what do ya want for nothing?",
7023                 .psize  = 28,
7024                 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
7025                           "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
7026         }, {
7027                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7028                 .ksize  = 16,
7029                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7030                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7031                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7032                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7033                 .psize  = 50,
7034                 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
7035                           "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
7036         }, {
7037                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7038                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7039                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
7040                 .ksize  = 25,
7041                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7042                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7043                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7044                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7045                 .psize  = 50,
7046                 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
7047                           "\x3a\x75\x16\x47\x46\xff\xaa\x79",
7048         }, {
7049                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
7050                 .ksize  = 16,
7051                 .plaintext = "Test With Truncation",
7052                 .psize  = 20,
7053                 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
7054                           "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
7055         }, {
7056                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7057                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7058                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7059                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7060                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7061                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7062                         "\xaa\xaa",
7063                 .ksize  = 80,
7064                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7065                 .psize  = 54,
7066                 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
7067                           "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
7068         }, {
7069                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7070                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7071                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7072                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7073                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7074                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7075                         "\xaa\xaa",
7076                 .ksize  = 80,
7077                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
7078                            "Block-Size Data",
7079                 .psize  = 73,
7080                 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
7081                           "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
7082         },
7083 };
7084
7085 /*
7086  * HMAC-RIPEMD160 test vectors from RFC2286
7087  */
7088 static const struct hash_testvec hmac_rmd160_tv_template[] = {
7089         {
7090                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
7091                 .ksize  = 20,
7092                 .plaintext = "Hi There",
7093                 .psize  = 8,
7094                 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
7095                           "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
7096         }, {
7097                 .key    = "Jefe",
7098                 .ksize  = 4,
7099                 .plaintext = "what do ya want for nothing?",
7100                 .psize  = 28,
7101                 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
7102                           "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
7103         }, {
7104                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7105                 .ksize  = 20,
7106                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7107                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7108                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7109                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7110                 .psize  = 50,
7111                 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
7112                           "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
7113         }, {
7114                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7115                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7116                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
7117                 .ksize  = 25,
7118                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7119                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7120                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7121                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7122                 .psize  = 50,
7123                 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
7124                           "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
7125         }, {
7126                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
7127                 .ksize  = 20,
7128                 .plaintext = "Test With Truncation",
7129                 .psize  = 20,
7130                 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
7131                           "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
7132         }, {
7133                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7134                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7135                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7136                         "\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",
7140                 .ksize  = 80,
7141                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7142                 .psize  = 54,
7143                 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
7144                           "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
7145         }, {
7146                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7147                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7148                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7149                         "\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",
7153                 .ksize  = 80,
7154                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
7155                            "Block-Size Data",
7156                 .psize  = 73,
7157                 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
7158                           "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
7159         },
7160 };
7161
7162 /*
7163  * HMAC-SHA1 test vectors from RFC2202
7164  */
7165 static const struct hash_testvec hmac_sha1_tv_template[] = {
7166         {
7167                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
7168                 .ksize  = 20,
7169                 .plaintext = "Hi There",
7170                 .psize  = 8,
7171                 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
7172                           "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
7173                           "\x46\xbe",
7174         }, {
7175                 .key    = "Jefe",
7176                 .ksize  = 4,
7177                 .plaintext = "what do ya want for nothing?",
7178                 .psize  = 28,
7179                 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
7180                           "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
7181                 .fips_skip = 1,
7182         }, {
7183                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7184                 .ksize  = 20,
7185                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7186                         "\xdd\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",
7189                 .psize  = 50,
7190                 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
7191                           "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
7192         }, {
7193                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7194                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7195                           "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
7196                 .ksize  = 25,
7197                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7198                         "\xcd\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",
7201                 .psize  = 50,
7202                 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
7203                           "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
7204         }, {
7205                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
7206                 .ksize  = 20,
7207                 .plaintext = "Test With Truncation",
7208                 .psize  = 20,
7209                 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
7210                           "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
7211         }, {
7212                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7213                         "\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",
7219                 .ksize  = 80,
7220                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7221                 .psize  = 54,
7222                 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
7223                           "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
7224         }, {
7225                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7226                         "\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",
7232                 .ksize  = 80,
7233                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
7234                            "Block-Size Data",
7235                 .psize  = 73,
7236                 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
7237                           "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
7238         },
7239 };
7240
7241
7242 /*
7243  * SHA224 HMAC test vectors from RFC4231
7244  */
7245 static const struct hash_testvec hmac_sha224_tv_template[] = {
7246         {
7247                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7248                         "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7249                         "\x0b\x0b\x0b\x0b",
7250                 .ksize  = 20,
7251                 /*  ("Hi There") */
7252                 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
7253                 .psize  = 8,
7254                 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
7255                         "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
7256                         "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
7257                         "\x53\x68\x4b\x22",
7258         }, {
7259                 .key    = "Jefe",
7260                 .ksize  = 4,
7261                 /* ("what do ya want for nothing?") */
7262                 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
7263                         "\x79\x61\x20\x77\x61\x6e\x74\x20"
7264                         "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
7265                         "\x69\x6e\x67\x3f",
7266                 .psize  = 28,
7267                 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
7268                         "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
7269                         "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
7270                         "\x8f\xd0\x5e\x44",
7271                 .fips_skip = 1,
7272         }, {
7273                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7274                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7275                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7276                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7277                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7278                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7279                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7280                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7281                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7282                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7283                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7284                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7285                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7286                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7287                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7288                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7289                         "\xaa\xaa\xaa",
7290                 .ksize  = 131,
7291                 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
7292                 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
7293                         "\x6e\x67\x20\x4c\x61\x72\x67\x65"
7294                         "\x72\x20\x54\x68\x61\x6e\x20\x42"
7295                         "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
7296                         "\x65\x20\x4b\x65\x79\x20\x2d\x20"
7297                         "\x48\x61\x73\x68\x20\x4b\x65\x79"
7298                         "\x20\x46\x69\x72\x73\x74",
7299                 .psize  = 54,
7300                 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
7301                         "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
7302                         "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
7303                         "\x3f\xa6\x87\x0e",
7304         }, {
7305                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7306                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7307                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7308                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7309                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7310                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7311                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7312                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7313                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7314                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7315                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7316                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7317                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7318                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7319                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7320                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7321                         "\xaa\xaa\xaa",
7322                 .ksize  = 131,
7323                 /* ("This is a test using a larger than block-size key and a")
7324                 (" larger than block-size data. The key needs to be")
7325                         (" hashed before being used by the HMAC algorithm.") */
7326                 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
7327                         "\x61\x20\x74\x65\x73\x74\x20\x75"
7328                         "\x73\x69\x6e\x67\x20\x61\x20\x6c"
7329                         "\x61\x72\x67\x65\x72\x20\x74\x68"
7330                         "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
7331                         "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
7332                         "\x79\x20\x61\x6e\x64\x20\x61\x20"
7333                         "\x6c\x61\x72\x67\x65\x72\x20\x74"
7334                         "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
7335                         "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
7336                         "\x61\x74\x61\x2e\x20\x54\x68\x65"
7337                         "\x20\x6b\x65\x79\x20\x6e\x65\x65"
7338                         "\x64\x73\x20\x74\x6f\x20\x62\x65"
7339                         "\x20\x68\x61\x73\x68\x65\x64\x20"
7340                         "\x62\x65\x66\x6f\x72\x65\x20\x62"
7341                         "\x65\x69\x6e\x67\x20\x75\x73\x65"
7342                         "\x64\x20\x62\x79\x20\x74\x68\x65"
7343                         "\x20\x48\x4d\x41\x43\x20\x61\x6c"
7344                         "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
7345                 .psize  = 152,
7346                 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
7347                         "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
7348                         "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
7349                         "\xf6\xf5\x65\xd1",
7350         },
7351 };
7352
7353 /*
7354  * HMAC-SHA256 test vectors from
7355  * draft-ietf-ipsec-ciph-sha-256-01.txt
7356  */
7357 static const struct hash_testvec hmac_sha256_tv_template[] = {
7358         {
7359                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7360                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7361                           "\x11\x12\x13\x14\x15\x16\x17\x18"
7362                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
7363                 .ksize  = 32,
7364                 .plaintext = "abc",
7365                 .psize  = 3,
7366                 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
7367                           "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
7368                           "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
7369                           "\x92\x75\x90\x21\xcf\xab\x81\x81",
7370         }, {
7371                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7372                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7373                           "\x11\x12\x13\x14\x15\x16\x17\x18"
7374                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
7375                 .ksize  = 32,
7376                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
7377                 .psize  = 56,
7378                 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
7379                           "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
7380                           "\xe6\x98\xe3\x61\x19\x42\x11\x49"
7381                           "\xea\x8c\x71\x24\x56\x69\x7d\x30",
7382         }, {
7383                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7384                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7385                           "\x11\x12\x13\x14\x15\x16\x17\x18"
7386                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
7387                 .ksize  = 32,
7388                 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
7389                            "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
7390                 .psize  = 112,
7391                 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
7392                           "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
7393                           "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
7394                           "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
7395         }, {
7396                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7397                         "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7398                         "\x0b\x0b\x0b\x0b\x0b\x0b",
7399                 .ksize  = 32,
7400                 .plaintext = "Hi There",
7401                 .psize  = 8,
7402                 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
7403                           "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
7404                           "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
7405                           "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
7406         }, {
7407                 .key    = "Jefe",
7408                 .ksize  = 4,
7409                 .plaintext = "what do ya want for nothing?",
7410                 .psize  = 28,
7411                 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
7412                           "\x6a\x04\x24\x26\x08\x95\x75\xc7"
7413                           "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
7414                           "\x9d\xec\x58\xb9\x64\xec\x38\x43",
7415                 .fips_skip = 1,
7416         }, {
7417                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7418                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7419                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
7420                 .ksize  = 32,
7421                 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7422                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7423                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
7424                         "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
7425                 .psize  = 50,
7426                 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
7427                           "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
7428                           "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
7429                           "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
7430         }, {
7431                 .key    = "\x01\x02\x03\x04\x05\x06\x07\x08"
7432                           "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
7433                           "\x11\x12\x13\x14\x15\x16\x17\x18"
7434                           "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
7435                           "\x21\x22\x23\x24\x25",
7436                 .ksize  = 37,
7437                 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7438                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7439                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
7440                         "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
7441                 .psize  = 50,
7442                 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
7443                           "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
7444                           "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
7445                           "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
7446         }, {
7447                 .key    = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
7448                         "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
7449                         "\x0c\x0c\x0c\x0c\x0c\x0c",
7450                 .ksize  = 32,
7451                 .plaintext = "Test With Truncation",
7452                 .psize  = 20,
7453                 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
7454                           "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
7455                           "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
7456                           "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
7457         }, {
7458                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7459                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7460                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7461                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7462                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7463                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7464                         "\xaa\xaa",
7465                 .ksize  = 80,
7466                 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
7467                 .psize  = 54,
7468                 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
7469                           "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
7470                           "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
7471                           "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
7472         }, {
7473                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7474                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7475                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7476                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7477                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7478                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7479                         "\xaa\xaa",
7480                 .ksize  = 80,
7481                 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
7482                            "One Block-Size Data",
7483                 .psize  = 73,
7484                 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
7485                           "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
7486                           "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
7487                           "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
7488         },
7489 };
7490
7491 static const struct hash_testvec aes_cmac128_tv_template[] = {
7492         { /* From NIST Special Publication 800-38B, AES-128 */
7493                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7494                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7495                 .plaintext      = zeroed_string,
7496                 .digest         = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
7497                                   "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
7498                 .psize          = 0,
7499                 .ksize          = 16,
7500         }, {
7501                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7502                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7503                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7504                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
7505                 .digest         = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
7506                                   "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
7507                 .psize          = 16,
7508                 .ksize          = 16,
7509         }, {
7510                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7511                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7512                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7513                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7514                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7515                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7516                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
7517                 .digest         = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
7518                                   "\x30\xca\x32\x61\x14\x97\xc8\x27",
7519                 .psize          = 40,
7520                 .ksize          = 16,
7521         }, {
7522                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7523                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7524                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7525                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7526                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7527                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7528                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
7529                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
7530                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
7531                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
7532                 .digest         = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
7533                                   "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
7534                 .psize          = 64,
7535                 .ksize          = 16,
7536         }, { /* From NIST Special Publication 800-38B, AES-256 */
7537                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
7538                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
7539                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
7540                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
7541                 .plaintext      = zeroed_string,
7542                 .digest         = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
7543                                   "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
7544                 .psize          = 0,
7545                 .ksize          = 32,
7546         }, {
7547                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
7548                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
7549                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
7550                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
7551                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7552                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7553                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7554                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7555                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
7556                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
7557                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
7558                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
7559                 .digest         = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
7560                                   "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
7561                 .psize          = 64,
7562                 .ksize          = 32,
7563         }
7564 };
7565
7566 static const struct hash_testvec aes_cbcmac_tv_template[] = {
7567         {
7568                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7569                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7570                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7571                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
7572                 .digest         = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
7573                                   "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
7574                 .psize          = 16,
7575                 .ksize          = 16,
7576         }, {
7577                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7578                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7579                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7580                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7581                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7582                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7583                                   "\x30",
7584                 .digest         = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
7585                                   "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
7586                 .psize          = 33,
7587                 .ksize          = 16,
7588         }, {
7589                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
7590                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
7591                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7592                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7593                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7594                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7595                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
7596                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
7597                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
7598                                   "\xad\x2b\x41\x7b\xe6\x6c\x37",
7599                 .digest         = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
7600                                   "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
7601                 .psize          = 63,
7602                 .ksize          = 16,
7603         }, {
7604                 .key            = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
7605                                   "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
7606                                   "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
7607                                   "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
7608                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7609                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7610                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7611                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
7612                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
7613                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
7614                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
7615                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
7616                                   "\x1c",
7617                 .digest         = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
7618                                   "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
7619                 .psize          = 65,
7620                 .ksize          = 32,
7621         }
7622 };
7623
7624 static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
7625 /*
7626  * From NIST Special Publication 800-38B, Three Key TDEA
7627  * Corrected test vectors from:
7628  *  http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
7629  */
7630         {
7631                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
7632                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
7633                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
7634                 .plaintext      = zeroed_string,
7635                 .digest         = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
7636                 .psize          = 0,
7637                 .ksize          = 24,
7638         }, {
7639                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
7640                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
7641                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
7642                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
7643                 .digest         = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
7644                 .psize          = 8,
7645                 .ksize          = 24,
7646         }, {
7647                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
7648                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
7649                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
7650                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7651                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7652                                   "\xae\x2d\x8a\x57",
7653                 .digest         = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
7654                 .psize          = 20,
7655                 .ksize          = 24,
7656         }, {
7657                 .key            = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
7658                                   "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
7659                                   "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
7660                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
7661                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
7662                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
7663                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
7664                 .digest         = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
7665                 .psize          = 32,
7666                 .ksize          = 24,
7667         }
7668 };
7669
7670 static const struct hash_testvec aes_xcbc128_tv_template[] = {
7671         {
7672                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7673                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7674                 .plaintext = zeroed_string,
7675                 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
7676                           "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
7677                 .psize  = 0,
7678                 .ksize  = 16,
7679         }, {
7680                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7681                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7682                 .plaintext = "\x00\x01\x02",
7683                 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
7684                           "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
7685                 .psize  = 3,
7686                 .ksize  = 16,
7687         } , {
7688                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7689                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7690                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
7691                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7692                 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
7693                           "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
7694                 .psize  = 16,
7695                 .ksize  = 16,
7696         }, {
7697                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7698                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7699                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
7700                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7701                              "\x10\x11\x12\x13",
7702                 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
7703                           "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
7704                 .psize  = 20,
7705                 .ksize  = 16,
7706         }, {
7707                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7708                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7709                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
7710                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7711                              "\x10\x11\x12\x13\x14\x15\x16\x17"
7712                              "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
7713                 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
7714                           "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
7715                 .psize  = 32,
7716                 .ksize  = 16,
7717         }, {
7718                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7719                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7720                 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
7721                              "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7722                              "\x10\x11\x12\x13\x14\x15\x16\x17"
7723                              "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
7724                              "\x20\x21",
7725                 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
7726                           "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
7727                 .psize  = 34,
7728                 .ksize  = 16,
7729         }
7730 };
7731
7732 static const char vmac64_string1[144] = {
7733         '\0',     '\0',   '\0',   '\0',   '\0',   '\0',   '\0',   '\0',
7734         '\0',     '\0',   '\0',   '\0',   '\0',   '\0',   '\0',   '\0',
7735         '\x01', '\x01', '\x01', '\x01', '\x02', '\x03', '\x02', '\x02',
7736         '\x02', '\x04', '\x01', '\x07', '\x04', '\x01', '\x04', '\x03',
7737 };
7738
7739 static const char vmac64_string2[144] = {
7740         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7741         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7742          'a',  'b',  'c',
7743 };
7744
7745 static const char vmac64_string3[144] = {
7746         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7747         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7748          'a',  'b',  'c',  'a',  'b',  'c',  'a',  'b',
7749          'c',  'a',  'b',  'c',  'a',  'b',  'c',  'a',
7750          'b',  'c',  'a',  'b',  'c',  'a',  'b',  'c',
7751          'a',  'b',  'c',  'a',  'b',  'c',  'a',  'b',
7752          'c',  'a',  'b',  'c',  'a',  'b',  'c',  'a',
7753          'b',  'c',  'a',  'b',  'c',  'a',  'b',  'c',
7754 };
7755
7756 static const char vmac64_string4[33] = {
7757         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7758         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7759         'b',   'c',  'e',  'f',  'i',  'j',  'l',  'm',
7760         'o',   'p',  'r',  's',  't',  'u',  'w',  'x',
7761         'z',
7762 };
7763
7764 static const char vmac64_string5[143] = {
7765         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7766         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7767          'r',  'm',  'b',  't',  'c',  'o',  'l',  'k',
7768          ']',  '%',  '9',  '2',  '7',  '!',  'A',
7769 };
7770
7771 static const char vmac64_string6[145] = {
7772         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7773         '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
7774          'p',  't',  '*',  '7',  'l',  'i',  '!',  '#',
7775          'w',  '0',  'z',  '/',  '4',  'A',  'n',
7776 };
7777
7778 static const struct hash_testvec vmac64_aes_tv_template[] = {
7779         { /* draft-krovetz-vmac-01 test vector 1 */
7780                 .key    = "abcdefghijklmnop",
7781                 .ksize  = 16,
7782                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi",
7783                 .psize  = 16,
7784                 .digest = "\x25\x76\xbe\x1c\x56\xd8\xb8\x1b",
7785         }, { /* draft-krovetz-vmac-01 test vector 2 */
7786                 .key    = "abcdefghijklmnop",
7787                 .ksize  = 16,
7788                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghiabc",
7789                 .psize  = 19,
7790                 .digest = "\x2d\x37\x6c\xf5\xb1\x81\x3c\xe5",
7791         }, { /* draft-krovetz-vmac-01 test vector 3 */
7792                 .key    = "abcdefghijklmnop",
7793                 .ksize  = 16,
7794                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
7795                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
7796                 .psize  = 64,
7797                 .digest = "\xe8\x42\x1f\x61\xd5\x73\xd2\x98",
7798         }, { /* draft-krovetz-vmac-01 test vector 4 */
7799                 .key    = "abcdefghijklmnop",
7800                 .ksize  = 16,
7801                 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
7802                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7803                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7804                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7805                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7806                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
7807                           "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
7808                 .psize  = 316,
7809                 .digest = "\x44\x92\xdf\x6c\x5c\xac\x1b\xbe",
7810         }, {
7811                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7812                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7813                 .ksize  = 16,
7814                 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
7815                           "\x00\x00\x00\x00\x00\x00\x00\x00",
7816                 .psize  = 16,
7817                 .digest = "\x54\x7b\xa4\x77\x35\x80\x58\x07",
7818         }, {
7819                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7820                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7821                 .ksize  = 16,
7822                 .plaintext = vmac64_string1,
7823                 .psize  = sizeof(vmac64_string1),
7824                 .digest = "\xa1\x8c\x68\xae\xd3\x3c\xf5\xce",
7825         }, {
7826                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7827                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7828                 .ksize  = 16,
7829                 .plaintext = vmac64_string2,
7830                 .psize  = sizeof(vmac64_string2),
7831                 .digest = "\x2d\x14\xbd\x81\x73\xb0\x27\xc9",
7832         }, {
7833                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
7834                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7835                 .ksize  = 16,
7836                 .plaintext = vmac64_string3,
7837                 .psize  = sizeof(vmac64_string3),
7838                 .digest = "\x19\x0b\x47\x98\x8c\x95\x1a\x8d",
7839         }, {
7840                 .key    = "abcdefghijklmnop",
7841                 .ksize  = 16,
7842                 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
7843                           "\x00\x00\x00\x00\x00\x00\x00\x00",
7844                 .psize  = 16,
7845                 .digest = "\x84\x8f\x55\x9e\x26\xa1\x89\x3b",
7846         }, {
7847                 .key    = "abcdefghijklmnop",
7848                 .ksize  = 16,
7849                 .plaintext = vmac64_string1,
7850                 .psize  = sizeof(vmac64_string1),
7851                 .digest = "\xc2\x74\x8d\xf6\xb0\xab\x5e\xab",
7852         }, {
7853                 .key    = "abcdefghijklmnop",
7854                 .ksize  = 16,
7855                 .plaintext = vmac64_string2,
7856                 .psize  = sizeof(vmac64_string2),
7857                 .digest = "\xdf\x09\x7b\x3d\x42\x68\x15\x11",
7858         }, {
7859                 .key    = "abcdefghijklmnop",
7860                 .ksize  = 16,
7861                 .plaintext = vmac64_string3,
7862                 .psize  = sizeof(vmac64_string3),
7863                 .digest = "\xd4\xfa\x8f\xed\xe1\x8f\x32\x8b",
7864         }, {
7865                 .key    = "a09b5cd!f#07K\x00\x00\x00",
7866                 .ksize  = 16,
7867                 .plaintext = vmac64_string4,
7868                 .psize  = sizeof(vmac64_string4),
7869                 .digest = "\x5f\xa1\x4e\x42\xea\x0f\xa5\xab",
7870         }, {
7871                 .key    = "a09b5cd!f#07K\x00\x00\x00",
7872                 .ksize  = 16,
7873                 .plaintext = vmac64_string5,
7874                 .psize  = sizeof(vmac64_string5),
7875                 .digest = "\x60\x67\xe8\x1d\xbc\x98\x31\x25",
7876         }, {
7877                 .key    = "a09b5cd!f#07K\x00\x00\x00",
7878                 .ksize  = 16,
7879                 .plaintext = vmac64_string6,
7880                 .psize  = sizeof(vmac64_string6),
7881                 .digest = "\x41\xeb\x65\x95\x47\x9b\xae\xc4",
7882         },
7883 };
7884
7885 /*
7886  * SHA384 HMAC test vectors from RFC4231
7887  */
7888
7889 static const struct hash_testvec hmac_sha384_tv_template[] = {
7890         {
7891                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7892                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7893                           "\x0b\x0b\x0b\x0b",
7894                 .ksize  = 20,
7895                 .plaintext = "Hi There",
7896                 .psize  = 8,
7897                 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
7898                           "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
7899                           "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
7900                           "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
7901                           "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
7902                           "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
7903         }, {
7904                 .key    = "Jefe",
7905                 .ksize  = 4,
7906                 .plaintext = "what do ya want for nothing?",
7907                 .psize  = 28,
7908                 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
7909                           "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
7910                           "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
7911                           "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
7912                           "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
7913                           "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
7914                 .fips_skip = 1,
7915         }, {
7916                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7917                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7918                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7919                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7920                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7921                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7922                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7923                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7924                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7925                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7926                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7927                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7928                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7929                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7930                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7931                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7932                           "\xaa\xaa\xaa",
7933                 .ksize  = 131,
7934                 .plaintext = "Test Using Larger Than Block-Siz"
7935                            "e Key - Hash Key First",
7936                 .psize  = 54,
7937                 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
7938                           "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
7939                           "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
7940                           "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
7941                           "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
7942                           "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
7943         }, {
7944                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7945                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7946                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7947                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7948                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7949                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7950                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7951                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7952                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7953                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7954                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7955                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7956                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7957                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7958                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7959                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7960                           "\xaa\xaa\xaa",
7961                 .ksize  = 131,
7962                 .plaintext = "This is a test u"
7963                            "sing a larger th"
7964                            "an block-size ke"
7965                            "y and a larger t"
7966                            "han block-size d"
7967                            "ata. The key nee"
7968                            "ds to be hashed "
7969                            "before being use"
7970                            "d by the HMAC al"
7971                            "gorithm.",
7972                 .psize  = 152,
7973                 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
7974                           "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
7975                           "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
7976                           "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
7977                           "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
7978                           "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
7979         },
7980 };
7981
7982 /*
7983  * SHA512 HMAC test vectors from RFC4231
7984  */
7985
7986 static const struct hash_testvec hmac_sha512_tv_template[] = {
7987         {
7988                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7989                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7990                           "\x0b\x0b\x0b\x0b",
7991                 .ksize  = 20,
7992                 .plaintext = "Hi There",
7993                 .psize  = 8,
7994                 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
7995                           "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
7996                           "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
7997                           "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
7998                           "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
7999                           "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
8000                           "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
8001                           "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
8002         }, {
8003                 .key    = "Jefe",
8004                 .ksize  = 4,
8005                 .plaintext = "what do ya want for nothing?",
8006                 .psize  = 28,
8007                 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
8008                           "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
8009                           "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
8010                           "\x10\x27\x0c\xd7\xea\x25\x05\x54"
8011                           "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
8012                           "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
8013                           "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
8014                           "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
8015                 .fips_skip = 1,
8016         }, {
8017                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8018                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8019                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8020                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8021                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8022                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8023                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8024                           "\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",
8034                 .ksize  = 131,
8035                 .plaintext = "Test Using Large"
8036                            "r Than Block-Siz"
8037                            "e Key - Hash Key"
8038                            " First",
8039                 .psize  = 54,
8040                 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
8041                         "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
8042                         "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
8043                         "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
8044                         "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
8045                         "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
8046                         "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
8047                         "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
8048         }, {
8049                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8050                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8051                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8052                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8053                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8054                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8055                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8056                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8057                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8058                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8059                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8060                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8061                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8062                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8063                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8064                         "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8065                         "\xaa\xaa\xaa",
8066                 .ksize  = 131,
8067                 .plaintext =
8068                           "This is a test u"
8069                           "sing a larger th"
8070                           "an block-size ke"
8071                           "y and a larger t"
8072                           "han block-size d"
8073                           "ata. The key nee"
8074                           "ds to be hashed "
8075                           "before being use"
8076                           "d by the HMAC al"
8077                           "gorithm.",
8078                 .psize  = 152,
8079                 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
8080                         "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
8081                         "\xde\xbd\x71\xf8\x86\x72\x89\x86"
8082                         "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
8083                         "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
8084                         "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
8085                         "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
8086                         "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
8087         },
8088 };
8089
8090 static const struct hash_testvec hmac_sha3_224_tv_template[] = {
8091         {
8092                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8093                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8094                           "\x0b\x0b\x0b\x0b",
8095                 .ksize  = 20,
8096                 .plaintext = "Hi There",
8097                 .psize  = 8,
8098                 .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
8099                           "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
8100                           "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
8101                           "\xf3\xc8\x60\xf7",
8102         }, {
8103                 .key    = "Jefe",
8104                 .ksize  = 4,
8105                 .plaintext = "what do ya want for nothing?",
8106                 .psize  = 28,
8107                 .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
8108                           "\x1b\x79\x86\x34\xad\x38\x68\x11"
8109                           "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
8110                           "\xba\xce\x5e\x66",
8111                 .fips_skip = 1,
8112         }, {
8113                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8114                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8115                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8116                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8117                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8118                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8119                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8120                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8121                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8122                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8123                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8124                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8125                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8126                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8127                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8128                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8129                           "\xaa\xaa\xaa",
8130                 .ksize  = 131,
8131                 .plaintext = "Test Using Large"
8132                            "r Than Block-Siz"
8133                            "e Key - Hash Key"
8134                            " First",
8135                 .psize  = 54,
8136                 .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
8137                           "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
8138                           "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
8139                           "\x5f\xb9\x99\x5f",
8140         }, {
8141                 .key    = "\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\xaa\xaa\xaa\xaa\xaa"
8146                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8147                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8148                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8149                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8150                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8151                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8152                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8153                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8154                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8155                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8156                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8157                           "\xaa\xaa\xaa",
8158                 .ksize  = 131,
8159                 .plaintext =
8160                           "This is a test u"
8161                           "sing a larger th"
8162                           "an block-size ke"
8163                           "y and a larger t"
8164                           "han block-size d"
8165                           "ata. The key nee"
8166                           "ds to be hashed "
8167                           "before being use"
8168                           "d by the HMAC al"
8169                           "gorithm.",
8170                 .psize  = 152,
8171                 .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
8172                           "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
8173                           "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
8174                           "\x29\xcd\x62\xa0",
8175         },
8176 };
8177
8178 static const struct hash_testvec hmac_sha3_256_tv_template[] = {
8179         {
8180                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8181                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8182                           "\x0b\x0b\x0b\x0b",
8183                 .ksize  = 20,
8184                 .plaintext = "Hi There",
8185                 .psize  = 8,
8186                 .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
8187                           "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
8188                           "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
8189                           "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
8190         }, {
8191                 .key    = "Jefe",
8192                 .ksize  = 4,
8193                 .plaintext = "what do ya want for nothing?",
8194                 .psize  = 28,
8195                 .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
8196                           "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
8197                           "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
8198                           "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
8199                 .fips_skip = 1,
8200         }, {
8201                 .key    = "\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\xaa\xaa\xaa\xaa\xaa"
8210                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8211                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8212                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8213                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8214                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8215                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8216                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8217                           "\xaa\xaa\xaa",
8218                 .ksize  = 131,
8219                 .plaintext = "Test Using Large"
8220                            "r Than Block-Siz"
8221                            "e Key - Hash Key"
8222                            " First",
8223                 .psize  = 54,
8224                 .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
8225                           "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
8226                           "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
8227                           "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
8228         }, {
8229                 .key    = "\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\xaa\xaa\xaa\xaa\xaa"
8238                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8239                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8240                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8241                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8242                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8243                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8244                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8245                           "\xaa\xaa\xaa",
8246                 .ksize  = 131,
8247                 .plaintext =
8248                           "This is a test u"
8249                           "sing a larger th"
8250                           "an block-size ke"
8251                           "y and a larger t"
8252                           "han block-size d"
8253                           "ata. The key nee"
8254                           "ds to be hashed "
8255                           "before being use"
8256                           "d by the HMAC al"
8257                           "gorithm.",
8258                 .psize  = 152,
8259                 .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
8260                           "\x7a\xef\x87\x63\x26\x1e\x49\xad"
8261                           "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
8262                           "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
8263         },
8264 };
8265
8266 static const struct hash_testvec hmac_sha3_384_tv_template[] = {
8267         {
8268                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8269                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8270                           "\x0b\x0b\x0b\x0b",
8271                 .ksize  = 20,
8272                 .plaintext = "Hi There",
8273                 .psize  = 8,
8274                 .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
8275                           "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
8276                           "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
8277                           "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
8278                           "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
8279                           "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
8280         }, {
8281                 .key    = "Jefe",
8282                 .ksize  = 4,
8283                 .plaintext = "what do ya want for nothing?",
8284                 .psize  = 28,
8285                 .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
8286                           "\x67\x64\xd2\xed\x61\x90\x3f\x21"
8287                           "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
8288                           "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
8289                           "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
8290                           "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
8291                 .fips_skip = 1,
8292         }, {
8293                 .key    = "\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\xaa\xaa\xaa\xaa\xaa"
8298                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8299                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8300                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8301                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8302                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8303                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8304                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8305                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8306                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8307                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8308                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8309                           "\xaa\xaa\xaa",
8310                 .ksize  = 131,
8311                 .plaintext = "Test Using Large"
8312                            "r Than Block-Siz"
8313                            "e Key - Hash Key"
8314                            " First",
8315                 .psize  = 54,
8316                 .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
8317                           "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
8318                           "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
8319                           "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
8320                           "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
8321                           "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
8322         }, {
8323                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8324                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8325                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8326                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8327                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8328                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8329                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8330                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8331                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8332                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8333                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8334                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8335                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8336                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8337                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8338                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8339                           "\xaa\xaa\xaa",
8340                 .ksize  = 131,
8341                 .plaintext =
8342                           "This is a test u"
8343                           "sing a larger th"
8344                           "an block-size ke"
8345                           "y and a larger t"
8346                           "han block-size d"
8347                           "ata. The key nee"
8348                           "ds to be hashed "
8349                           "before being use"
8350                           "d by the HMAC al"
8351                           "gorithm.",
8352                 .psize  = 152,
8353                 .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
8354                           "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
8355                           "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
8356                           "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
8357                           "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
8358                           "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
8359         },
8360 };
8361
8362 static const struct hash_testvec hmac_sha3_512_tv_template[] = {
8363         {
8364                 .key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8365                           "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
8366                           "\x0b\x0b\x0b\x0b",
8367                 .ksize  = 20,
8368                 .plaintext = "Hi There",
8369                 .psize  = 8,
8370                 .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
8371                           "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
8372                           "\xec\x15\x77\x0a\x7c\xab\xac\x53"
8373                           "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
8374                           "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
8375                           "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
8376                           "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
8377                           "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
8378         }, {
8379                 .key    = "Jefe",
8380                 .ksize  = 4,
8381                 .plaintext = "what do ya want for nothing?",
8382                 .psize  = 28,
8383                 .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
8384                           "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
8385                           "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
8386                           "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
8387                           "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
8388                           "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
8389                           "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
8390                           "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
8391                 .fips_skip = 1,
8392         }, {
8393                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8394                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8395                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8396                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8397                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8398                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8399                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8400                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8401                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8402                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8403                           "\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",
8410                 .ksize  = 131,
8411                 .plaintext = "Test Using Large"
8412                            "r Than Block-Siz"
8413                            "e Key - Hash Key"
8414                            " First",
8415                 .psize  = 54,
8416                 .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
8417                           "\x90\xed\x69\x11\xa4\xb6\x55\x24"
8418                           "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
8419                           "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
8420                           "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
8421                           "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
8422                           "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
8423                           "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
8424         }, {
8425                 .key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8426                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8427                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8428                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8429                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8430                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8431                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8432                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8433                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8434                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8435                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8436                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8437                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8438                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8439                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8440                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
8441                           "\xaa\xaa\xaa",
8442                 .ksize  = 131,
8443                 .plaintext =
8444                           "This is a test u"
8445                           "sing a larger th"
8446                           "an block-size ke"
8447                           "y and a larger t"
8448                           "han block-size d"
8449                           "ata. The key nee"
8450                           "ds to be hashed "
8451                           "before being use"
8452                           "d by the HMAC al"
8453                           "gorithm.",
8454                 .psize  = 152,
8455                 .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
8456                           "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
8457                           "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
8458                           "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
8459                           "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
8460                           "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
8461                           "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
8462                           "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
8463         },
8464 };
8465
8466 /*
8467  * Poly1305 test vectors from RFC7539 A.3.
8468  */
8469
8470 static const struct hash_testvec poly1305_tv_template[] = {
8471         { /* Test Vector #1 */
8472                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
8473                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8474                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8475                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8476                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8477                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8478                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8479                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8480                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8481                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8482                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8483                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8484                 .psize          = 96,
8485                 .digest         = "\x00\x00\x00\x00\x00\x00\x00\x00"
8486                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8487         }, { /* Test Vector #2 */
8488                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
8489                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8490                                   "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
8491                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
8492                                   "\x41\x6e\x79\x20\x73\x75\x62\x6d"
8493                                   "\x69\x73\x73\x69\x6f\x6e\x20\x74"
8494                                   "\x6f\x20\x74\x68\x65\x20\x49\x45"
8495                                   "\x54\x46\x20\x69\x6e\x74\x65\x6e"
8496                                   "\x64\x65\x64\x20\x62\x79\x20\x74"
8497                                   "\x68\x65\x20\x43\x6f\x6e\x74\x72"
8498                                   "\x69\x62\x75\x74\x6f\x72\x20\x66"
8499                                   "\x6f\x72\x20\x70\x75\x62\x6c\x69"
8500                                   "\x63\x61\x74\x69\x6f\x6e\x20\x61"
8501                                   "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
8502                                   "\x20\x70\x61\x72\x74\x20\x6f\x66"
8503                                   "\x20\x61\x6e\x20\x49\x45\x54\x46"
8504                                   "\x20\x49\x6e\x74\x65\x72\x6e\x65"
8505                                   "\x74\x2d\x44\x72\x61\x66\x74\x20"
8506                                   "\x6f\x72\x20\x52\x46\x43\x20\x61"
8507                                   "\x6e\x64\x20\x61\x6e\x79\x20\x73"
8508                                   "\x74\x61\x74\x65\x6d\x65\x6e\x74"
8509                                   "\x20\x6d\x61\x64\x65\x20\x77\x69"
8510                                   "\x74\x68\x69\x6e\x20\x74\x68\x65"
8511                                   "\x20\x63\x6f\x6e\x74\x65\x78\x74"
8512                                   "\x20\x6f\x66\x20\x61\x6e\x20\x49"
8513                                   "\x45\x54\x46\x20\x61\x63\x74\x69"
8514                                   "\x76\x69\x74\x79\x20\x69\x73\x20"
8515                                   "\x63\x6f\x6e\x73\x69\x64\x65\x72"
8516                                   "\x65\x64\x20\x61\x6e\x20\x22\x49"
8517                                   "\x45\x54\x46\x20\x43\x6f\x6e\x74"
8518                                   "\x72\x69\x62\x75\x74\x69\x6f\x6e"
8519                                   "\x22\x2e\x20\x53\x75\x63\x68\x20"
8520                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
8521                                   "\x74\x73\x20\x69\x6e\x63\x6c\x75"
8522                                   "\x64\x65\x20\x6f\x72\x61\x6c\x20"
8523                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
8524                                   "\x74\x73\x20\x69\x6e\x20\x49\x45"
8525                                   "\x54\x46\x20\x73\x65\x73\x73\x69"
8526                                   "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
8527                                   "\x77\x65\x6c\x6c\x20\x61\x73\x20"
8528                                   "\x77\x72\x69\x74\x74\x65\x6e\x20"
8529                                   "\x61\x6e\x64\x20\x65\x6c\x65\x63"
8530                                   "\x74\x72\x6f\x6e\x69\x63\x20\x63"
8531                                   "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
8532                                   "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
8533                                   "\x64\x65\x20\x61\x74\x20\x61\x6e"
8534                                   "\x79\x20\x74\x69\x6d\x65\x20\x6f"
8535                                   "\x72\x20\x70\x6c\x61\x63\x65\x2c"
8536                                   "\x20\x77\x68\x69\x63\x68\x20\x61"
8537                                   "\x72\x65\x20\x61\x64\x64\x72\x65"
8538                                   "\x73\x73\x65\x64\x20\x74\x6f",
8539                 .psize          = 407,
8540                 .digest         = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
8541                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
8542         }, { /* Test Vector #3 */
8543                 .plaintext      = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
8544                                   "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
8545                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8546                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8547                                   "\x41\x6e\x79\x20\x73\x75\x62\x6d"
8548                                   "\x69\x73\x73\x69\x6f\x6e\x20\x74"
8549                                   "\x6f\x20\x74\x68\x65\x20\x49\x45"
8550                                   "\x54\x46\x20\x69\x6e\x74\x65\x6e"
8551                                   "\x64\x65\x64\x20\x62\x79\x20\x74"
8552                                   "\x68\x65\x20\x43\x6f\x6e\x74\x72"
8553                                   "\x69\x62\x75\x74\x6f\x72\x20\x66"
8554                                   "\x6f\x72\x20\x70\x75\x62\x6c\x69"
8555                                   "\x63\x61\x74\x69\x6f\x6e\x20\x61"
8556                                   "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
8557                                   "\x20\x70\x61\x72\x74\x20\x6f\x66"
8558                                   "\x20\x61\x6e\x20\x49\x45\x54\x46"
8559                                   "\x20\x49\x6e\x74\x65\x72\x6e\x65"
8560                                   "\x74\x2d\x44\x72\x61\x66\x74\x20"
8561                                   "\x6f\x72\x20\x52\x46\x43\x20\x61"
8562                                   "\x6e\x64\x20\x61\x6e\x79\x20\x73"
8563                                   "\x74\x61\x74\x65\x6d\x65\x6e\x74"
8564                                   "\x20\x6d\x61\x64\x65\x20\x77\x69"
8565                                   "\x74\x68\x69\x6e\x20\x74\x68\x65"
8566                                   "\x20\x63\x6f\x6e\x74\x65\x78\x74"
8567                                   "\x20\x6f\x66\x20\x61\x6e\x20\x49"
8568                                   "\x45\x54\x46\x20\x61\x63\x74\x69"
8569                                   "\x76\x69\x74\x79\x20\x69\x73\x20"
8570                                   "\x63\x6f\x6e\x73\x69\x64\x65\x72"
8571                                   "\x65\x64\x20\x61\x6e\x20\x22\x49"
8572                                   "\x45\x54\x46\x20\x43\x6f\x6e\x74"
8573                                   "\x72\x69\x62\x75\x74\x69\x6f\x6e"
8574                                   "\x22\x2e\x20\x53\x75\x63\x68\x20"
8575                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
8576                                   "\x74\x73\x20\x69\x6e\x63\x6c\x75"
8577                                   "\x64\x65\x20\x6f\x72\x61\x6c\x20"
8578                                   "\x73\x74\x61\x74\x65\x6d\x65\x6e"
8579                                   "\x74\x73\x20\x69\x6e\x20\x49\x45"
8580                                   "\x54\x46\x20\x73\x65\x73\x73\x69"
8581                                   "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
8582                                   "\x77\x65\x6c\x6c\x20\x61\x73\x20"
8583                                   "\x77\x72\x69\x74\x74\x65\x6e\x20"
8584                                   "\x61\x6e\x64\x20\x65\x6c\x65\x63"
8585                                   "\x74\x72\x6f\x6e\x69\x63\x20\x63"
8586                                   "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
8587                                   "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
8588                                   "\x64\x65\x20\x61\x74\x20\x61\x6e"
8589                                   "\x79\x20\x74\x69\x6d\x65\x20\x6f"
8590                                   "\x72\x20\x70\x6c\x61\x63\x65\x2c"
8591                                   "\x20\x77\x68\x69\x63\x68\x20\x61"
8592                                   "\x72\x65\x20\x61\x64\x64\x72\x65"
8593                                   "\x73\x73\x65\x64\x20\x74\x6f",
8594                 .psize          = 407,
8595                 .digest         = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
8596                                   "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
8597         }, { /* Test Vector #4 */
8598                 .plaintext      = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
8599                                   "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
8600                                   "\x47\x39\x17\xc1\x40\x2b\x80\x09"
8601                                   "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
8602                                   "\x27\x54\x77\x61\x73\x20\x62\x72"
8603                                   "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
8604                                   "\x6e\x64\x20\x74\x68\x65\x20\x73"
8605                                   "\x6c\x69\x74\x68\x79\x20\x74\x6f"
8606                                   "\x76\x65\x73\x0a\x44\x69\x64\x20"
8607                                   "\x67\x79\x72\x65\x20\x61\x6e\x64"
8608                                   "\x20\x67\x69\x6d\x62\x6c\x65\x20"
8609                                   "\x69\x6e\x20\x74\x68\x65\x20\x77"
8610                                   "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
8611                                   "\x20\x6d\x69\x6d\x73\x79\x20\x77"
8612                                   "\x65\x72\x65\x20\x74\x68\x65\x20"
8613                                   "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
8614                                   "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
8615                                   "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
8616                                   "\x72\x61\x74\x68\x73\x20\x6f\x75"
8617                                   "\x74\x67\x72\x61\x62\x65\x2e",
8618                 .psize          = 159,
8619                 .digest         = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
8620                                   "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
8621         }, { /* Test Vector #5 */
8622                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
8623                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8624                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8625                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8626                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8627                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
8628                 .psize          = 48,
8629                 .digest         = "\x03\x00\x00\x00\x00\x00\x00\x00"
8630                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8631         }, { /* Test Vector #6 */
8632                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
8633                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8634                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8635                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8636                                   "\x02\x00\x00\x00\x00\x00\x00\x00"
8637                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8638                 .psize          = 48,
8639                 .digest         = "\x03\x00\x00\x00\x00\x00\x00\x00"
8640                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8641         }, { /* Test Vector #7 */
8642                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
8643                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8644                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8645                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8646                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8647                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8648                                   "\xf0\xff\xff\xff\xff\xff\xff\xff"
8649                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8650                                   "\x11\x00\x00\x00\x00\x00\x00\x00"
8651                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8652                 .psize          = 80,
8653                 .digest         = "\x05\x00\x00\x00\x00\x00\x00\x00"
8654                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8655         }, { /* Test Vector #8 */
8656                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
8657                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8658                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8659                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8660                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8661                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8662                                   "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
8663                                   "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
8664                                   "\x01\x01\x01\x01\x01\x01\x01\x01"
8665                                   "\x01\x01\x01\x01\x01\x01\x01\x01",
8666                 .psize          = 80,
8667                 .digest         = "\x00\x00\x00\x00\x00\x00\x00\x00"
8668                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8669         }, { /* Test Vector #9 */
8670                 .plaintext      = "\x02\x00\x00\x00\x00\x00\x00\x00"
8671                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8672                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8673                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8674                                   "\xfd\xff\xff\xff\xff\xff\xff\xff"
8675                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
8676                 .psize          = 48,
8677                 .digest         = "\xfa\xff\xff\xff\xff\xff\xff\xff"
8678                                   "\xff\xff\xff\xff\xff\xff\xff\xff",
8679         }, { /* Test Vector #10 */
8680                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
8681                                   "\x04\x00\x00\x00\x00\x00\x00\x00"
8682                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8683                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8684                                   "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
8685                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8686                                   "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
8687                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
8688                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8689                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8690                                   "\x01\x00\x00\x00\x00\x00\x00\x00"
8691                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8692                 .psize          = 96,
8693                 .digest         = "\x14\x00\x00\x00\x00\x00\x00\x00"
8694                                   "\x55\x00\x00\x00\x00\x00\x00\x00",
8695         }, { /* Test Vector #11 */
8696                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
8697                                   "\x04\x00\x00\x00\x00\x00\x00\x00"
8698                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8699                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8700                                   "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
8701                                   "\x00\x00\x00\x00\x00\x00\x00\x00"
8702                                   "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
8703                                   "\x01\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                 .psize          = 80,
8707                 .digest         = "\x13\x00\x00\x00\x00\x00\x00\x00"
8708                                   "\x00\x00\x00\x00\x00\x00\x00\x00",
8709         }, { /* Regression test for overflow in AVX2 implementation */
8710                 .plaintext      = "\xff\xff\xff\xff\xff\xff\xff\xff"
8711                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8712                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8713                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8714                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8715                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8716                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8717                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8718                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8719                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8720                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8721                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8722                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8723                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8724                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8725                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8726                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8727                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8728                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8729                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8730                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8731                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8732                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8733                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8734                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8735                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8736                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8737                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8738                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8739                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8740                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8741                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8742                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8743                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8744                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8745                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8746                                   "\xff\xff\xff\xff\xff\xff\xff\xff"
8747                                   "\xff\xff\xff\xff",
8748                 .psize          = 300,
8749                 .digest         = "\xfb\x5e\x96\xd8\x61\xd5\xc7\xc8"
8750                                   "\x78\xe5\x87\xcc\x2d\x5a\x22\xe1",
8751         }
8752 };
8753
8754 /* NHPoly1305 test vectors from https://github.com/google/adiantum */
8755 static const struct hash_testvec nhpoly1305_tv_template[] = {
8756         {
8757                 .key    = "\xd2\x5d\x4c\xdd\x8d\x2b\x7f\x7a"
8758                           "\xd9\xbe\x71\xec\xd1\x83\x52\xe3"
8759                           "\xe1\xad\xd7\x5c\x0a\x75\x9d\xec"
8760                           "\x1d\x13\x7e\x5d\x71\x07\xc9\xe4"
8761                           "\x57\x2d\x44\x68\xcf\xd8\xd6\xc5"
8762                           "\x39\x69\x7d\x32\x75\x51\x4f\x7e"
8763                           "\xb2\x4c\xc6\x90\x51\x6e\xd9\xd6"
8764                           "\xa5\x8b\x2d\xf1\x94\xf9\xf7\x5e"
8765                           "\x2c\x84\x7b\x41\x0f\x88\x50\x89"
8766                           "\x30\xd9\xa1\x38\x46\x6c\xc0\x4f"
8767                           "\xe8\xdf\xdc\x66\xab\x24\x43\x41"
8768                           "\x91\x55\x29\x65\x86\x28\x5e\x45"
8769                           "\xd5\x2d\xb7\x80\x08\x9a\xc3\xd4"
8770                           "\x9a\x77\x0a\xd4\xef\x3e\xe6\x3f"
8771                           "\x6f\x2f\x9b\x3a\x7d\x12\x1e\x80"
8772                           "\x6c\x44\xa2\x25\xe1\xf6\x60\xe9"
8773                           "\x0d\xaf\xc5\x3c\xa5\x79\xae\x64"
8774                           "\xbc\xa0\x39\xa3\x4d\x10\xe5\x4d"
8775                           "\xd5\xe7\x89\x7a\x13\xee\x06\x78"
8776                           "\xdc\xa4\xdc\x14\x27\xe6\x49\x38"
8777                           "\xd0\xe0\x45\x25\x36\xc5\xf4\x79"
8778                           "\x2e\x9a\x98\x04\xe4\x2b\x46\x52"
8779                           "\x7c\x33\xca\xe2\x56\x51\x50\xe2"
8780                           "\xa5\x9a\xae\x18\x6a\x13\xf8\xd2"
8781                           "\x21\x31\x66\x02\xe2\xda\x8d\x7e"
8782                           "\x41\x19\xb2\x61\xee\x48\x8f\xf1"
8783                           "\x65\x24\x2e\x1e\x68\xce\x05\xd9"
8784                           "\x2a\xcf\xa5\x3a\x57\xdd\x35\x91"
8785                           "\x93\x01\xca\x95\xfc\x2b\x36\x04"
8786                           "\xe6\x96\x97\x28\xf6\x31\xfe\xa3"
8787                           "\x9d\xf6\x6a\x1e\x80\x8d\xdc\xec"
8788                           "\xaf\x66\x11\x13\x02\x88\xd5\x27"
8789                           "\x33\xb4\x1a\xcd\xa3\xf6\xde\x31"
8790                           "\x8e\xc0\x0e\x6c\xd8\x5a\x97\x5e"
8791                           "\xdd\xfd\x60\x69\x38\x46\x3f\x90"
8792                           "\x5e\x97\xd3\x32\x76\xc7\x82\x49"
8793                           "\xfe\xba\x06\x5f\x2f\xa2\xfd\xff"
8794                           "\x80\x05\x40\xe4\x33\x03\xfb\x10"
8795                           "\xc0\xde\x65\x8c\xc9\x8d\x3a\x9d"
8796                           "\xb5\x7b\x36\x4b\xb5\x0c\xcf\x00"
8797                           "\x9c\x87\xe4\x49\xad\x90\xda\x4a"
8798                           "\xdd\xbd\xff\xe2\x32\x57\xd6\x78"
8799                           "\x36\x39\x6c\xd3\x5b\x9b\x88\x59"
8800                           "\x2d\xf0\x46\xe4\x13\x0e\x2b\x35"
8801                           "\x0d\x0f\x73\x8a\x4f\x26\x84\x75"
8802                           "\x88\x3c\xc5\x58\x66\x18\x1a\xb4"
8803                           "\x64\x51\x34\x27\x1b\xa4\x11\xc9"
8804                           "\x6d\x91\x8a\xfa\x32\x60\x9d\xd7"
8805                           "\x87\xe5\xaa\x43\x72\xf8\xda\xd1"
8806                           "\x48\x44\x13\x61\xdc\x8c\x76\x17"
8807                           "\x0c\x85\x4e\xf3\xdd\xa2\x42\xd2"
8808                           "\x74\xc1\x30\x1b\xeb\x35\x31\x29"
8809                           "\x5b\xd7\x4c\x94\x46\x35\xa1\x23"
8810                           "\x50\xf2\xa2\x8e\x7e\x4f\x23\x4f"
8811                           "\x51\xff\xe2\xc9\xa3\x7d\x56\x8b"
8812                           "\x41\xf2\xd0\xc5\x57\x7e\x59\xac"
8813                           "\xbb\x65\xf3\xfe\xf7\x17\xef\x63"
8814                           "\x7c\x6f\x23\xdd\x22\x8e\xed\x84"
8815                           "\x0e\x3b\x09\xb3\xf3\xf4\x8f\xcd"
8816                           "\x37\xa8\xe1\xa7\x30\xdb\xb1\xa2"
8817                           "\x9c\xa2\xdf\x34\x17\x3e\x68\x44"
8818                           "\xd0\xde\x03\x50\xd1\x48\x6b\x20"
8819                           "\xe2\x63\x45\xa5\xea\x87\xc2\x42"
8820                           "\x95\x03\x49\x05\xed\xe0\x90\x29"
8821                           "\x1a\xb8\xcf\x9b\x43\xcf\x29\x7a"
8822                           "\x63\x17\x41\x9f\xe0\xc9\x10\xfd"
8823                           "\x2c\x56\x8c\x08\x55\xb4\xa9\x27"
8824                           "\x0f\x23\xb1\x05\x6a\x12\x46\xc7"
8825                           "\xe1\xfe\x28\x93\x93\xd7\x2f\xdc"
8826                           "\x98\x30\xdb\x75\x8a\xbe\x97\x7a"
8827                           "\x02\xfb\x8c\xba\xbe\x25\x09\xbe"
8828                           "\xce\xcb\xa2\xef\x79\x4d\x0e\x9d"
8829                           "\x1b\x9d\xb6\x39\x34\x38\xfa\x07"
8830                           "\xec\xe8\xfc\x32\x85\x1d\xf7\x85"
8831                           "\x63\xc3\x3c\xc0\x02\x75\xd7\x3f"
8832                           "\xb2\x68\x60\x66\x65\x81\xc6\xb1"
8833                           "\x42\x65\x4b\x4b\x28\xd7\xc7\xaa"
8834                           "\x9b\xd2\xdc\x1b\x01\xe0\x26\x39"
8835                           "\x01\xc1\x52\x14\xd1\x3f\xb7\xe6"
8836                           "\x61\x41\xc7\x93\xd2\xa2\x67\xc6"
8837                           "\xf7\x11\xb5\xf5\xea\xdd\x19\xfb"
8838                           "\x4d\x21\x12\xd6\x7d\xf1\x10\xb0"
8839                           "\x89\x07\xc7\x5a\x52\x73\x70\x2f"
8840                           "\x32\xef\x65\x2b\x12\xb2\xf0\xf5"
8841                           "\x20\xe0\x90\x59\x7e\x64\xf1\x4c"
8842                           "\x41\xb3\xa5\x91\x08\xe6\x5e\x5f"
8843                           "\x05\x56\x76\xb4\xb0\xcd\x70\x53"
8844                           "\x10\x48\x9c\xff\xc2\x69\x55\x24"
8845                           "\x87\xef\x84\xea\xfb\xa7\xbf\xa0"
8846                           "\x91\x04\xad\x4f\x8b\x57\x54\x4b"
8847                           "\xb6\xe9\xd1\xac\x37\x2f\x1d\x2e"
8848                           "\xab\xa5\xa4\xe8\xff\xfb\xd9\x39"
8849                           "\x2f\xb7\xac\xd1\xfe\x0b\x9a\x80"
8850                           "\x0f\xb6\xf4\x36\x39\x90\x51\xe3"
8851                           "\x0a\x2f\xb6\x45\x76\x89\xcd\x61"
8852                           "\xfe\x48\x5f\x75\x1d\x13\x00\x62"
8853                           "\x80\x24\x47\xe7\xbc\x37\xd7\xe3"
8854                           "\x15\xe8\x68\x22\xaf\x80\x6f\x4b"
8855                           "\xa8\x9f\x01\x10\x48\x14\xc3\x02"
8856                           "\x52\xd2\xc7\x75\x9b\x52\x6d\x30"
8857                           "\xac\x13\x85\xc8\xf7\xa3\x58\x4b"
8858                           "\x49\xf7\x1c\x45\x55\x8c\x39\x9a"
8859                           "\x99\x6d\x97\x27\x27\xe6\xab\xdd"
8860                           "\x2c\x42\x1b\x35\xdd\x9d\x73\xbb"
8861                           "\x6c\xf3\x64\xf1\xfb\xb9\xf7\xe6"
8862                           "\x4a\x3c\xc0\x92\xc0\x2e\xb7\x1a"
8863                           "\xbe\xab\xb3\x5a\xe5\xea\xb1\x48"
8864                           "\x58\x13\x53\x90\xfd\xc3\x8e\x54"
8865                           "\xf9\x18\x16\x73\xe8\xcb\x6d\x39"
8866                           "\x0e\xd7\xe0\xfe\xb6\x9f\x43\x97"
8867                           "\xe8\xd0\x85\x56\x83\x3e\x98\x68"
8868                           "\x7f\xbd\x95\xa8\x9a\x61\x21\x8f"
8869                           "\x06\x98\x34\xa6\xc8\xd6\x1d\xf3"
8870                           "\x3d\x43\xa4\x9a\x8c\xe5\xd3\x5a"
8871                           "\x32\xa2\x04\x22\xa4\x19\x1a\x46"
8872                           "\x42\x7e\x4d\xe5\xe0\xe6\x0e\xca"
8873                           "\xd5\x58\x9d\x2c\xaf\xda\x33\x5c"
8874                           "\xb0\x79\x9e\xc9\xfc\xca\xf0\x2f"
8875                           "\xa8\xb2\x77\xeb\x7a\xa2\xdd\x37"
8876                           "\x35\x83\x07\xd6\x02\x1a\xb6\x6c"
8877                           "\x24\xe2\x59\x08\x0e\xfd\x3e\x46"
8878                           "\xec\x40\x93\xf4\x00\x26\x4f\x2a"
8879                           "\xff\x47\x2f\xeb\x02\x92\x26\x5b"
8880                           "\x53\x17\xc2\x8d\x2a\xc7\xa3\x1b"
8881                           "\xcd\xbc\xa7\xe8\xd1\x76\xe3\x80"
8882                           "\x21\xca\x5d\x3b\xe4\x9c\x8f\xa9"
8883                           "\x5b\x7f\x29\x7f\x7c\xd8\xed\x6d"
8884                           "\x8c\xb2\x86\x85\xe7\x77\xf2\x85"
8885                           "\xab\x38\xa9\x9d\xc1\x4e\xc5\x64"
8886                           "\x33\x73\x8b\x59\x03\xad\x05\xdf"
8887                           "\x25\x98\x31\xde\xef\x13\xf1\x9b"
8888                           "\x3c\x91\x9d\x7b\xb1\xfa\xe6\xbf"
8889                           "\x5b\xed\xa5\x55\xe6\xea\x6c\x74"
8890                           "\xf4\xb9\xe4\x45\x64\x72\x81\xc2"
8891                           "\x4c\x28\xd4\xcd\xac\xe2\xde\xf9"
8892                           "\xeb\x5c\xeb\x61\x60\x5a\xe5\x28",
8893                 .ksize  = 1088,
8894                 .plaintext      = "",
8895                 .psize  = 0,
8896                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
8897                           "\x00\x00\x00\x00\x00\x00\x00\x00",
8898         }, {
8899                 .key    = "\x29\x21\x43\xcb\xcb\x13\x07\xde"
8900                           "\xbf\x48\xdf\x8a\x7f\xa2\x84\xde"
8901                           "\x72\x23\x9d\xf5\xf0\x07\xf2\x4c"
8902                           "\x20\x3a\x93\xb9\xcd\x5d\xfe\xcb"
8903                           "\x99\x2c\x2b\x58\xc6\x50\x5f\x94"
8904                           "\x56\xc3\x7c\x0d\x02\x3f\xb8\x5e"
8905                           "\x7b\xc0\x6c\x51\x34\x76\xc0\x0e"
8906                           "\xc6\x22\xc8\x9e\x92\xa0\x21\xc9"
8907                           "\x85\x5c\x7c\xf8\xe2\x64\x47\xc9"
8908                           "\xe4\xa2\x57\x93\xf8\xa2\x69\xcd"
8909                           "\x62\x98\x99\xf4\xd7\x7b\x14\xb1"
8910                           "\xd8\x05\xff\x04\x15\xc9\xe1\x6e"
8911                           "\x9b\xe6\x50\x6b\x0b\x3f\x22\x1f"
8912                           "\x08\xde\x0c\x5b\x08\x7e\xc6\x2f"
8913                           "\x6c\xed\xd6\xb2\x15\xa4\xb3\xf9"
8914                           "\xa7\x46\x38\x2a\xea\x69\xa5\xde"
8915                           "\x02\xc3\x96\x89\x4d\x55\x3b\xed"
8916                           "\x3d\x3a\x85\x77\xbf\x97\x45\x5c"
8917                           "\x9e\x02\x69\xe2\x1b\x68\xbe\x96"
8918                           "\xfb\x64\x6f\x0f\xf6\x06\x40\x67"
8919                           "\xfa\x04\xe3\x55\xfa\xbe\xa4\x60"
8920                           "\xef\x21\x66\x97\xe6\x9d\x5c\x1f"
8921                           "\x62\x37\xaa\x31\xde\xe4\x9c\x28"
8922                           "\x95\xe0\x22\x86\xf4\x4d\xf3\x07"
8923                           "\xfd\x5f\x3a\x54\x2c\x51\x80\x71"
8924                           "\xba\x78\x69\x5b\x65\xab\x1f\x81"
8925                           "\xed\x3b\xff\x34\xa3\xfb\xbc\x73"
8926                           "\x66\x7d\x13\x7f\xdf\x6e\xe2\xe2"
8927                           "\xeb\x4f\x6c\xda\x7d\x33\x57\xd0"
8928                           "\xd3\x7c\x95\x4f\x33\x58\x21\xc7"
8929                           "\xc0\xe5\x6f\x42\x26\xc6\x1f\x5e"
8930                           "\x85\x1b\x98\x9a\xa2\x1e\x55\x77"
8931                           "\x23\xdf\x81\x5e\x79\x55\x05\xfc"
8932                           "\xfb\xda\xee\xba\x5a\xba\xf7\x77"
8933                           "\x7f\x0e\xd3\xe1\x37\xfe\x8d\x2b"
8934                           "\xd5\x3f\xfb\xd0\xc0\x3c\x0b\x3f"
8935                           "\xcf\x3c\x14\xcf\xfb\x46\x72\x4c"
8936                           "\x1f\x39\xe2\xda\x03\x71\x6d\x23"
8937                           "\xef\x93\xcd\x39\xd9\x37\x80\x4d"
8938                           "\x65\x61\xd1\x2c\x03\xa9\x47\x72"
8939                           "\x4d\x1e\x0e\x16\x33\x0f\x21\x17"
8940                           "\xec\x92\xea\x6f\x37\x22\xa4\xd8"
8941                           "\x03\x33\x9e\xd8\x03\x69\x9a\xe8"
8942                           "\xb2\x57\xaf\x78\x99\x05\x12\xab"
8943                           "\x48\x90\x80\xf0\x12\x9b\x20\x64"
8944                           "\x7a\x1d\x47\x5f\xba\x3c\xf9\xc3"
8945                           "\x0a\x0d\x8d\xa1\xf9\x1b\x82\x13"
8946                           "\x3e\x0d\xec\x0a\x83\xc0\x65\xe1"
8947                           "\xe9\x95\xff\x97\xd6\xf2\xe4\xd5"
8948                           "\x86\xc0\x1f\x29\x27\x63\xd7\xde"
8949                           "\xb7\x0a\x07\x99\x04\x2d\xa3\x89"
8950                           "\xa2\x43\xcf\xf3\xe1\x43\xac\x4a"
8951                           "\x06\x97\xd0\x05\x4f\x87\xfa\xf9"
8952                           "\x9b\xbf\x52\x70\xbd\xbc\x6c\xf3"
8953                           "\x03\x13\x60\x41\x28\x09\xec\xcc"
8954                           "\xb1\x1a\xec\xd6\xfb\x6f\x2a\x89"
8955                           "\x5d\x0b\x53\x9c\x59\xc1\x84\x21"
8956                           "\x33\x51\x47\x19\x31\x9c\xd4\x0a"
8957                           "\x4d\x04\xec\x50\x90\x61\xbd\xbc"
8958                           "\x7e\xc8\xd9\x6c\x98\x1d\x45\x41"
8959                           "\x17\x5e\x97\x1c\xc5\xa8\xe8\xea"
8960                           "\x46\x58\x53\xf7\x17\xd5\xad\x11"
8961                           "\xc8\x54\xf5\x7a\x33\x90\xf5\x19"
8962                           "\xba\x36\xb4\xfc\x52\xa5\x72\x3d"
8963                           "\x14\xbb\x55\xa7\xe9\xe3\x12\xf7"
8964                           "\x1c\x30\xa2\x82\x03\xbf\x53\x91"
8965                           "\x2e\x60\x41\x9f\x5b\x69\x39\xf6"
8966                           "\x4d\xc8\xf8\x46\x7a\x7f\xa4\x98"
8967                           "\x36\xff\x06\xcb\xca\xe7\x33\xf2"
8968                           "\xc0\x4a\xf4\x3c\x14\x44\x5f\x6b"
8969                           "\x75\xef\x02\x36\x75\x08\x14\xfd"
8970                           "\x10\x8e\xa5\x58\xd0\x30\x46\x49"
8971                           "\xaf\x3a\xf8\x40\x3d\x35\xdb\x84"
8972                           "\x11\x2e\x97\x6a\xb7\x87\x7f\xad"
8973                           "\xf1\xfa\xa5\x63\x60\xd8\x5e\xbf"
8974                           "\x41\x78\x49\xcf\x77\xbb\x56\xbb"
8975                           "\x7d\x01\x67\x05\x22\xc8\x8f\x41"
8976                           "\xba\x81\xd2\xca\x2c\x38\xac\x76"
8977                           "\x06\xc1\x1a\xc2\xce\xac\x90\x67"
8978                           "\x57\x3e\x20\x12\x5b\xd9\x97\x58"
8979                           "\x65\x05\xb7\x04\x61\x7e\xd8\x3a"
8980                           "\xbf\x55\x3b\x13\xe9\x34\x5a\x37"
8981                           "\x36\xcb\x94\x45\xc5\x32\xb3\xa0"
8982                           "\x0c\x3e\x49\xc5\xd3\xed\xa7\xf0"
8983                           "\x1c\x69\xcc\xea\xcc\x83\xc9\x16"
8984                           "\x95\x72\x4b\xf4\x89\xd5\xb9\x10"
8985                           "\xf6\x2d\x60\x15\xea\x3c\x06\x66"
8986                           "\x9f\x82\xad\x17\xce\xd2\xa4\x48"
8987                           "\x7c\x65\xd9\xf8\x02\x4d\x9b\x4c"
8988                           "\x89\x06\x3a\x34\x85\x48\x89\x86"
8989                           "\xf9\x24\xa9\x54\x72\xdb\x44\x95"
8990                           "\xc7\x44\x1c\x19\x11\x4c\x04\xdc"
8991                           "\x13\xb9\x67\xc8\xc3\x3a\x6a\x50"
8992                           "\xfa\xd1\xfb\xe1\x88\xb6\xf1\xa3"
8993                           "\xc5\x3b\xdc\x38\x45\x16\x26\x02"
8994                           "\x3b\xb8\x8f\x8b\x58\x7d\x23\x04"
8995                           "\x50\x6b\x81\x9f\xae\x66\xac\x6f"
8996                           "\xcf\x2a\x9d\xf1\xfd\x1d\x57\x07"
8997                           "\xbe\x58\xeb\x77\x0c\xe3\xc2\x19"
8998                           "\x14\x74\x1b\x51\x1c\x4f\x41\xf3"
8999                           "\x32\x89\xb3\xe7\xde\x62\xf6\x5f"
9000                           "\xc7\x6a\x4a\x2a\x5b\x0f\x5f\x87"
9001                           "\x9c\x08\xb9\x02\x88\xc8\x29\xb7"
9002                           "\x94\x52\xfa\x52\xfe\xaa\x50\x10"
9003                           "\xba\x48\x75\x5e\x11\x1b\xe6\x39"
9004                           "\xd7\x82\x2c\x87\xf1\x1e\xa4\x38"
9005                           "\x72\x3e\x51\xe7\xd8\x3e\x5b\x7b"
9006                           "\x31\x16\x89\xba\xd6\xad\x18\x5e"
9007                           "\xba\xf8\x12\xb3\xf4\x6c\x47\x30"
9008                           "\xc0\x38\x58\xb3\x10\x8d\x58\x5d"
9009                           "\xb4\xfb\x19\x7e\x41\xc3\x66\xb8"
9010                           "\xd6\x72\x84\xe1\x1a\xc2\x71\x4c"
9011                           "\x0d\x4a\x21\x7a\xab\xa2\xc0\x36"
9012                           "\x15\xc5\xe9\x46\xd7\x29\x17\x76"
9013                           "\x5e\x47\x36\x7f\x72\x05\xa7\xcc"
9014                           "\x36\x63\xf9\x47\x7d\xe6\x07\x3c"
9015                           "\x8b\x79\x1d\x96\x61\x8d\x90\x65"
9016                           "\x7c\xf5\xeb\x4e\x6e\x09\x59\x6d"
9017                           "\x62\x50\x1b\x0f\xe0\xdc\x78\xf2"
9018                           "\x5b\x83\x1a\xa1\x11\x75\xfd\x18"
9019                           "\xd7\xe2\x8d\x65\x14\x21\xce\xbe"
9020                           "\xb5\x87\xe3\x0a\xda\x24\x0a\x64"
9021                           "\xa9\x9f\x03\x8d\x46\x5d\x24\x1a"
9022                           "\x8a\x0c\x42\x01\xca\xb1\x5f\x7c"
9023                           "\xa5\xac\x32\x4a\xb8\x07\x91\x18"
9024                           "\x6f\xb0\x71\x3c\xc9\xb1\xa8\xf8"
9025                           "\x5f\x69\xa5\xa1\xca\x9e\x7a\xaa"
9026                           "\xac\xe9\xc7\x47\x41\x75\x25\xc3"
9027                           "\x73\xe2\x0b\xdd\x6d\x52\x71\xbe"
9028                           "\xc5\xdc\xb4\xe7\x01\x26\x53\x77"
9029                           "\x86\x90\x85\x68\x6b\x7b\x03\x53"
9030                           "\xda\x52\x52\x51\x68\xc8\xf3\xec"
9031                           "\x6c\xd5\x03\x7a\xa3\x0e\xb4\x02"
9032                           "\x5f\x1a\xab\xee\xca\x67\x29\x7b"
9033                           "\xbd\x96\x59\xb3\x8b\x32\x7a\x92"
9034                           "\x9f\xd8\x25\x2b\xdf\xc0\x4c\xda",
9035                 .ksize  = 1088,
9036                 .plaintext      = "\xbc\xda\x81\xa8\x78\x79\x1c\xbf"
9037                           "\x77\x53\xba\x4c\x30\x5b\xb8\x33",
9038                 .psize  = 16,
9039                 .digest = "\x04\xbf\x7f\x6a\xce\x72\xea\x6a"
9040                           "\x79\xdb\xb0\xc9\x60\xf6\x12\xcc",
9041         }, {
9042                 .key    = "\x2e\x77\x1e\x2c\x63\x76\x34\x3f"
9043                           "\x71\x08\x4f\x5a\xe3\x3d\x74\x56"
9044                           "\xc7\x98\x46\x52\xe5\x8a\xba\x0d"
9045                           "\x72\x41\x11\x15\x14\x72\x50\x8a"
9046                           "\xd5\xec\x60\x09\xdd\x71\xcc\xb9"
9047                           "\x59\x81\x65\x2d\x9e\x50\x18\xf3"
9048                           "\x32\xf3\xf1\xe7\x01\x82\x1c\xad"
9049                           "\x88\xa0\x21\x0c\x4b\x80\x5e\x62"
9050                           "\xfc\x81\xec\x52\xaa\xe4\xa5\x86"
9051                           "\xc2\xe6\x03\x11\xdc\x66\x09\x86"
9052                           "\x3c\x3b\xf0\x59\x0f\xb3\xf7\x44"
9053                           "\x24\xb7\x88\xc5\xfc\xc8\x77\x9f"
9054                           "\x8c\x44\xc4\x11\x55\xce\x7a\xa3"
9055                           "\xe0\xa2\xb8\xbf\xb5\x3d\x07\x2c"
9056                           "\x32\xb6\x6c\xfc\xb4\x42\x95\x95"
9057                           "\x98\x32\x81\xc4\xe7\xe2\xd9\x6a"
9058                           "\x87\xf4\xf4\x1e\x74\x7c\xb5\xcd"
9059                           "\x51\x45\x68\x38\x51\xdb\x30\x74"
9060                           "\x11\xe0\xaa\xae\x19\x8f\x15\x55"
9061                           "\xdd\x47\x4a\x35\xb9\x0c\xb4\x4e"
9062                           "\xa9\xce\x2f\xfa\x8f\xc1\x8a\x5e"
9063                           "\x5b\xec\xa5\x81\x3b\xb3\x43\x06"
9064                           "\x24\x81\xf4\x24\xe2\x21\xfa\xcb"
9065                           "\x49\xa8\xf8\xbd\x31\x4a\x5b\x2d"
9066                           "\x64\x0a\x07\xf0\x80\xc9\x0d\x81"
9067                           "\x14\x58\x54\x2b\xba\x22\x31\xba"
9068                           "\xef\x66\xc9\x49\x69\x69\x83\x0d"
9069                           "\xf2\xf9\x80\x9d\x30\x36\xfb\xe3"
9070                           "\xc0\x72\x2b\xcc\x5a\x81\x2c\x5d"
9071                           "\x3b\x5e\xf8\x2b\xd3\x14\x28\x73"
9072                           "\xf9\x1c\x70\xe6\xd8\xbb\xac\x30"
9073                           "\xf9\xd9\xa0\xe2\x33\x7c\x33\x34"
9074                           "\xa5\x6a\x77\x6d\xd5\xaf\xf4\xf3"
9075                           "\xc7\xb3\x0e\x83\x3d\xcb\x01\xcc"
9076                           "\x81\xc0\xf9\x4a\xae\x36\x92\xf7"
9077                           "\x69\x7b\x65\x01\xc3\xc8\xb8\xae"
9078                           "\x16\xd8\x30\xbb\xba\x6d\x78\x6e"
9079                           "\x0d\xf0\x7d\x84\xb7\x87\xda\x28"
9080                           "\x7a\x18\x10\x0b\x29\xec\x29\xf3"
9081                           "\xb0\x7b\xa1\x28\xbf\xbc\x2b\x2c"
9082                           "\x92\x2c\x16\xfb\x02\x39\xf9\xa6"
9083                           "\xa2\x15\x05\xa6\x72\x10\xbc\x62"
9084                           "\x4a\x6e\xb8\xb5\x5d\x59\xae\x3c"
9085                           "\x32\xd3\x68\xd7\x8e\x5a\xcd\x1b"
9086                           "\xef\xf6\xa7\x5e\x10\x51\x15\x4b"
9087                           "\x2c\xe3\xba\x70\x4f\x2c\xa0\x1c"
9088                           "\x7b\x97\xd7\xb2\xa5\x05\x17\xcc"
9089                           "\xf7\x3a\x29\x6f\xd5\x4b\xb8\x24"
9090                           "\xf4\x65\x95\x12\xc0\x86\xd1\x64"
9091                           "\x81\xdf\x46\x55\x0d\x22\x06\x77"
9092                           "\xd8\xca\x8d\xc8\x87\xc3\xfa\xb9"
9093                           "\xe1\x98\x94\xe6\x7b\xed\x65\x66"
9094                           "\x0e\xc7\x25\x15\xee\x4a\xe6\x7e"
9095                           "\xea\x1b\x58\xee\x96\xa0\x75\x9a"
9096                           "\xa3\x00\x9e\x42\xc2\x26\x20\x8c"
9097                           "\x3d\x22\x1f\x94\x3e\x74\x43\x72"
9098                           "\xe9\x1d\xa6\xa1\x6c\xa7\xb8\x03"
9099                           "\xdf\xb9\x7a\xaf\xe9\xe9\x3b\xfe"
9100                           "\xdf\x91\xc1\x01\xa8\xba\x5d\x29"
9101                           "\xa5\xe0\x98\x9b\x13\xe5\x13\x11"
9102                           "\x7c\x04\x3a\xe8\x44\x7e\x78\xfc"
9103                           "\xd6\x96\xa8\xbc\x7d\xc1\x89\x3d"
9104                           "\x75\x64\xa9\x0e\x86\x33\xfb\x73"
9105                           "\xf7\x15\xbc\x2c\x9a\x3f\x29\xce"
9106                           "\x1c\x9d\x10\x4e\x85\xe1\x77\x41"
9107                           "\x01\xe2\xbc\x88\xec\x81\xef\xc2"
9108                           "\x6a\xed\x4f\xf7\xdf\xac\x10\x71"
9109                           "\x94\xed\x71\xa4\x01\xd4\xd6\xbe"
9110                           "\xfe\x3e\xc3\x92\x6a\xf2\x2b\xb5"
9111                           "\xab\x15\x96\xb7\x88\x2c\xc2\xe1"
9112                           "\xb0\x04\x22\xe7\x3d\xa9\xc9\x7d"
9113                           "\x2c\x7c\x21\xff\x97\x86\x6b\x0c"
9114                           "\x2b\x5b\xe0\xb6\x48\x74\x8f\x24"
9115                           "\xef\x8e\xdd\x0f\x2a\x5f\xff\x33"
9116                           "\xf4\x8e\xc5\xeb\x9c\xd7\x2a\x45"
9117                           "\xf3\x50\xf1\xc0\x91\x8f\xc7\xf9"
9118                           "\x97\xc1\x3c\x9c\xf4\xed\x8a\x23"
9119                           "\x61\x5b\x40\x1a\x09\xee\x23\xa8"
9120                           "\x7c\x7a\x96\xe1\x31\x55\x3d\x12"
9121                           "\x04\x1f\x21\x78\x72\xf0\x0f\xa5"
9122                           "\x80\x58\x7c\x2f\x37\xb5\x67\x24"
9123                           "\x2f\xce\xf9\xf6\x86\x9f\xb3\x34"
9124                           "\x0c\xfe\x0a\xaf\x27\xe6\x5e\x0a"
9125                           "\x21\x44\x68\xe1\x5d\x84\x25\xae"
9126                           "\x2c\x5a\x94\x66\x9a\x3f\x0e\x5a"
9127                           "\xd0\x60\x2a\xd5\x3a\x4e\x2f\x40"
9128                           "\x87\xe9\x27\x3e\xee\x92\xe1\x07"
9129                           "\x22\x43\x52\xed\x67\x49\x13\xdd"
9130                           "\x68\xd7\x54\xc2\x76\x72\x7e\x75"
9131                           "\xaf\x24\x98\x5c\xe8\x22\xaa\x35"
9132                           "\x0f\x9a\x1c\x4c\x0b\x43\x68\x99"
9133                           "\x45\xdd\xbf\x82\xa5\x6f\x0a\xef"
9134                           "\x44\x90\x85\xe7\x57\x23\x22\x41"
9135                           "\x2e\xda\x24\x28\x65\x7f\x96\x85"
9136                           "\x9f\x4b\x0d\x43\xb9\xa8\xbd\x84"
9137                           "\xad\x0b\x09\xcc\x2c\x4a\x0c\xec"
9138                           "\x71\x58\xba\xf1\xfc\x49\x4c\xca"
9139                           "\x5c\x5d\xb2\x77\x0c\x99\xae\x1c"
9140                           "\xce\x70\x05\x5b\x73\x6b\x7c\x28"
9141                           "\x3b\xeb\x21\x3f\xa3\x71\xe1\x6a"
9142                           "\xf4\x87\xd0\xbf\x73\xaa\x0b\x0b"
9143                           "\xed\x70\xb3\xd4\xa3\xca\x76\x3a"
9144                           "\xdb\xfa\xd8\x08\x95\xec\xac\x59"
9145                           "\xd0\x79\x90\xc2\x33\x7b\xcc\x28"
9146                           "\x65\xb6\x5f\x92\xc4\xac\x23\x40"
9147                           "\xd1\x20\x44\x1f\xd7\x29\xab\x46"
9148                           "\x79\x32\xc6\x8f\x79\xe5\xaa\x2c"
9149                           "\xa6\x76\x70\x3a\x9e\x46\x3f\x8c"
9150                           "\x1a\x89\x32\x28\x61\x5c\xcf\x93"
9151                           "\x1e\xde\x9e\x98\xbe\x06\x30\x23"
9152                           "\xc4\x8b\xda\x1c\xd1\x67\x46\x93"
9153                           "\x9d\x41\xa2\x8c\x03\x22\xbd\x55"
9154                           "\x7e\x91\x51\x13\xdc\xcf\x5c\x1e"
9155                           "\xcb\x5d\xfb\x14\x16\x1a\x44\x56"
9156                           "\x27\x77\xfd\xed\x7d\xbd\xd1\x49"
9157                           "\x7f\x0d\xc3\x59\x48\x6b\x3c\x02"
9158                           "\x6b\xb5\xd0\x83\xd5\x81\x29\xe7"
9159                           "\xe0\xc9\x36\x23\x8d\x41\x33\x77"
9160                           "\xff\x5f\x54\xde\x4d\x3f\xd2\x4e"
9161                           "\xb6\x4d\xdd\x85\xf8\x9b\x20\x7d"
9162                           "\x39\x27\x68\x63\xd3\x8e\x61\x39"
9163                           "\xfa\xe1\xc3\x04\x74\x27\x5a\x34"
9164                           "\x7f\xec\x59\x2d\xc5\x6e\x54\x23"
9165                           "\xf5\x7b\x4b\xbe\x58\x2b\xf2\x81"
9166                           "\x93\x63\xcc\x13\xd9\x90\xbb\x6a"
9167                           "\x41\x03\x8d\x95\xeb\xbb\x5d\x06"
9168                           "\x38\x4c\x0e\xd6\xa9\x5b\x84\x97"
9169                           "\x3e\x64\x72\xe9\x96\x07\x0f\x73"
9170                           "\x6e\xc6\x3b\x32\xbe\xac\x13\x14"
9171                           "\xd0\x0a\x17\x5f\xb9\x9c\x3e\x34"
9172                           "\xd9\xec\xd6\x8f\x89\xbf\x1e\xd3"
9173                           "\xda\x80\xb2\x29\xff\x28\x96\xb3"
9174                           "\x46\x50\x5b\x15\x80\x97\xee\x1f"
9175                           "\x6c\xd8\xe8\xe0\xbd\x09\xe7\x20"
9176                           "\x8c\x23\x8e\xd9\xbb\x92\xfa\x82"
9177                           "\xaa\x0f\xb5\xf8\x78\x60\x11\xf0",
9178                 .ksize  = 1088,
9179                 .plaintext      = "\x0b\xb2\x31\x2d\xad\xfe\xce\xf9"
9180                           "\xec\x5d\x3d\x64\x5f\x3f\x75\x43"
9181                           "\x05\x5b\x97",
9182                 .psize  = 19,
9183                 .digest = "\x5f\x02\xae\x65\x6c\x13\x21\x67"
9184                           "\x77\x9e\xc4\x43\x58\x68\xde\x8f",
9185         }, {
9186                 .key    = "\x65\x4d\xe3\xf8\xd2\x4c\xac\x28"
9187                           "\x68\xf5\xb3\x81\x71\x4b\xa1\xfa"
9188                           "\x04\x0e\xd3\x81\x36\xbe\x0c\x81"
9189                           "\x5e\xaf\xbc\x3a\xa4\xc0\x8e\x8b"
9190                           "\x55\x63\xd3\x52\x97\x88\xd6\x19"
9191                           "\xbc\x96\xdf\x49\xff\x04\x63\xf5"
9192                           "\x0c\x11\x13\xaa\x9e\x1f\x5a\xf7"
9193                           "\xdd\xbd\x37\x80\xc3\xd0\xbe\xa7"
9194                           "\x05\xc8\x3c\x98\x1e\x05\x3c\x84"
9195                           "\x39\x61\xc4\xed\xed\x71\x1b\xc4"
9196                           "\x74\x45\x2c\xa1\x56\x70\x97\xfd"
9197                           "\x44\x18\x07\x7d\xca\x60\x1f\x73"
9198                           "\x3b\x6d\x21\xcb\x61\x87\x70\x25"
9199                           "\x46\x21\xf1\x1f\x21\x91\x31\x2d"
9200                           "\x5d\xcc\xb7\xd1\x84\x3e\x3d\xdb"
9201                           "\x03\x53\x2a\x82\xa6\x9a\x95\xbc"
9202                           "\x1a\x1e\x0a\x5e\x07\x43\xab\x43"
9203                           "\xaf\x92\x82\x06\x91\x04\x09\xf4"
9204                           "\x17\x0a\x9a\x2c\x54\xdb\xb8\xf4"
9205                           "\xd0\xf0\x10\x66\x24\x8d\xcd\xda"
9206                           "\xfe\x0e\x45\x9d\x6f\xc4\x4e\xf4"
9207                           "\x96\xaf\x13\xdc\xa9\xd4\x8c\xc4"
9208                           "\xc8\x57\x39\x3c\xc2\xd3\x0a\x76"
9209                           "\x4a\x1f\x75\x83\x44\xc7\xd1\x39"
9210                           "\xd8\xb5\x41\xba\x73\x87\xfa\x96"
9211                           "\xc7\x18\x53\xfb\x9b\xda\xa0\x97"
9212                           "\x1d\xee\x60\x85\x9e\x14\xc3\xce"
9213                           "\xc4\x05\x29\x3b\x95\x30\xa3\xd1"
9214                           "\x9f\x82\x6a\x04\xf5\xa7\x75\x57"
9215                           "\x82\x04\xfe\x71\x51\x71\xb1\x49"
9216                           "\x50\xf8\xe0\x96\xf1\xfa\xa8\x88"
9217                           "\x3f\xa0\x86\x20\xd4\x60\x79\x59"
9218                           "\x17\x2d\xd1\x09\xf4\xec\x05\x57"
9219                           "\xcf\x62\x7e\x0e\x7e\x60\x78\xe6"
9220                           "\x08\x60\x29\xd8\xd5\x08\x1a\x24"
9221                           "\xc4\x6c\x24\xe7\x92\x08\x3d\x8a"
9222                           "\x98\x7a\xcf\x99\x0a\x65\x0e\xdc"
9223                           "\x8c\x8a\xbe\x92\x82\x91\xcc\x62"
9224                           "\x30\xb6\xf4\x3f\xc6\x8a\x7f\x12"
9225                           "\x4a\x8a\x49\xfa\x3f\x5c\xd4\x5a"
9226                           "\xa6\x82\xa3\xe6\xaa\x34\x76\xb2"
9227                           "\xab\x0a\x30\xef\x6c\x77\x58\x3f"
9228                           "\x05\x6b\xcc\x5c\xae\xdc\xd7\xb9"
9229                           "\x51\x7e\x8d\x32\x5b\x24\x25\xbe"
9230                           "\x2b\x24\x01\xcf\x80\xda\x16\xd8"
9231                           "\x90\x72\x2c\xad\x34\x8d\x0c\x74"
9232                           "\x02\xcb\xfd\xcf\x6e\xef\x97\xb5"
9233                           "\x4c\xf2\x68\xca\xde\x43\x9e\x8a"
9234                           "\xc5\x5f\x31\x7f\x14\x71\x38\xec"
9235                           "\xbd\x98\xe5\x71\xc4\xb5\xdb\xef"
9236                           "\x59\xd2\xca\xc0\xc1\x86\x75\x01"
9237                           "\xd4\x15\x0d\x6f\xa4\xf7\x7b\x37"
9238                           "\x47\xda\x18\x93\x63\xda\xbe\x9e"
9239                           "\x07\xfb\xb2\x83\xd5\xc4\x34\x55"
9240                           "\xee\x73\xa1\x42\x96\xf9\x66\x41"
9241                           "\xa4\xcc\xd2\x93\x6e\xe1\x0a\xbb"
9242                           "\xd2\xdd\x18\x23\xe6\x6b\x98\x0b"
9243                           "\x8a\x83\x59\x2c\xc3\xa6\x59\x5b"
9244                           "\x01\x22\x59\xf7\xdc\xb0\x87\x7e"
9245                           "\xdb\x7d\xf4\x71\x41\xab\xbd\xee"
9246                           "\x79\xbe\x3c\x01\x76\x0b\x2d\x0a"
9247                           "\x42\xc9\x77\x8c\xbb\x54\x95\x60"
9248                           "\x43\x2e\xe0\x17\x52\xbd\x90\xc9"
9249                           "\xc2\x2c\xdd\x90\x24\x22\x76\x40"
9250                           "\x5c\xb9\x41\xc9\xa1\xd5\xbd\xe3"
9251                           "\x44\xe0\xa4\xab\xcc\xb8\xe2\x32"
9252                           "\x02\x15\x04\x1f\x8c\xec\x5d\x14"
9253                           "\xac\x18\xaa\xef\x6e\x33\x19\x6e"
9254                           "\xde\xfe\x19\xdb\xeb\x61\xca\x18"
9255                           "\xad\xd8\x3d\xbf\x09\x11\xc7\xa5"
9256                           "\x86\x0b\x0f\xe5\x3e\xde\xe8\xd9"
9257                           "\x0a\x69\x9e\x4c\x20\xff\xf9\xc5"
9258                           "\xfa\xf8\xf3\x7f\xa5\x01\x4b\x5e"
9259                           "\x0f\xf0\x3b\x68\xf0\x46\x8c\x2a"
9260                           "\x7a\xc1\x8f\xa0\xfe\x6a\x5b\x44"
9261                           "\x70\x5c\xcc\x92\x2c\x6f\x0f\xbd"
9262                           "\x25\x3e\xb7\x8e\x73\x58\xda\xc9"
9263                           "\xa5\xaa\x9e\xf3\x9b\xfd\x37\x3e"
9264                           "\xe2\x88\xa4\x7b\xc8\x5c\xa8\x93"
9265                           "\x0e\xe7\x9a\x9c\x2e\x95\x18\x9f"
9266                           "\xc8\x45\x0c\x88\x9e\x53\x4f\x3a"
9267                           "\x76\xc1\x35\xfa\x17\xd8\xac\xa0"
9268                           "\x0c\x2d\x47\x2e\x4f\x69\x9b\xf7"
9269                           "\xd0\xb6\x96\x0c\x19\xb3\x08\x01"
9270                           "\x65\x7a\x1f\xc7\x31\x86\xdb\xc8"
9271                           "\xc1\x99\x8f\xf8\x08\x4a\x9d\x23"
9272                           "\x22\xa8\xcf\x27\x01\x01\x88\x93"
9273                           "\x9c\x86\x45\xbd\xe0\x51\xca\x52"
9274                           "\x84\xba\xfe\x03\xf7\xda\xc5\xce"
9275                           "\x3e\x77\x75\x86\xaf\x84\xc8\x05"
9276                           "\x44\x01\x0f\x02\xf3\x58\xb0\x06"
9277                           "\x5a\xd7\x12\x30\x8d\xdf\x1f\x1f"
9278                           "\x0a\xe6\xd2\xea\xf6\x3a\x7a\x99"
9279                           "\x63\xe8\xd2\xc1\x4a\x45\x8b\x40"
9280                           "\x4d\x0a\xa9\x76\x92\xb3\xda\x87"
9281                           "\x36\x33\xf0\x78\xc3\x2f\x5f\x02"
9282                           "\x1a\x6a\x2c\x32\xcd\x76\xbf\xbd"
9283                           "\x5a\x26\x20\x28\x8c\x8c\xbc\x52"
9284                           "\x3d\x0a\xc9\xcb\xab\xa4\x21\xb0"
9285                           "\x54\x40\x81\x44\xc7\xd6\x1c\x11"
9286                           "\x44\xc6\x02\x92\x14\x5a\xbf\x1a"
9287                           "\x09\x8a\x18\xad\xcd\x64\x3d\x53"
9288                           "\x4a\xb6\xa5\x1b\x57\x0e\xef\xe0"
9289                           "\x8c\x44\x5f\x7d\xbd\x6c\xfd\x60"
9290                           "\xae\x02\x24\xb6\x99\xdd\x8c\xaf"
9291                           "\x59\x39\x75\x3c\xd1\x54\x7b\x86"
9292                           "\xcc\x99\xd9\x28\x0c\xb0\x94\x62"
9293                           "\xf9\x51\xd1\x19\x96\x2d\x66\xf5"
9294                           "\x55\xcf\x9e\x59\xe2\x6b\x2c\x08"
9295                           "\xc0\x54\x48\x24\x45\xc3\x8c\x73"
9296                           "\xea\x27\x6e\x66\x7d\x1d\x0e\x6e"
9297                           "\x13\xe8\x56\x65\x3a\xb0\x81\x5c"
9298                           "\xf0\xe8\xd8\x00\x6b\xcd\x8f\xad"
9299                           "\xdd\x53\xf3\xa4\x6c\x43\xd6\x31"
9300                           "\xaf\xd2\x76\x1e\x91\x12\xdb\x3c"
9301                           "\x8c\xc2\x81\xf0\x49\xdb\xe2\x6b"
9302                           "\x76\x62\x0a\x04\xe4\xaa\x8a\x7c"
9303                           "\x08\x0b\x5d\xd0\xee\x1d\xfb\xc4"
9304                           "\x02\x75\x42\xd6\xba\xa7\x22\xa8"
9305                           "\x47\x29\xb7\x85\x6d\x93\x3a\xdb"
9306                           "\x00\x53\x0b\xa2\xeb\xf8\xfe\x01"
9307                           "\x6f\x8a\x31\xd6\x17\x05\x6f\x67"
9308                           "\x88\x95\x32\xfe\x4f\xa6\x4b\xf8"
9309                           "\x03\xe4\xcd\x9a\x18\xe8\x4e\x2d"
9310                           "\xf7\x97\x9a\x0c\x7d\x9f\x7e\x44"
9311                           "\x69\x51\xe0\x32\x6b\x62\x86\x8f"
9312                           "\xa6\x8e\x0b\x21\x96\xe5\xaf\x77"
9313                           "\xc0\x83\xdf\xa5\x0e\xd0\xa1\x04"
9314                           "\xaf\xc1\x10\xcb\x5a\x40\xe4\xe3"
9315                           "\x38\x7e\x07\xe8\x4d\xfa\xed\xc5"
9316                           "\xf0\x37\xdf\xbb\x8a\xcf\x3d\xdc"
9317                           "\x61\xd2\xc6\x2b\xff\x07\xc9\x2f"
9318                           "\x0c\x2d\x5c\x07\xa8\x35\x6a\xfc"
9319                           "\xae\x09\x03\x45\x74\x51\x4d\xc4"
9320                           "\xb8\x23\x87\x4a\x99\x27\x20\x87"
9321                           "\x62\x44\x0a\x4a\xce\x78\x47\x22",
9322                 .ksize  = 1088,
9323                 .plaintext      = "\x8e\xb0\x4c\xde\x9c\x4a\x04\x5a"
9324                           "\xf6\xa9\x7f\x45\x25\xa5\x7b\x3a"
9325                           "\xbc\x4d\x73\x39\x81\xb5\xbd\x3d"
9326                           "\x21\x6f\xd7\x37\x50\x3c\x7b\x28"
9327                           "\xd1\x03\x3a\x17\xed\x7b\x7c\x2a"
9328                           "\x16\xbc\xdf\x19\x89\x52\x71\x31"
9329                           "\xb6\xc0\xfd\xb5\xd3\xba\x96\x99"
9330                           "\xb6\x34\x0b\xd0\x99\x93\xfc\x1a"
9331                           "\x01\x3c\x85\xc6\x9b\x78\x5c\x8b"
9332                           "\xfe\xae\xd2\xbf\xb2\x6f\xf9\xed"
9333                           "\xc8\x25\x17\xfe\x10\x3b\x7d\xda"
9334                           "\xf4\x8d\x35\x4b\x7c\x7b\x82\xe7"
9335                           "\xc2\xb3\xee\x60\x4a\x03\x86\xc9"
9336                           "\x4e\xb5\xc4\xbe\xd2\xbd\x66\xf1"
9337                           "\x13\xf1\x09\xab\x5d\xca\x63\x1f"
9338                           "\xfc\xfb\x57\x2a\xfc\xca\x66\xd8"
9339                           "\x77\x84\x38\x23\x1d\xac\xd3\xb3"
9340                           "\x7a\xad\x4c\x70\xfa\x9c\xc9\x61"
9341                           "\xa6\x1b\xba\x33\x4b\x4e\x33\xec"
9342                           "\xa0\xa1\x64\x39\x40\x05\x1c\xc2"
9343                           "\x3f\x49\x9d\xae\xf2\xc5\xf2\xc5"
9344                           "\xfe\xe8\xf4\xc2\xf9\x96\x2d\x28"
9345                           "\x92\x30\x44\xbc\xd2\x7f\xe1\x6e"
9346                           "\x62\x02\x8f\x3d\x1c\x80\xda\x0e"
9347                           "\x6a\x90\x7e\x75\xff\xec\x3e\xc4"
9348                           "\xcd\x16\x34\x3b\x05\x6d\x4d\x20"
9349                           "\x1c\x7b\xf5\x57\x4f\xfa\x3d\xac"
9350                           "\xd0\x13\x55\xe8\xb3\xe1\x1b\x78"
9351                           "\x30\xe6\x9f\x84\xd4\x69\xd1\x08"
9352                           "\x12\x77\xa7\x4a\xbd\xc0\xf2\xd2"
9353                           "\x78\xdd\xa3\x81\x12\xcb\x6c\x14"
9354                           "\x90\x61\xe2\x84\xc6\x2b\x16\xcc"
9355                           "\x40\x99\x50\x88\x01\x09\x64\x4f"
9356                           "\x0a\x80\xbe\x61\xae\x46\xc9\x0a"
9357                           "\x5d\xe0\xfb\x72\x7a\x1a\xdd\x61"
9358                           "\x63\x20\x05\xa0\x4a\xf0\x60\x69"
9359                           "\x7f\x92\xbc\xbf\x4e\x39\x4d\xdd"
9360                           "\x74\xd1\xb7\xc0\x5a\x34\xb7\xae"
9361                           "\x76\x65\x2e\xbc\x36\xb9\x04\x95"
9362                           "\x42\xe9\x6f\xca\x78\xb3\x72\x07"
9363                           "\xa3\xba\x02\x94\x67\x4c\xb1\xd7"
9364                           "\xe9\x30\x0d\xf0\x3b\xb8\x10\x6d"
9365                           "\xea\x2b\x21\xbf\x74\x59\x82\x97"
9366                           "\x85\xaa\xf1\xd7\x54\x39\xeb\x05"
9367                           "\xbd\xf3\x40\xa0\x97\xe6\x74\xfe"
9368                           "\xb4\x82\x5b\xb1\x36\xcb\xe8\x0d"
9369                           "\xce\x14\xd9\xdf\xf1\x94\x22\xcd"
9370                           "\xd6\x00\xba\x04\x4c\x05\x0c\xc0"
9371                           "\xd1\x5a\xeb\x52\xd5\xa8\x8e\xc8"
9372                           "\x97\xa1\xaa\xc1\xea\xc1\xbe\x7c"
9373                           "\x36\xb3\x36\xa0\xc6\x76\x66\xc5"
9374                           "\xe2\xaf\xd6\x5c\xe2\xdb\x2c\xb3"
9375                           "\x6c\xb9\x99\x7f\xff\x9f\x03\x24"
9376                           "\xe1\x51\x44\x66\xd8\x0c\x5d\x7f"
9377                           "\x5c\x85\x22\x2a\xcf\x6d\x79\x28"
9378                           "\xab\x98\x01\x72\xfe\x80\x87\x5f"
9379                           "\x46\xba\xef\x81\x24\xee\xbf\xb0"
9380                           "\x24\x74\xa3\x65\x97\x12\xc4\xaf"
9381                           "\x8b\xa0\x39\xda\x8a\x7e\x74\x6e"
9382                           "\x1b\x42\xb4\x44\x37\xfc\x59\xfd"
9383                           "\x86\xed\xfb\x8c\x66\x33\xda\x63"
9384                           "\x75\xeb\xe1\xa4\x85\x4f\x50\x8f"
9385                           "\x83\x66\x0d\xd3\x37\xfa\xe6\x9c"
9386                           "\x4f\x30\x87\x35\x18\xe3\x0b\xb7"
9387                           "\x6e\x64\x54\xcd\x70\xb3\xde\x54"
9388                           "\xb7\x1d\xe6\x4c\x4d\x55\x12\x12"
9389                           "\xaf\x5f\x7f\x5e\xee\x9d\xe8\x8e"
9390                           "\x32\x9d\x4e\x75\xeb\xc6\xdd\xaa"
9391                           "\x48\x82\xa4\x3f\x3c\xd7\xd3\xa8"
9392                           "\x63\x9e\x64\xfe\xe3\x97\x00\x62"
9393                           "\xe5\x40\x5d\xc3\xad\x72\xe1\x28"
9394                           "\x18\x50\xb7\x75\xef\xcd\x23\xbf"
9395                           "\x3f\xc0\x51\x36\xf8\x41\xc3\x08"
9396                           "\xcb\xf1\x8d\x38\x34\xbd\x48\x45"
9397                           "\x75\xed\xbc\x65\x7b\xb5\x0c\x9b"
9398                           "\xd7\x67\x7d\x27\xb4\xc4\x80\xd7"
9399                           "\xa9\xb9\xc7\x4a\x97\xaa\xda\xc8"
9400                           "\x3c\x74\xcf\x36\x8f\xe4\x41\xe3"
9401                           "\xd4\xd3\x26\xa7\xf3\x23\x9d\x8f"
9402                           "\x6c\x20\x05\x32\x3e\xe0\xc3\xc8"
9403                           "\x56\x3f\xa7\x09\xb7\xfb\xc7\xf7"
9404                           "\xbe\x2a\xdd\x0f\x06\x7b\x0d\xdd"
9405                           "\xb0\xb4\x86\x17\xfd\xb9\x04\xe5"
9406                           "\xc0\x64\x5d\xad\x2a\x36\x38\xdb"
9407                           "\x24\xaf\x5b\xff\xca\xf9\x41\xe8"
9408                           "\xf9\x2f\x1e\x5e\xf9\xf5\xd5\xf2"
9409                           "\xb2\x88\xca\xc9\xa1\x31\xe2\xe8"
9410                           "\x10\x95\x65\xbf\xf1\x11\x61\x7a"
9411                           "\x30\x1a\x54\x90\xea\xd2\x30\xf6"
9412                           "\xa5\xad\x60\xf9\x4d\x84\x21\x1b"
9413                           "\xe4\x42\x22\xc8\x12\x4b\xb0\x58"
9414                           "\x3e\x9c\x2d\x32\x95\x0a\x8e\xb0"
9415                           "\x0a\x7e\x77\x2f\xe8\x97\x31\x6a"
9416                           "\xf5\x59\xb4\x26\xe6\x37\x12\xc9"
9417                           "\xcb\xa0\x58\x33\x6f\xd5\x55\x55"
9418                           "\x3c\xa1\x33\xb1\x0b\x7e\x2e\xb4"
9419                           "\x43\x2a\x84\x39\xf0\x9c\xf4\x69"
9420                           "\x4f\x1e\x79\xa6\x15\x1b\x87\xbb"
9421                           "\xdb\x9b\xe0\xf1\x0b\xba\xe3\x6e"
9422                           "\xcc\x2f\x49\x19\x22\x29\xfc\x71"
9423                           "\xbb\x77\x38\x18\x61\xaf\x85\x76"
9424                           "\xeb\xd1\x09\xcc\x86\x04\x20\x9a"
9425                           "\x66\x53\x2f\x44\x8b\xc6\xa3\xd2"
9426                           "\x5f\xc7\x79\x82\x66\xa8\x6e\x75"
9427                           "\x7d\x94\xd1\x86\x75\x0f\xa5\x4f"
9428                           "\x3c\x7a\x33\xce\xd1\x6e\x9d\x7b"
9429                           "\x1f\x91\x37\xb8\x37\x80\xfb\xe0"
9430                           "\x52\x26\xd0\x9a\xd4\x48\x02\x41"
9431                           "\x05\xe3\x5a\x94\xf1\x65\x61\x19"
9432                           "\xb8\x88\x4e\x2b\xea\xba\x8b\x58"
9433                           "\x8b\x42\x01\x00\xa8\xfe\x00\x5c"
9434                           "\xfe\x1c\xee\x31\x15\x69\xfa\xb3"
9435                           "\x9b\x5f\x22\x8e\x0d\x2c\xe3\xa5"
9436                           "\x21\xb9\x99\x8a\x8e\x94\x5a\xef"
9437                           "\x13\x3e\x99\x96\x79\x6e\xd5\x42"
9438                           "\x36\x03\xa9\xe2\xca\x65\x4e\x8a"
9439                           "\x8a\x30\xd2\x7d\x74\xe7\xf0\xaa"
9440                           "\x23\x26\xdd\xcb\x82\x39\xfc\x9d"
9441                           "\x51\x76\x21\x80\xa2\xbe\x93\x03"
9442                           "\x47\xb0\xc1\xb6\xdc\x63\xfd\x9f"
9443                           "\xca\x9d\xa5\xca\x27\x85\xe2\xd8"
9444                           "\x15\x5b\x7e\x14\x7a\xc4\x89\xcc"
9445                           "\x74\x14\x4b\x46\xd2\xce\xac\x39"
9446                           "\x6b\x6a\x5a\xa4\x0e\xe3\x7b\x15"
9447                           "\x94\x4b\x0f\x74\xcb\x0c\x7f\xa9"
9448                           "\xbe\x09\x39\xa3\xdd\x56\x5c\xc7"
9449                           "\x99\x56\x65\x39\xf4\x0b\x7d\x87"
9450                           "\xec\xaa\xe3\x4d\x22\x65\x39\x4e",
9451                 .psize  = 1024,
9452                 .digest = "\x64\x3a\xbc\xc3\x3f\x74\x40\x51"
9453                           "\x6e\x56\x01\x1a\x51\xec\x36\xde",
9454         }, {
9455                 .key    = "\x1b\x82\x2e\x1b\x17\x23\xb9\x6d"
9456                           "\xdc\x9c\xda\x99\x07\xe3\x5f\xd8"
9457                           "\xd2\xf8\x43\x80\x8d\x86\x7d\x80"
9458                           "\x1a\xd0\xcc\x13\xb9\x11\x05\x3f"
9459                           "\x7e\xcf\x7e\x80\x0e\xd8\x25\x48"
9460                           "\x8b\xaa\x63\x83\x92\xd0\x72\xf5"
9461                           "\x4f\x67\x7e\x50\x18\x25\xa4\xd1"
9462                           "\xe0\x7e\x1e\xba\xd8\xa7\x6e\xdb"
9463                           "\x1a\xcc\x0d\xfe\x9f\x6d\x22\x35"
9464                           "\xe1\xe6\xe0\xa8\x7b\x9c\xb1\x66"
9465                           "\xa3\xf8\xff\x4d\x90\x84\x28\xbc"
9466                           "\xdc\x19\xc7\x91\x49\xfc\xf6\x33"
9467                           "\xc9\x6e\x65\x7f\x28\x6f\x68\x2e"
9468                           "\xdf\x1a\x75\xe9\xc2\x0c\x96\xb9"
9469                           "\x31\x22\xc4\x07\xc6\x0a\x2f\xfd"
9470                           "\x36\x06\x5f\x5c\xc5\xb1\x3a\xf4"
9471                           "\x5e\x48\xa4\x45\x2b\x88\xa7\xee"
9472                           "\xa9\x8b\x52\xcc\x99\xd9\x2f\xb8"
9473                           "\xa4\x58\x0a\x13\xeb\x71\x5a\xfa"
9474                           "\xe5\x5e\xbe\xf2\x64\xad\x75\xbc"
9475                           "\x0b\x5b\x34\x13\x3b\x23\x13\x9a"
9476                           "\x69\x30\x1e\x9a\xb8\x03\xb8\x8b"
9477                           "\x3e\x46\x18\x6d\x38\xd9\xb3\xd8"
9478                           "\xbf\xf1\xd0\x28\xe6\x51\x57\x80"
9479                           "\x5e\x99\xfb\xd0\xce\x1e\x83\xf7"
9480                           "\xe9\x07\x5a\x63\xa9\xef\xce\xa5"
9481                           "\xfb\x3f\x37\x17\xfc\x0b\x37\x0e"
9482                           "\xbb\x4b\x21\x62\xb7\x83\x0e\xa9"
9483                           "\x9e\xb0\xc4\xad\x47\xbe\x35\xe7"
9484                           "\x51\xb2\xf2\xac\x2b\x65\x7b\x48"
9485                           "\xe3\x3f\x5f\xb6\x09\x04\x0c\x58"
9486                           "\xce\x99\xa9\x15\x2f\x4e\xc1\xf2"
9487                           "\x24\x48\xc0\xd8\x6c\xd3\x76\x17"
9488                           "\x83\x5d\xe6\xe3\xfd\x01\x8e\xf7"
9489                           "\x42\xa5\x04\x29\x30\xdf\xf9\x00"
9490                           "\x4a\xdc\x71\x22\x1a\x33\x15\xb6"
9491                           "\xd7\x72\xfb\x9a\xb8\xeb\x2b\x38"
9492                           "\xea\xa8\x61\xa8\x90\x11\x9d\x73"
9493                           "\x2e\x6c\xce\x81\x54\x5a\x9f\xcd"
9494                           "\xcf\xd5\xbd\x26\x5d\x66\xdb\xfb"
9495                           "\xdc\x1e\x7c\x10\xfe\x58\x82\x10"
9496                           "\x16\x24\x01\xce\x67\x55\x51\xd1"
9497                           "\xdd\x6b\x44\xa3\x20\x8e\xa9\xa6"
9498                           "\x06\xa8\x29\x77\x6e\x00\x38\x5b"
9499                           "\xde\x4d\x58\xd8\x1f\x34\xdf\xf9"
9500                           "\x2c\xac\x3e\xad\xfb\x92\x0d\x72"
9501                           "\x39\xa4\xac\x44\x10\xc0\x43\xc4"
9502                           "\xa4\x77\x3b\xfc\xc4\x0d\x37\xd3"
9503                           "\x05\x84\xda\x53\x71\xf8\x80\xd3"
9504                           "\x34\x44\xdb\x09\xb4\x2b\x8e\xe3"
9505                           "\x00\x75\x50\x9e\x43\x22\x00\x0b"
9506                           "\x7c\x70\xab\xd4\x41\xf1\x93\xcd"
9507                           "\x25\x2d\x84\x74\xb5\xf2\x92\xcd"
9508                           "\x0a\x28\xea\x9a\x49\x02\x96\xcb"
9509                           "\x85\x9e\x2f\x33\x03\x86\x1d\xdc"
9510                           "\x1d\x31\xd5\xfc\x9d\xaa\xc5\xe9"
9511                           "\x9a\xc4\x57\xf5\x35\xed\xf4\x4b"
9512                           "\x3d\x34\xc2\x29\x13\x86\x36\x42"
9513                           "\x5d\xbf\x90\x86\x13\x77\xe5\xc3"
9514                           "\x62\xb4\xfe\x0b\x70\x39\x35\x65"
9515                           "\x02\xea\xf6\xce\x57\x0c\xbb\x74"
9516                           "\x29\xe3\xfd\x60\x90\xfd\x10\x38"
9517                           "\xd5\x4e\x86\xbd\x37\x70\xf0\x97"
9518                           "\xa6\xab\x3b\x83\x64\x52\xca\x66"
9519                           "\x2f\xf9\xa4\xca\x3a\x55\x6b\xb0"
9520                           "\xe8\x3a\x34\xdb\x9e\x48\x50\x2f"
9521                           "\x3b\xef\xfd\x08\x2d\x5f\xc1\x37"
9522                           "\x5d\xbe\x73\xe4\xd8\xe9\xac\xca"
9523                           "\x8a\xaa\x48\x7c\x5c\xf4\xa6\x96"
9524                           "\x5f\xfa\x70\xa6\xb7\x8b\x50\xcb"
9525                           "\xa6\xf5\xa9\xbd\x7b\x75\x4c\x22"
9526                           "\x0b\x19\x40\x2e\xc9\x39\x39\x32"
9527                           "\x83\x03\xa8\xa4\x98\xe6\x8e\x16"
9528                           "\xb9\xde\x08\xc5\xfc\xbf\xad\x39"
9529                           "\xa8\xc7\x93\x6c\x6f\x23\xaf\xc1"
9530                           "\xab\xe1\xdf\xbb\x39\xae\x93\x29"
9531                           "\x0e\x7d\x80\x8d\x3e\x65\xf3\xfd"
9532                           "\x96\x06\x65\x90\xa1\x28\x64\x4b"
9533                           "\x69\xf9\xa8\x84\x27\x50\xfc\x87"
9534                           "\xf7\xbf\x55\x8e\x56\x13\x58\x7b"
9535                           "\x85\xb4\x6a\x72\x0f\x40\xf1\x4f"
9536                           "\x83\x81\x1f\x76\xde\x15\x64\x7a"
9537                           "\x7a\x80\xe4\xc7\x5e\x63\x01\x91"
9538                           "\xd7\x6b\xea\x0b\x9b\xa2\x99\x3b"
9539                           "\x6c\x88\xd8\xfd\x59\x3c\x8d\x22"
9540                           "\x86\x56\xbe\xab\xa1\x37\x08\x01"
9541                           "\x50\x85\x69\x29\xee\x9f\xdf\x21"
9542                           "\x3e\x20\x20\xf5\xb0\xbb\x6b\xd0"
9543                           "\x9c\x41\x38\xec\x54\x6f\x2d\xbd"
9544                           "\x0f\xe1\xbd\xf1\x2b\x6e\x60\x56"
9545                           "\x29\xe5\x7a\x70\x1c\xe2\xfc\x97"
9546                           "\x82\x68\x67\xd9\x3d\x1f\xfb\xd8"
9547                           "\x07\x9f\xbf\x96\x74\xba\x6a\x0e"
9548                           "\x10\x48\x20\xd8\x13\x1e\xb5\x44"
9549                           "\xf2\xcc\xb1\x8b\xfb\xbb\xec\xd7"
9550                           "\x37\x70\x1f\x7c\x55\xd2\x4b\xb9"
9551                           "\xfd\x70\x5e\xa3\x91\x73\x63\x52"
9552                           "\x13\x47\x5a\x06\xfb\x01\x67\xa5"
9553                           "\xc0\xd0\x49\x19\x56\x66\x9a\x77"
9554                           "\x64\xaf\x8c\x25\x91\x52\x87\x0e"
9555                           "\x18\xf3\x5f\x97\xfd\x71\x13\xf8"
9556                           "\x05\xa5\x39\xcc\x65\xd3\xcc\x63"
9557                           "\x5b\xdb\x5f\x7e\x5f\x6e\xad\xc4"
9558                           "\xf4\xa0\xc5\xc2\x2b\x4d\x97\x38"
9559                           "\x4f\xbc\xfa\x33\x17\xb4\x47\xb9"
9560                           "\x43\x24\x15\x8d\xd2\xed\x80\x68"
9561                           "\x84\xdb\x04\x80\xca\x5e\x6a\x35"
9562                           "\x2c\x2c\xe7\xc5\x03\x5f\x54\xb0"
9563                           "\x5e\x4f\x1d\x40\x54\x3d\x78\x9a"
9564                           "\xac\xda\x80\x27\x4d\x15\x4c\x1a"
9565                           "\x6e\x80\xc9\xc4\x3b\x84\x0e\xd9"
9566                           "\x2e\x93\x01\x8c\xc3\xc8\x91\x4b"
9567                           "\xb3\xaa\x07\x04\x68\x5b\x93\xa5"
9568                           "\xe7\xc4\x9d\xe7\x07\xee\xf5\x3b"
9569                           "\x40\x89\xcc\x60\x34\x9d\xb4\x06"
9570                           "\x1b\xef\x92\xe6\xc1\x2a\x7d\x0f"
9571                           "\x81\xaa\x56\xe3\xd7\xed\xa7\xd4"
9572                           "\xa7\x3a\x49\xc4\xad\x81\x5c\x83"
9573                           "\x55\x8e\x91\x54\xb7\x7d\x65\xa5"
9574                           "\x06\x16\xd5\x9a\x16\xc1\xb0\xa2"
9575                           "\x06\xd8\x98\x47\x73\x7e\x73\xa0"
9576                           "\xb8\x23\xb1\x52\xbf\x68\x74\x5d"
9577                           "\x0b\xcb\xfa\x8c\x46\xe3\x24\xe6"
9578                           "\xab\xd4\x69\x8d\x8c\xf2\x8a\x59"
9579                           "\xbe\x48\x46\x50\x8c\x9a\xe8\xe3"
9580                           "\x31\x55\x0a\x06\xed\x4f\xf8\xb7"
9581                           "\x4f\xe3\x85\x17\x30\xbd\xd5\x20"
9582                           "\xe7\x5b\xb2\x32\xcf\x6b\x16\x44"
9583                           "\xd2\xf5\x7e\xd7\xd1\x2f\xee\x64"
9584                           "\x3e\x9d\x10\xef\x27\x35\x43\x64"
9585                           "\x67\xfb\x7a\x7b\xe0\x62\x31\x9a"
9586                           "\x4d\xdf\xa5\xab\xc0\x20\xbb\x01"
9587                           "\xe9\x7b\x54\xf1\xde\xb2\x79\x50"
9588                           "\x6c\x4b\x91\xdb\x7f\xbb\x50\xc1"
9589                           "\x55\x44\x38\x9a\xe0\x9f\xe8\x29"
9590                           "\x6f\x15\xf8\x4e\xa6\xec\xa0\x60",
9591                 .ksize  = 1088,
9592                 .plaintext      = "\x15\x68\x9e\x2f\xad\x15\x52\xdf"
9593                           "\xf0\x42\x62\x24\x2a\x2d\xea\xbf"
9594                           "\xc7\xf3\xb4\x1a\xf5\xed\xb2\x08"
9595                           "\x15\x60\x1c\x00\x77\xbf\x0b\x0e"
9596                           "\xb7\x2c\xcf\x32\x3a\xc7\x01\x77"
9597                           "\xef\xa6\x75\xd0\x29\xc7\x68\x20"
9598                           "\xb2\x92\x25\xbf\x12\x34\xe9\xa4"
9599                           "\xfd\x32\x7b\x3f\x7c\xbd\xa5\x02"
9600                           "\x38\x41\xde\xc9\xc1\x09\xd9\xfc"
9601                           "\x6e\x78\x22\x83\x18\xf7\x50\x8d"
9602                           "\x8f\x9c\x2d\x02\xa5\x30\xac\xff"
9603                           "\xea\x63\x2e\x80\x37\x83\xb0\x58"
9604                           "\xda\x2f\xef\x21\x55\xba\x7b\xb1"
9605                           "\xb6\xed\xf5\xd2\x4d\xaa\x8c\xa9"
9606                           "\xdd\xdb\x0f\xb4\xce\xc1\x9a\xb1"
9607                           "\xc1\xdc\xbd\xab\x86\xc2\xdf\x0b"
9608                           "\xe1\x2c\xf9\xbe\xf6\xd8\xda\x62"
9609                           "\x72\xdd\x98\x09\x52\xc0\xc4\xb6"
9610                           "\x7b\x17\x5c\xf5\xd8\x4b\x88\xd6"
9611                           "\x6b\xbf\x84\x4a\x3f\xf5\x4d\xd2"
9612                           "\x94\xe2\x9c\xff\xc7\x3c\xd9\xc8"
9613                           "\x37\x38\xbc\x8c\xf3\xe7\xb7\xd0"
9614                           "\x1d\x78\xc4\x39\x07\xc8\x5e\x79"
9615                           "\xb6\x5a\x90\x5b\x6e\x97\xc9\xd4"
9616                           "\x82\x9c\xf3\x83\x7a\xe7\x97\xfc"
9617                           "\x1d\xbb\xef\xdb\xce\xe0\x82\xad"
9618                           "\xca\x07\x6c\x54\x62\x6f\x81\xe6"
9619                           "\x7a\x5a\x96\x6e\x80\x3a\xa2\x37"
9620                           "\x6f\xc6\xa4\x29\xc3\x9e\x19\x94"
9621                           "\x9f\xb0\x3e\x38\xfb\x3c\x2b\x7d"
9622                           "\xaa\xb8\x74\xda\x54\x23\x51\x12"
9623                           "\x4b\x96\x36\x8f\x91\x4f\x19\x37"
9624                           "\x83\xc9\xdd\xc7\x1a\x32\x2d\xab"
9625                           "\xc7\x89\xe2\x07\x47\x6c\xe8\xa6"
9626                           "\x70\x6b\x8e\x0c\xda\x5c\x6a\x59"
9627                           "\x27\x33\x0e\xe1\xe1\x20\xe8\xc8"
9628                           "\xae\xdc\xd0\xe3\x6d\xa8\xa6\x06"
9629                           "\x41\xb4\xd4\xd4\xcf\x91\x3e\x06"
9630                           "\xb0\x9a\xf7\xf1\xaa\xa6\x23\x92"
9631                           "\x10\x86\xf0\x94\xd1\x7c\x2e\x07"
9632                           "\x30\xfb\xc5\xd8\xf3\x12\xa9\xe8"
9633                           "\x22\x1c\x97\x1a\xad\x96\xb0\xa1"
9634                           "\x72\x6a\x6b\xb4\xfd\xf7\xe8\xfa"
9635                           "\xe2\x74\xd8\x65\x8d\x35\x17\x4b"
9636                           "\x00\x23\x5c\x8c\x70\xad\x71\xa2"
9637                           "\xca\xc5\x6c\x59\xbf\xb4\xc0\x6d"
9638                           "\x86\x98\x3e\x19\x5a\x90\x92\xb1"
9639                           "\x66\x57\x6a\x91\x68\x7c\xbc\xf3"
9640                           "\xf1\xdb\x94\xf8\x48\xf1\x36\xd8"
9641                           "\x78\xac\x1c\xa9\xcc\xd6\x27\xba"
9642                           "\x91\x54\x22\xf5\xe6\x05\x3f\xcc"
9643                           "\xc2\x8f\x2c\x3b\x2b\xc3\x2b\x2b"
9644                           "\x3b\xb8\xb6\x29\xb7\x2f\x94\xb6"
9645                           "\x7b\xfc\x94\x3e\xd0\x7a\x41\x59"
9646                           "\x7b\x1f\x9a\x09\xa6\xed\x4a\x82"
9647                           "\x9d\x34\x1c\xbd\x4e\x1c\x3a\x66"
9648                           "\x80\x74\x0e\x9a\x4f\x55\x54\x47"
9649                           "\x16\xba\x2a\x0a\x03\x35\x99\xa3"
9650                           "\x5c\x63\x8d\xa2\x72\x8b\x17\x15"
9651                           "\x68\x39\x73\xeb\xec\xf2\xe8\xf5"
9652                           "\x95\x32\x27\xd6\xc4\xfe\xb0\x51"
9653                           "\xd5\x0c\x50\xc5\xcd\x6d\x16\xb3"
9654                           "\xa3\x1e\x95\x69\xad\x78\x95\x06"
9655                           "\xb9\x46\xf2\x6d\x24\x5a\x99\x76"
9656                           "\x73\x6a\x91\xa6\xac\x12\xe1\x28"
9657                           "\x79\xbc\x08\x4e\x97\x00\x98\x63"
9658                           "\x07\x1c\x4e\xd1\x68\xf3\xb3\x81"
9659                           "\xa8\xa6\x5f\xf1\x01\xc9\xc1\xaf"
9660                           "\x3a\x96\xf9\x9d\xb5\x5a\x5f\x8f"
9661                           "\x7e\xc1\x7e\x77\x0a\x40\xc8\x8e"
9662                           "\xfc\x0e\xed\xe1\x0d\xb0\xe5\x5e"
9663                           "\x5e\x6f\xf5\x7f\xab\x33\x7d\xcd"
9664                           "\xf0\x09\x4b\xb2\x11\x37\xdc\x65"
9665                           "\x97\x32\x62\x71\x3a\x29\x54\xb9"
9666                           "\xc7\xa4\xbf\x75\x0f\xf9\x40\xa9"
9667                           "\x8d\xd7\x8b\xa7\xe0\x9a\xbe\x15"
9668                           "\xc6\xda\xd8\x00\x14\x69\x1a\xaf"
9669                           "\x5f\x79\xc3\xf5\xbb\x6c\x2a\x9d"
9670                           "\xdd\x3c\x5f\x97\x21\xe1\x3a\x03"
9671                           "\x84\x6a\xe9\x76\x11\x1f\xd3\xd5"
9672                           "\xf0\x54\x20\x4d\xc2\x91\xc3\xa4"
9673                           "\x36\x25\xbe\x1b\x2a\x06\xb7\xf3"
9674                           "\xd1\xd0\x55\x29\x81\x4c\x83\xa3"
9675                           "\xa6\x84\x1e\x5c\xd1\xd0\x6c\x90"
9676                           "\xa4\x11\xf0\xd7\x63\x6a\x48\x05"
9677                           "\xbc\x48\x18\x53\xcd\xb0\x8d\xdb"
9678                           "\xdc\xfe\x55\x11\x5c\x51\xb3\xab"
9679                           "\xab\x63\x3e\x31\x5a\x8b\x93\x63"
9680                           "\x34\xa9\xba\x2b\x69\x1a\xc0\xe3"
9681                           "\xcb\x41\xbc\xd7\xf5\x7f\x82\x3e"
9682                           "\x01\xa3\x3c\x72\xf4\xfe\xdf\xbe"
9683                           "\xb1\x67\x17\x2b\x37\x60\x0d\xca"
9684                           "\x6f\xc3\x94\x2c\xd2\x92\x6d\x9d"
9685                           "\x75\x18\x77\xaa\x29\x38\x96\xed"
9686                           "\x0e\x20\x70\x92\xd5\xd0\xb4\x00"
9687                           "\xc0\x31\xf2\xc9\x43\x0e\x75\x1d"
9688                           "\x4b\x64\xf2\x1f\xf2\x29\x6c\x7b"
9689                           "\x7f\xec\x59\x7d\x8c\x0d\xd4\xd3"
9690                           "\xac\x53\x4c\xa3\xde\x42\x92\x95"
9691                           "\x6d\xa3\x4f\xd0\xe6\x3d\xe7\xec"
9692                           "\x7a\x4d\x68\xf1\xfe\x67\x66\x09"
9693                           "\x83\x22\xb1\x98\x43\x8c\xab\xb8"
9694                           "\x45\xe6\x6d\xdf\x5e\x50\x71\xce"
9695                           "\xf5\x4e\x40\x93\x2b\xfa\x86\x0e"
9696                           "\xe8\x30\xbd\x82\xcc\x1c\x9c\x5f"
9697                           "\xad\xfd\x08\x31\xbe\x52\xe7\xe6"
9698                           "\xf2\x06\x01\x62\x25\x15\x99\x74"
9699                           "\x33\x51\x52\x57\x3f\x57\x87\x61"
9700                           "\xb9\x7f\x29\x3d\xcd\x92\x5e\xa6"
9701                           "\x5c\x3b\xf1\xed\x5f\xeb\x82\xed"
9702                           "\x56\x7b\x61\xe7\xfd\x02\x47\x0e"
9703                           "\x2a\x15\xa4\xce\x43\x86\x9b\xe1"
9704                           "\x2b\x4c\x2a\xd9\x42\x97\xf7\x9a"
9705                           "\xe5\x47\x46\x48\xd3\x55\x6f\x4d"
9706                           "\xd9\xeb\x4b\xdd\x7b\x21\x2f\xb3"
9707                           "\xa8\x36\x28\xdf\xca\xf1\xf6\xd9"
9708                           "\x10\xf6\x1c\xfd\x2e\x0c\x27\xe0"
9709                           "\x01\xb3\xff\x6d\x47\x08\x4d\xd4"
9710                           "\x00\x25\xee\x55\x4a\xe9\xe8\x5b"
9711                           "\xd8\xf7\x56\x12\xd4\x50\xb2\xe5"
9712                           "\x51\x6f\x34\x63\x69\xd2\x4e\x96"
9713                           "\x4e\xbc\x79\xbf\x18\xae\xc6\x13"
9714                           "\x80\x92\x77\xb0\xb4\x0f\x29\x94"
9715                           "\x6f\x4c\xbb\x53\x11\x36\xc3\x9f"
9716                           "\x42\x8e\x96\x8a\x91\xc8\xe9\xfc"
9717                           "\xfe\xbf\x7c\x2d\x6f\xf9\xb8\x44"
9718                           "\x89\x1b\x09\x53\x0a\x2a\x92\xc3"
9719                           "\x54\x7a\x3a\xf9\xe2\xe4\x75\x87"
9720                           "\xa0\x5e\x4b\x03\x7a\x0d\x8a\xf4"
9721                           "\x55\x59\x94\x2b\x63\x96\x0e\xf5",
9722                 .psize  = 1040,
9723                 .digest = "\xb5\xb9\x08\xb3\x24\x3e\x03\xf0"
9724                           "\xd6\x0b\x57\xbc\x0a\x6d\x89\x59",
9725         }, {
9726                 .key    = "\xf6\x34\x42\x71\x35\x52\x8b\x58"
9727                           "\x02\x3a\x8e\x4a\x8d\x41\x13\xe9"
9728                           "\x7f\xba\xb9\x55\x9d\x73\x4d\xf8"
9729                           "\x3f\x5d\x73\x15\xff\xd3\x9e\x7f"
9730                           "\x20\x2a\x6a\xa8\xd1\xf0\x8f\x12"
9731                           "\x6b\x02\xd8\x6c\xde\xba\x80\x22"
9732                           "\x19\x37\xc8\xd0\x4e\x89\x17\x7c"
9733                           "\x7c\xdd\x88\xfd\x41\xc0\x04\xb7"
9734                           "\x1d\xac\x19\xe3\x20\xc7\x16\xcf"
9735                           "\x58\xee\x1d\x7a\x61\x69\xa9\x12"
9736                           "\x4b\xef\x4f\xb6\x38\xdd\x78\xf8"
9737                           "\x28\xee\x70\x08\xc7\x7c\xcc\xc8"
9738                           "\x1e\x41\xf5\x80\x86\x70\xd0\xf0"
9739                           "\xa3\x87\x6b\x0a\x00\xd2\x41\x28"
9740                           "\x74\x26\xf1\x24\xf3\xd0\x28\x77"
9741                           "\xd7\xcd\xf6\x2d\x61\xf4\xa2\x13"
9742                           "\x77\xb4\x6f\xa0\xf4\xfb\xd6\xb5"
9743                           "\x38\x9d\x5a\x0c\x51\xaf\xad\x63"
9744                           "\x27\x67\x8c\x01\xea\x42\x1a\x66"
9745                           "\xda\x16\x7c\x3c\x30\x0c\x66\x53"
9746                           "\x1c\x88\xa4\x5c\xb2\xe3\x78\x0a"
9747                           "\x13\x05\x6d\xe2\xaf\xb3\xe4\x75"
9748                           "\x00\x99\x58\xee\x76\x09\x64\xaa"
9749                           "\xbb\x2e\xb1\x81\xec\xd8\x0e\xd3"
9750                           "\x0c\x33\x5d\xb7\x98\xef\x36\xb6"
9751                           "\xd2\x65\x69\x41\x70\x12\xdc\x25"
9752                           "\x41\x03\x99\x81\x41\x19\x62\x13"
9753                           "\xd1\x0a\x29\xc5\x8c\xe0\x4c\xf3"
9754                           "\xd6\xef\x4c\xf4\x1d\x83\x2e\x6d"
9755                           "\x8e\x14\x87\xed\x80\xe0\xaa\xd3"
9756                           "\x08\x04\x73\x1a\x84\x40\xf5\x64"
9757                           "\xbd\x61\x32\x65\x40\x42\xfb\xb0"
9758                           "\x40\xf6\x40\x8d\xc7\x7f\x14\xd0"
9759                           "\x83\x99\xaa\x36\x7e\x60\xc6\xbf"
9760                           "\x13\x8a\xf9\x21\xe4\x7e\x68\x87"
9761                           "\xf3\x33\x86\xb4\xe0\x23\x7e\x0a"
9762                           "\x21\xb1\xf5\xad\x67\x3c\x9c\x9d"
9763                           "\x09\xab\xaf\x5f\xba\xe0\xd0\x82"
9764                           "\x48\x22\x70\xb5\x6d\x53\xd6\x0e"
9765                           "\xde\x64\x92\x41\xb0\xd3\xfb\xda"
9766                           "\x21\xfe\xab\xea\x20\xc4\x03\x58"
9767                           "\x18\x2e\x7d\x2f\x03\xa9\x47\x66"
9768                           "\xdf\x7b\xa4\x6b\x34\x6b\x55\x9c"
9769                           "\x4f\xd7\x9c\x47\xfb\xa9\x42\xec"
9770                           "\x5a\x12\xfd\xfe\x76\xa0\x92\x9d"
9771                           "\xfe\x1e\x16\xdd\x24\x2a\xe4\x27"
9772                           "\xd5\xa9\xf2\x05\x4f\x83\xa2\xaf"
9773                           "\xfe\xee\x83\x7a\xad\xde\xdf\x9a"
9774                           "\x80\xd5\x81\x14\x93\x16\x7e\x46"
9775                           "\x47\xc2\x14\xef\x49\x6e\xb9\xdb"
9776                           "\x40\xe8\x06\x6f\x9c\x2a\xfd\x62"
9777                           "\x06\x46\xfd\x15\x1d\x36\x61\x6f"
9778                           "\x77\x77\x5e\x64\xce\x78\x1b\x85"
9779                           "\xbf\x50\x9a\xfd\x67\xa6\x1a\x65"
9780                           "\xad\x5b\x33\x30\xf1\x71\xaa\xd9"
9781                           "\x23\x0d\x92\x24\x5f\xae\x57\xb0"
9782                           "\x24\x37\x0a\x94\x12\xfb\xb5\xb1"
9783                           "\xd3\xb8\x1d\x12\x29\xb0\x80\x24"
9784                           "\x2d\x47\x9f\x96\x1f\x95\xf1\xb1"
9785                           "\xda\x35\xf6\x29\xe0\xe1\x23\x96"
9786                           "\xc7\xe8\x22\x9b\x7c\xac\xf9\x41"
9787                           "\x39\x01\xe5\x73\x15\x5e\x99\xec"
9788                           "\xb4\xc1\xf4\xe7\xa7\x97\x6a\xd5"
9789                           "\x90\x9a\xa0\x1d\xf3\x5a\x8b\x5f"
9790                           "\xdf\x01\x52\xa4\x93\x31\x97\xb0"
9791                           "\x93\x24\xb5\xbc\xb2\x14\x24\x98"
9792                           "\x4a\x8f\x19\x85\xc3\x2d\x0f\x74"
9793                           "\x9d\x16\x13\x80\x5e\x59\x62\x62"
9794                           "\x25\xe0\xd1\x2f\x64\xef\xba\xac"
9795                           "\xcd\x09\x07\x15\x8a\xcf\x73\xb5"
9796                           "\x8b\xc9\xd8\x24\xb0\x53\xd5\x6f"
9797                           "\xe1\x2b\x77\xb1\xc5\xe4\xa7\x0e"
9798                           "\x18\x45\xab\x36\x03\x59\xa8\xbd"
9799                           "\x43\xf0\xd8\x2c\x1a\x69\x96\xbb"
9800                           "\x13\xdf\x6c\x33\x77\xdf\x25\x34"
9801                           "\x5b\xa5\x5b\x8c\xf9\x51\x05\xd4"
9802                           "\x8b\x8b\x44\x87\x49\xfc\xa0\x8f"
9803                           "\x45\x15\x5b\x40\x42\xc4\x09\x92"
9804                           "\x98\x0c\x4d\xf4\x26\x37\x1b\x13"
9805                           "\x76\x01\x93\x8d\x4f\xe6\xed\x18"
9806                           "\xd0\x79\x7b\x3f\x44\x50\xcb\xee"
9807                           "\xf7\x4a\xc9\x9e\xe0\x96\x74\xa7"
9808                           "\xe6\x93\xb2\x53\xca\x55\xa8\xdc"
9809                           "\x1e\x68\x07\x87\xb7\x2e\xc1\x08"
9810                           "\xb2\xa4\x5b\xaf\xc6\xdb\x5c\x66"
9811                           "\x41\x1c\x51\xd9\xb0\x07\x00\x0d"
9812                           "\xf0\x4c\xdc\x93\xde\xa9\x1e\x8e"
9813                           "\xd3\x22\x62\xd8\x8b\x88\x2c\xea"
9814                           "\x5e\xf1\x6e\x14\x40\xc7\xbe\xaa"
9815                           "\x42\x28\xd0\x26\x30\x78\x01\x9b"
9816                           "\x83\x07\xbc\x94\xc7\x57\xa2\x9f"
9817                           "\x03\x07\xff\x16\xff\x3c\x6e\x48"
9818                           "\x0a\xd0\xdd\x4c\xf6\x64\x9a\xf1"
9819                           "\xcd\x30\x12\x82\x2c\x38\xd3\x26"
9820                           "\x83\xdb\xab\x3e\xc6\xf8\xe6\xfa"
9821                           "\x77\x0a\x78\x82\x75\xf8\x63\x51"
9822                           "\x59\xd0\x8d\x24\x9f\x25\xe6\xa3"
9823                           "\x4c\xbc\x34\xfc\xe3\x10\xc7\x62"
9824                           "\xd4\x23\xc8\x3d\xa7\xc6\xa6\x0a"
9825                           "\x4f\x7e\x29\x9d\x6d\xbe\xb5\xf1"
9826                           "\xdf\xa4\x53\xfa\xc0\x23\x0f\x37"
9827                           "\x84\x68\xd0\xb5\xc8\xc6\xae\xf8"
9828                           "\xb7\x8d\xb3\x16\xfe\x8f\x87\xad"
9829                           "\xd0\xc1\x08\xee\x12\x1c\x9b\x1d"
9830                           "\x90\xf8\xd1\x63\xa4\x92\x3c\xf0"
9831                           "\xc7\x34\xd8\xf1\x14\xed\xa3\xbc"
9832                           "\x17\x7e\xd4\x62\x42\x54\x57\x2c"
9833                           "\x3e\x7a\x35\x35\x17\x0f\x0b\x7f"
9834                           "\x81\xa1\x3f\xd0\xcd\xc8\x3b\x96"
9835                           "\xe9\xe0\x4a\x04\xe1\xb6\x3c\xa1"
9836                           "\xd6\xca\xc4\xbd\xb6\xb5\x95\x34"
9837                           "\x12\x9d\xc5\x96\xf2\xdf\xba\x54"
9838                           "\x76\xd1\xb2\x6b\x3b\x39\xe0\xb9"
9839                           "\x18\x62\xfb\xf7\xfc\x12\xf1\x5f"
9840                           "\x7e\xc7\xe3\x59\x4c\xa6\xc2\x3d"
9841                           "\x40\x15\xf9\xa3\x95\x64\x4c\x74"
9842                           "\x8b\x73\x77\x33\x07\xa7\x04\x1d"
9843                           "\x33\x5a\x7e\x8f\xbd\x86\x01\x4f"
9844                           "\x3e\xb9\x27\x6f\xe2\x41\xf7\x09"
9845                           "\x67\xfd\x29\x28\xc5\xe4\xf6\x18"
9846                           "\x4c\x1b\x49\xb2\x9c\x5b\xf6\x81"
9847                           "\x4f\xbb\x5c\xcc\x0b\xdf\x84\x23"
9848                           "\x58\xd6\x28\x34\x93\x3a\x25\x97"
9849                           "\xdf\xb2\xc3\x9e\x97\x38\x0b\x7d"
9850                           "\x10\xb3\x54\x35\x23\x8c\x64\xee"
9851                           "\xf0\xd8\x66\xff\x8b\x22\xd2\x5b"
9852                           "\x05\x16\x3c\x89\xf7\xb1\x75\xaf"
9853                           "\xc0\xae\x6a\x4f\x3f\xaf\x9a\xf4"
9854                           "\xf4\x9a\x24\xd9\x80\x82\xc0\x12"
9855                           "\xde\x96\xd1\xbe\x15\x0b\x8d\x6a"
9856                           "\xd7\x12\xe4\x85\x9f\x83\xc9\xc3"
9857                           "\xff\x0b\xb5\xaf\x3b\xd8\x6d\x67"
9858                           "\x81\x45\xe6\xac\xec\xc1\x7b\x16"
9859                           "\x18\x0a\xce\x4b\xc0\x2e\x76\xbc"
9860                           "\x1b\xfa\xb4\x34\xb8\xfc\x3e\xc8"
9861                           "\x5d\x90\x71\x6d\x7a\x79\xef\x06",
9862                 .ksize  = 1088,
9863                 .plaintext      = "\xaa\x5d\x54\xcb\xea\x1e\x46\x0f"
9864                           "\x45\x87\x70\x51\x8a\x66\x7a\x33"
9865                           "\xb4\x18\xff\xa9\x82\xf9\x45\x4b"
9866                           "\x93\xae\x2e\x7f\xab\x98\xfe\xbf"
9867                           "\x01\xee\xe5\xa0\x37\x8f\x57\xa6"
9868                           "\xb0\x76\x0d\xa4\xd6\x28\x2b\x5d"
9869                           "\xe1\x03\xd6\x1c\x6f\x34\x0d\xe7"
9870                           "\x61\x2d\x2e\xe5\xae\x5d\x47\xc7"
9871                           "\x80\x4b\x18\x8f\xa8\x99\xbc\x28"
9872                           "\xed\x1d\x9d\x86\x7d\xd7\x41\xd1"
9873                           "\xe0\x2b\xe1\x8c\x93\x2a\xa7\x80"
9874                           "\xe1\x07\xa0\xa9\x9f\x8c\x8d\x1a"
9875                           "\x55\xfc\x6b\x24\x7a\xbd\x3e\x51"
9876                           "\x68\x4b\x26\x59\xc8\xa7\x16\xd9"
9877                           "\xb9\x61\x13\xde\x8b\x63\x1c\xf6"
9878                           "\x60\x01\xfb\x08\xb3\x5b\x0a\xbf"
9879                           "\x34\x73\xda\x87\x87\x3d\x6f\x97"
9880                           "\x4a\x0c\xa3\x58\x20\xa2\xc0\x81"
9881                           "\x5b\x8c\xef\xa9\xc2\x01\x1e\x64"
9882                           "\x83\x8c\xbc\x03\xb6\xd0\x29\x9f"
9883                           "\x54\xe2\xce\x8b\xc2\x07\x85\x78"
9884                           "\x25\x38\x96\x4c\xb4\xbe\x17\x4a"
9885                           "\x65\xa6\xfa\x52\x9d\x66\x9d\x65"
9886                           "\x4a\xd1\x01\x01\xf0\xcb\x13\xcc"
9887                           "\xa5\x82\xf3\xf2\x66\xcd\x3f\x9d"
9888                           "\xd1\xaa\xe4\x67\xea\xf2\xad\x88"
9889                           "\x56\x76\xa7\x9b\x59\x3c\xb1\x5d"
9890                           "\x78\xfd\x69\x79\x74\x78\x43\x26"
9891                           "\x7b\xde\x3f\xf1\xf5\x4e\x14\xd9"
9892                           "\x15\xf5\x75\xb5\x2e\x19\xf3\x0c"
9893                           "\x48\x72\xd6\x71\x6d\x03\x6e\xaa"
9894                           "\xa7\x08\xf9\xaa\x70\xa3\x0f\x4d"
9895                           "\x12\x8a\xdd\xe3\x39\x73\x7e\xa7"
9896                           "\xea\x1f\x6d\x06\x26\x2a\xf2\xc5"
9897                           "\x52\xb4\xbf\xfd\x52\x0c\x06\x60"
9898                           "\x90\xd1\xb2\x7b\x56\xae\xac\x58"
9899                           "\x5a\x6b\x50\x2a\xf5\xe0\x30\x3c"
9900                           "\x2a\x98\x0f\x1b\x5b\x0a\x84\x6c"
9901                           "\x31\xae\x92\xe2\xd4\xbb\x7f\x59"
9902                           "\x26\x10\xb9\x89\x37\x68\x26\xbf"
9903                           "\x41\xc8\x49\xc4\x70\x35\x7d\xff"
9904                           "\x2d\x7f\xf6\x8a\x93\x68\x8c\x78"
9905                           "\x0d\x53\xce\x7d\xff\x7d\xfb\xae"
9906                           "\x13\x1b\x75\xc4\x78\xd7\x71\xd8"
9907                           "\xea\xd3\xf4\x9d\x95\x64\x8e\xb4"
9908                           "\xde\xb8\xe4\xa6\x68\xc8\xae\x73"
9909                           "\x58\xaf\xa8\xb0\x5a\x20\xde\x87"
9910                           "\x43\xb9\x0f\xe3\xad\x41\x4b\xd5"
9911                           "\xb7\xad\x16\x00\xa6\xff\xf6\x74"
9912                           "\xbf\x8c\x9f\xb3\x58\x1b\xb6\x55"
9913                           "\xa9\x90\x56\x28\xf0\xb5\x13\x4e"
9914                           "\x9e\xf7\x25\x86\xe0\x07\x7b\x98"
9915                           "\xd8\x60\x5d\x38\x95\x3c\xe4\x22"
9916                           "\x16\x2f\xb2\xa2\xaf\xe8\x90\x17"
9917                           "\xec\x11\x83\x1a\xf4\xa9\x26\xda"
9918                           "\x39\x72\xf5\x94\x61\x05\x51\xec"
9919                           "\xa8\x30\x8b\x2c\x13\xd0\x72\xac"
9920                           "\xb9\xd2\xa0\x4c\x4b\x78\xe8\x6e"
9921                           "\x04\x85\xe9\x04\x49\x82\x91\xff"
9922                           "\x89\xe5\xab\x4c\xaa\x37\x03\x12"
9923                           "\xca\x8b\x74\x10\xfd\x9e\xd9\x7b"
9924                           "\xcb\xdb\x82\x6e\xce\x2e\x33\x39"
9925                           "\xce\xd2\x84\x6e\x34\x71\x51\x6e"
9926                           "\x0d\xd6\x01\x87\xc7\xfa\x0a\xd3"
9927                           "\xad\x36\xf3\x4c\x9f\x96\x5e\x62"
9928                           "\x62\x54\xc3\x03\x78\xd6\xab\xdd"
9929                           "\x89\x73\x55\x25\x30\xf8\xa7\xe6"
9930                           "\x4f\x11\x0c\x7c\x0a\xa1\x2b\x7b"
9931                           "\x3d\x0d\xde\x81\xd4\x9d\x0b\xae"
9932                           "\xdf\x00\xf9\x4c\xb6\x90\x8e\x16"
9933                           "\xcb\x11\xc8\xd1\x2e\x73\x13\x75"
9934                           "\x75\x3e\xaa\xf5\xee\x02\xb3\x18"
9935                           "\xa6\x2d\xf5\x3b\x51\xd1\x1f\x47"
9936                           "\x6b\x2c\xdb\xc4\x10\xe0\xc8\xba"
9937                           "\x9d\xac\xb1\x9d\x75\xd5\x41\x0e"
9938                           "\x7e\xbe\x18\x5b\xa4\x1f\xf8\x22"
9939                           "\x4c\xc1\x68\xda\x6d\x51\x34\x6c"
9940                           "\x19\x59\xec\xb5\xb1\xec\xa7\x03"
9941                           "\xca\x54\x99\x63\x05\x6c\xb1\xac"
9942                           "\x9c\x31\xd6\xdb\xba\x7b\x14\x12"
9943                           "\x7a\xc3\x2f\xbf\x8d\xdc\x37\x46"
9944                           "\xdb\xd2\xbc\xd4\x2f\xab\x30\xd5"
9945                           "\xed\x34\x99\x8e\x83\x3e\xbe\x4c"
9946                           "\x86\x79\x58\xe0\x33\x8d\x9a\xb8"
9947                           "\xa9\xa6\x90\x46\xa2\x02\xb8\xdd"
9948                           "\xf5\xf9\x1a\x5c\x8c\x01\xaa\x6e"
9949                           "\xb4\x22\x12\xf5\x0c\x1b\x9b\x7a"
9950                           "\xc3\x80\xf3\x06\x00\x5f\x30\xd5"
9951                           "\x06\xdb\x7d\x82\xc2\xd4\x0b\x4c"
9952                           "\x5f\xe9\xc5\xf5\xdf\x97\x12\xbf"
9953                           "\x56\xaf\x9b\x69\xcd\xee\x30\xb4"
9954                           "\xa8\x71\xff\x3e\x7d\x73\x7a\xb4"
9955                           "\x0d\xa5\x46\x7a\xf3\xf4\x15\x87"
9956                           "\x5d\x93\x2b\x8c\x37\x64\xb5\xdd"
9957                           "\x48\xd1\xe5\x8c\xae\xd4\xf1\x76"
9958                           "\xda\xf4\xba\x9e\x25\x0e\xad\xa3"
9959                           "\x0d\x08\x7c\xa8\x82\x16\x8d\x90"
9960                           "\x56\x40\x16\x84\xe7\x22\x53\x3a"
9961                           "\x58\xbc\xb9\x8f\x33\xc8\xc2\x84"
9962                           "\x22\xe6\x0d\xe7\xb3\xdc\x5d\xdf"
9963                           "\xd7\x2a\x36\xe4\x16\x06\x07\xd2"
9964                           "\x97\x60\xb2\xf5\x5e\x14\xc9\xfd"
9965                           "\x8b\x05\xd1\xce\xee\x9a\x65\x99"
9966                           "\xb7\xae\x19\xb7\xc8\xbc\xd5\xa2"
9967                           "\x7b\x95\xe1\xcc\xba\x0d\xdc\x8a"
9968                           "\x1d\x59\x52\x50\xaa\x16\x02\x82"
9969                           "\xdf\x61\x33\x2e\x44\xce\x49\xc7"
9970                           "\xe5\xc6\x2e\x76\xcf\x80\x52\xf0"
9971                           "\x3d\x17\x34\x47\x3f\xd3\x80\x48"
9972                           "\xa2\xba\xd5\xc7\x7b\x02\x28\xdb"
9973                           "\xac\x44\xc7\x6e\x05\x5c\xc2\x79"
9974                           "\xb3\x7d\x6a\x47\x77\x66\xf1\x38"
9975                           "\xf0\xf5\x4f\x27\x1a\x31\xca\x6c"
9976                           "\x72\x95\x92\x8e\x3f\xb0\xec\x1d"
9977                           "\xc7\x2a\xff\x73\xee\xdf\x55\x80"
9978                           "\x93\xd2\xbd\x34\xd3\x9f\x00\x51"
9979                           "\xfb\x2e\x41\xba\x6c\x5a\x7c\x17"
9980                           "\x7f\xe6\x70\xac\x8d\x39\x3f\x77"
9981                           "\xe2\x23\xac\x8f\x72\x4e\xe4\x53"
9982                           "\xcc\xf1\x1b\xf1\x35\xfe\x52\xa4"
9983                           "\xd6\xb8\x40\x6b\xc1\xfd\xa0\xa1"
9984                           "\xf5\x46\x65\xc2\x50\xbb\x43\xe2"
9985                           "\xd1\x43\x28\x34\x74\xf5\x87\xa0"
9986                           "\xf2\x5e\x27\x3b\x59\x2b\x3e\x49"
9987                           "\xdf\x46\xee\xaf\x71\xd7\x32\x36"
9988                           "\xc7\x14\x0b\x58\x6e\x3e\x2d\x41"
9989                           "\xfa\x75\x66\x3a\x54\xe0\xb2\xb9"
9990                           "\xaf\xdd\x04\x80\x15\x19\x3f\x6f"
9991                           "\xce\x12\xb4\xd8\xe8\x89\x3c\x05"
9992                           "\x30\xeb\xf3\x3d\xcd\x27\xec\xdc"
9993                           "\x56\x70\x12\xcf\x78\x2b\x77\xbf"
9994                           "\x22\xf0\x1b\x17\x9c\xcc\xd6\x1b"
9995                           "\x2d\x3d\xa0\x3b\xd8\xc9\x70\xa4"
9996                           "\x7a\x3e\x07\xb9\x06\xc3\xfa\xb0"
9997                           "\x33\xee\xc1\xd8\xf6\xe0\xf0\xb2"
9998                           "\x61\x12\x69\xb0\x5f\x28\x99\xda"
9999                           "\xc3\x61\x48\xfa\x07\x16\x03\xc4"
10000                           "\xa8\xe1\x3c\xe8\x0e\x64\x15\x30"
10001                           "\xc1\x9d\x84\x2f\x73\x98\x0e\x3a"
10002                           "\xf2\x86\x21\xa4\x9e\x1d\xb5\x86"
10003                           "\x16\xdb\x2b\x9a\x06\x64\x8e\x79"
10004                           "\x8d\x76\x3e\xc3\xc2\x64\x44\xe3"
10005                           "\xda\xbc\x1a\x52\xd7\x61\x03\x65"
10006                           "\x54\x32\x77\x01\xed\x9d\x8a\x43"
10007                           "\x25\x24\xe3\xc1\xbe\xb8\x2f\xcb"
10008                           "\x89\x14\x64\xab\xf6\xa0\x6e\x02"
10009                           "\x57\xe4\x7d\xa9\x4e\x9a\x03\x36"
10010                           "\xad\xf1\xb1\xfc\x0b\xe6\x79\x51"
10011                           "\x9f\x81\x77\xc4\x14\x78\x9d\xbf"
10012                           "\xb6\xd6\xa3\x8c\xba\x0b\x26\xe7"
10013                           "\xc8\xb9\x5c\xcc\xe1\x5f\xd5\xc6"
10014                           "\xc4\xca\xc2\xa3\x45\xba\x94\x13"
10015                           "\xb2\x8f\xc3\x54\x01\x09\xe7\x8b"
10016                           "\xda\x2a\x0a\x11\x02\x43\xcb\x57"
10017                           "\xc9\xcc\xb5\x5c\xab\xc4\xec\x54"
10018                           "\x00\x06\x34\xe1\x6e\x03\x89\x7c"
10019                           "\xc6\xfb\x6a\xc7\x60\x43\xd6\xc5"
10020                           "\xb5\x68\x72\x89\x8f\x42\xc3\x74"
10021                           "\xbd\x25\xaa\x9f\x67\xb5\xdf\x26"
10022                           "\x20\xe8\xb7\x01\x3c\xe4\x77\xce"
10023                           "\xc4\x65\xa7\x23\x79\xea\x33\xc7"
10024                           "\x82\x14\x5c\x82\xf2\x4e\x3d\xf6"
10025                           "\xc6\x4a\x0e\x29\xbb\xec\x44\xcd"
10026                           "\x2f\xd1\x4f\x21\x71\xa9\xce\x0f"
10027                           "\x5c\xf2\x72\x5c\x08\x2e\x21\xd2"
10028                           "\xc3\x29\x13\xd8\xac\xc3\xda\x13"
10029                           "\x1a\x9d\xa7\x71\x1d\x27\x1d\x27"
10030                           "\x1d\xea\xab\x44\x79\xad\xe5\xeb"
10031                           "\xef\x1f\x22\x0a\x44\x4f\xcb\x87"
10032                           "\xa7\x58\x71\x0e\x66\xf8\x60\xbf"
10033                           "\x60\x74\x4a\xb4\xec\x2e\xfe\xd3"
10034                           "\xf5\xb8\xfe\x46\x08\x50\x99\x6c"
10035                           "\x66\xa5\xa8\x34\x44\xb5\xe5\xf0"
10036                           "\xdd\x2c\x67\x4e\x35\x96\x8e\x67"
10037                           "\x48\x3f\x5f\x37\x44\x60\x51\x2e"
10038                           "\x14\x91\x5e\x57\xc3\x0e\x79\x77"
10039                           "\x2f\x03\xf4\xe2\x1c\x72\xbf\x85"
10040                           "\x5d\xd3\x17\xdf\x6c\xc5\x70\x24"
10041                           "\x42\xdf\x51\x4e\x2a\xb2\xd2\x5b"
10042                           "\x9e\x69\x83\x41\x11\xfe\x73\x22"
10043                           "\xde\x8a\x9e\xd8\x8a\xfb\x20\x38"
10044                           "\xd8\x47\x6f\xd5\xed\x8f\x41\xfd"
10045                           "\x13\x7a\x18\x03\x7d\x0f\xcd\x7d"
10046                           "\xa6\x7d\x31\x9e\xf1\x8f\x30\xa3"
10047                           "\x8b\x4c\x24\xb7\xf5\x48\xd7\xd9"
10048                           "\x12\xe7\x84\x97\x5c\x31\x6d\xfb"
10049                           "\xdf\xf3\xd3\xd1\xd5\x0c\x30\x06"
10050                           "\x01\x6a\xbc\x6c\x78\x7b\xa6\x50"
10051                           "\xfa\x0f\x3c\x42\x2d\xa5\xa3\x3b"
10052                           "\xcf\x62\x50\xff\x71\x6d\xe7\xda"
10053                           "\x27\xab\xc6\x67\x16\x65\x68\x64"
10054                           "\xc7\xd5\x5f\x81\xa9\xf6\x65\xb3"
10055                           "\x5e\x43\x91\x16\xcd\x3d\x55\x37"
10056                           "\x55\xb3\xf0\x28\xc5\x54\x19\xc0"
10057                           "\xe0\xd6\x2a\x61\xd4\xc8\x72\x51"
10058                           "\xe9\xa1\x7b\x48\x21\xad\x44\x09"
10059                           "\xe4\x01\x61\x3c\x8a\x5b\xf9\xa1"
10060                           "\x6e\x1b\xdf\xc0\x04\xa8\x8b\xf2"
10061                           "\x21\xbe\x34\x7b\xfc\xa1\xcd\xc9"
10062                           "\xa9\x96\xf4\xa4\x4c\xf7\x4e\x8f"
10063                           "\x84\xcc\xd3\xa8\x92\x77\x8f\x36"
10064                           "\xe2\x2e\x8c\x33\xe8\x84\xa6\x0c"
10065                           "\x6c\x8a\xda\x14\x32\xc2\x96\xff"
10066                           "\xc6\x4a\xc2\x9b\x30\x7f\xd1\x29"
10067                           "\xc0\xd5\x78\x41\x00\x80\x80\x03"
10068                           "\x2a\xb1\xde\x26\x03\x48\x49\xee"
10069                           "\x57\x14\x76\x51\x3c\x36\x5d\x0a"
10070                           "\x5c\x9f\xe8\xd8\x53\xdb\x4f\xd4"
10071                           "\x38\xbf\x66\xc9\x75\x12\x18\x75"
10072                           "\x34\x2d\x93\x22\x96\x51\x24\x6e"
10073                           "\x4e\xd9\x30\xea\x67\xff\x92\x1c"
10074                           "\x16\x26\xe9\xb5\x33\xab\x8c\x22"
10075                           "\x47\xdb\xa0\x2c\x08\xf0\x12\x69"
10076                           "\x7e\x93\x52\xda\xa5\xe5\xca\xc1"
10077                           "\x0f\x55\x2a\xbd\x09\x30\x88\x1b"
10078                           "\x9c\xc6\x9f\xe6\xdb\xa6\x92\xeb"
10079                           "\xf4\xbd\x5c\xc4\xdb\xc6\x71\x09"
10080                           "\xab\x5e\x48\x0c\xed\x6f\xda\x8e"
10081                           "\x8d\x0c\x98\x71\x7d\x10\xd0\x9c"
10082                           "\x20\x9b\x79\x53\x26\x5d\xb9\x85"
10083                           "\x8a\x31\xb8\xc5\x1c\x97\xde\x88"
10084                           "\x61\x55\x7f\x7c\x21\x06\xea\xc4"
10085                           "\x5f\xaf\xf2\xf0\xd5\x5e\x7d\xb4"
10086                           "\x6e\xcf\xe9\xae\x1b\x0e\x11\x80"
10087                           "\xc1\x9a\x74\x7e\x52\x6f\xa0\xb7"
10088                           "\x24\xcd\x8d\x0a\x11\x40\x63\x72"
10089                           "\xfa\xe2\xc5\xb3\x94\xef\x29\xa2"
10090                           "\x1a\x23\x43\x04\x37\x55\x0d\xe9"
10091                           "\x83\xb2\x29\x51\x49\x64\xa0\xbd"
10092                           "\xde\x73\xfd\xa5\x7c\x95\x70\x62"
10093                           "\x58\xdc\xe2\xd0\xbf\x98\xf5\x8a"
10094                           "\x6a\xfd\xce\xa8\x0e\x42\x2a\xeb"
10095                           "\xd2\xff\x83\x27\x53\x5c\xa0\x6e"
10096                           "\x93\xef\xe2\xb9\x5d\x35\xd6\x98"
10097                           "\xf6\x71\x19\x7a\x54\xa1\xa7\xe8"
10098                           "\x09\xfe\xf6\x9e\xc7\xbd\x3e\x29"
10099                           "\xbd\x6b\x17\xf4\xe7\x3e\x10\x5c"
10100                           "\xc1\xd2\x59\x4f\x4b\x12\x1a\x5b"
10101                           "\x50\x80\x59\xb9\xec\x13\x66\xa8"
10102                           "\xd2\x31\x7b\x6a\x61\x22\xdd\x7d"
10103                           "\x61\xee\x87\x16\x46\x9f\xf9\xc7"
10104                           "\x41\xee\x74\xf8\xd0\x96\x2c\x76"
10105                           "\x2a\xac\x7d\x6e\x9f\x0e\x7f\x95"
10106                           "\xfe\x50\x16\xb2\x23\xca\x62\xd5"
10107                           "\x68\xcf\x07\x3f\x3f\x97\x85\x2a"
10108                           "\x0c\x25\x45\xba\xdb\x32\xcb\x83"
10109                           "\x8c\x4f\xe0\x6d\x9a\x99\xf9\xc9"
10110                           "\xda\xd4\x19\x31\xc1\x7c\x6d\xd9"
10111                           "\x9c\x56\xd3\xec\xc1\x81\x4c\xed"
10112                           "\x28\x9d\x87\xeb\x19\xd7\x1a\x4f"
10113                           "\x04\x6a\xcb\x1f\xcf\x1f\xa2\x16"
10114                           "\xfc\x2a\x0d\xa1\x14\x2d\xfa\xc5"
10115                           "\x5a\xd2\xc5\xf9\x19\x7c\x20\x1f"
10116                           "\x2d\x10\xc0\x66\x7c\xd9\x2d\xe5"
10117                           "\x88\x70\x59\xa7\x85\xd5\x2e\x7c"
10118                           "\x5c\xe3\xb7\x12\xd6\x97\x3f\x29",
10119                 .psize  = 2048,
10120                 .digest = "\x37\x90\x92\xc2\xeb\x01\x87\xd9"
10121                           "\x95\xc7\x91\xc3\x17\x8b\x38\x52",
10122         }
10123 };
10124
10125
10126 /*
10127  * DES test vectors.
10128  */
10129 static const struct cipher_testvec des_tv_template[] = {
10130         { /* From Applied Cryptography */
10131                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10132                 .klen   = 8,
10133                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
10134                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
10135                 .len    = 8,
10136         }, { /* Same key, different plaintext block */
10137                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10138                 .klen   = 8,
10139                 .ptext  = "\x22\x33\x44\x55\x66\x77\x88\x99",
10140                 .ctext  = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
10141                 .len    = 8,
10142         }, { /* Sbox test from NBS */
10143                 .key    = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
10144                 .klen   = 8,
10145                 .ptext  = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
10146                 .ctext  = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
10147                 .len    = 8,
10148         }, { /* Three blocks */
10149                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10150                 .klen   = 8,
10151                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
10152                           "\x22\x33\x44\x55\x66\x77\x88\x99"
10153                           "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
10154                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
10155                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
10156                           "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
10157                 .len    = 24,
10158         }, { /* Weak key */
10159                 .setkey_error = -EINVAL,
10160                 .wk     = 1,
10161                 .key    = "\x01\x01\x01\x01\x01\x01\x01\x01",
10162                 .klen   = 8,
10163                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
10164                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
10165                 .len    = 8,
10166         }, { /* Two blocks -- for testing encryption across pages */
10167                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10168                 .klen   = 8,
10169                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
10170                           "\x22\x33\x44\x55\x66\x77\x88\x99",
10171                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
10172                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
10173                 .len    = 16,
10174         }, {
10175                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10176                 .klen   = 8,
10177                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
10178                           "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
10179                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
10180                           "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
10181                 .len    = 16,
10182         }, { /* Four blocks -- for testing encryption with chunking */
10183                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10184                 .klen   = 8,
10185                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
10186                           "\x22\x33\x44\x55\x66\x77\x88\x99"
10187                           "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
10188                           "\x22\x33\x44\x55\x66\x77\x88\x99",
10189                 .ctext  = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
10190                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
10191                           "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
10192                           "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
10193                 .len    = 32,
10194         }, { /* Generated with Crypto++ */
10195                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
10196                 .klen   = 8,
10197                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
10198                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
10199                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
10200                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
10201                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
10202                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
10203                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
10204                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
10205                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
10206                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
10207                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
10208                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
10209                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
10210                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
10211                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
10212                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
10213                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
10214                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
10215                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
10216                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
10217                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
10218                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
10219                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
10220                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
10221                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
10222                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
10223                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
10224                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
10225                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
10226                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
10227                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
10228                 .ctext  = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
10229                           "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
10230                           "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
10231                           "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
10232                           "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
10233                           "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
10234                           "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
10235                           "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
10236                           "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
10237                           "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
10238                           "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
10239                           "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
10240                           "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
10241                           "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
10242                           "\x2E\x51\x16\xCA\x09\x89\x54\x62"
10243                           "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
10244                           "\x62\xF0\x02\x58\x83\xAF\x30\x87"
10245                           "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
10246                           "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
10247                           "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
10248                           "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
10249                           "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
10250                           "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
10251                           "\xE9\x95\x61\x74\x12\xED\x07\xD7"
10252                           "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
10253                           "\x51\x96\x16\xF7\x94\x61\xB8\x87"
10254                           "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
10255                           "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
10256                           "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
10257                           "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
10258                           "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
10259                 .len    = 248,
10260         },
10261 };
10262
10263 static const struct cipher_testvec des_cbc_tv_template[] = {
10264         { /* From OpenSSL */
10265                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10266                 .klen   = 8,
10267                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
10268                 .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
10269                 .ptext  = "\x37\x36\x35\x34\x33\x32\x31\x20"
10270                           "\x4e\x6f\x77\x20\x69\x73\x20\x74"
10271                           "\x68\x65\x20\x74\x69\x6d\x65\x20",
10272                 .ctext  = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
10273                           "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
10274                           "\x46\x8e\x91\x15\x78\x88\xba\x68",
10275                 .len    = 24,
10276         }, { /* FIPS Pub 81 */
10277                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10278                 .klen   = 8,
10279                 .iv     = "\x12\x34\x56\x78\x90\xab\xcd\xef",
10280                 .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
10281                 .ptext  = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
10282                 .ctext  = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
10283                 .len    = 8,
10284         }, {
10285                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10286                 .klen   = 8,
10287                 .iv     = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
10288                 .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
10289                 .ptext  = "\x68\x65\x20\x74\x69\x6d\x65\x20",
10290                 .ctext  = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
10291                 .len    = 8,
10292         }, {
10293                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10294                 .klen   = 8,
10295                 .iv     = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
10296                 .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
10297                 .ptext  = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
10298                 .ctext  = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
10299                 .len    = 8,
10300         }, { /* Generated with Crypto++ */
10301                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
10302                 .klen   = 8,
10303                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
10304                 .iv_out =  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
10305                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
10306                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
10307                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
10308                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
10309                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
10310                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
10311                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
10312                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
10313                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
10314                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
10315                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
10316                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
10317                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
10318                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
10319                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
10320                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
10321                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
10322                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
10323                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
10324                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
10325                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
10326                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
10327                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
10328                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
10329                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
10330                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
10331                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
10332                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
10333                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
10334                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
10335                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
10336                 .ctext  = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
10337                           "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
10338                           "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
10339                           "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
10340                           "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
10341                           "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
10342                           "\x81\x72\x74\xDE\x30\x19\x69\x49"
10343                           "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
10344                           "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
10345                           "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
10346                           "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
10347                           "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
10348                           "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
10349                           "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
10350                           "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
10351                           "\x49\x90\x88\x6A\x09\x8F\x76\x59"
10352                           "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
10353                           "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
10354                           "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
10355                           "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
10356                           "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
10357                           "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
10358                           "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
10359                           "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
10360                           "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
10361                           "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
10362                           "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
10363                           "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
10364                           "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
10365                           "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
10366                           "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
10367                 .len    = 248,
10368         },
10369 };
10370
10371 static const struct cipher_testvec des_ctr_tv_template[] = {
10372         { /* Generated with Crypto++ */
10373                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
10374                 .klen   = 8,
10375                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
10376                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
10377                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
10378                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
10379                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
10380                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
10381                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
10382                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
10383                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
10384                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
10385                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
10386                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
10387                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
10388                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
10389                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
10390                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
10391                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
10392                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
10393                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
10394                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
10395                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
10396                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
10397                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
10398                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
10399                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
10400                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
10401                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
10402                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
10403                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
10404                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
10405                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
10406                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
10407                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
10408                 .ctext  = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
10409                           "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
10410                           "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
10411                           "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
10412                           "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
10413                           "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
10414                           "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
10415                           "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
10416                           "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
10417                           "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
10418                           "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
10419                           "\xBE\x4C\x91\x43\x22\x65\x72\x48"
10420                           "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
10421                           "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
10422                           "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
10423                           "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
10424                           "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
10425                           "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
10426                           "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
10427                           "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
10428                           "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
10429                           "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
10430                           "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
10431                           "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
10432                           "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
10433                           "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
10434                           "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
10435                           "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
10436                           "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
10437                           "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
10438                           "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
10439                 .len    = 248,
10440         }, { /* Generated with Crypto++ */
10441                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
10442                 .klen   = 8,
10443                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
10444                 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
10445                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
10446                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
10447                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
10448                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
10449                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
10450                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
10451                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
10452                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
10453                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
10454                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
10455                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
10456                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
10457                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
10458                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
10459                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
10460                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
10461                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
10462                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
10463                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
10464                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
10465                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
10466                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
10467                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
10468                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
10469                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
10470                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
10471                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
10472                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
10473                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
10474                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
10475                           "\xC6\x2F\xBB\x24\x8D\x19\x82",
10476                 .ctext  = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
10477                           "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
10478                           "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
10479                           "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
10480                           "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
10481                           "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
10482                           "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
10483                           "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
10484                           "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
10485                           "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
10486                           "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
10487                           "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
10488                           "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
10489                           "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
10490                           "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
10491                           "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
10492                           "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
10493                           "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
10494                           "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
10495                           "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
10496                           "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
10497                           "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
10498                           "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
10499                           "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
10500                           "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
10501                           "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
10502                           "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
10503                           "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
10504                           "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
10505                           "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
10506                           "\x91\x45\x05\x3E\x58\xBF\x32",
10507                 .len    = 247,
10508         },
10509 };
10510
10511 static const struct cipher_testvec des3_ede_tv_template[] = {
10512         { /* These are from openssl */
10513                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
10514                           "\x55\x55\x55\x55\x55\x55\x55\x55"
10515                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
10516                 .klen   = 24,
10517                 .ptext  = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
10518                 .ctext  = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
10519                 .len    = 8,
10520         }, {
10521                 .key    = "\x03\x52\x02\x07\x67\x20\x82\x17"
10522                           "\x86\x02\x87\x66\x59\x08\x21\x98"
10523                           "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
10524                 .klen   = 24,
10525                 .ptext  = "\x73\x71\x75\x69\x67\x67\x6c\x65",
10526                 .ctext  = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
10527                 .len    = 8,
10528         }, {
10529                 .key    = "\x10\x46\x10\x34\x89\x98\x80\x20"
10530                           "\x91\x07\xd0\x15\x89\x19\x01\x01"
10531                           "\x19\x07\x92\x10\x98\x1a\x01\x01",
10532                 .klen   = 24,
10533                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
10534                 .ctext  = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
10535                 .len    = 8,
10536         }, { /* Generated with Crypto++ */
10537                 .key    = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
10538                           "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
10539                           "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
10540                 .klen   = 24,
10541                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
10542                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
10543                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
10544                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
10545                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
10546                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
10547                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
10548                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
10549                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
10550                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
10551                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
10552                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
10553                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
10554                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
10555                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
10556                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
10557                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
10558                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
10559                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
10560                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
10561                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
10562                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
10563                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
10564                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
10565                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
10566                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
10567                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
10568                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
10569                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
10570                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
10571                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
10572                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
10573                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
10574                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
10575                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
10576                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
10577                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
10578                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
10579                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
10580                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
10581                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
10582                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
10583                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
10584                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
10585                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
10586                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
10587                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
10588                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
10589                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
10590                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
10591                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
10592                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
10593                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
10594                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
10595                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
10596                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
10597                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
10598                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
10599                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
10600                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
10601                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
10602                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
10603                 .ctext  = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
10604                           "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
10605                           "\x81\x01\x04\x00\x76\xFA\xED\xD3"
10606                           "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
10607                           "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
10608                           "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
10609                           "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
10610                           "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
10611                           "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
10612                           "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
10613                           "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
10614                           "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
10615                           "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
10616                           "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
10617                           "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
10618                           "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
10619                           "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
10620                           "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
10621                           "\x45\x86\x50\x01\x70\x35\x99\x92"
10622                           "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
10623                           "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
10624                           "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
10625                           "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
10626                           "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
10627                           "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
10628                           "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
10629                           "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
10630                           "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
10631                           "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
10632                           "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
10633                           "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
10634                           "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
10635                           "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
10636                           "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
10637                           "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
10638                           "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
10639                           "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
10640                           "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
10641                           "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
10642                           "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
10643                           "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
10644                           "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
10645                           "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
10646                           "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
10647                           "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
10648                           "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
10649                           "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
10650                           "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
10651                           "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
10652                           "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
10653                           "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
10654                           "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
10655                           "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
10656                           "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
10657                           "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
10658                           "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
10659                           "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
10660                           "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
10661                           "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
10662                           "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
10663                           "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
10664                           "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
10665                 .len    = 496,
10666         },
10667 };
10668
10669 static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
10670         { /* Generated from openssl */
10671                 .key    = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
10672                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
10673                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
10674                 .klen   = 24,
10675                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
10676                 .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
10677                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
10678                           "\x53\x20\x63\x65\x65\x72\x73\x74"
10679                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
10680                           "\x20\x79\x65\x53\x72\x63\x74\x65"
10681                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
10682                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
10683                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
10684                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
10685                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
10686                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
10687                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
10688                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
10689                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
10690                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
10691                           "\x63\x65\x65\x72\x73\x74\x54\x20"
10692                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
10693                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
10694                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
10695                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
10696                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
10697                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
10698                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
10699                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
10700                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
10701                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
10702                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
10703                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
10704                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
10705                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
10706                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
10707                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
10708                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
10709                 .len    = 128,
10710         }, { /* Generated with Crypto++ */
10711                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
10712                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
10713                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
10714                 .klen   = 24,
10715                 .iv     = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
10716                           "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
10717                 .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
10718                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
10719                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
10720                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
10721                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
10722                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
10723                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
10724                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
10725                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
10726                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
10727                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
10728                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
10729                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
10730                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
10731                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
10732                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
10733                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
10734                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
10735                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
10736                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
10737                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
10738                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
10739                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
10740                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
10741                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
10742                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
10743                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
10744                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
10745                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
10746                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
10747                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
10748                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
10749                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
10750                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
10751                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
10752                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
10753                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
10754                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
10755                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
10756                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
10757                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
10758                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
10759                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
10760                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
10761                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
10762                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
10763                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
10764                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
10765                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
10766                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
10767                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
10768                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
10769                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
10770                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
10771                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
10772                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
10773                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
10774                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
10775                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
10776                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
10777                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
10778                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
10779                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
10780                 .ctext  = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
10781                           "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
10782                           "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
10783                           "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
10784                           "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
10785                           "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
10786                           "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
10787                           "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
10788                           "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
10789                           "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
10790                           "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
10791                           "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
10792                           "\x11\x35\x61\x94\x88\x7B\x1C\x48"
10793                           "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
10794                           "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
10795                           "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
10796                           "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
10797                           "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
10798                           "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
10799                           "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
10800                           "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
10801                           "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
10802                           "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
10803                           "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
10804                           "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
10805                           "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
10806                           "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
10807                           "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
10808                           "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
10809                           "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
10810                           "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
10811                           "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
10812                           "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
10813                           "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
10814                           "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
10815                           "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
10816                           "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
10817                           "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
10818                           "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
10819                           "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
10820                           "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
10821                           "\x73\x50\x08\x56\x20\x9B\x94\x23"
10822                           "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
10823                           "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
10824                           "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
10825                           "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
10826                           "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
10827                           "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
10828                           "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
10829                           "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
10830                           "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
10831                           "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
10832                           "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
10833                           "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
10834                           "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
10835                           "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
10836                           "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
10837                           "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
10838                           "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
10839                           "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
10840                           "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
10841                           "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
10842                 .len    = 496,
10843         },
10844 };
10845
10846 static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
10847         { /* Generated with Crypto++ */
10848                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
10849                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
10850                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
10851                 .klen   = 24,
10852                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
10853                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
10854                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
10855                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
10856                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
10857                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
10858                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
10859                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
10860                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
10861                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
10862                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
10863                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
10864                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
10865                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
10866                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
10867                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
10868                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
10869                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
10870                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
10871                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
10872                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
10873                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
10874                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
10875                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
10876                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
10877                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
10878                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
10879                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
10880                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
10881                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
10882                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
10883                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
10884                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
10885                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
10886                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
10887                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
10888                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
10889                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
10890                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
10891                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
10892                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
10893                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
10894                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
10895                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
10896                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
10897                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
10898                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
10899                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
10900                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
10901                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
10902                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
10903                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
10904                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
10905                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
10906                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
10907                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
10908                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
10909                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
10910                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
10911                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
10912                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
10913                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
10914                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
10915                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
10916                 .ctext  = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
10917                           "\x19\xCD\x6F\x32\x53\x05\x22\x15"
10918                           "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
10919                           "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
10920                           "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
10921                           "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
10922                           "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
10923                           "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
10924                           "\x13\x78\xDC\x89\x12\x12\x43\xFA"
10925                           "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
10926                           "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
10927                           "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
10928                           "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
10929                           "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
10930                           "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
10931                           "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
10932                           "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
10933                           "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
10934                           "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
10935                           "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
10936                           "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
10937                           "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
10938                           "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
10939                           "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
10940                           "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
10941                           "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
10942                           "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
10943                           "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
10944                           "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
10945                           "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
10946                           "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
10947                           "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
10948                           "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
10949                           "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
10950                           "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
10951                           "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
10952                           "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
10953                           "\x83\x37\x4F\x1F\x48\x30\xED\x04"
10954                           "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
10955                           "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
10956                           "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
10957                           "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
10958                           "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
10959                           "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
10960                           "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
10961                           "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
10962                           "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
10963                           "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
10964                           "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
10965                           "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
10966                           "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
10967                           "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
10968                           "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
10969                           "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
10970                           "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
10971                           "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
10972                           "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
10973                           "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
10974                           "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
10975                           "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
10976                           "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
10977                           "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
10978                 .len    = 496,
10979         }, { /* Generated with Crypto++ */
10980                 .key    = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
10981                           "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
10982                           "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
10983                 .klen   = 24,
10984                 .iv     = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
10985                 .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
10986                 .ptext  = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
10987                           "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
10988                           "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
10989                           "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
10990                           "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
10991                           "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
10992                           "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
10993                           "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
10994                           "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
10995                           "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
10996                           "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
10997                           "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
10998                           "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
10999                           "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
11000                           "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
11001                           "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
11002                           "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
11003                           "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
11004                           "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
11005                           "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
11006                           "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
11007                           "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
11008                           "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
11009                           "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
11010                           "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
11011                           "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
11012                           "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
11013                           "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
11014                           "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
11015                           "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
11016                           "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
11017                           "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
11018                           "\x50\x3B\x82\x15\x99\x60\xCB\x52"
11019                           "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
11020                           "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
11021                           "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
11022                           "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
11023                           "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
11024                           "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
11025                           "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
11026                           "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
11027                           "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
11028                           "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
11029                           "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
11030                           "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
11031                           "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
11032                           "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
11033                           "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
11034                           "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
11035                           "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
11036                           "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
11037                           "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
11038                           "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
11039                           "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
11040                           "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
11041                           "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
11042                           "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
11043                           "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
11044                           "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
11045                           "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
11046                           "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
11047                           "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
11048                           "\x2E\xB1\x18",
11049                 .ctext  = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
11050                           "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
11051                           "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
11052                           "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
11053                           "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
11054                           "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
11055                           "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
11056                           "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
11057                           "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
11058                           "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
11059                           "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
11060                           "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
11061                           "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
11062                           "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
11063                           "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
11064                           "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
11065                           "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
11066                           "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
11067                           "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
11068                           "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
11069                           "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
11070                           "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
11071                           "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
11072                           "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
11073                           "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
11074                           "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
11075                           "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
11076                           "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
11077                           "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
11078                           "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
11079                           "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
11080                           "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
11081                           "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
11082                           "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
11083                           "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
11084                           "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
11085                           "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
11086                           "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
11087                           "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
11088                           "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
11089                           "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
11090                           "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
11091                           "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
11092                           "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
11093                           "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
11094                           "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
11095                           "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
11096                           "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
11097                           "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
11098                           "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
11099                           "\x8A\x19\x08\xE1\x08\x48\x59\x51"
11100                           "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
11101                           "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
11102                           "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
11103                           "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
11104                           "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
11105                           "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
11106                           "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
11107                           "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
11108                           "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
11109                           "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
11110                           "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
11111                           "\xF2\x79\xD9",
11112                 .len    = 499,
11113         },
11114 };
11115
11116 /*
11117  * Blowfish test vectors.
11118  */
11119 static const struct cipher_testvec bf_tv_template[] = {
11120         { /* DES test vectors from OpenSSL */
11121                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
11122                 .klen   = 8,
11123                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
11124                 .ctext  = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
11125                 .len    = 8,
11126         }, {
11127                 .key    = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
11128                 .klen   = 8,
11129                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11130                 .ctext  = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
11131                 .len    = 8,
11132         }, {
11133                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
11134                 .klen   = 8,
11135                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11136                 .ctext  = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
11137                 .len    = 8,
11138         }, { /* Vary the keylength... */
11139                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
11140                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
11141                 .klen   = 16,
11142                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11143                 .ctext  = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
11144                 .len    = 8,
11145         }, {
11146                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
11147                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
11148                           "\x00\x11\x22\x33\x44",
11149                 .klen   = 21,
11150                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11151                 .ctext  = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
11152                 .len    = 8,
11153         }, { /* Generated with bf488 */
11154                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
11155                           "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
11156                           "\x00\x11\x22\x33\x44\x55\x66\x77"
11157                           "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
11158                           "\x58\x40\x23\x64\x1a\xba\x61\x76"
11159                           "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
11160                           "\xff\xff\xff\xff\xff\xff\xff\xff",
11161                 .klen   = 56,
11162                 .ptext  = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11163                 .ctext  = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
11164                 .len    = 8,
11165         }, { /* Generated with Crypto++ */
11166                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11167                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11168                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11169                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11170                 .klen   = 32,
11171                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11172                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11173                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11174                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11175                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11176                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11177                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11178                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11179                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11180                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11181                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11182                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11183                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11184                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11185                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11186                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11187                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11188                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11189                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11190                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11191                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11192                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11193                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11194                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11195                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11196                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11197                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11198                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11199                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11200                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11201                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11202                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11203                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11204                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11205                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11206                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11207                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11208                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11209                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11210                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11211                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11212                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11213                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11214                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11215                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11216                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11217                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11218                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11219                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11220                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11221                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11222                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11223                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11224                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11225                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11226                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11227                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11228                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11229                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11230                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11231                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11232                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11233                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
11234                 .ctext  = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
11235                           "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
11236                           "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
11237                           "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
11238                           "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
11239                           "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
11240                           "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
11241                           "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
11242                           "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
11243                           "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
11244                           "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
11245                           "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
11246                           "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
11247                           "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
11248                           "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
11249                           "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
11250                           "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
11251                           "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
11252                           "\x47\x82\x98\x23\x33\x36\xBC\x1B"
11253                           "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
11254                           "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
11255                           "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
11256                           "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
11257                           "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
11258                           "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
11259                           "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
11260                           "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
11261                           "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
11262                           "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
11263                           "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
11264                           "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
11265                           "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
11266                           "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
11267                           "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
11268                           "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
11269                           "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
11270                           "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
11271                           "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
11272                           "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
11273                           "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
11274                           "\x3E\x42\x14\x49\x88\x51\xBF\x68"
11275                           "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
11276                           "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
11277                           "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
11278                           "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
11279                           "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
11280                           "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
11281                           "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
11282                           "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
11283                           "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
11284                           "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
11285                           "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
11286                           "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
11287                           "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
11288                           "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
11289                           "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
11290                           "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
11291                           "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
11292                           "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
11293                           "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
11294                           "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
11295                           "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
11296                           "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
11297                 .len    = 504,
11298         },
11299 };
11300
11301 static const struct cipher_testvec bf_cbc_tv_template[] = {
11302         { /* From OpenSSL */
11303                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11304                           "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
11305                 .klen   = 16,
11306                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
11307                 .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
11308                 .ptext  = "\x37\x36\x35\x34\x33\x32\x31\x20"
11309                           "\x4e\x6f\x77\x20\x69\x73\x20\x74"
11310                           "\x68\x65\x20\x74\x69\x6d\x65\x20"
11311                           "\x66\x6f\x72\x20\x00\x00\x00\x00",
11312                 .ctext  = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
11313                           "\x05\xb1\x56\xe2\x74\x03\x97\x93"
11314                           "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
11315                           "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
11316                 .len    = 32,
11317         }, { /* Generated with Crypto++ */
11318                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11319                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11320                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11321                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11322                 .klen   = 32,
11323                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
11324                 .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
11325                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11326                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11327                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11328                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11329                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11330                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11331                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11332                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11333                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11334                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11335                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11336                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11337                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11338                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11339                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11340                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11341                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11342                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11343                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11344                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11345                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11346                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11347                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11348                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11349                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11350                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11351                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11352                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11353                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11354                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11355                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11356                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11357                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11358                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11359                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11360                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11361                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11362                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11363                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11364                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11365                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11366                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11367                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11368                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11369                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11370                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11371                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11372                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11373                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11374                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11375                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11376                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11377                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11378                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11379                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11380                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11381                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11382                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11383                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11384                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11385                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11386                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11387                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
11388                 .ctext  = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
11389                           "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
11390                           "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
11391                           "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
11392                           "\x01\x9C\x93\x63\x51\x60\x82\xD2"
11393                           "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
11394                           "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
11395                           "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
11396                           "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
11397                           "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
11398                           "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
11399                           "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
11400                           "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
11401                           "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
11402                           "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
11403                           "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
11404                           "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
11405                           "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
11406                           "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
11407                           "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
11408                           "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
11409                           "\x65\xFE\x15\x40\xD0\x62\x41\x02"
11410                           "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
11411                           "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
11412                           "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
11413                           "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
11414                           "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
11415                           "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
11416                           "\x04\xF0\x86\x08\x78\x18\x42\xE0"
11417                           "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
11418                           "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
11419                           "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
11420                           "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
11421                           "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
11422                           "\x97\x18\x92\xFF\x15\x11\xCE\xED"
11423                           "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
11424                           "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
11425                           "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
11426                           "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
11427                           "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
11428                           "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
11429                           "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
11430                           "\x43\x12\x73\x77\xDB\x91\x83\x5B"
11431                           "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
11432                           "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
11433                           "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
11434                           "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
11435                           "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
11436                           "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
11437                           "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
11438                           "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
11439                           "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
11440                           "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
11441                           "\xC5\xF8\x69\x83\x28\x84\x87\x56"
11442                           "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
11443                           "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
11444                           "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
11445                           "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
11446                           "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
11447                           "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
11448                           "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
11449                           "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
11450                           "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
11451                 .len    = 504,
11452         },
11453 };
11454
11455 static const struct cipher_testvec bf_ctr_tv_template[] = {
11456         { /* Generated with Crypto++ */
11457                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11458                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11459                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11460                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11461                 .klen   = 32,
11462                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
11463                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
11464                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11465                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11466                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11467                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11468                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11469                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11470                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11471                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11472                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11473                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11474                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11475                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11476                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11477                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11478                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11479                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11480                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11481                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11482                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11483                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11484                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11485                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11486                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11487                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11488                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11489                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11490                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11491                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11492                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11493                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11494                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11495                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11496                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11497                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11498                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11499                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11500                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11501                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11502                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11503                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11504                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11505                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11506                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11507                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11508                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11509                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11510                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11511                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11512                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11513                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11514                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11515                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11516                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11517                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11518                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11519                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11520                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11521                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11522                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11523                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11524                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11525                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11526                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
11527                 .ctext  = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
11528                           "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
11529                           "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
11530                           "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
11531                           "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
11532                           "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
11533                           "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
11534                           "\x97\xEB\x98\x75\xC4\x73\x45\x83"
11535                           "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
11536                           "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
11537                           "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
11538                           "\x13\xD2\x96\x68\x69\x10\x67\x0C"
11539                           "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
11540                           "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
11541                           "\x88\x09\x40\x59\xBD\x12\x64\xB5"
11542                           "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
11543                           "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
11544                           "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
11545                           "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
11546                           "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
11547                           "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
11548                           "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
11549                           "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
11550                           "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
11551                           "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
11552                           "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
11553                           "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
11554                           "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
11555                           "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
11556                           "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
11557                           "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
11558                           "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
11559                           "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
11560                           "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
11561                           "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
11562                           "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
11563                           "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
11564                           "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
11565                           "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
11566                           "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
11567                           "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
11568                           "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
11569                           "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
11570                           "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
11571                           "\x82\x63\x11\xB3\x54\x49\x00\x08"
11572                           "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
11573                           "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
11574                           "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
11575                           "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
11576                           "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
11577                           "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
11578                           "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
11579                           "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
11580                           "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
11581                           "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
11582                           "\x91\x04\x94\x99\x03\x3B\x42\x6D"
11583                           "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
11584                           "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
11585                           "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
11586                           "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
11587                           "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
11588                           "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
11589                           "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
11590                 .len    = 504,
11591         }, { /* Generated with Crypto++ */
11592                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11593                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11594                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11595                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11596                 .klen   = 32,
11597                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
11598                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
11599                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11600                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11601                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11602                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11603                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11604                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11605                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11606                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11607                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11608                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11609                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11610                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11611                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11612                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11613                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11614                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11615                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11616                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11617                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11618                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11619                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11620                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11621                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11622                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11623                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11624                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11625                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11626                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11627                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11628                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11629                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11630                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11631                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11632                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11633                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11634                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11635                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11636                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11637                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11638                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11639                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11640                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11641                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11642                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11643                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11644                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11645                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11646                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11647                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11648                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11649                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11650                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11651                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11652                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11653                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11654                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11655                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11656                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11657                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11658                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11659                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11660                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11661                           "\x2B\xC2\x59\xF0\x64\xFB\x92",
11662                 .ctext  = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
11663                           "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
11664                           "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
11665                           "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
11666                           "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
11667                           "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
11668                           "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
11669                           "\x97\xEB\x98\x75\xC4\x73\x45\x83"
11670                           "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
11671                           "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
11672                           "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
11673                           "\x13\xD2\x96\x68\x69\x10\x67\x0C"
11674                           "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
11675                           "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
11676                           "\x88\x09\x40\x59\xBD\x12\x64\xB5"
11677                           "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
11678                           "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
11679                           "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
11680                           "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
11681                           "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
11682                           "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
11683                           "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
11684                           "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
11685                           "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
11686                           "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
11687                           "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
11688                           "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
11689                           "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
11690                           "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
11691                           "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
11692                           "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
11693                           "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
11694                           "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
11695                           "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
11696                           "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
11697                           "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
11698                           "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
11699                           "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
11700                           "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
11701                           "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
11702                           "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
11703                           "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
11704                           "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
11705                           "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
11706                           "\x82\x63\x11\xB3\x54\x49\x00\x08"
11707                           "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
11708                           "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
11709                           "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
11710                           "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
11711                           "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
11712                           "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
11713                           "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
11714                           "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
11715                           "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
11716                           "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
11717                           "\x91\x04\x94\x99\x03\x3B\x42\x6D"
11718                           "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
11719                           "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
11720                           "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
11721                           "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
11722                           "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
11723                           "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
11724                           "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
11725                 .len    = 503,
11726         }, { /* Generated with Crypto++ */
11727                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11728                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11729                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11730                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11731                 .klen   = 32,
11732                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
11733                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
11734                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11735                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11736                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11737                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11738                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11739                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11740                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11741                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11742                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11743                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11744                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11745                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11746                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11747                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11748                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11749                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11750                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11751                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11752                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11753                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11754                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11755                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11756                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11757                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11758                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11759                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11760                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11761                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11762                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11763                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11764                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11765                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11766                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11767                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11768                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11769                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11770                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11771                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11772                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11773                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11774                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11775                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11776                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11777                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11778                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11779                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11780                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11781                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11782                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11783                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11784                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11785                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11786                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11787                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11788                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11789                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11790                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11791                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11792                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11793                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11794                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11795                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11796                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
11797                 .ctext  = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
11798                           "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
11799                           "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
11800                           "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
11801                           "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
11802                           "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
11803                           "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
11804                           "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
11805                           "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
11806                           "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
11807                           "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
11808                           "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
11809                           "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
11810                           "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
11811                           "\x0B\x82\x59\x14\x26\x67\x08\x09"
11812                           "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
11813                           "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
11814                           "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
11815                           "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
11816                           "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
11817                           "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
11818                           "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
11819                           "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
11820                           "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
11821                           "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
11822                           "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
11823                           "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
11824                           "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
11825                           "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
11826                           "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
11827                           "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
11828                           "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
11829                           "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
11830                           "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
11831                           "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
11832                           "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
11833                           "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
11834                           "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
11835                           "\xB4\x19\xD8\x19\x45\x66\x27\x02"
11836                           "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
11837                           "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
11838                           "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
11839                           "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
11840                           "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
11841                           "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
11842                           "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
11843                           "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
11844                           "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
11845                           "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
11846                           "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
11847                           "\x91\x51\x4E\x71\xF2\x98\x85\x16"
11848                           "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
11849                           "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
11850                           "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
11851                           "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
11852                           "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
11853                           "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
11854                           "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
11855                           "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
11856                           "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
11857                           "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
11858                           "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
11859                           "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
11860                 .len    = 504,
11861         },
11862 };
11863
11864 /*
11865  * Twofish test vectors.
11866  */
11867 static const struct cipher_testvec tf_tv_template[] = {
11868         {
11869                 .key    = zeroed_string,
11870                 .klen   = 16,
11871                 .ptext  = zeroed_string,
11872                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
11873                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
11874                 .len    = 16,
11875         }, {
11876                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11877                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
11878                           "\x00\x11\x22\x33\x44\x55\x66\x77",
11879                 .klen   = 24,
11880                 .ptext  = zeroed_string,
11881                 .ctext  = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
11882                           "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
11883                 .len    = 16,
11884         }, {
11885                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11886                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
11887                           "\x00\x11\x22\x33\x44\x55\x66\x77"
11888                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
11889                 .klen   = 32,
11890                 .ptext  = zeroed_string,
11891                 .ctext  = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
11892                           "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
11893                 .len    = 16,
11894         }, { /* Generated with Crypto++ */
11895                 .key    = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
11896                           "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
11897                           "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
11898                           "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
11899                 .klen   = 32,
11900                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11901                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11902                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11903                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11904                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11905                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11906                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11907                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11908                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11909                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11910                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11911                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11912                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11913                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11914                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11915                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11916                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11917                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11918                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11919                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11920                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11921                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11922                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11923                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11924                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11925                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11926                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11927                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11928                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11929                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11930                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11931                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11932                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11933                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11934                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11935                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11936                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11937                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11938                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11939                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11940                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11941                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11942                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11943                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11944                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11945                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11946                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11947                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11948                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11949                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11950                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11951                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11952                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11953                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11954                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11955                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11956                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11957                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11958                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11959                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11960                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11961                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11962                 .ctext  = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
11963                           "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
11964                           "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
11965                           "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
11966                           "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
11967                           "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
11968                           "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
11969                           "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
11970                           "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
11971                           "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
11972                           "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
11973                           "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
11974                           "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
11975                           "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
11976                           "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
11977                           "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
11978                           "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
11979                           "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
11980                           "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
11981                           "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
11982                           "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
11983                           "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
11984                           "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
11985                           "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
11986                           "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
11987                           "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
11988                           "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
11989                           "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
11990                           "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
11991                           "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
11992                           "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
11993                           "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
11994                           "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
11995                           "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
11996                           "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
11997                           "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
11998                           "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
11999                           "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
12000                           "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
12001                           "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
12002                           "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
12003                           "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
12004                           "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
12005                           "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
12006                           "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
12007                           "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
12008                           "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
12009                           "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
12010                           "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
12011                           "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
12012                           "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
12013                           "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
12014                           "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
12015                           "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
12016                           "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
12017                           "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
12018                           "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
12019                           "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
12020                           "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
12021                           "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
12022                           "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
12023                           "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
12024                 .len    = 496,
12025         },
12026 };
12027
12028 static const struct cipher_testvec tf_cbc_tv_template[] = {
12029         { /* Generated with Nettle */
12030                 .key    = zeroed_string,
12031                 .klen   = 16,
12032                 .iv     = zeroed_string,
12033                 .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12034                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12035                 .ptext  = zeroed_string,
12036                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12037                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12038                 .len    = 16,
12039         }, {
12040                 .key    = zeroed_string,
12041                 .klen   = 16,
12042                 .iv     = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12043                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
12044                 .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12045                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
12046                 .ptext  = zeroed_string,
12047                 .ctext  = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12048                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
12049                 .len    = 16,
12050         }, {
12051                 .key    = zeroed_string,
12052                 .klen   = 16,
12053                 .iv     = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12054                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
12055                 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12056                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12057                 .ptext  = zeroed_string,
12058                 .ctext  = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12059                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12060                 .len    = 16,
12061         }, {
12062                 .key    = zeroed_string,
12063                 .klen   = 16,
12064                 .iv     = zeroed_string,
12065                 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12066                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12067                 .ptext  = zeroed_string,
12068                 .ctext  = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
12069                           "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
12070                           "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
12071                           "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
12072                           "\x05\xef\x8c\x61\xa8\x11\x58\x26"
12073                           "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
12074                 .len    = 48,
12075         }, { /* Generated with Crypto++ */
12076                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12077                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12078                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12079                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12080                 .klen   = 32,
12081                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12082                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12083                 .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
12084                           "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
12085                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12086                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12087                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12088                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12089                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12090                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12091                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12092                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12093                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12094                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12095                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12096                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12097                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12098                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12099                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12100                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12101                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12102                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12103                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12104                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12105                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12106                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12107                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12108                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12109                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12110                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12111                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12112                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12113                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12114                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12115                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12116                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12117                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12118                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12119                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12120                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12121                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12122                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12123                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12124                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12125                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12126                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12127                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12128                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12129                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12130                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12131                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12132                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12133                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12134                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12135                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12136                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12137                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12138                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12139                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12140                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12141                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12142                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12143                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12144                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12145                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12146                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12147                 .ctext  = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
12148                           "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
12149                           "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
12150                           "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
12151                           "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
12152                           "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
12153                           "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
12154                           "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
12155                           "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
12156                           "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
12157                           "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
12158                           "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
12159                           "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
12160                           "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
12161                           "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
12162                           "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
12163                           "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
12164                           "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
12165                           "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
12166                           "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
12167                           "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
12168                           "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
12169                           "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
12170                           "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
12171                           "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
12172                           "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
12173                           "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
12174                           "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
12175                           "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
12176                           "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
12177                           "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
12178                           "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
12179                           "\x75\x42\x62\x04\x31\x1F\x95\x7C"
12180                           "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
12181                           "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
12182                           "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
12183                           "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
12184                           "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
12185                           "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
12186                           "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
12187                           "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
12188                           "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
12189                           "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
12190                           "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
12191                           "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
12192                           "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
12193                           "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
12194                           "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
12195                           "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
12196                           "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
12197                           "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
12198                           "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
12199                           "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
12200                           "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
12201                           "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
12202                           "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
12203                           "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
12204                           "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
12205                           "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
12206                           "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
12207                           "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
12208                           "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
12209                 .len    = 496,
12210         },
12211 };
12212
12213 static const struct cipher_testvec tf_ctr_tv_template[] = {
12214         { /* Generated with Crypto++ */
12215                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12216                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12217                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12218                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12219                 .klen   = 32,
12220                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12221                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12222                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12223                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
12224                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12225                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12226                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12227                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12228                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12229                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12230                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12231                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12232                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12233                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12234                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12235                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12236                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12237                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12238                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12239                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12240                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12241                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12242                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12243                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12244                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12245                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12246                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12247                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12248                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12249                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12250                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12251                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12252                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12253                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12254                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12255                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12256                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12257                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12258                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12259                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12260                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12261                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12262                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12263                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12264                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12265                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12266                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12267                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12268                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12269                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12270                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12271                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12272                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12273                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12274                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12275                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12276                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12277                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12278                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12279                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12280                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12281                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12282                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12283                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12284                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12285                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12286                 .ctext  = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
12287                           "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
12288                           "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
12289                           "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
12290                           "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
12291                           "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
12292                           "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
12293                           "\x01\x41\x21\x12\x38\xAB\x52\x4F"
12294                           "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
12295                           "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
12296                           "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
12297                           "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
12298                           "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
12299                           "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
12300                           "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
12301                           "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
12302                           "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
12303                           "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
12304                           "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
12305                           "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
12306                           "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
12307                           "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
12308                           "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
12309                           "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
12310                           "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
12311                           "\x23\x61\x48\xEA\x80\x04\x27\xAA"
12312                           "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
12313                           "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
12314                           "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
12315                           "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
12316                           "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
12317                           "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
12318                           "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
12319                           "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
12320                           "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
12321                           "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
12322                           "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
12323                           "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
12324                           "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
12325                           "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
12326                           "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
12327                           "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
12328                           "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
12329                           "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
12330                           "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
12331                           "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
12332                           "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
12333                           "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
12334                           "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
12335                           "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
12336                           "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
12337                           "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
12338                           "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
12339                           "\x11\xE9\x43\x83\x76\xAA\x53\x37"
12340                           "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
12341                           "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
12342                           "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
12343                           "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
12344                           "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
12345                           "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
12346                           "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
12347                           "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
12348                 .len    = 496,
12349         }, { /* Generated with Crypto++ */
12350                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12351                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12352                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12353                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12354                 .klen   = 32,
12355                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12356                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12357                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
12358                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
12359                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12360                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12361                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12362                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12363                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12364                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12365                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12366                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12367                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12368                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12369                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12370                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12371                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12372                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12373                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12374                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12375                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12376                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12377                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12378                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12379                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12380                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12381                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12382                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12383                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12384                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12385                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12386                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12387                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12388                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12389                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12390                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12391                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12392                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12393                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12394                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12395                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12396                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12397                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12398                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12399                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12400                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12401                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12402                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12403                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12404                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12405                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12406                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12407                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12408                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12409                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12410                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12411                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12412                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12413                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12414                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12415                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12416                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12417                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12418                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12419                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12420                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12421                 .ctext  = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
12422                           "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
12423                           "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
12424                           "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
12425                           "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
12426                           "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
12427                           "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
12428                           "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
12429                           "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
12430                           "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
12431                           "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
12432                           "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
12433                           "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
12434                           "\x39\x18\x09\xA4\x82\x59\x78\xE7"
12435                           "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
12436                           "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
12437                           "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
12438                           "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
12439                           "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
12440                           "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
12441                           "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
12442                           "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
12443                           "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
12444                           "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
12445                           "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
12446                           "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
12447                           "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
12448                           "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
12449                           "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
12450                           "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
12451                           "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
12452                           "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
12453                           "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
12454                           "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
12455                           "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
12456                           "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
12457                           "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
12458                           "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
12459                           "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
12460                           "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
12461                           "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
12462                           "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
12463                           "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
12464                           "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
12465                           "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
12466                           "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
12467                           "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
12468                           "\xDE\x55\x1B\x50\x14\x53\x44\x17"
12469                           "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
12470                           "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
12471                           "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
12472                           "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
12473                           "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
12474                           "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
12475                           "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
12476                           "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
12477                           "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
12478                           "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
12479                           "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
12480                           "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
12481                           "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
12482                           "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
12483                 .len    = 496,
12484         }, { /* Generated with Crypto++ */
12485                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12486                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12487                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12488                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12489                 .klen   = 32,
12490                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12491                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12492                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12493                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
12494                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12495                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12496                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12497                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12498                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12499                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12500                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12501                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12502                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12503                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12504                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12505                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12506                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12507                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12508                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12509                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12510                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12511                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12512                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12513                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12514                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12515                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12516                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12517                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12518                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12519                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12520                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12521                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12522                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12523                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12524                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12525                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12526                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12527                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12528                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12529                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12530                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12531                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12532                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12533                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12534                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12535                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12536                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12537                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12538                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12539                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12540                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12541                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12542                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12543                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12544                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12545                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12546                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12547                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12548                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12549                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12550                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12551                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12552                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12553                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12554                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12555                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12556                           "\x2B\xC2\x59",
12557                 .ctext  = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
12558                           "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
12559                           "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
12560                           "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
12561                           "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
12562                           "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
12563                           "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
12564                           "\x01\x41\x21\x12\x38\xAB\x52\x4F"
12565                           "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
12566                           "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
12567                           "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
12568                           "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
12569                           "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
12570                           "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
12571                           "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
12572                           "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
12573                           "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
12574                           "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
12575                           "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
12576                           "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
12577                           "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
12578                           "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
12579                           "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
12580                           "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
12581                           "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
12582                           "\x23\x61\x48\xEA\x80\x04\x27\xAA"
12583                           "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
12584                           "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
12585                           "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
12586                           "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
12587                           "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
12588                           "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
12589                           "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
12590                           "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
12591                           "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
12592                           "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
12593                           "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
12594                           "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
12595                           "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
12596                           "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
12597                           "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
12598                           "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
12599                           "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
12600                           "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
12601                           "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
12602                           "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
12603                           "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
12604                           "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
12605                           "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
12606                           "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
12607                           "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
12608                           "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
12609                           "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
12610                           "\x11\xE9\x43\x83\x76\xAA\x53\x37"
12611                           "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
12612                           "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
12613                           "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
12614                           "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
12615                           "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
12616                           "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
12617                           "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
12618                           "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
12619                           "\x6C\x82\x9D",
12620                 .len    = 499,
12621         },
12622 };
12623
12624 static const struct cipher_testvec tf_lrw_tv_template[] = {
12625         /* Generated from AES-LRW test vectors */
12626         {
12627                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12628                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12629                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12630                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12631                 .klen   = 32,
12632                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12633                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12634                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12635                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12636                 .ctext  = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
12637                           "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
12638                 .len    = 16,
12639         }, {
12640                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12641                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12642                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12643                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12644                 .klen   = 32,
12645                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12646                           "\x00\x00\x00\x00\x00\x00\x00\x02",
12647                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12648                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12649                 .ctext  = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
12650                           "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
12651                 .len    = 16,
12652         }, {
12653                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12654                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12655                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12656                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12657                 .klen   = 32,
12658                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12659                           "\x00\x00\x00\x02\x00\x00\x00\x00",
12660                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12661                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12662                 .ctext  = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
12663                           "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
12664                 .len    = 16,
12665         }, {
12666                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12667                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12668                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12669                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12670                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12671                 .klen   = 40,
12672                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12673                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12674                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12675                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12676                 .ctext  = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
12677                           "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
12678                 .len    = 16,
12679         }, {
12680                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12681                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12682                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12683                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12684                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12685                 .klen   = 40,
12686                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12687                           "\x00\x00\x00\x02\x00\x00\x00\x00",
12688                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12689                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12690                 .ctext  = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
12691                           "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
12692                 .len    = 16,
12693         }, {
12694                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12695                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12696                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12697                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12698                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12699                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12700                 .klen   = 48,
12701                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12702                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12703                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12704                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12705                 .ctext  = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
12706                           "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
12707                 .len    = 16,
12708         }, {
12709                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12710                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12711                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12712                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12713                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12714                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12715                 .klen   = 48,
12716                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12717                           "\x00\x00\x00\x02\x00\x00\x00\x00",
12718                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
12719                           "\x38\x39\x41\x42\x43\x44\x45\x46",
12720                 .ctext  = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
12721                           "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
12722                 .len    = 16,
12723         }, {
12724                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12725                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12726                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12727                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12728                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12729                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12730                 .klen   = 48,
12731                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12732                           "\x00\x00\x00\x00\x00\x00\x00\x01",
12733                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12734                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12735                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12736                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12737                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12738                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12739                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12740                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12741                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12742                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12743                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12744                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12745                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12746                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12747                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12748                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12749                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12750                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12751                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12752                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12753                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12754                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12755                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12756                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12757                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12758                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12759                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12760                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12761                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12762                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12763                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12764                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12765                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12766                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12767                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12768                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12769                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12770                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12771                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12772                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12773                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12774                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12775                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12776                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12777                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12778                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12779                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12780                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12781                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12782                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12783                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12784                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12785                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12786                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12787                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12788                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12789                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12790                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12791                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12792                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12793                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12794                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12795                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12796                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12797                 .ctext  = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
12798                           "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
12799                           "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
12800                           "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
12801                           "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
12802                           "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
12803                           "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
12804                           "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
12805                           "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
12806                           "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
12807                           "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
12808                           "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
12809                           "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
12810                           "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
12811                           "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
12812                           "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
12813                           "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
12814                           "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
12815                           "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
12816                           "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
12817                           "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
12818                           "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
12819                           "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
12820                           "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
12821                           "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
12822                           "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
12823                           "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
12824                           "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
12825                           "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
12826                           "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
12827                           "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
12828                           "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
12829                           "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
12830                           "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
12831                           "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
12832                           "\x3e\xae\x71\x90\x07\x70\x1c\x38"
12833                           "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
12834                           "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
12835                           "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
12836                           "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
12837                           "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
12838                           "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
12839                           "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
12840                           "\x93\x51\x1d\x3d\x62\x59\x83\x82"
12841                           "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
12842                           "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
12843                           "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
12844                           "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
12845                           "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
12846                           "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
12847                           "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
12848                           "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
12849                           "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
12850                           "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
12851                           "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
12852                           "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
12853                           "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
12854                           "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
12855                           "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
12856                           "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
12857                           "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
12858                           "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
12859                           "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
12860                           "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
12861                 .len    = 512,
12862         },
12863 };
12864
12865 static const struct cipher_testvec tf_xts_tv_template[] = {
12866         /* Generated from AES-XTS test vectors */
12867 {
12868                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
12869                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12870                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12871                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12872                 .klen   = 32,
12873                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12874                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12875                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
12876                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12877                           "\x00\x00\x00\x00\x00\x00\x00\x00"
12878                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12879                 .ctext  = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
12880                           "\x30\x74\xe4\x44\x52\x77\x97\x43"
12881                           "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
12882                           "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
12883                 .len    = 32,
12884         }, {
12885                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
12886                           "\x11\x11\x11\x11\x11\x11\x11\x11"
12887                           "\x22\x22\x22\x22\x22\x22\x22\x22"
12888                           "\x22\x22\x22\x22\x22\x22\x22\x22",
12889                 .klen   = 32,
12890                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
12891                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12892                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
12893                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12894                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12895                           "\x44\x44\x44\x44\x44\x44\x44\x44",
12896                 .ctext  = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
12897                           "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
12898                           "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
12899                           "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
12900                 .len    = 32,
12901         }, {
12902                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
12903                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
12904                           "\x22\x22\x22\x22\x22\x22\x22\x22"
12905                           "\x22\x22\x22\x22\x22\x22\x22\x22",
12906                 .klen   = 32,
12907                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
12908                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12909                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
12910                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12911                           "\x44\x44\x44\x44\x44\x44\x44\x44"
12912                           "\x44\x44\x44\x44\x44\x44\x44\x44",
12913                 .ctext  = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
12914                           "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
12915                           "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
12916                           "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
12917                 .len    = 32,
12918         }, {
12919                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
12920                           "\x23\x53\x60\x28\x74\x71\x35\x26"
12921                           "\x31\x41\x59\x26\x53\x58\x97\x93"
12922                           "\x23\x84\x62\x64\x33\x83\x27\x95",
12923                 .klen   = 32,
12924                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
12925                           "\x00\x00\x00\x00\x00\x00\x00\x00",
12926                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
12927                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12928                           "\x10\x11\x12\x13\x14\x15\x16\x17"
12929                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12930                           "\x20\x21\x22\x23\x24\x25\x26\x27"
12931                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12932                           "\x30\x31\x32\x33\x34\x35\x36\x37"
12933                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12934                           "\x40\x41\x42\x43\x44\x45\x46\x47"
12935                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12936                           "\x50\x51\x52\x53\x54\x55\x56\x57"
12937                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12938                           "\x60\x61\x62\x63\x64\x65\x66\x67"
12939                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12940                           "\x70\x71\x72\x73\x74\x75\x76\x77"
12941                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12942                           "\x80\x81\x82\x83\x84\x85\x86\x87"
12943                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12944                           "\x90\x91\x92\x93\x94\x95\x96\x97"
12945                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12946                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12947                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12948                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12949                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12950                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12951                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12952                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12953                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12954                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12955                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12956                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12957                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
12958                           "\x00\x01\x02\x03\x04\x05\x06\x07"
12959                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12960                           "\x10\x11\x12\x13\x14\x15\x16\x17"
12961                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12962                           "\x20\x21\x22\x23\x24\x25\x26\x27"
12963                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12964                           "\x30\x31\x32\x33\x34\x35\x36\x37"
12965                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12966                           "\x40\x41\x42\x43\x44\x45\x46\x47"
12967                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12968                           "\x50\x51\x52\x53\x54\x55\x56\x57"
12969                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12970                           "\x60\x61\x62\x63\x64\x65\x66\x67"
12971                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12972                           "\x70\x71\x72\x73\x74\x75\x76\x77"
12973                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12974                           "\x80\x81\x82\x83\x84\x85\x86\x87"
12975                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12976                           "\x90\x91\x92\x93\x94\x95\x96\x97"
12977                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12978                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12979                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12980                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12981                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12982                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12983                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12984                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12985                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12986                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12987                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12988                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12989                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
12990                 .ctext  = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
12991                           "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
12992                           "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
12993                           "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
12994                           "\xea\x35\x35\x8c\xb2\x46\x61\x06"
12995                           "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
12996                           "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
12997                           "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
12998                           "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
12999                           "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
13000                           "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
13001                           "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
13002                           "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
13003                           "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
13004                           "\x01\x73\x68\x32\x25\x19\xfa\xfb"
13005                           "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
13006                           "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
13007                           "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
13008                           "\x39\x80\x39\x09\x97\x65\xf2\x83"
13009                           "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
13010                           "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
13011                           "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
13012                           "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
13013                           "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
13014                           "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
13015                           "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
13016                           "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
13017                           "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
13018                           "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
13019                           "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
13020                           "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
13021                           "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
13022                           "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
13023                           "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
13024                           "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
13025                           "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
13026                           "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
13027                           "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
13028                           "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
13029                           "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
13030                           "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
13031                           "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
13032                           "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
13033                           "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
13034                           "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
13035                           "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
13036                           "\x04\x39\x73\x32\xb2\x86\x79\xe7"
13037                           "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
13038                           "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
13039                           "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
13040                           "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
13041                           "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
13042                           "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
13043                           "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
13044                           "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
13045                           "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
13046                           "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
13047                           "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
13048                           "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
13049                           "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
13050                           "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
13051                           "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
13052                           "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
13053                           "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
13054                 .len    = 512,
13055         }, {
13056                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
13057                           "\x23\x53\x60\x28\x74\x71\x35\x26"
13058                           "\x62\x49\x77\x57\x24\x70\x93\x69"
13059                           "\x99\x59\x57\x49\x66\x96\x76\x27"
13060                           "\x31\x41\x59\x26\x53\x58\x97\x93"
13061                           "\x23\x84\x62\x64\x33\x83\x27\x95"
13062                           "\x02\x88\x41\x97\x16\x93\x99\x37"
13063                           "\x51\x05\x82\x09\x74\x94\x45\x92",
13064                 .klen   = 64,
13065                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
13066                           "\x00\x00\x00\x00\x00\x00\x00\x00",
13067                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13068                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13069                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13070                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13071                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13072                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13073                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13074                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13075                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13076                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13077                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13078                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13079                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13080                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13081                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13082                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13083                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13084                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13085                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13086                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13087                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13088                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13089                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13090                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13091                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13092                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13093                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13094                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13095                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13096                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13097                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13098                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13099                           "\x00\x01\x02\x03\x04\x05\x06\x07"
13100                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13101                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13102                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13103                           "\x20\x21\x22\x23\x24\x25\x26\x27"
13104                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13105                           "\x30\x31\x32\x33\x34\x35\x36\x37"
13106                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13107                           "\x40\x41\x42\x43\x44\x45\x46\x47"
13108                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13109                           "\x50\x51\x52\x53\x54\x55\x56\x57"
13110                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13111                           "\x60\x61\x62\x63\x64\x65\x66\x67"
13112                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13113                           "\x70\x71\x72\x73\x74\x75\x76\x77"
13114                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13115                           "\x80\x81\x82\x83\x84\x85\x86\x87"
13116                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13117                           "\x90\x91\x92\x93\x94\x95\x96\x97"
13118                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13119                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13120                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13121                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13122                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13123                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13124                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13125                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13126                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13127                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13128                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13129                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13130                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13131                 .ctext  = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
13132                           "\x35\x39\x71\x88\x76\x1e\xc9\xea"
13133                           "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
13134                           "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
13135                           "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
13136                           "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
13137                           "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
13138                           "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
13139                           "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
13140                           "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
13141                           "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
13142                           "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
13143                           "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
13144                           "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
13145                           "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
13146                           "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
13147                           "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
13148                           "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
13149                           "\x69\x35\x61\x86\xf8\x86\xb9\x89"
13150                           "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
13151                           "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
13152                           "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
13153                           "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
13154                           "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
13155                           "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
13156                           "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
13157                           "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
13158                           "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
13159                           "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
13160                           "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
13161                           "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
13162                           "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
13163                           "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
13164                           "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
13165                           "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
13166                           "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
13167                           "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
13168                           "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
13169                           "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
13170                           "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
13171                           "\xad\x12\x32\x31\x03\xf7\x21\xbe"
13172                           "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
13173                           "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
13174                           "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
13175                           "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
13176                           "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
13177                           "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
13178                           "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
13179                           "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
13180                           "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
13181                           "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
13182                           "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
13183                           "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
13184                           "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
13185                           "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
13186                           "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
13187                           "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
13188                           "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
13189                           "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
13190                           "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
13191                           "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
13192                           "\xf3\xea\x67\x52\x78\xc2\xce\x70"
13193                           "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
13194                           "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
13195                 .len    = 512,
13196         },
13197 };
13198
13199 /*
13200  * Serpent test vectors.  These are backwards because Serpent writes
13201  * octet sequences in right-to-left mode.
13202  */
13203 static const struct cipher_testvec serpent_tv_template[] = {
13204         {
13205                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13206                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13207                 .ctext  = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
13208                           "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
13209                 .len    = 16,
13210         }, {
13211                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
13212                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13213                 .klen   = 16,
13214                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13215                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13216                 .ctext  = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
13217                           "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
13218                 .len    = 16,
13219         }, {
13220                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
13221                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13222                           "\x10\x11\x12\x13\x14\x15\x16\x17"
13223                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13224                 .klen   = 32,
13225                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
13226                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13227                 .ctext  = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
13228                           "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
13229                 .len    = 16,
13230         }, {
13231                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
13232                 .klen   = 16,
13233                 .ptext  = zeroed_string,
13234                 .ctext  = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
13235                           "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
13236                 .len    = 16,
13237         }, { /* Generated with Crypto++ */
13238                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13239                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13240                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13241                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13242                 .klen   = 32,
13243                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13244                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13245                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13246                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13247                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13248                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13249                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13250                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13251                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13252                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13253                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13254                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13255                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13256                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13257                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13258                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13259                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13260                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13261                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13262                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13263                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13264                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13265                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13266                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13267                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13268                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13269                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13270                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13271                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13272                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13273                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13274                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13275                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13276                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13277                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13278                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13279                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13280                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13281                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13282                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13283                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13284                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13285                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13286                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13287                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13288                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13289                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13290                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13291                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13292                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13293                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13294                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13295                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13296                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13297                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13298                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13299                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13300                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13301                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13302                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13303                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13304                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13305                 .ctext  = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
13306                           "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
13307                           "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
13308                           "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
13309                           "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
13310                           "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
13311                           "\x99\x34\x89\x5B\x54\xE9\x12\x13"
13312                           "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
13313                           "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
13314                           "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
13315                           "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
13316                           "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
13317                           "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
13318                           "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
13319                           "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
13320                           "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
13321                           "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
13322                           "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
13323                           "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
13324                           "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
13325                           "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
13326                           "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
13327                           "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
13328                           "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
13329                           "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
13330                           "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
13331                           "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
13332                           "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
13333                           "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
13334                           "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
13335                           "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
13336                           "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
13337                           "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
13338                           "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
13339                           "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
13340                           "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
13341                           "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
13342                           "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
13343                           "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
13344                           "\x87\x70\x14\xD0\x01\x57\xCB\x42"
13345                           "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
13346                           "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
13347                           "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
13348                           "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
13349                           "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
13350                           "\x71\x80\x05\x35\x3F\x40\x0B\x21"
13351                           "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
13352                           "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
13353                           "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
13354                           "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
13355                           "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
13356                           "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
13357                           "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
13358                           "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
13359                           "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
13360                           "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
13361                           "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
13362                           "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
13363                           "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
13364                           "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
13365                           "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
13366                           "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
13367                 .len    = 496,
13368         },
13369 };
13370
13371 static const struct cipher_testvec serpent_cbc_tv_template[] = {
13372         { /* Generated with Crypto++ */
13373                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13374                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13375                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13376                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13377                 .klen   = 32,
13378                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13379                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13380                 .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
13381                           "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
13382                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13383                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13384                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13385                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13386                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13387                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13388                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13389                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13390                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13391                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13392                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13393                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13394                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13395                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13396                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13397                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13398                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13399                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13400                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13401                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13402                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13403                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13404                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13405                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13406                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13407                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13408                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13409                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13410                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13411                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13412                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13413                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13414                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13415                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13416                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13417                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13418                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13419                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13420                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13421                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13422                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13423                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13424                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13425                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13426                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13427                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13428                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13429                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13430                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13431                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13432                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13433                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13434                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13435                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13436                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13437                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13438                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13439                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13440                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13441                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13442                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13443                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13444                 .ctext  = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
13445                           "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
13446                           "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
13447                           "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
13448                           "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
13449                           "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
13450                           "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
13451                           "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
13452                           "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
13453                           "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
13454                           "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
13455                           "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
13456                           "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
13457                           "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
13458                           "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
13459                           "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
13460                           "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
13461                           "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
13462                           "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
13463                           "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
13464                           "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
13465                           "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
13466                           "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
13467                           "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
13468                           "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
13469                           "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
13470                           "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
13471                           "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
13472                           "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
13473                           "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
13474                           "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
13475                           "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
13476                           "\x81\x92\x66\x67\x15\x1E\x39\x98"
13477                           "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
13478                           "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
13479                           "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
13480                           "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
13481                           "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
13482                           "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
13483                           "\x04\x05\x46\xD3\x90\x0F\x64\x64"
13484                           "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
13485                           "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
13486                           "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
13487                           "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
13488                           "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
13489                           "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
13490                           "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
13491                           "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
13492                           "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
13493                           "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
13494                           "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
13495                           "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
13496                           "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
13497                           "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
13498                           "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
13499                           "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
13500                           "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
13501                           "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
13502                           "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
13503                           "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
13504                           "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
13505                           "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
13506                 .len    = 496,
13507         },
13508 };
13509
13510 static const struct cipher_testvec serpent_ctr_tv_template[] = {
13511         { /* Generated with Crypto++ */
13512                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13513                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13514                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13515                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13516                 .klen   = 32,
13517                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13518                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13519                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13520                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
13521                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13522                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13523                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13524                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13525                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13526                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13527                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13528                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13529                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13530                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13531                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13532                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13533                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13534                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13535                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13536                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13537                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13538                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13539                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13540                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13541                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13542                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13543                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13544                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13545                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13546                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13547                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13548                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13549                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13550                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13551                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13552                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13553                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13554                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13555                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13556                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13557                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13558                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13559                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13560                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13561                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13562                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13563                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13564                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13565                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13566                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13567                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13568                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13569                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13570                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13571                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13572                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13573                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13574                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13575                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13576                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13577                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13578                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13579                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13580                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13581                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13582                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13583                 .ctext  = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
13584                           "\x37\x69\xE3\x3A\x22\x85\x48\x46"
13585                           "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
13586                           "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
13587                           "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
13588                           "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
13589                           "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
13590                           "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
13591                           "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
13592                           "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
13593                           "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
13594                           "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
13595                           "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
13596                           "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
13597                           "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
13598                           "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
13599                           "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
13600                           "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
13601                           "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
13602                           "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
13603                           "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
13604                           "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
13605                           "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
13606                           "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
13607                           "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
13608                           "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
13609                           "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
13610                           "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
13611                           "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
13612                           "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
13613                           "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
13614                           "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
13615                           "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
13616                           "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
13617                           "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
13618                           "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
13619                           "\x07\x97\x38\x4B\x5C\x56\x98\x67"
13620                           "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
13621                           "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
13622                           "\x18\x06\x15\x9D\x5A\x10\x13\x37"
13623                           "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
13624                           "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
13625                           "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
13626                           "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
13627                           "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
13628                           "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
13629                           "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
13630                           "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
13631                           "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
13632                           "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
13633                           "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
13634                           "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
13635                           "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
13636                           "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
13637                           "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
13638                           "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
13639                           "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
13640                           "\x90\x47\x40\x92\xE6\x69\xD1\x96"
13641                           "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
13642                           "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
13643                           "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
13644                           "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
13645                 .len    = 496,
13646         }, { /* Generated with Crypto++ */
13647                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13648                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13649                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13650                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13651                 .klen   = 32,
13652                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13653                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13654                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13655                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
13656                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13657                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13658                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13659                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13660                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13661                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13662                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13663                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13664                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13665                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13666                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13667                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13668                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13669                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13670                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13671                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13672                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13673                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13674                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13675                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13676                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13677                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13678                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13679                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13680                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13681                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13682                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13683                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13684                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13685                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13686                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13687                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13688                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13689                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13690                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13691                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13692                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13693                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13694                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13695                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13696                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13697                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13698                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13699                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13700                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13701                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13702                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13703                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13704                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13705                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13706                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13707                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13708                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13709                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13710                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13711                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13712                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13713                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13714                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13715                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13716                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13717                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
13718                           "\x2B\xC2\x59",
13719                 .ctext  = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
13720                           "\x37\x69\xE3\x3A\x22\x85\x48\x46"
13721                           "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
13722                           "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
13723                           "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
13724                           "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
13725                           "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
13726                           "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
13727                           "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
13728                           "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
13729                           "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
13730                           "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
13731                           "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
13732                           "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
13733                           "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
13734                           "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
13735                           "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
13736                           "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
13737                           "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
13738                           "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
13739                           "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
13740                           "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
13741                           "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
13742                           "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
13743                           "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
13744                           "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
13745                           "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
13746                           "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
13747                           "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
13748                           "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
13749                           "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
13750                           "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
13751                           "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
13752                           "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
13753                           "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
13754                           "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
13755                           "\x07\x97\x38\x4B\x5C\x56\x98\x67"
13756                           "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
13757                           "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
13758                           "\x18\x06\x15\x9D\x5A\x10\x13\x37"
13759                           "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
13760                           "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
13761                           "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
13762                           "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
13763                           "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
13764                           "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
13765                           "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
13766                           "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
13767                           "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
13768                           "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
13769                           "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
13770                           "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
13771                           "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
13772                           "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
13773                           "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
13774                           "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
13775                           "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
13776                           "\x90\x47\x40\x92\xE6\x69\xD1\x96"
13777                           "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
13778                           "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
13779                           "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
13780                           "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
13781                           "\x38\xE2\xE5",
13782                 .len    = 499,
13783         }, { /* Generated with Crypto++ */
13784                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13785                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13786                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13787                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13788                 .klen   = 32,
13789                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
13790                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
13791                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
13792                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
13793                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13794                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13795                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13796                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13797                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13798                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13799                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13800                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13801                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13802                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13803                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13804                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13805                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13806                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13807                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13808                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13809                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13810                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13811                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13812                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13813                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13814                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13815                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13816                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13817                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13818                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13819                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13820                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13821                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13822                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13823                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13824                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13825                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13826                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13827                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13828                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13829                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13830                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13831                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13832                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13833                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13834                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13835                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13836                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13837                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13838                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13839                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13840                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13841                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13842                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13843                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13844                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13845                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13846                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13847                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13848                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13849                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13850                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13851                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13852                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13853                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13854                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13855                 .ctext  = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
13856                           "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
13857                           "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
13858                           "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
13859                           "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
13860                           "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
13861                           "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
13862                           "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
13863                           "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
13864                           "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
13865                           "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
13866                           "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
13867                           "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
13868                           "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
13869                           "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
13870                           "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
13871                           "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
13872                           "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
13873                           "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
13874                           "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
13875                           "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
13876                           "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
13877                           "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
13878                           "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
13879                           "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
13880                           "\x29\x5E\x01\x47\x13\x32\x78\xBE"
13881                           "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
13882                           "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
13883                           "\x38\x35\x11\x26\x4A\xB4\x06\x32"
13884                           "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
13885                           "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
13886                           "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
13887                           "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
13888                           "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
13889                           "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
13890                           "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
13891                           "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
13892                           "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
13893                           "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
13894                           "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
13895                           "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
13896                           "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
13897                           "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
13898                           "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
13899                           "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
13900                           "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
13901                           "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
13902                           "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
13903                           "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
13904                           "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
13905                           "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
13906                           "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
13907                           "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
13908                           "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
13909                           "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
13910                           "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
13911                           "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
13912                           "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
13913                           "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
13914                           "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
13915                           "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
13916                           "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
13917                 .len    = 496,
13918         },
13919 };
13920
13921 static const struct cipher_testvec serpent_lrw_tv_template[] = {
13922         /* Generated from AES-LRW test vectors */
13923         {
13924                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
13925                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
13926                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
13927                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
13928                 .klen   = 32,
13929                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13930                           "\x00\x00\x00\x00\x00\x00\x00\x01",
13931                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13932                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13933                 .ctext  = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
13934                           "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
13935                 .len    = 16,
13936         }, {
13937                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
13938                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
13939                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
13940                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
13941                 .klen   = 32,
13942                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13943                           "\x00\x00\x00\x00\x00\x00\x00\x02",
13944                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13945                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13946                 .ctext  = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
13947                           "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
13948                 .len    = 16,
13949         }, {
13950                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
13951                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
13952                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
13953                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
13954                 .klen   = 32,
13955                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13956                           "\x00\x00\x00\x02\x00\x00\x00\x00",
13957                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13958                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13959                 .ctext  = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
13960                           "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
13961                 .len    = 16,
13962         }, {
13963                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
13964                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
13965                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
13966                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
13967                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
13968                 .klen   = 40,
13969                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13970                           "\x00\x00\x00\x00\x00\x00\x00\x01",
13971                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13972                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13973                 .ctext  = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
13974                           "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
13975                 .len    = 16,
13976         }, {
13977                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
13978                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
13979                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
13980                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
13981                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
13982                 .klen   = 40,
13983                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13984                           "\x00\x00\x00\x02\x00\x00\x00\x00",
13985                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
13986                           "\x38\x39\x41\x42\x43\x44\x45\x46",
13987                 .ctext  = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
13988                           "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
13989                 .len    = 16,
13990         }, {
13991                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13992                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13993                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13994                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13995                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13996                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13997                 .klen   = 48,
13998                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
13999                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14000                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14001                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14002                 .ctext  = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
14003                           "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
14004                 .len    = 16,
14005         }, {
14006                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
14007                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
14008                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
14009                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
14010                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
14011                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
14012                 .klen   = 48,
14013                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14014                           "\x00\x00\x00\x02\x00\x00\x00\x00",
14015                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
14016                           "\x38\x39\x41\x42\x43\x44\x45\x46",
14017                 .ctext  = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
14018                           "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
14019                 .len    = 16,
14020         }, {
14021                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14022                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14023                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14024                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14025                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14026                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14027                 .klen   = 48,
14028                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14029                           "\x00\x00\x00\x00\x00\x00\x00\x01",
14030                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14031                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14032                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14033                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14034                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14035                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14036                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14037                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14038                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14039                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14040                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14041                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14042                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14043                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14044                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14045                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14046                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14047                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14048                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14049                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14050                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14051                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14052                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14053                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14054                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14055                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14056                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14057                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14058                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14059                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14060                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14061                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14062                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14063                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14064                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14065                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14066                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14067                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14068                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14069                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14070                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14071                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14072                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14073                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14074                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14075                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14076                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14077                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14078                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14079                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14080                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14081                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14082                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14083                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14084                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14085                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14086                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14087                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14088                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14089                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14090                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14091                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14092                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14093                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14094                 .ctext  = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
14095                           "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
14096                           "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
14097                           "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
14098                           "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
14099                           "\xce\xab\xda\x33\x30\x20\x12\xfa"
14100                           "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
14101                           "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
14102                           "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
14103                           "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
14104                           "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
14105                           "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
14106                           "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
14107                           "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
14108                           "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
14109                           "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
14110                           "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
14111                           "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
14112                           "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
14113                           "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
14114                           "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
14115                           "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
14116                           "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
14117                           "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
14118                           "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
14119                           "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
14120                           "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
14121                           "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
14122                           "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
14123                           "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
14124                           "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
14125                           "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
14126                           "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
14127                           "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
14128                           "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
14129                           "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
14130                           "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
14131                           "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
14132                           "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
14133                           "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
14134                           "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
14135                           "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
14136                           "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
14137                           "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
14138                           "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
14139                           "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
14140                           "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
14141                           "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
14142                           "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
14143                           "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
14144                           "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
14145                           "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
14146                           "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
14147                           "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
14148                           "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
14149                           "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
14150                           "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
14151                           "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
14152                           "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
14153                           "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
14154                           "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
14155                           "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
14156                           "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
14157                           "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
14158                 .len    = 512,
14159         },
14160 };
14161
14162 static const struct cipher_testvec serpent_xts_tv_template[] = {
14163         /* Generated from AES-XTS test vectors */
14164         {
14165                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
14166                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14167                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14168                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14169                 .klen   = 32,
14170                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14171                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14172                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
14173                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14174                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14175                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14176                 .ctext  = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
14177                           "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
14178                           "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
14179                           "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
14180                 .len    = 32,
14181         }, {
14182                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
14183                           "\x11\x11\x11\x11\x11\x11\x11\x11"
14184                           "\x22\x22\x22\x22\x22\x22\x22\x22"
14185                           "\x22\x22\x22\x22\x22\x22\x22\x22",
14186                 .klen   = 32,
14187                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
14188                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14189                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
14190                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14191                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14192                           "\x44\x44\x44\x44\x44\x44\x44\x44",
14193                 .ctext  = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
14194                           "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
14195                           "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
14196                           "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
14197                 .len    = 32,
14198         }, {
14199                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
14200                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
14201                           "\x22\x22\x22\x22\x22\x22\x22\x22"
14202                           "\x22\x22\x22\x22\x22\x22\x22\x22",
14203                 .klen   = 32,
14204                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
14205                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14206                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
14207                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14208                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14209                           "\x44\x44\x44\x44\x44\x44\x44\x44",
14210                 .ctext  = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
14211                           "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
14212                           "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
14213                           "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
14214                 .len    = 32,
14215         }, {
14216                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
14217                           "\x23\x53\x60\x28\x74\x71\x35\x26"
14218                           "\x31\x41\x59\x26\x53\x58\x97\x93"
14219                           "\x23\x84\x62\x64\x33\x83\x27\x95",
14220                 .klen   = 32,
14221                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14222                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14223                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14224                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14225                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14226                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14227                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14228                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14229                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14230                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14231                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14232                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14233                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14234                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14235                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14236                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14237                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14238                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14239                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14240                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14241                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14242                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14243                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14244                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14245                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14246                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14247                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14248                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14249                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14250                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14251                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14252                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14253                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14254                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14255                           "\x00\x01\x02\x03\x04\x05\x06\x07"
14256                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14257                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14258                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14259                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14260                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14261                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14262                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14263                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14264                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14265                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14266                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14267                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14268                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14269                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14270                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14271                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14272                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14273                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14274                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14275                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14276                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14277                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14278                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14279                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14280                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14281                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14282                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14283                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14284                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14285                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14286                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14287                 .ctext  = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
14288                           "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
14289                           "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
14290                           "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
14291                           "\x00\x5c\x75\x14\x06\xd6\x25\x82"
14292                           "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
14293                           "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
14294                           "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
14295                           "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
14296                           "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
14297                           "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
14298                           "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
14299                           "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
14300                           "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
14301                           "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
14302                           "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
14303                           "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
14304                           "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
14305                           "\x58\xfa\x43\x91\x16\x85\x40\xbb"
14306                           "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
14307                           "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
14308                           "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
14309                           "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
14310                           "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
14311                           "\x6e\x29\x60\xbd\x10\x14\x84\x82"
14312                           "\x83\x82\x0c\x63\x73\x92\x02\x7c"
14313                           "\x55\x37\x20\x80\x17\x51\xc8\xbc"
14314                           "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
14315                           "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
14316                           "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
14317                           "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
14318                           "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
14319                           "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
14320                           "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
14321                           "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
14322                           "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
14323                           "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
14324                           "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
14325                           "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
14326                           "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
14327                           "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
14328                           "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
14329                           "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
14330                           "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
14331                           "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
14332                           "\x43\x42\x35\xd0\xcf\xec\x77\x67"
14333                           "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
14334                           "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
14335                           "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
14336                           "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
14337                           "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
14338                           "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
14339                           "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
14340                           "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
14341                           "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
14342                           "\x03\x57\xe6\x98\x52\x2f\x61\x62"
14343                           "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
14344                           "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
14345                           "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
14346                           "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
14347                           "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
14348                           "\xef\x91\x64\x1d\x18\x07\x4e\x31"
14349                           "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
14350                           "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
14351                 .len    = 512,
14352         }, {
14353                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
14354                           "\x23\x53\x60\x28\x74\x71\x35\x26"
14355                           "\x62\x49\x77\x57\x24\x70\x93\x69"
14356                           "\x99\x59\x57\x49\x66\x96\x76\x27"
14357                           "\x31\x41\x59\x26\x53\x58\x97\x93"
14358                           "\x23\x84\x62\x64\x33\x83\x27\x95"
14359                           "\x02\x88\x41\x97\x16\x93\x99\x37"
14360                           "\x51\x05\x82\x09\x74\x94\x45\x92",
14361                 .klen   = 64,
14362                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
14363                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14364                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14365                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14366                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14367                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14368                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14369                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14370                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14371                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14372                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14373                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14374                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14375                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14376                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14377                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14378                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14379                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14380                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14381                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14382                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14383                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14384                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14385                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14386                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14387                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14388                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14389                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14390                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14391                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14392                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14393                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14394                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14395                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14396                           "\x00\x01\x02\x03\x04\x05\x06\x07"
14397                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14398                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14399                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14400                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14401                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14402                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14403                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14404                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14405                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14406                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14407                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14408                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14409                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14410                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14411                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14412                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14413                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14414                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14415                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14416                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14417                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14418                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14419                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14420                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14421                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14422                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14423                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14424                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14425                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14426                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14427                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14428                 .ctext  = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
14429                           "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
14430                           "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
14431                           "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
14432                           "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
14433                           "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
14434                           "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
14435                           "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
14436                           "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
14437                           "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
14438                           "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
14439                           "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
14440                           "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
14441                           "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
14442                           "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
14443                           "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
14444                           "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
14445                           "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
14446                           "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
14447                           "\xec\x9a\xda\x64\x96\xb5\x61\xff"
14448                           "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
14449                           "\x81\x85\x14\xa8\x59\xac\x8c\x94"
14450                           "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
14451                           "\x82\xc6\x4d\xca\x86\xea\x53\x28"
14452                           "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
14453                           "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
14454                           "\x05\xca\x81\x7b\xda\xa2\xde\x63"
14455                           "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
14456                           "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
14457                           "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
14458                           "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
14459                           "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
14460                           "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
14461                           "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
14462                           "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
14463                           "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
14464                           "\xfd\x43\x7d\xda\x42\x51\x87\x43"
14465                           "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
14466                           "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
14467                           "\x27\x5f\x11\xac\x71\xc7\x48\x46"
14468                           "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
14469                           "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
14470                           "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
14471                           "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
14472                           "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
14473                           "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
14474                           "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
14475                           "\x50\x88\x97\x40\x69\xb1\x37\xf5"
14476                           "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
14477                           "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
14478                           "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
14479                           "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
14480                           "\xc1\x16\x73\x50\x77\xba\xa6\x65"
14481                           "\x20\x2d\xb0\x02\x27\x89\xda\x99"
14482                           "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
14483                           "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
14484                           "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
14485                           "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
14486                           "\xa3\x0e\x33\x74\x40\x18\x39\x72"
14487                           "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
14488                           "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
14489                           "\x30\x05\xc8\x92\x98\x80\xff\x7a"
14490                           "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
14491                           "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
14492                 .len    = 512,
14493         },
14494 };
14495
14496 /*
14497  * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
14498  * Modes Of Operations" draft RFC
14499  * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
14500  */
14501
14502 static const struct cipher_testvec sm4_tv_template[] = {
14503         { /* GB/T 32907-2016 Example 1. */
14504                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14505                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14506                 .klen   = 16,
14507                 .ptext  = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14508                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14509                 .ctext  = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
14510                           "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
14511                 .len    = 16,
14512         }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
14513                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14514                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14515                 .klen   = 16,
14516                 .ptext  = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
14517                           "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
14518                           "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
14519                           "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
14520                           "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
14521                           "\xad\x57\x15\xab\x31\x5d\xc\xef"
14522                           "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
14523                           "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
14524                           "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
14525                           "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
14526                           "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
14527                           "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
14528                           "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
14529                           "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
14530                           "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
14531                           "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
14532                           "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
14533                           "\xed\xce\x0\x19\xe\x16\x2\x6e"
14534                           "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
14535                           "\x31\x51\xec\x47\xc3\x51\x83\xc1",
14536                 .ctext  = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
14537                           "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
14538                           "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
14539                           "\xad\x57\x15\xab\x31\x5d\xc\xef"
14540                           "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
14541                           "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
14542                           "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
14543                           "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
14544                           "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
14545                           "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
14546                           "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
14547                           "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
14548                           "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
14549                           "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
14550                           "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
14551                           "\xed\xce\x0\x19\xe\x16\x2\x6e"
14552                           "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
14553                           "\x31\x51\xec\x47\xc3\x51\x83\xc1"
14554                           "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
14555                           "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
14556                 .len    = 160
14557         }, { /* A.2.1.1 SM4-ECB Example 1 */
14558                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14559                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14560                 .klen   = 16,
14561                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14562                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14563                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14564                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14565                 .ctext  = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
14566                           "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
14567                           "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
14568                           "\x85\xf8\x1c\x84\x82\x19\x23\x04",
14569                 .len    = 32,
14570         }, { /* A.2.1.2 SM4-ECB Example 2 */
14571                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
14572                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
14573                 .klen   = 16,
14574                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14575                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14576                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14577                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14578                 .ctext  = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
14579                           "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
14580                           "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
14581                           "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
14582                 .len    = 32,
14583         }
14584 };
14585
14586 static const struct cipher_testvec sm4_cbc_tv_template[] = {
14587         { /* A.2.2.1 SM4-CBC Example 1 */
14588                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14589                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14590                 .klen   = 16,
14591                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14592                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14593                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14594                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14595                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14596                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
14597                 .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
14598                           "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
14599                 .ctext  = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
14600                           "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
14601                           "\x4C\xB7\x01\x69\x51\x90\x92\x26"
14602                           "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
14603                 .len    = 32,
14604         }, { /* A.2.2.2 SM4-CBC Example 2 */
14605                 .key    = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
14606                           "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
14607                 .klen   = 16,
14608                 .ptext  = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
14609                           "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
14610                           "\xee\xee\xee\xee\xff\xff\xff\xff"
14611                           "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
14612                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14613                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
14614                 .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
14615                           "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
14616                 .ctext  = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
14617                           "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
14618                           "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
14619                           "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
14620                 .len    = 32,
14621         }
14622 };
14623
14624 static const struct cipher_testvec sm4_ctr_tv_template[] = {
14625         { /* A.2.5.1 SM4-CTR Example 1 */
14626                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14627                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14628                 .klen   = 16,
14629                 .ptext  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14630                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
14631                           "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
14632                           "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
14633                           "\xee\xee\xee\xee\xee\xee\xee\xee"
14634                           "\xff\xff\xff\xff\xff\xff\xff\xff"
14635                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14636                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
14637                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14638                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
14639                 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
14640                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
14641                 .ctext  = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
14642                           "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
14643                           "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
14644                           "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
14645                           "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
14646                           "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
14647                           "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
14648                           "\x8b\x29\x33\x85\x1d\x82\x45\x14",
14649                 .len    = 64,
14650         }, { /* A.2.5.2 SM4-CTR 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\xaa\xaa\xaa\xaa"
14655                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
14656                           "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
14657                           "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
14658                           "\xee\xee\xee\xee\xee\xee\xee\xee"
14659                           "\xff\xff\xff\xff\xff\xff\xff\xff"
14660                           "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14661                           "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
14662                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
14663                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
14664                 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
14665                           "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
14666                 .ctext  = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
14667                           "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
14668                           "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
14669                           "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
14670                           "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
14671                           "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
14672                           "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
14673                           "\x28\x4b\xde\x9e\x16\xea\x29\x06",
14674                 .len    = 64,
14675         }
14676 };
14677
14678 static const struct cipher_testvec sm4_ctr_rfc3686_tv_template[] = {
14679         {
14680                 .key    = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
14681                           "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
14682                           "\x00\x00\x00\x30",
14683                 .klen   = 20,
14684                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
14685                 .ptext  = "Single block msg",
14686                 .ctext  = "\x20\x9b\x77\x31\xd3\x65\xdb\xab"
14687                           "\x9e\x48\x74\x7e\xbd\x13\x83\xeb",
14688                 .len    = 16,
14689         }, {
14690                 .key    = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
14691                           "\x43\xd6\xce\x1f\x32\x53\x91\x63"
14692                           "\x00\x6c\xb6\xdb",
14693                 .klen   = 20,
14694                 .iv     = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
14695                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14696                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14697                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14698                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14699                 .ctext  = "\x33\xe0\x28\x01\x92\xed\xc9\x1e"
14700                           "\x97\x35\xd9\x4a\xec\xd4\xbc\x23"
14701                           "\x4f\x35\x9f\x1c\x55\x1f\xe0\x27"
14702                           "\xe0\xdf\xc5\x43\xbc\xb0\x23\x94",
14703                 .len    = 32,
14704         }
14705 };
14706
14707 static const struct cipher_testvec sm4_cts_tv_template[] = {
14708         /* Generated from AES-CTS test vectors */
14709         {
14710                 .klen   = 16,
14711                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
14712                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
14713                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
14714                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
14715                           "\x20",
14716                 .len    = 17,
14717                 .ctext  = "\x05\xfe\x23\xee\x17\xa2\x89\x98"
14718                           "\xbc\x97\x0a\x0b\x54\x67\xca\xd7"
14719                           "\xd6",
14720         }, {
14721                 .klen   = 16,
14722                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
14723                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
14724                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
14725                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
14726                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
14727                           "\x20\x47\x61\x75\x27\x73\x20",
14728                 .len    = 31,
14729                 .ctext  = "\x15\x46\xe4\x95\xa4\xec\xf0\xb8"
14730                           "\x49\xd6\x6a\x9d\x89\xc7\xfd\x70"
14731                           "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
14732                           "\x93\xf7\x70\xbb\xa8\x3f\xa3",
14733         }, {
14734                 .klen   = 16,
14735                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
14736                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
14737                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
14738                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
14739                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
14740                           "\x20\x47\x61\x75\x27\x73\x20\x43",
14741                 .len    = 32,
14742                 .ctext  = "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
14743                           "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
14744                           "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
14745                           "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf",
14746         }, {
14747                 .klen   = 16,
14748                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
14749                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
14750                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
14751                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
14752                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
14753                           "\x20\x47\x61\x75\x27\x73\x20\x43"
14754                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
14755                           "\x70\x6c\x65\x61\x73\x65\x2c",
14756                 .len    = 47,
14757                 .ctext  = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
14758                           "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
14759                           "\xd3\xe1\xdc\xeb\xfa\x04\x11\x99"
14760                           "\xde\xcf\x6f\x4d\x7b\x09\x92\x7f"
14761                           "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
14762                           "\x01\x6a\xbf\xd4\x3f\x79\x02",
14763         }, {
14764                 .klen   = 16,
14765                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
14766                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
14767                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
14768                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
14769                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
14770                           "\x20\x47\x61\x75\x27\x73\x20\x43"
14771                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
14772                           "\x70\x6c\x65\x61\x73\x65\x2c\x20",
14773                 .len    = 48,
14774                 .ctext  = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
14775                           "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
14776                           "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
14777                           "\xbd\x99\x21\x0c\x5e\x4d\xed\x20"
14778                           "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
14779                           "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3",
14780         }, {
14781                 .klen   = 16,
14782                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
14783                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
14784                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
14785                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
14786                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
14787                           "\x20\x47\x61\x75\x27\x73\x20\x43"
14788                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
14789                           "\x70\x6c\x65\x61\x73\x65\x2c\x20"
14790                           "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
14791                           "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
14792                 .len    = 64,
14793                 .ctext  = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
14794                           "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
14795                           "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
14796                           "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
14797                           "\x58\x19\xa4\x8f\xa9\x68\x5e\x6b"
14798                           "\x2c\x0f\x81\x60\x15\x98\x27\x4f"
14799                           "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
14800                           "\xbd\x99\x21\x0c\x5e\x4d\xed\x20",
14801         }
14802 };
14803
14804 static const struct cipher_testvec sm4_xts_tv_template[] = {
14805         /* Generated from AES-XTS test vectors */
14806         {
14807                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
14808                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14809                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14810                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14811                 .klen   = 32,
14812                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14813                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14814                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
14815                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14816                           "\x00\x00\x00\x00\x00\x00\x00\x00"
14817                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14818                 .ctext  = "\xd9\xb4\x21\xf7\x31\xc8\x94\xfd"
14819                           "\xc3\x5b\x77\x29\x1f\xe4\xe3\xb0"
14820                           "\x2a\x1f\xb7\x66\x98\xd5\x9f\x0e"
14821                           "\x51\x37\x6c\x4a\xda\x5b\xc7\x5d",
14822                 .len    = 32,
14823         }, {
14824                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
14825                           "\x11\x11\x11\x11\x11\x11\x11\x11"
14826                           "\x22\x22\x22\x22\x22\x22\x22\x22"
14827                           "\x22\x22\x22\x22\x22\x22\x22\x22",
14828                 .klen   = 32,
14829                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
14830                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14831                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
14832                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14833                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14834                           "\x44\x44\x44\x44\x44\x44\x44\x44",
14835                 .ctext  = "\xa7\x4d\x72\x6c\x11\x19\x6a\x32"
14836                           "\xbe\x04\xe0\x01\xff\x29\xd0\xc7"
14837                           "\x93\x2f\x9f\x3e\xc2\x9b\xfc\xb6"
14838                           "\x4d\xd1\x7f\x63\xcb\xd3\xea\x31",
14839                 .len    = 32,
14840         }, {
14841                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
14842                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
14843                           "\x22\x22\x22\x22\x22\x22\x22\x22"
14844                           "\x22\x22\x22\x22\x22\x22\x22\x22",
14845                 .klen   = 32,
14846                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
14847                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14848                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
14849                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14850                           "\x44\x44\x44\x44\x44\x44\x44\x44"
14851                           "\x44\x44\x44\x44\x44\x44\x44\x44",
14852                 .ctext  = "\x7f\x76\x08\x8e\xff\xad\xf7\x0c"
14853                           "\x02\xea\x9f\x95\xda\x06\x28\xd3"
14854                           "\x51\xbf\xcb\x9e\xac\x05\x63\xbc"
14855                           "\xf1\x7b\x71\x0d\xab\x0a\x98\x26",
14856                 .len    = 32,
14857         }, {
14858                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
14859                           "\x23\x53\x60\x28\x74\x71\x35\x26"
14860                           "\x31\x41\x59\x26\x53\x58\x97\x93"
14861                           "\x23\x84\x62\x64\x33\x83\x27\x95",
14862                 .klen   = 32,
14863                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
14864                           "\x00\x00\x00\x00\x00\x00\x00\x00",
14865                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
14866                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14867                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14868                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14869                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14870                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14871                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14872                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14873                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14874                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14875                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14876                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14877                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14878                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14879                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14880                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14881                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14882                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14883                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14884                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14885                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14886                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14887                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14888                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14889                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14890                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14891                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14892                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14893                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14894                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14895                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14896                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14897                           "\x00\x01\x02\x03\x04\x05\x06\x07"
14898                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14899                           "\x10\x11\x12\x13\x14\x15\x16\x17"
14900                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14901                           "\x20\x21\x22\x23\x24\x25\x26\x27"
14902                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14903                           "\x30\x31\x32\x33\x34\x35\x36\x37"
14904                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14905                           "\x40\x41\x42\x43\x44\x45\x46\x47"
14906                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14907                           "\x50\x51\x52\x53\x54\x55\x56\x57"
14908                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14909                           "\x60\x61\x62\x63\x64\x65\x66\x67"
14910                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14911                           "\x70\x71\x72\x73\x74\x75\x76\x77"
14912                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14913                           "\x80\x81\x82\x83\x84\x85\x86\x87"
14914                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14915                           "\x90\x91\x92\x93\x94\x95\x96\x97"
14916                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14917                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14918                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14919                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14920                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14921                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14922                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14923                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14924                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14925                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14926                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14927                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14928                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14929                 .ctext  = "\x54\xdd\x65\xb6\x32\x6f\xae\xa8"
14930                           "\xfa\xd1\xa8\x3c\x63\x61\x4a\xf3"
14931                           "\x9f\x72\x1d\x8d\xfe\x17\x7a\x30"
14932                           "\xb6\x6a\xbf\x6a\x44\x99\x80\xe1"
14933                           "\xcd\xbe\x06\xaf\xb7\x33\x36\xf3"
14934                           "\x7a\x4d\x39\xde\x96\x4a\x30\xd7"
14935                           "\xd0\x4a\x37\x99\x16\x9c\x60\x25"
14936                           "\x8f\x6b\x74\x8a\x61\x86\x1a\xa5"
14937                           "\xec\x92\xa2\xc1\x5b\x2b\x7c\x61"
14938                           "\x5a\x42\xab\xa4\x99\xbb\xd6\xb7"
14939                           "\x1d\xb9\xc7\x89\xb2\x18\x20\x89"
14940                           "\xa2\x5d\xd3\xdf\x80\x0e\xd1\x86"
14941                           "\x4d\x19\xf7\xed\x45\xfd\x17\xa9"
14942                           "\x48\x0b\x0f\xb8\x2d\x9b\x7f\xc3"
14943                           "\xed\x57\xe9\xa1\x14\x0e\xaa\x77"
14944                           "\x8d\xd2\xdd\x67\x9e\x3e\xdc\x3d"
14945                           "\xc4\xd5\x5c\x95\x0e\xbc\x53\x1d"
14946                           "\x95\x92\xf7\xc4\x63\x82\x56\xd5"
14947                           "\x65\x18\x29\x2a\x20\xaf\x98\xfd"
14948                           "\xd3\xa6\x36\x00\x35\x0a\x70\xab"
14949                           "\x5a\x40\xf4\xc2\x85\x03\x7c\xa0"
14950                           "\x1f\x25\x1f\x19\xec\xae\x03\x29"
14951                           "\xff\x77\xad\x88\xcd\x5a\x4c\xde"
14952                           "\xa2\xae\xab\xc2\x21\x48\xff\xbd"
14953                           "\x23\x9b\xd1\x05\x15\xbd\xe1\x13"
14954                           "\x1d\xec\x84\x04\xe4\x43\xdc\x76"
14955                           "\x31\x40\xd5\xf2\x2b\xf3\x3e\x0c"
14956                           "\x68\x72\xd6\xb8\x1d\x63\x0f\x6f"
14957                           "\x00\xcd\xd0\x58\xfe\x80\xf9\xcb"
14958                           "\xfb\x77\x70\x7f\x93\xce\xe2\xca"
14959                           "\x92\xb9\x15\xb8\x30\x40\x27\xc1"
14960                           "\x90\xa8\x4e\x2d\x65\xe0\x18\xcc"
14961                           "\x6a\x38\x7d\x37\x66\xac\xdb\x28"
14962                           "\x25\x32\x84\xe8\xdb\x9a\xcf\x8f"
14963                           "\x52\x28\x0d\xdc\x6d\x00\x33\xd2"
14964                           "\xcc\xaa\xa4\xf9\xae\xff\x12\x36"
14965                           "\x69\xbc\x02\x4f\xd6\x76\x8e\xdf"
14966                           "\x8b\xc1\xf8\xd6\x22\xc1\x9c\x60"
14967                           "\x9e\xf9\x7f\x60\x91\x90\xcd\x11"
14968                           "\x02\x41\xe7\xfb\x08\x4e\xd8\x94"
14969                           "\x2d\xa1\xf9\xb9\xcf\x1b\x51\x4b"
14970                           "\x61\xa3\x88\xb3\x0e\xa6\x1a\x4a"
14971                           "\x74\x5b\x38\x1e\xe7\xad\x6c\x4d"
14972                           "\xb1\x27\x54\x53\xb8\x41\x3f\x98"
14973                           "\xdf\x6e\x4a\x40\x98\x6e\xe4\xb5"
14974                           "\x9a\xf5\xdf\xae\xcd\x30\x12\x65"
14975                           "\x17\x90\x67\xa0\x0d\x7c\xa3\x5a"
14976                           "\xb9\x5a\xbd\x61\x7a\xde\xa2\x8e"
14977                           "\xc1\xc2\x6a\x97\xde\x28\xb8\xbf"
14978                           "\xe3\x01\x20\xd6\xae\xfb\xd2\x58"
14979                           "\xc5\x9e\x42\xd1\x61\xe8\x06\x5a"
14980                           "\x78\x10\x6b\xdc\xa5\xcd\x90\xfb"
14981                           "\x3a\xac\x4e\x93\x86\x6c\x8a\x7f"
14982                           "\x96\x76\x86\x0a\x79\x14\x5b\xd9"
14983                           "\x2e\x02\xe8\x19\xa9\x0b\xe0\xb9"
14984                           "\x7c\xc5\x22\xb3\x21\x06\x85\x6f"
14985                           "\xdf\x0e\x54\xd8\x8e\x46\x24\x15"
14986                           "\x5a\x2f\x1c\x14\xea\xea\xa1\x63"
14987                           "\xf8\x58\xe9\x9a\x80\x6e\x79\x1a"
14988                           "\xcd\x82\xf1\xb0\xe2\x9f\x00\x28"
14989                           "\xa4\xc3\x8e\x97\x6f\x57\x1a\x93"
14990                           "\xf4\xfd\x57\xd7\x87\xc2\x4d\xb0"
14991                           "\xe0\x1c\xa3\x04\xe5\xa5\xc4\xdd"
14992                           "\x50\xcf\x8b\xdb\xf4\x91\xe5\x7c",
14993                 .len    = 512,
14994         }, {
14995                 .key    = "\x62\x49\x77\x57\x24\x70\x93\x69"
14996                           "\x99\x59\x57\x49\x66\x96\x76\x27"
14997                           "\x02\x88\x41\x97\x16\x93\x99\x37"
14998                           "\x51\x05\x82\x09\x74\x94\x45\x92",
14999                 .klen   = 32,
15000                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
15001                           "\x00\x00\x00\x00\x00\x00\x00\x00",
15002                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15003                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15004                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15005                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15006                           "\x20\x21\x22\x23\x24\x25\x26\x27"
15007                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15008                           "\x30\x31\x32\x33\x34\x35\x36\x37"
15009                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15010                           "\x40\x41\x42\x43\x44\x45\x46\x47"
15011                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15012                           "\x50\x51\x52\x53\x54\x55\x56\x57"
15013                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15014                           "\x60\x61\x62\x63\x64\x65\x66\x67"
15015                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15016                           "\x70\x71\x72\x73\x74\x75\x76\x77"
15017                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15018                           "\x80\x81\x82\x83\x84\x85\x86\x87"
15019                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15020                           "\x90\x91\x92\x93\x94\x95\x96\x97"
15021                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15022                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15023                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15024                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15025                           "\xf8\xf9\xfa\xfb\xfc",
15026                 .ctext  = "\xa2\x9f\x9e\x4e\x71\xdb\x28\x3c"
15027                           "\x80\x0e\xf6\xb7\x8e\x57\x1c\xba"
15028                           "\x90\xda\x3b\x6c\x22\x00\x68\x30"
15029                           "\x1d\x63\x0d\x9e\x6a\xad\x37\x55"
15030                           "\xbc\x77\x1e\xc9\xad\x83\x30\xd5"
15031                           "\x27\xb2\x66\x77\x18\x3c\xa6\x39"
15032                           "\x9c\x0a\xaa\x1f\x02\xe1\xd5\x65"
15033                           "\x9b\x8d\xc5\x97\x3d\xc5\x04\x53"
15034                           "\x78\x00\xe3\xb0\x1a\x43\x4e\xb7"
15035                           "\xc4\x9f\x38\xc5\x7b\xa4\x70\x64"
15036                           "\x78\xe6\x32\xd9\x65\x44\xc5\x64"
15037                           "\xb8\x42\x35\x99\xff\x66\x75\xb0"
15038                           "\x22\xd3\x9b\x6e\x8d\xcf\x6a\x24"
15039                           "\xfd\x92\xb7\x1b\x04\x28\x2a\x61"
15040                           "\xdc\x96\x2a\x20\x7a\x2c\xf1\xf9"
15041                           "\x12\x15\xf0\x4d\xcf\x2b\xde\x33"
15042                           "\x41\xbc\xe7\x85\x87\x22\xb7\x16"
15043                           "\x02\x1c\xd8\xa2\x0f\x1f\xa3\xe9"
15044                           "\xd8\x45\x48\xe7\xbe\x08\x4e\x4e"
15045                           "\x23\x79\x84\xdb\x40\x76\xf5\x13"
15046                           "\x78\x92\x4a\x2f\xf9\x1b\xf2\x80"
15047                           "\x25\x74\x51\x45\x9a\x77\x78\x97"
15048                           "\xd3\xe0\xc7\xc4\x35\x67\x2a\xe6"
15049                           "\xb3\x0d\x62\x9f\x8b",
15050                 .len    = 189,
15051         },
15052 };
15053
15054 static const struct aead_testvec sm4_gcm_tv_template[] = {
15055         { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.1 */
15056                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
15057                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
15058                 .klen   = 16,
15059                 .iv     = "\x00\x00\x12\x34\x56\x78\x00\x00"
15060                           "\x00\x00\xAB\xCD",
15061                 .ptext  = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
15062                           "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
15063                           "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
15064                           "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
15065                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
15066                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
15067                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
15068                           "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
15069                 .plen   = 64,
15070                 .assoc  = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
15071                           "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
15072                           "\xAB\xAD\xDA\xD2",
15073                 .alen   = 20,
15074                 .ctext  = "\x17\xF3\x99\xF0\x8C\x67\xD5\xEE"
15075                           "\x19\xD0\xDC\x99\x69\xC4\xBB\x7D"
15076                           "\x5F\xD4\x6F\xD3\x75\x64\x89\x06"
15077                           "\x91\x57\xB2\x82\xBB\x20\x07\x35"
15078                           "\xD8\x27\x10\xCA\x5C\x22\xF0\xCC"
15079                           "\xFA\x7C\xBF\x93\xD4\x96\xAC\x15"
15080                           "\xA5\x68\x34\xCB\xCF\x98\xC3\x97"
15081                           "\xB4\x02\x4A\x26\x91\x23\x3B\x8D"
15082                           "\x83\xDE\x35\x41\xE4\xC2\xB5\x81"
15083                           "\x77\xE0\x65\xA9\xBF\x7B\x62\xEC",
15084                 .clen   = 80,
15085         }, { /* Generated from AES-GCM test vectors */
15086                 .key    = zeroed_string,
15087                 .klen   = 16,
15088                 .ctext  = "\x23\x2f\x0c\xfe\x30\x8b\x49\xea"
15089                           "\x6f\xc8\x82\x29\xb5\xdc\x85\x8d",
15090                 .clen   = 16,
15091         }, {
15092                 .key    = zeroed_string,
15093                 .klen   = 16,
15094                 .ptext  = zeroed_string,
15095                 .plen   = 16,
15096                 .ctext  = "\x7d\xe2\xaa\x7f\x11\x10\x18\x82"
15097                           "\x18\x06\x3b\xe1\xbf\xeb\x6d\x89"
15098                           "\xb8\x51\xb5\xf3\x94\x93\x75\x2b"
15099                           "\xe5\x08\xf1\xbb\x44\x82\xc5\x57",
15100                 .clen   = 32,
15101         }, {
15102                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15103                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15104                 .klen   = 16,
15105                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15106                           "\xde\xca\xf8\x88",
15107                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15108                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15109                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15110                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15111                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15112                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15113                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15114                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
15115                 .plen   = 64,
15116                 .ctext  = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
15117                           "\x76\x21\x6a\x33\x83\x10\x41\xeb"
15118                           "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
15119                           "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
15120                           "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
15121                           "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
15122                           "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
15123                           "\xe3\x63\x36\x83\x23\xf7\x5b\x80"
15124                           "\x7d\xfe\x77\xef\x71\xb1\x5e\xc9"
15125                           "\x52\x6b\x09\xab\x84\x28\x4b\x8a",
15126                 .clen   = 80,
15127         }, {
15128                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15129                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15130                 .klen   = 16,
15131                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15132                           "\xde\xca\xf8\x88",
15133                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15134                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15135                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15136                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15137                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15138                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15139                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15140                           "\xba\x63\x7b\x39",
15141                 .plen   = 60,
15142                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15143                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15144                           "\xab\xad\xda\xd2",
15145                 .alen   = 20,
15146                 .ctext  = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
15147                           "\x76\x21\x6a\x33\x83\x10\x41\xeb"
15148                           "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
15149                           "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
15150                           "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
15151                           "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
15152                           "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
15153                           "\xe3\x63\x36\x83"
15154                           "\x89\xf6\xba\x35\xb8\x18\xd3\xcc"
15155                           "\x38\x6c\x05\xb3\x8a\xcb\xc9\xde",
15156                 .clen   = 76,
15157         }, {
15158                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15159                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
15160                 .klen   = 16,
15161                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15162                           "\xde\xca\xf8\x88",
15163                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15164                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15165                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15166                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15167                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15168                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15169                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15170                           "\xba\x63\x7b\x39",
15171                 .plen   = 60,
15172                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15173                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15174                           "\xab\xad\xda\xd2",
15175                 .alen   = 20,
15176                 .ctext  = "\xc1\x11\x44\x51\xd9\x25\x87\x5b"
15177                           "\x0f\xd9\x06\xf3\x33\x44\xbb\x87"
15178                           "\x8b\xa3\x77\xd2\x0c\x60\xfa\xcc"
15179                           "\x85\x50\x6f\x96\x0c\x54\x54\xc1"
15180                           "\x58\x04\x88\x6e\xf4\x26\x35\x7e"
15181                           "\x94\x80\x48\x6c\xf2\xf4\x88\x1f"
15182                           "\x19\x63\xea\xae\xba\x81\x1a\x5d"
15183                           "\x0e\x6f\x59\x08"
15184                           "\x33\xac\x5b\xa8\x19\x60\xdb\x1d"
15185                           "\xdd\x2e\x22\x2e\xe0\x87\x51\x5d",
15186                 .clen   = 76,
15187         }, {
15188                 .key    = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
15189                           "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
15190                 .klen   = 16,
15191                 .iv     = "\x00\xff\xff\xff\xff\x00\x00\xff"
15192                           "\xff\xff\x00\xff",
15193                 .ptext  = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
15194                           "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
15195                           "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
15196                           "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
15197                           "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
15198                           "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
15199                           "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
15200                           "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
15201                           "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
15202                           "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
15203                           "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
15204                           "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
15205                           "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
15206                           "\x35\x23\xf4\x20\x41\xd4\xad\x82"
15207                           "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
15208                           "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
15209                           "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
15210                           "\xad\x49\x3a\xae\x98\xce\xa6\x66"
15211                           "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
15212                           "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
15213                           "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
15214                           "\x57\xcc\x89\x09\x75\x9b\x78\x70"
15215                           "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
15216                           "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
15217                           "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
15218                           "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
15219                           "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
15220                           "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
15221                           "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
15222                           "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
15223                           "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
15224                           "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
15225                           "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
15226                           "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
15227                           "\x02\x66\x49\xca\x7c\x91\x05\xf2"
15228                           "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
15229                           "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
15230                           "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
15231                           "\x45\xea\x78\x73\xd9\xb7\x39\x11"
15232                           "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
15233                           "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
15234                           "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
15235                           "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
15236                           "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
15237                           "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
15238                           "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
15239                           "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
15240                           "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
15241                           "\x03\x25\x3c\x8d\x48\x58\x71\x34"
15242                           "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
15243                           "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
15244                           "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
15245                           "\x87\x79\x60\x38\x46\xb4\x25\x57"
15246                           "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
15247                           "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
15248                           "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
15249                           "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
15250                           "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
15251                           "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
15252                           "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
15253                           "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
15254                           "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
15255                           "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
15256                           "\x0b\x63\xde\x87\x42\x79\x8a\x68"
15257                           "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
15258                           "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
15259                           "\xe9\x83\x84\xcb\x28\x69\x09\x69"
15260                           "\xce\x99\x46\x00\x54\xcb\xd8\x38"
15261                           "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
15262                           "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
15263                           "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
15264                           "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
15265                           "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
15266                           "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
15267                           "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
15268                           "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
15269                           "\x78\xc6\x91\x22\x40\x91\x80\xbe"
15270                           "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
15271                           "\x67\x10\xa4\x83\x98\x79\x23\xe7"
15272                           "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
15273                           "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
15274                           "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
15275                           "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
15276                           "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
15277                           "\x3f\x73\x09\xe2\x45\x56\x31\x51"
15278                           "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
15279                           "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
15280                           "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
15281                           "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
15282                           "\xa4\x78\xdb\x74\x3d\x8b\xb5",
15283                 .plen   = 719,
15284                 .ctext  = "\xdc\xb1\x0f\x2a\xe8\x2d\x1c\x57"
15285                           "\xc4\x82\xfa\xd6\x87\xe6\x2f\x50"
15286                           "\xbd\x9e\x0a\x42\x31\xf2\xc7\xbb"
15287                           "\x21\x63\xa7\x05\x43\x33\xef\x33"
15288                           "\x5c\xd3\x47\x55\xce\x5c\xe4\xd4"
15289                           "\xe5\x07\x62\x22\xac\x01\xa8\x35"
15290                           "\x9c\x59\x34\x30\x8e\xff\x9f\xb4"
15291                           "\xd2\x4e\x74\x90\x64\xf2\x78\x5e"
15292                           "\x63\xb7\xc5\x08\x1b\x37\xa5\x9e"
15293                           "\xc0\xde\xff\xa9\x7f\x0b\xd3\x02"
15294                           "\x83\x6e\x33\xfa\x43\x11\xd3\xda"
15295                           "\x02\xcf\xcd\x4a\xc0\x78\x1f\x39"
15296                           "\x62\xcb\xa3\x95\x7e\x13\x92\x28"
15297                           "\xb2\xc4\x7a\xba\xd1\xc6\xf6\x1f"
15298                           "\xda\x0b\xf1\xd1\x99\x54\xd8\x3b"
15299                           "\x16\xf8\xe6\x97\x1e\xa7\xcf\x49"
15300                           "\x69\x84\x01\x4c\xdc\x7a\x34\xff"
15301                           "\x01\x08\xa3\x0b\x39\xac\x21\x37"
15302                           "\xd8\xb4\x04\x19\x8b\x7a\x7d\x17"
15303                           "\x44\xd1\x18\xaf\x1f\xa9\x29\xfe"
15304                           "\xfa\x77\xe0\x40\x42\x0c\x79\xb7"
15305                           "\xc3\x15\x1b\xd9\x0c\x82\xfc\x16"
15306                           "\x70\xd6\x2a\xe9\x94\x72\xc5\xa5"
15307                           "\x8a\x58\xbc\xfa\xe0\x88\x39\x4a"
15308                           "\x80\xe8\xec\xaf\x60\xac\xe7\xf8"
15309                           "\x9c\xf0\xfc\x61\x39\x07\x98\x6b"
15310                           "\x88\xe3\x98\x22\x28\x18\x4a\x2d"
15311                           "\x25\xef\x10\xe3\x83\x66\x3f\xfd"
15312                           "\xc7\x0b\xa3\xfd\x97\xa9\xf4\xbd"
15313                           "\xd8\x2a\xee\x4a\x50\xad\xcc\xb5"
15314                           "\xc7\xab\xb8\x79\x9c\xd1\xf1\x27"
15315                           "\x08\xf5\xf5\xe8\x1b\x66\xce\x41"
15316                           "\x56\x60\x94\x86\xf0\x78\xc2\xfa"
15317                           "\x5b\x63\x40\xb1\xd1\x1a\x38\x69"
15318                           "\x0b\x8c\xb2\xf5\xa2\xbe\x90\x9d"
15319                           "\x46\x23\x79\x8b\x3b\x4a\xf4\xbb"
15320                           "\x55\xf7\x58\x9d\xaf\x59\xff\x74"
15321                           "\xf3\xb9\xc4\x26\xb1\xf8\xe1\x28"
15322                           "\x8b\x5e\x8f\x6d\x64\xe7\xe8\x63"
15323                           "\xd2\x9e\xcb\xee\xae\x19\x04\x1d"
15324                           "\x05\xf0\x9d\x99\x7b\x33\x33\xae"
15325                           "\x6e\xe5\x09\xdd\x67\x51\xc4\xc8"
15326                           "\x6a\xc7\x36\x35\xc9\x93\x76\xa1"
15327                           "\xa8\x1c\xfa\x75\x92\x34\x0e\x7d"
15328                           "\x3d\x1d\xef\x00\xfd\xa5\x25\x12"
15329                           "\x7c\x91\x21\x41\xcc\x50\x47\xa9"
15330                           "\x22\x50\x24\x96\x34\x79\x3d\xe8"
15331                           "\x3f\xa0\x56\xaf\x98\x53\x55\xc3"
15332                           "\x46\x1b\x17\x54\xb8\xb0\xb7\xe0"
15333                           "\xe0\xab\x47\x6f\x06\xda\xcc\x75"
15334                           "\xa7\x96\xb7\x92\xf3\xa0\x5f\xe6"
15335                           "\xba\x97\xe3\x2f\x97\x05\xb2\x99"
15336                           "\xa0\x09\x10\x98\x9c\xd3\x2e\xd1"
15337                           "\x7e\x2a\x30\x54\x3c\xb9\x33\xe3"
15338                           "\xf2\xaf\xd3\xa5\xee\xd0\x0b\x8a"
15339                           "\x19\x54\x0f\x02\x51\x1f\x91\xdf"
15340                           "\x71\x9c\xad\x77\x35\x28\x55\x6d"
15341                           "\xcd\x7a\xd9\xa3\x41\x98\x6b\x37"
15342                           "\x19\x0f\xbe\xae\x69\xb2\x25\x01"
15343                           "\xee\x0e\x51\x4b\x53\xea\x0f\x5f"
15344                           "\x85\x74\x79\x36\x32\x0a\x2a\x40"
15345                           "\xad\x6b\x78\x41\x54\x99\xe9\xc1"
15346                           "\x2b\x6c\x9b\x42\x21\xef\xe2\x50"
15347                           "\x56\x8d\x78\xdf\x58\xbe\x0a\x0f"
15348                           "\xfc\xfc\x0d\x2e\xd0\xcb\xa6\x0a"
15349                           "\xa8\xd9\x1e\xa9\xd4\x7c\x99\x88"
15350                           "\xcf\x11\xad\x1c\xd3\x04\x63\x55"
15351                           "\xef\x85\x0b\x69\xa1\x40\xf1\x75"
15352                           "\x24\xf4\xe5\x2c\xd4\x7a\x24\x50"
15353                           "\x8f\xa2\x71\xc9\x92\x20\xcd\xcf"
15354                           "\xda\x40\xbe\xf6\xfe\x1a\xca\xc7"
15355                           "\x4a\x80\x45\x55\xcb\xdd\xb7\x01"
15356                           "\xb0\x8d\xcb\xd2\xae\xbd\xa4\xd0"
15357                           "\x5c\x10\x05\x66\x7b\xd4\xff\xd9"
15358                           "\xc4\x23\x9d\x8d\x6b\x24\xf8\x3f"
15359                           "\x73\x4d\x5c\x2b\x33\x4c\x5e\x63"
15360                           "\x74\x6d\x03\xa1\x7a\x35\x65\x17"
15361                           "\x38\x7f\x3b\xc1\x69\xcf\x61\x34"
15362                           "\x30\x21\xaf\x97\x47\x12\x3f\xa1"
15363                           "\xa7\x50\xc5\x87\xfb\x3f\x70\x32"
15364                           "\x86\x17\x5f\x25\xe4\x74\xc6\xd0"
15365                           "\x9b\x39\xe6\xe1\x5a\xec\x8f\x40"
15366                           "\xce\xcc\x37\x3b\xd8\x72\x1c\x31"
15367                           "\x75\xa4\xa6\x89\x8c\xdd\xd6\xd2"
15368                           "\x32\x3d\xe8\xc3\x54\xab\x1f\x35"
15369                           "\x52\xb4\x94\x81\xb0\x37\x3a\x03"
15370                           "\xbb\xb1\x99\x30\xa5\xf8\x21\xcd"
15371                           "\x93\x5d\xa7\x13\xed\xc7\x49\x09"
15372                           "\x70\xda\x08\x39\xaa\x15\x9e\x45"
15373                           "\x35\x2b\x0f\x5c\x8c\x8b\xc9"
15374                           "\xa8\xb8\x9f\xfd\x37\x36\x31\x7e"
15375                           "\x34\x4f\xc1\xc0\xca\x8a\x22\xfd",
15376                 .clen   = 735,
15377         }
15378 };
15379
15380 static const struct aead_testvec sm4_ccm_tv_template[] = {
15381         { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.2 */
15382                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
15383                           "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
15384                 .klen   = 16,
15385                 .iv     = "\x02\x00\x00\x12\x34\x56\x78\x00"
15386                           "\x00\x00\x00\xAB\xCD\x00\x00\x00",
15387                 .ptext  = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
15388                           "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
15389                           "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
15390                           "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
15391                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
15392                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
15393                           "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
15394                           "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
15395                 .plen   = 64,
15396                 .assoc  = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
15397                           "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
15398                           "\xAB\xAD\xDA\xD2",
15399                 .alen   = 20,
15400                 .ctext  = "\x48\xAF\x93\x50\x1F\xA6\x2A\xDB"
15401                           "\xCD\x41\x4C\xCE\x60\x34\xD8\x95"
15402                           "\xDD\xA1\xBF\x8F\x13\x2F\x04\x20"
15403                           "\x98\x66\x15\x72\xE7\x48\x30\x94"
15404                           "\xFD\x12\xE5\x18\xCE\x06\x2C\x98"
15405                           "\xAC\xEE\x28\xD9\x5D\xF4\x41\x6B"
15406                           "\xED\x31\xA2\xF0\x44\x76\xC1\x8B"
15407                           "\xB4\x0C\x84\xA7\x4B\x97\xDC\x5B"
15408                           "\x16\x84\x2D\x4F\xA1\x86\xF5\x6A"
15409                           "\xB3\x32\x56\x97\x1F\xA1\x10\xF4",
15410                 .clen   = 80,
15411         }, { /* Generated from AES-CCM test vectors */
15412                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15413                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
15414                 .klen   = 16,
15415                 .iv     = "\x01\x00\x00\x00\x03\x02\x01\x00"
15416                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
15417                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
15418                 .alen   = 8,
15419                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15420                           "\x10\x11\x12\x13\x14\x15\x16\x17"
15421                           "\x18\x19\x1a\x1b\x1c\x1d\x1e",
15422                 .plen   = 23,
15423                 .ctext  = "\x7b\xff\x4a\x15\xf5\x73\xce\x82"
15424                           "\x6e\xc2\x31\x1d\xe2\x53\x02\xac"
15425                           "\xa4\x48\xf9\xe4\xf5\x1f\x81\x70"
15426                           "\x18\xbc\xb6\x84\x01\xb8\xae",
15427                 .clen   = 31,
15428         }, {
15429                 .key    = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
15430                           "\x53\x14\x73\x66\x8d\x88\xf6\x80",
15431                 .klen   = 16,
15432                 .iv     = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
15433                           "\x50\x20\xda\xe2\x00\x00\x00\x00",
15434                 .assoc  = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
15435                           "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
15436                           "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
15437                           "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
15438                 .alen   = 32,
15439                 .ctext  = "\x23\x58\xce\xdc\x40\xb1\xcd\x92"
15440                           "\x47\x96\x59\xfc\x8a\x26\x4f\xcf",
15441                 .clen   = 16,
15442         }, {
15443                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
15444                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
15445                 .klen   = 16,
15446                 .iv     = "\x03\xaf\x94\x87\x78\x35\x82\x81"
15447                           "\x7f\x88\x94\x68\x00\x00\x00\x00",
15448                 .alen   = 0,
15449                 .ptext  = "\x00",
15450                 .plen   = 0,
15451                 .ctext  = "\x72\x7e\xf5\xd6\x39\x7a\x2b\x43",
15452                 .clen   = 8,
15453         }, {
15454                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
15455                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
15456                 .klen   = 16,
15457                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
15458                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
15459                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
15460                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
15461                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
15462                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
15463                 .alen   = 32,
15464                 .ptext  = "\x00",
15465                 .plen   = 0,
15466                 .ctext  = "\xb0\x9d\xc6\xfb\x7d\xb5\xa1\x0e",
15467                 .clen   = 8,
15468         }, {
15469                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
15470                           "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
15471                 .klen   = 16,
15472                 .iv     = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
15473                           "\x44\x89\x40\x7b\x00\x00\x00\x00",
15474                 .assoc  = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
15475                           "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
15476                           "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
15477                           "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
15478                 .alen   = 32,
15479                 .ptext  = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
15480                           "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
15481                           "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
15482                           "\x04\x49\x3b\x19\x93\x57\x25\x5d",
15483                 .plen   = 32,
15484                 .ctext  = "\xc9\xae\xef\x1d\xf3\x2c\xd3\x38"
15485                           "\xc9\x7f\x7e\x28\xe8\xaa\xb3\x60"
15486                           "\x49\xdc\x66\xca\x7b\x3d\xe0\x3c"
15487                           "\xcb\x45\x9c\x1b\xb2\xbe\x07\x90"
15488                           "\x87\xa6\x6b\x89\x0d\x0f\x90\xaa"
15489                           "\x7d\xf6\x5a\x9a\x68\x2b\x81\x92",
15490                 .clen   = 48,
15491         }, {
15492                 .key    = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
15493                           "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
15494                 .klen   = 16,
15495                 .iv     = "\x02\xff\xff\xff\xff\x00\x00\xff"
15496                           "\xff\xff\x00\xff\xff\x00\x00\x00",
15497                 .assoc  = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
15498                           "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
15499                           "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
15500                           "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe"
15501                           "\xc8\xf3\x5c\x52\x10\x63",
15502                 .alen   = 38,
15503                 .ptext  = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
15504                           "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
15505                           "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
15506                           "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
15507                           "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
15508                           "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
15509                           "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
15510                           "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
15511                           "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
15512                           "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
15513                           "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
15514                           "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
15515                           "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
15516                           "\x35\x23\xf4\x20\x41\xd4\xad\x82"
15517                           "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
15518                           "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
15519                           "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
15520                           "\xad\x49\x3a\xae\x98\xce\xa6\x66"
15521                           "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
15522                           "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
15523                           "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
15524                           "\x57\xcc\x89\x09\x75\x9b\x78\x70"
15525                           "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
15526                           "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
15527                           "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
15528                           "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
15529                           "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
15530                           "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
15531                           "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
15532                           "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
15533                           "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
15534                           "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
15535                           "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
15536                           "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
15537                           "\x02\x66\x49\xca\x7c\x91\x05\xf2"
15538                           "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
15539                           "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
15540                           "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
15541                           "\x45\xea\x78\x73\xd9\xb7\x39\x11"
15542                           "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
15543                           "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
15544                           "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
15545                           "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
15546                           "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
15547                           "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
15548                           "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
15549                           "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
15550                           "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
15551                           "\x03\x25\x3c\x8d\x48\x58\x71\x34"
15552                           "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
15553                           "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
15554                           "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
15555                           "\x87\x79\x60\x38\x46\xb4\x25\x57"
15556                           "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
15557                           "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
15558                           "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
15559                           "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
15560                           "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
15561                           "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
15562                           "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
15563                           "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
15564                           "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
15565                           "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
15566                           "\x0b\x63\xde\x87\x42\x79\x8a\x68"
15567                           "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
15568                           "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
15569                           "\xe9\x83\x84\xcb\x28\x69\x09\x69"
15570                           "\xce\x99\x46\x00\x54\xcb\xd8\x38"
15571                           "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
15572                           "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
15573                           "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
15574                           "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
15575                           "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
15576                           "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
15577                           "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
15578                           "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
15579                           "\x78\xc6\x91\x22\x40\x91\x80\xbe"
15580                           "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
15581                           "\x67\x10\xa4\x83\x98\x79\x23\xe7"
15582                           "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
15583                           "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
15584                           "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
15585                           "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
15586                           "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
15587                           "\x3f\x73\x09\xe2\x45\x56\x31\x51"
15588                           "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
15589                           "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
15590                           "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
15591                           "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
15592                           "\xa4\x78\xdb\x74\x3d\x8b\xb5",
15593                 .plen   = 719,
15594                 .ctext  = "\xc5\x50\x85\x02\x72\xa8\xb3\x62"
15595                           "\xf9\xcd\x77\x7b\x43\xa5\x04\x70"
15596                           "\x68\x40\x57\x21\x1c\xfe\xef\x05"
15597                           "\x4d\xb8\x44\xba\x59\xea\x62\x32"
15598                           "\xcb\x6b\x6a\x39\x9b\xf3\xe5\xa4"
15599                           "\x36\x38\xde\x7d\xcf\xb6\xcd\xe3"
15600                           "\x89\xbf\x37\xc9\x96\x3c\x70\x10"
15601                           "\x92\x47\xcc\xac\x6f\xf8\x55\x9a"
15602                           "\x26\x43\x34\xb4\x92\x7d\x68\xfc"
15603                           "\x60\x37\x74\x2a\x55\xba\xc7\xd7"
15604                           "\x98\x69\xb7\xcf\x42\xfd\xb2\x10"
15605                           "\xa0\x59\xe1\x2c\x73\x66\x12\x97"
15606                           "\x85\x8b\x28\xcc\x29\x02\x15\x89"
15607                           "\x23\xd3\x32\x92\x87\x57\x09\x13"
15608                           "\x04\x7e\x8b\x6c\x3a\xc1\x4e\x6c"
15609                           "\xe1\x9f\xc8\xcc\x47\x9c\xd8\x10"
15610                           "\xf4\xb7\x5c\x30\x7a\x8b\x0f\x01"
15611                           "\x52\x38\x02\x92\x99\xac\x03\x90"
15612                           "\x18\x32\x2d\x21\x6a\x0a\x2a\xe7"
15613                           "\xc2\xcc\x15\x84\x4e\x2b\x0b\x3a"
15614                           "\x4c\xdc\xb0\x6b\x10\xd1\x27\x10"
15615                           "\xf0\x4a\x5c\x43\xa0\x34\x34\x59"
15616                           "\x47\x43\x48\xcb\x69\xa7\xff\x52"
15617                           "\xb8\xca\x23\x09\x07\xd7\xc5\xe4"
15618                           "\x2a\x4f\x99\xd5\x83\x36\x2a\x2d"
15619                           "\x59\xd0\xca\xb0\xfa\x40\x8c\xab"
15620                           "\xdf\x69\x08\xd9\x79\x1d\xde\xa8"
15621                           "\x0b\x34\x74\x4d\xf5\xa0\x4c\x81"
15622                           "\x7f\x93\x06\x40\x24\xfe\x7d\xcd"
15623                           "\xe4\xfe\xf8\xf8\x30\xce\xd0\x5d"
15624                           "\x70\xfd\x0d\x5a\x78\x85\x74\x2d"
15625                           "\xe4\xb5\x40\x18\x99\x11\xe4\x6a"
15626                           "\xdf\xfa\x4f\x25\x2c\xde\x15\xb7"
15627                           "\x12\xd8\xc6\x90\x0d\x0f\xc9\xfb"
15628                           "\x21\xf1\xed\xfe\x98\xe1\x03\xe2"
15629                           "\x5c\xef\xb6\xc7\x87\x77\x0e\xcd"
15630                           "\xff\x78\x94\xc9\xbe\xd3\x47\xf7"
15631                           "\x8d\x37\x48\x01\x42\xe2\x17\x96"
15632                           "\xfc\xc0\xcb\x7b\x7b\x57\xaf\x3b"
15633                           "\xc9\xd0\x94\xce\x5e\x1b\xa9\x47"
15634                           "\x02\x4d\x74\xcc\x45\x1d\xd3\x2d"
15635                           "\x5f\x4f\x7f\xf2\x4b\xf9\x59\xee"
15636                           "\x9e\x9e\xb9\x95\x29\x19\xd1\x5f"
15637                           "\x72\xab\x8d\xf1\x28\xd1\x1c\xae"
15638                           "\xc2\xba\xf7\x22\x84\x2c\x83\x51"
15639                           "\x03\xad\xa3\xef\x81\xa7\xdc\xf1"
15640                           "\x44\x51\x50\x96\x70\xd1\xe5\x47"
15641                           "\x57\xf9\x30\x90\xe4\xbf\xfc\x75"
15642                           "\x14\xaa\x4d\xb7\xb1\xe7\x79\x33"
15643                           "\x43\xc2\x5c\xc1\xbc\x09\x92\x0f"
15644                           "\xa7\xaf\x68\x51\x51\xec\x0b\xc3"
15645                           "\x3d\x2b\x94\x30\x45\x29\x1b\x9e"
15646                           "\x70\x56\xf8\xd6\x67\x2d\x39\x3b"
15647                           "\x3c\xd2\xd0\xd3\xdc\x7d\x84\xe9"
15648                           "\x06\x31\x98\xa6\x5c\xbf\x10\x58"
15649                           "\xce\xbb\xa7\xe1\x65\x7e\x51\x87"
15650                           "\x70\x46\xb4\x7f\xf9\xec\x92\x1c"
15651                           "\x9b\x24\x49\xc1\x04\xbe\x1c\x5f"
15652                           "\xcc\xb3\x33\x8c\xad\xe7\xdc\x32"
15653                           "\x54\xa2\x0d\x83\x0f\x3c\x12\x5d"
15654                           "\x71\xe3\x9c\xae\x71\xa3\x2a\x10"
15655                           "\xc5\x91\xb4\x73\x96\x60\xdb\x5d"
15656                           "\x1f\xd5\x9a\xd2\x69\xc3\xd7\x4b"
15657                           "\xa2\x66\x81\x96\x4a\xaa\x02\xd6"
15658                           "\xd5\x44\x9b\x42\x3a\x15\x5f\xe7"
15659                           "\x4d\x7c\xf6\x71\x4a\xea\xe8\x43"
15660                           "\xd7\x68\xe4\xbc\x05\x87\x49\x05"
15661                           "\x3b\x47\xb2\x6d\x5f\xd1\x11\xa6"
15662                           "\x58\xd4\xa2\x45\xec\xb5\x54\x55"
15663                           "\xd3\xd6\xd2\x6a\x8b\x21\x9e\x2c"
15664                           "\xf1\x27\x4b\x5b\xe3\xff\xe0\xfd"
15665                           "\x4b\xf1\xe7\xe2\x84\xf2\x17\x37"
15666                           "\x11\x68\xc4\x92\x4b\x6b\xef\x8e"
15667                           "\x75\xf5\xc2\x7d\x5c\xe9\x7c\xfc"
15668                           "\x2b\x00\x33\x0e\x7d\x69\xd8\xd4"
15669                           "\x9b\xa8\x38\x54\x7e\x6d\x23\x51"
15670                           "\x2c\xd6\xc4\x58\x23\x1c\x22\x2a"
15671                           "\x59\xc5\x9b\xec\x9d\xbf\x03\x0f"
15672                           "\xb3\xdd\xba\x02\x22\xa0\x34\x37"
15673                           "\x19\x56\xc2\x5b\x32\x1d\x1e\x66"
15674                           "\x68\xf4\x47\x05\x04\x18\xa7\x28"
15675                           "\x80\xf2\xc7\x99\xed\x1e\x72\x48"
15676                           "\x8f\x97\x5d\xb3\x74\x42\xfd\x0c"
15677                           "\x0f\x5f\x29\x0c\xf1\x35\x22\x90"
15678                           "\xd6\x7c\xb8\xa3\x2a\x89\x38\x71"
15679                           "\xe9\x7a\x55\x3c\x3b\xf2\x6e\x1a"
15680                           "\x22\x8f\x07\x81\xc1\xe1\xf1\x76"
15681                           "\x2a\x75\xab\x86\xc4\xcc\x52\x59"
15682                           "\x83\x19\x5e\xb3\x53\xe2\x81\xdf"
15683                           "\xe6\x15\xb3\xba\x0c\x0e\xba"
15684                           "\xa9\x2c\xed\x51\xd5\x06\xc8\xc6"
15685                           "\x4b\x9f\x5d\x1b\x61\x31\xad\xf4",
15686                 .clen   = 735,
15687         }
15688 };
15689
15690 static const struct hash_testvec sm4_cbcmac_tv_template[] = {
15691         {
15692                 .key            = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
15693                                   "\x77\x66\x55\x44\x33\x22\x11\x00",
15694                 .plaintext      = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15695                                   "\xfe\xdc\xba\x98\x76\x54\x32\x10",
15696                 .digest         = "\x97\xb4\x75\x8f\x84\x92\x3d\x3f"
15697                                   "\x86\x81\x0e\x0e\xea\x14\x6d\x73",
15698                 .psize          = 16,
15699                 .ksize          = 16,
15700         }, {
15701                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15702                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
15703                 .plaintext      = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
15704                                   "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
15705                                   "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
15706                                   "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
15707                                   "\xee",
15708                 .digest         = "\xc7\xdb\x17\x71\xa1\x5c\x0d\x22"
15709                                   "\xa3\x39\x3a\x31\x88\x91\x49\xa1",
15710                 .psize          = 33,
15711                 .ksize          = 16,
15712         }, {
15713                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15714                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
15715                 .plaintext      = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
15716                                   "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
15717                                   "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
15718                                   "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
15719                                   "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
15720                                   "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
15721                                   "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
15722                                   "\xfd\xdb\xb1\x9b\x76\x5c\x37",
15723                 .digest         = "\x9b\x07\x88\x7f\xd5\x95\x23\x12"
15724                                   "\x64\x0a\x66\x7f\x4e\x25\xca\xd0",
15725                 .psize          = 63,
15726                 .ksize          = 16,
15727         }
15728 };
15729
15730 static const struct hash_testvec sm4_cmac128_tv_template[] = {
15731         {
15732                 .key            = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
15733                                   "\x77\x66\x55\x44\x33\x22\x11\x00",
15734                 .plaintext      = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15735                                   "\xfe\xdc\xba\x98\x76\x54\x32\x10",
15736                 .digest         = "\x00\xd4\x63\xb4\x9a\xf3\x52\xe2"
15737                                   "\x74\xa9\x00\x55\x13\x54\x2a\xd1",
15738                 .psize          = 16,
15739                 .ksize          = 16,
15740         }, {
15741                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15742                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
15743                 .plaintext      = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
15744                                   "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
15745                                   "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
15746                                   "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
15747                                   "\xee",
15748                 .digest         = "\x8a\x8a\xe9\xc0\xc8\x97\x0e\x85"
15749                                   "\x21\x57\x02\x10\x1a\xbf\x9c\xc6",
15750                 .psize          = 33,
15751                 .ksize          = 16,
15752         }, {
15753                 .key            = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15754                                   "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
15755                 .plaintext      = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
15756                                   "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
15757                                   "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
15758                                   "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
15759                                   "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
15760                                   "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
15761                                   "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
15762                                   "\xfd\xdb\xb1\x9b\x76\x5c\x37",
15763                 .digest         = "\x5f\x14\xc9\xa9\x20\xb2\xb4\xf0"
15764                                   "\x76\xe0\xd8\xd6\xdc\x4f\xe1\xbc",
15765                 .psize          = 63,
15766                 .ksize          = 16,
15767         }
15768 };
15769
15770 static const struct hash_testvec sm4_xcbc128_tv_template[] = {
15771         { /* Generated from AES-XCBC128 test vectors */
15772                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
15773                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15774                 .plaintext      = zeroed_string,
15775                 .digest         = "\xa9\x9a\x5c\x44\xe2\x34\xee\x2c"
15776                                   "\x9b\xe4\x9d\xca\x64\xb0\xa5\xc4",
15777                 .psize          = 0,
15778                 .ksize          = 16,
15779         }, {
15780                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
15781                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15782                 .plaintext      = "\x00\x01\x02",
15783                 .digest         = "\x17\x27\x62\xf3\x8b\x88\x1d\xc0"
15784                                   "\x97\x35\x9c\x3e\x9f\x27\xb7\x83",
15785                 .psize          = 3,
15786                 .ksize          = 16,
15787         } , {
15788                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
15789                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15790                 .plaintext      = "\x00\x01\x02\x03\x04\x05\x06\x07"
15791                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15792                 .digest         = "\xda\x45\xd1\xac\xec\x4d\xab\x46"
15793                                   "\xdd\x59\xe0\x44\xff\x59\xd5\xfc",
15794                 .psize          = 16,
15795                 .ksize          = 16,
15796         }, {
15797                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
15798                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15799                 .plaintext      = "\x00\x01\x02\x03\x04\x05\x06\x07"
15800                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15801                                   "\x10\x11\x12\x13",
15802                 .digest         = "\xbe\x24\x5d\x81\x8c\x8a\x10\xa4"
15803                                   "\x8e\xc2\x16\xfa\xa4\x83\xc9\x2a",
15804                 .psize          = 20,
15805                 .ksize          = 16,
15806         }, {
15807                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
15808                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15809                 .plaintext      = "\x00\x01\x02\x03\x04\x05\x06\x07"
15810                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15811                                   "\x10\x11\x12\x13\x14\x15\x16\x17"
15812                                   "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15813                 .digest         = "\x91\x82\x31\x56\xd5\x77\xa4\xc5"
15814                                   "\x88\x2d\xce\x3a\x87\x5e\xbd\xba",
15815                 .psize          = 32,
15816                 .ksize          = 16,
15817         }, {
15818                 .key            = "\x00\x01\x02\x03\x04\x05\x06\x07"
15819                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15820                 .plaintext      = "\x00\x01\x02\x03\x04\x05\x06\x07"
15821                                   "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15822                                   "\x10\x11\x12\x13\x14\x15\x16\x17"
15823                                   "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15824                                   "\x20\x21",
15825                 .digest         = "\x2a\xae\xa5\x24\x0c\x12\x9f\x5f"
15826                                   "\x55\xfb\xae\x35\x13\x0d\x22\x2d",
15827                 .psize          = 34,
15828                 .ksize          = 16,
15829         }
15830 };
15831
15832 /* Cast6 test vectors from RFC 2612 */
15833 static const struct cipher_testvec cast6_tv_template[] = {
15834         {
15835                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
15836                           "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
15837                 .klen   = 16,
15838                 .ptext  = zeroed_string,
15839                 .ctext  = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
15840                           "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
15841                 .len    = 16,
15842         }, {
15843                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
15844                           "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
15845                           "\xba\xc7\x7a\x77\x17\x94\x28\x63",
15846                 .klen   = 24,
15847                 .ptext  = zeroed_string,
15848                 .ctext  = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
15849                           "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
15850                 .len    = 16,
15851         }, {
15852                 .key    = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
15853                           "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
15854                           "\x8d\x7c\x47\xce\x26\x49\x08\x46"
15855                           "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
15856                 .klen   = 32,
15857                 .ptext  = zeroed_string,
15858                 .ctext  = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
15859                           "\xc9\x87\x01\x36\x55\x33\x17\xfa",
15860                 .len    = 16,
15861         }, { /* Generated from TF test vectors */
15862                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
15863                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
15864                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
15865                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
15866                 .klen   = 32,
15867                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15868                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
15869                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
15870                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
15871                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
15872                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
15873                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
15874                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
15875                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
15876                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
15877                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
15878                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
15879                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
15880                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
15881                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
15882                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
15883                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
15884                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
15885                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
15886                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
15887                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
15888                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
15889                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
15890                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
15891                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
15892                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
15893                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
15894                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
15895                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
15896                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
15897                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
15898                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
15899                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
15900                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
15901                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
15902                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
15903                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
15904                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
15905                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
15906                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
15907                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
15908                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
15909                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
15910                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
15911                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
15912                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
15913                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
15914                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
15915                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
15916                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
15917                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
15918                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
15919                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
15920                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
15921                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
15922                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
15923                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
15924                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
15925                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
15926                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
15927                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
15928                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
15929                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
15930                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
15931                 .ctext  = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
15932                           "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
15933                           "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
15934                           "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
15935                           "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
15936                           "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
15937                           "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
15938                           "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
15939                           "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
15940                           "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
15941                           "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
15942                           "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
15943                           "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
15944                           "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
15945                           "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
15946                           "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
15947                           "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
15948                           "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
15949                           "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
15950                           "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
15951                           "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
15952                           "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
15953                           "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
15954                           "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
15955                           "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
15956                           "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
15957                           "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
15958                           "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
15959                           "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
15960                           "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
15961                           "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
15962                           "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
15963                           "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
15964                           "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
15965                           "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
15966                           "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
15967                           "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
15968                           "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
15969                           "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
15970                           "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
15971                           "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
15972                           "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
15973                           "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
15974                           "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
15975                           "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
15976                           "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
15977                           "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
15978                           "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
15979                           "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
15980                           "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
15981                           "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
15982                           "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
15983                           "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
15984                           "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
15985                           "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
15986                           "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
15987                           "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
15988                           "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
15989                           "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
15990                           "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
15991                           "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
15992                           "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
15993                 .len    = 496,
15994         },
15995 };
15996
15997 static const struct cipher_testvec cast6_cbc_tv_template[] = {
15998         { /* Generated from TF test vectors */
15999                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
16000                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
16001                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
16002                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
16003                 .klen   = 32,
16004                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16005                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
16006                 .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
16007                           "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
16008                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
16009                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
16010                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
16011                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
16012                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
16013                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
16014                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
16015                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
16016                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
16017                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
16018                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
16019                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
16020                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
16021                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
16022                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
16023                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
16024                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
16025                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
16026                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
16027                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
16028                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
16029                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
16030                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
16031                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
16032                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
16033                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
16034                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
16035                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
16036                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
16037                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
16038                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
16039                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
16040                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
16041                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
16042                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
16043                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
16044                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
16045                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
16046                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
16047                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
16048                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
16049                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
16050                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
16051                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
16052                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
16053                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
16054                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
16055                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
16056                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
16057                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
16058                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
16059                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
16060                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
16061                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
16062                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
16063                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
16064                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
16065                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
16066                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
16067                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
16068                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
16069                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
16070                 .ctext  = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
16071                           "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
16072                           "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
16073                           "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
16074                           "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
16075                           "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
16076                           "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
16077                           "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
16078                           "\x57\x95\xE1\x21\x26\x10\x9A\x21"
16079                           "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
16080                           "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
16081                           "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
16082                           "\x23\x16\x47\x72\x81\x13\x3A\x72"
16083                           "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
16084                           "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
16085                           "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
16086                           "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
16087                           "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
16088                           "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
16089                           "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
16090                           "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
16091                           "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
16092                           "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
16093                           "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
16094                           "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
16095                           "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
16096                           "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
16097                           "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
16098                           "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
16099                           "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
16100                           "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
16101                           "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
16102                           "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
16103                           "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
16104                           "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
16105                           "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
16106                           "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
16107                           "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
16108                           "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
16109                           "\x73\x3F\x12\x91\x47\x54\xBA\x39"
16110                           "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
16111                           "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
16112                           "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
16113                           "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
16114                           "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
16115                           "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
16116                           "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
16117                           "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
16118                           "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
16119                           "\x80\x21\x83\x58\x3C\x76\xFD\x28"
16120                           "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
16121                           "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
16122                           "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
16123                           "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
16124                           "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
16125                           "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
16126                           "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
16127                           "\x56\x4D\x82\x62\x37\xA3\x48\x01"
16128                           "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
16129                           "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
16130                           "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
16131                           "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
16132                 .len    = 496,
16133         },
16134 };
16135
16136 static const struct cipher_testvec cast6_ctr_tv_template[] = {
16137         { /* Generated from TF test vectors */
16138                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
16139                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
16140                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
16141                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
16142                 .klen   = 32,
16143                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16144                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
16145                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16146                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
16147                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
16148                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
16149                           "\x3A",
16150                 .ctext  = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
16151                           "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
16152                           "\x57",
16153                 .len    = 17,
16154         }, { /* Generated from TF test vectors */
16155                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
16156                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
16157                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
16158                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
16159                 .klen   = 32,
16160                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16161                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
16162                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
16163                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
16164                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
16165                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
16166                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
16167                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
16168                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
16169                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
16170                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
16171                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
16172                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
16173                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
16174                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
16175                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
16176                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
16177                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
16178                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
16179                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
16180                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
16181                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
16182                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
16183                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
16184                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
16185                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
16186                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
16187                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
16188                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
16189                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
16190                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
16191                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
16192                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
16193                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
16194                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
16195                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
16196                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
16197                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
16198                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
16199                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
16200                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
16201                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
16202                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
16203                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
16204                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
16205                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
16206                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
16207                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
16208                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
16209                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
16210                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
16211                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
16212                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
16213                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
16214                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
16215                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
16216                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
16217                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
16218                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
16219                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
16220                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
16221                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
16222                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
16223                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
16224                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
16225                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
16226                 .ctext  = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
16227                           "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
16228                           "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
16229                           "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
16230                           "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
16231                           "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
16232                           "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
16233                           "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
16234                           "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
16235                           "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
16236                           "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
16237                           "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
16238                           "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
16239                           "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
16240                           "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
16241                           "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
16242                           "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
16243                           "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
16244                           "\x49\x61\x22\x52\x64\x8C\x46\x41"
16245                           "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
16246                           "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
16247                           "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
16248                           "\x00\x14\x15\x59\xC1\x30\x64\xAF"
16249                           "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
16250                           "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
16251                           "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
16252                           "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
16253                           "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
16254                           "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
16255                           "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
16256                           "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
16257                           "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
16258                           "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
16259                           "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
16260                           "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
16261                           "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
16262                           "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
16263                           "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
16264                           "\x60\x40\x38\x90\x20\x46\xC7\xB3"
16265                           "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
16266                           "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
16267                           "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
16268                           "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
16269                           "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
16270                           "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
16271                           "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
16272                           "\x73\xFC\x91\xAB\x79\x41\x23\x14"
16273                           "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
16274                           "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
16275                           "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
16276                           "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
16277                           "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
16278                           "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
16279                           "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
16280                           "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
16281                           "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
16282                           "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
16283                           "\x19\x35\x88\x22\x45\x59\x0E\x8F"
16284                           "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
16285                           "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
16286                           "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
16287                           "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
16288                 .len    = 496,
16289         },
16290 };
16291
16292 static const struct cipher_testvec cast6_lrw_tv_template[] = {
16293         { /* Generated from TF test vectors */
16294                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
16295                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
16296                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
16297                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
16298                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
16299                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
16300                 .klen   = 48,
16301                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
16302                           "\x00\x00\x00\x00\x00\x00\x00\x01",
16303                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
16304                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
16305                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
16306                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
16307                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
16308                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
16309                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
16310                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
16311                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
16312                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
16313                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
16314                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
16315                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
16316                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
16317                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
16318                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
16319                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
16320                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
16321                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
16322                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
16323                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
16324                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
16325                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
16326                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
16327                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
16328                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
16329                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
16330                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
16331                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
16332                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
16333                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
16334                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
16335                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
16336                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
16337                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
16338                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
16339                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
16340                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
16341                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
16342                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
16343                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
16344                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
16345                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
16346                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
16347                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
16348                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
16349                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
16350                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
16351                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
16352                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
16353                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
16354                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
16355                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
16356                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
16357                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
16358                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
16359                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
16360                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
16361                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
16362                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
16363                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
16364                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
16365                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
16366                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
16367                 .ctext  = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
16368                           "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
16369                           "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
16370                           "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
16371                           "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
16372                           "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
16373                           "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
16374                           "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
16375                           "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
16376                           "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
16377                           "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
16378                           "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
16379                           "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
16380                           "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
16381                           "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
16382                           "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
16383                           "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
16384                           "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
16385                           "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
16386                           "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
16387                           "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
16388                           "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
16389                           "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
16390                           "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
16391                           "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
16392                           "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
16393                           "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
16394                           "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
16395                           "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
16396                           "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
16397                           "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
16398                           "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
16399                           "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
16400                           "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
16401                           "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
16402                           "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
16403                           "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
16404                           "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
16405                           "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
16406                           "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
16407                           "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
16408                           "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
16409                           "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
16410                           "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
16411                           "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
16412                           "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
16413                           "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
16414                           "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
16415                           "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
16416                           "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
16417                           "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
16418                           "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
16419                           "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
16420                           "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
16421                           "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
16422                           "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
16423                           "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
16424                           "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
16425                           "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
16426                           "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
16427                           "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
16428                           "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
16429                           "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
16430                           "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
16431                 .len    = 512,
16432         },
16433 };
16434
16435 static const struct cipher_testvec cast6_xts_tv_template[] = {
16436         { /* Generated from TF test vectors */
16437                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
16438                           "\x23\x53\x60\x28\x74\x71\x35\x26"
16439                           "\x62\x49\x77\x57\x24\x70\x93\x69"
16440                           "\x99\x59\x57\x49\x66\x96\x76\x27"
16441                           "\x31\x41\x59\x26\x53\x58\x97\x93"
16442                           "\x23\x84\x62\x64\x33\x83\x27\x95"
16443                           "\x02\x88\x41\x97\x16\x93\x99\x37"
16444                           "\x51\x05\x82\x09\x74\x94\x45\x92",
16445                 .klen   = 64,
16446                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
16447                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16448                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16449                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16450                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16451                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16452                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16453                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16454                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16455                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16456                           "\x40\x41\x42\x43\x44\x45\x46\x47"
16457                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16458                           "\x50\x51\x52\x53\x54\x55\x56\x57"
16459                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16460                           "\x60\x61\x62\x63\x64\x65\x66\x67"
16461                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
16462                           "\x70\x71\x72\x73\x74\x75\x76\x77"
16463                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
16464                           "\x80\x81\x82\x83\x84\x85\x86\x87"
16465                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
16466                           "\x90\x91\x92\x93\x94\x95\x96\x97"
16467                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
16468                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16469                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16470                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16471                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16472                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16473                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16474                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16475                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
16476                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
16477                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
16478                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16479                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
16480                           "\x00\x01\x02\x03\x04\x05\x06\x07"
16481                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16482                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16483                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16484                           "\x20\x21\x22\x23\x24\x25\x26\x27"
16485                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16486                           "\x30\x31\x32\x33\x34\x35\x36\x37"
16487                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16488                           "\x40\x41\x42\x43\x44\x45\x46\x47"
16489                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16490                           "\x50\x51\x52\x53\x54\x55\x56\x57"
16491                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16492                           "\x60\x61\x62\x63\x64\x65\x66\x67"
16493                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
16494                           "\x70\x71\x72\x73\x74\x75\x76\x77"
16495                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
16496                           "\x80\x81\x82\x83\x84\x85\x86\x87"
16497                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
16498                           "\x90\x91\x92\x93\x94\x95\x96\x97"
16499                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
16500                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16501                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16502                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16503                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16504                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16505                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16506                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16507                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
16508                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
16509                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
16510                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16511                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
16512                 .ctext  = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
16513                           "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
16514                           "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
16515                           "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
16516                           "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
16517                           "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
16518                           "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
16519                           "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
16520                           "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
16521                           "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
16522                           "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
16523                           "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
16524                           "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
16525                           "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
16526                           "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
16527                           "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
16528                           "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
16529                           "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
16530                           "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
16531                           "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
16532                           "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
16533                           "\x71\x38\x17\x91\x44\xE8\xFC\x65"
16534                           "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
16535                           "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
16536                           "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
16537                           "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
16538                           "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
16539                           "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
16540                           "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
16541                           "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
16542                           "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
16543                           "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
16544                           "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
16545                           "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
16546                           "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
16547                           "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
16548                           "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
16549                           "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
16550                           "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
16551                           "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
16552                           "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
16553                           "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
16554                           "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
16555                           "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
16556                           "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
16557                           "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
16558                           "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
16559                           "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
16560                           "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
16561                           "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
16562                           "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
16563                           "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
16564                           "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
16565                           "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
16566                           "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
16567                           "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
16568                           "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
16569                           "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
16570                           "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
16571                           "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
16572                           "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
16573                           "\x45\x72\x80\x17\x81\xBD\x9D\x62"
16574                           "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
16575                           "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
16576                 .len    = 512,
16577         },
16578 };
16579
16580 /*
16581  * AES test vectors.
16582  */
16583 static const struct cipher_testvec aes_tv_template[] = {
16584         { /* From FIPS-197 */
16585                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
16586                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16587                 .klen   = 16,
16588                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
16589                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
16590                 .ctext  = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
16591                           "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
16592                 .len    = 16,
16593         }, {
16594                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
16595                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16596                           "\x10\x11\x12\x13\x14\x15\x16\x17",
16597                 .klen   = 24,
16598                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
16599                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
16600                 .ctext  = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
16601                           "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
16602                 .len    = 16,
16603         }, {
16604                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
16605                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16606                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16607                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16608                 .klen   = 32,
16609                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
16610                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
16611                 .ctext  = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
16612                           "\xea\xfc\x49\x90\x4b\x49\x60\x89",
16613                 .len    = 16,
16614         }, { /* Generated with Crypto++ */
16615                 .key    = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
16616                           "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
16617                           "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
16618                           "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
16619                 .klen   = 32,
16620                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16621                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16622                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16623                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16624                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16625                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16626                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16627                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16628                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16629                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16630                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16631                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16632                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16633                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16634                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16635                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16636                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16637                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16638                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16639                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16640                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16641                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16642                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16643                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16644                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16645                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16646                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16647                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16648                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16649                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16650                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16651                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16652                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16653                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16654                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16655                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16656                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16657                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16658                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16659                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16660                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16661                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16662                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16663                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16664                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16665                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16666                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16667                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16668                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16669                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16670                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16671                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16672                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16673                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16674                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16675                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16676                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16677                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16678                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16679                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16680                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16681                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16682                 .ctext  = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
16683                           "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
16684                           "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
16685                           "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
16686                           "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
16687                           "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
16688                           "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
16689                           "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
16690                           "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
16691                           "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
16692                           "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
16693                           "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
16694                           "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
16695                           "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
16696                           "\x41\x72\x51\x97\x1D\x07\x49\xA0"
16697                           "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
16698                           "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
16699                           "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
16700                           "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
16701                           "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
16702                           "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
16703                           "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
16704                           "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
16705                           "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
16706                           "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
16707                           "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
16708                           "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
16709                           "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
16710                           "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
16711                           "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
16712                           "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
16713                           "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
16714                           "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
16715                           "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
16716                           "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
16717                           "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
16718                           "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
16719                           "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
16720                           "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
16721                           "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
16722                           "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
16723                           "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
16724                           "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
16725                           "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
16726                           "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
16727                           "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
16728                           "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
16729                           "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
16730                           "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
16731                           "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
16732                           "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
16733                           "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
16734                           "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
16735                           "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
16736                           "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
16737                           "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
16738                           "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
16739                           "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
16740                           "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
16741                           "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
16742                           "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
16743                           "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
16744                 .len    = 496,
16745         },
16746 };
16747
16748 static const struct cipher_testvec aes_cbc_tv_template[] = {
16749         { /* From RFC 3602 */
16750                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16751                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16752                 .klen   = 16,
16753                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16754                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16755                 .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16756                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
16757                 .ptext  = "Single block msg",
16758                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16759                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
16760                 .len    = 16,
16761         }, {
16762                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16763                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16764                 .klen   = 16,
16765                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16766                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16767                 .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16768                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
16769                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16770                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16771                           "\x10\x11\x12\x13\x14\x15\x16\x17"
16772                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16773                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16774                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16775                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16776                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
16777                 .len    = 32,
16778         }, { /* From NIST SP800-38A */
16779                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16780                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16781                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16782                 .klen   = 24,
16783                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16784                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16785                 .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16786                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
16787                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16788                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16789                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16790                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16791                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16792                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16793                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16794                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16795                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16796                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16797                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16798                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16799                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16800                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16801                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16802                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
16803                 .len    = 64,
16804         }, {
16805                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16806                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16807                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16808                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16809                 .klen   = 32,
16810                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16811                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16812                 .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16813                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
16814                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16815                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16816                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16817                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16818                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16819                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16820                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16821                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16822                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16823                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16824                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16825                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16826                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16827                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16828                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16829                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
16830                 .len    = 64,
16831         }, { /* Generated with Crypto++ */
16832                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
16833                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
16834                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
16835                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
16836                 .klen   = 32,
16837                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
16838                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
16839                 .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
16840                           "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
16841                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16842                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16843                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16844                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16845                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16846                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16847                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16848                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16849                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16850                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16851                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16852                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16853                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16854                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16855                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16856                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16857                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16858                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16859                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16860                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16861                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16862                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16863                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16864                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16865                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16866                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16867                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16868                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16869                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16870                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16871                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16872                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16873                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16874                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16875                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16876                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16877                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16878                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16879                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16880                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16881                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16882                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16883                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16884                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16885                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16886                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16887                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16888                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16889                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16890                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16891                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16892                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16893                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16894                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16895                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16896                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16897                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16898                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16899                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16900                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16901                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16902                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16903                 .ctext  = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
16904                           "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
16905                           "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
16906                           "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
16907                           "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
16908                           "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
16909                           "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
16910                           "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
16911                           "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
16912                           "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
16913                           "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
16914                           "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
16915                           "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
16916                           "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
16917                           "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
16918                           "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
16919                           "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
16920                           "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
16921                           "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
16922                           "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
16923                           "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
16924                           "\x16\x24\x02\x07\x48\xAE\xF2\x31"
16925                           "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
16926                           "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
16927                           "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
16928                           "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
16929                           "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
16930                           "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
16931                           "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
16932                           "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
16933                           "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
16934                           "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
16935                           "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
16936                           "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
16937                           "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
16938                           "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
16939                           "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
16940                           "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
16941                           "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
16942                           "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
16943                           "\x22\x39\x7B\x16\x03\x01\x69\xAF"
16944                           "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
16945                           "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
16946                           "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
16947                           "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
16948                           "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
16949                           "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
16950                           "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
16951                           "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
16952                           "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
16953                           "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
16954                           "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
16955                           "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
16956                           "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
16957                           "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
16958                           "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
16959                           "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
16960                           "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
16961                           "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
16962                           "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
16963                           "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
16964                           "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
16965                 .len    = 496,
16966         },
16967 };
16968
16969 static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
16970         { /* Input data from RFC 2410 Case 1 */
16971 #ifdef __LITTLE_ENDIAN
16972                 .key    = "\x08\x00"            /* rta length */
16973                           "\x01\x00"            /* rta type */
16974 #else
16975                 .key    = "\x00\x08"            /* rta length */
16976                           "\x00\x01"            /* rta type */
16977 #endif
16978                           "\x00\x00\x00\x00"    /* enc key length */
16979                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16980                           "\x00\x00\x00\x00\x00\x00\x00\x00",
16981                 .klen   = 8 + 16 + 0,
16982                 .iv     = "",
16983                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16984                 .plen   = 8,
16985                 .ctext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16986                           "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16987                           "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16988                 .clen   = 8 + 16,
16989         }, { /* Input data from RFC 2410 Case 2 */
16990 #ifdef __LITTLE_ENDIAN
16991                 .key    = "\x08\x00"            /* rta length */
16992                           "\x01\x00"            /* rta type */
16993 #else
16994                 .key    = "\x00\x08"            /* rta length */
16995                           "\x00\x01"            /* rta type */
16996 #endif
16997                           "\x00\x00\x00\x00"    /* enc key length */
16998                           "\x00\x00\x00\x00\x00\x00\x00\x00"
16999                           "\x00\x00\x00\x00\x00\x00\x00\x00",
17000                 .klen   = 8 + 16 + 0,
17001                 .iv     = "",
17002                 .ptext  = "Network Security People Have A Strange Sense Of Humor",
17003                 .plen   = 53,
17004                 .ctext  = "Network Security People Have A Strange Sense Of Humor"
17005                           "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
17006                           "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
17007                 .clen   = 53 + 16,
17008         },
17009 };
17010
17011 static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
17012         { /* RFC 3602 Case 1 */
17013 #ifdef __LITTLE_ENDIAN
17014                 .key    = "\x08\x00"            /* rta length */
17015                           "\x01\x00"            /* rta type */
17016 #else
17017                 .key    = "\x00\x08"            /* rta length */
17018                           "\x00\x01"            /* rta type */
17019 #endif
17020                           "\x00\x00\x00\x10"    /* enc key length */
17021                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17022                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17023                           "\x00\x00\x00\x00"
17024                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
17025                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
17026                 .klen   = 8 + 20 + 16,
17027                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17028                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17029                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17030                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17031                 .alen   = 16,
17032                 .ptext  = "Single block msg",
17033                 .plen   = 16,
17034                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
17035                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
17036                           "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
17037                           "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
17038                           "\x03\x71\xa2\x06",
17039                 .clen   = 16 + 20,
17040         }, { /* RFC 3602 Case 2 */
17041 #ifdef __LITTLE_ENDIAN
17042                 .key    = "\x08\x00"            /* rta length */
17043                           "\x01\x00"            /* rta type */
17044 #else
17045                 .key    = "\x00\x08"            /* rta length */
17046                           "\x00\x01"            /* rta type */
17047 #endif
17048                           "\x00\x00\x00\x10"    /* enc key length */
17049                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17050                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17051                           "\x30\x31\x32\x33"
17052                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
17053                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
17054                 .klen   = 8 + 20 + 16,
17055                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17056                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17057                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17058                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17059                 .alen   = 16,
17060                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17061                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17062                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17063                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17064                 .plen   = 32,
17065                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
17066                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
17067                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
17068                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
17069                           "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
17070                           "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
17071                           "\x65\x39\xf8\xde",
17072                 .clen   = 32 + 20,
17073         }, { /* RFC 3602 Case 3 */
17074 #ifdef __LITTLE_ENDIAN
17075                 .key    = "\x08\x00"            /* rta length */
17076                           "\x01\x00"            /* rta type */
17077 #else
17078                 .key    = "\x00\x08"            /* rta length */
17079                           "\x00\x01"            /* rta type */
17080 #endif
17081                           "\x00\x00\x00\x10"    /* enc key length */
17082                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17083                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17084                           "\x22\x33\x44\x55"
17085                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
17086                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
17087                 .klen   = 8 + 20 + 16,
17088                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17089                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17090                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17091                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17092                 .alen   = 16,
17093                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
17094                 .plen   = 48,
17095                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
17096                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
17097                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
17098                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
17099                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
17100                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
17101                           "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
17102                           "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
17103                           "\x8d\x62\xf2\x1e",
17104                 .clen   = 48 + 20,
17105         }, { /* RFC 3602 Case 4 */
17106 #ifdef __LITTLE_ENDIAN
17107                 .key    = "\x08\x00"            /* rta length */
17108                           "\x01\x00"            /* rta type */
17109 #else
17110                 .key    = "\x00\x08"            /* rta length */
17111                           "\x00\x01"            /* rta type */
17112 #endif
17113                           "\x00\x00\x00\x10"    /* enc key length */
17114                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17115                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17116                           "\x22\x33\x44\x55"
17117                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
17118                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
17119                 .klen   = 8 + 20 + 16,
17120                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17121                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17122                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17123                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17124                 .alen   = 16,
17125                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17126                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17127                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17128                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17129                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17130                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17131                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17132                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
17133                 .plen   = 64,
17134                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
17135                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
17136                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
17137                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
17138                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
17139                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
17140                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
17141                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
17142                           "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
17143                           "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
17144                           "\x1d\xbe\xc6\xe9",
17145                 .clen   = 64 + 20,
17146         }, { /* RFC 3602 Case 5 */
17147 #ifdef __LITTLE_ENDIAN
17148                 .key    = "\x08\x00"            /* rta length */
17149                           "\x01\x00"            /* rta type */
17150 #else
17151                 .key    = "\x00\x08"            /* rta length */
17152                           "\x00\x01"            /* rta type */
17153 #endif
17154                           "\x00\x00\x00\x10"    /* enc key length */
17155                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17156                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17157                           "\x22\x33\x44\x55"
17158                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
17159                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
17160                 .klen   = 8 + 20 + 16,
17161                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17162                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17163                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17164                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17165                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17166                 .alen   = 24,
17167                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
17168                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
17169                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17170                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17171                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17172                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17173                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17174                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17175                           "\x01\x02\x03\x04\x05\x06\x07\x08"
17176                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
17177                 .plen   = 80,
17178                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
17179                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
17180                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
17181                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
17182                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
17183                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
17184                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
17185                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
17186                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
17187                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
17188                           "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
17189                           "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
17190                           "\x85\xe1\x59\xf7",
17191                 .clen   = 80 + 20,
17192        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
17193 #ifdef __LITTLE_ENDIAN
17194                 .key    = "\x08\x00"            /* rta length */
17195                           "\x01\x00"            /* rta type */
17196 #else
17197                 .key    = "\x00\x08"            /* rta length */
17198                           "\x00\x01"            /* rta type */
17199 #endif
17200                           "\x00\x00\x00\x18"    /* enc key length */
17201                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17202                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17203                           "\x22\x33\x44\x55"
17204                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17205                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17206                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17207                 .klen   = 8 + 20 + 24,
17208                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17209                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17210                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17211                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17212                 .alen   = 16,
17213                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17214                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17215                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17216                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17217                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17218                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17219                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17220                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17221                 .plen   = 64,
17222                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17223                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17224                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17225                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17226                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17227                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17228                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17229                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
17230                           "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
17231                           "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
17232                           "\x47\x4c\xfc\x36",
17233                 .clen   = 64 + 20,
17234         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
17235 #ifdef __LITTLE_ENDIAN
17236                 .key    = "\x08\x00"            /* rta length */
17237                           "\x01\x00"            /* rta type */
17238 #else
17239                 .key    = "\x00\x08"            /* rta length */
17240                           "\x00\x01"            /* rta type */
17241 #endif
17242                           "\x00\x00\x00\x20"    /* enc key length */
17243                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17244                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17245                           "\x22\x33\x44\x55"
17246                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17247                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17248                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17249                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17250                 .klen   = 8 + 20 + 32,
17251                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17252                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17253                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17254                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17255                 .alen   = 16,
17256                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17257                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17258                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17259                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17260                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17261                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17262                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17263                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17264                 .plen   = 64,
17265                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17266                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17267                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17268                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17269                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17270                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17271                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17272                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17273                           "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
17274                           "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
17275                           "\x51\xee\xd6\x4e",
17276                 .clen   = 64 + 20,
17277         },
17278 };
17279
17280 static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
17281         { /* Input data from RFC 2410 Case 1 */
17282 #ifdef __LITTLE_ENDIAN
17283                 .key    = "\x08\x00"            /* rta length */
17284                           "\x01\x00"            /* rta type */
17285 #else
17286                 .key    = "\x00\x08"            /* rta length */
17287                           "\x00\x01"            /* rta type */
17288 #endif
17289                           "\x00\x00\x00\x00"    /* enc key length */
17290                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17291                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17292                           "\x00\x00\x00\x00",
17293                 .klen   = 8 + 20 + 0,
17294                 .iv     = "",
17295                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
17296                 .plen   = 8,
17297                 .ctext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
17298                           "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
17299                           "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
17300                           "\x8c\x5e\xe4\x08",
17301                 .clen   = 8 + 20,
17302         }, { /* Input data from RFC 2410 Case 2 */
17303 #ifdef __LITTLE_ENDIAN
17304                 .key    = "\x08\x00"            /* rta length */
17305                           "\x01\x00"            /* rta type */
17306 #else
17307                 .key    = "\x00\x08"            /* rta length */
17308                           "\x00\x01"            /* rta type */
17309 #endif
17310                           "\x00\x00\x00\x00"    /* enc key length */
17311                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17312                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17313                           "\x00\x00\x00\x00",
17314                 .klen   = 8 + 20 + 0,
17315                 .iv     = "",
17316                 .ptext  = "Network Security People Have A Strange Sense Of Humor",
17317                 .plen   = 53,
17318                 .ctext  = "Network Security People Have A Strange Sense Of Humor"
17319                           "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
17320                           "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
17321                           "\x91\x56\xe4\xd6",
17322                 .clen   = 53 + 20,
17323         },
17324 };
17325
17326 static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
17327         { /* RFC 3602 Case 1 */
17328 #ifdef __LITTLE_ENDIAN
17329                 .key    = "\x08\x00"            /* rta length */
17330                           "\x01\x00"            /* rta type */
17331 #else
17332                 .key    = "\x00\x08"            /* rta length */
17333                           "\x00\x01"            /* rta type */
17334 #endif
17335                           "\x00\x00\x00\x10"    /* enc key length */
17336                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17337                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17338                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17339                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17340                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
17341                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
17342                 .klen   = 8 + 32 + 16,
17343                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17344                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17345                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17346                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17347                 .alen   = 16,
17348                 .ptext  = "Single block msg",
17349                 .plen   = 16,
17350                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
17351                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
17352                           "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
17353                           "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
17354                           "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
17355                           "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
17356                 .clen   = 16 + 32,
17357         }, { /* RFC 3602 Case 2 */
17358 #ifdef __LITTLE_ENDIAN
17359                 .key    = "\x08\x00"            /* rta length */
17360                           "\x01\x00"            /* rta type */
17361 #else
17362                 .key    = "\x00\x08"            /* rta length */
17363                           "\x00\x01"            /* rta type */
17364 #endif
17365                           "\x00\x00\x00\x10"    /* enc key length */
17366                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17367                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17368                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17369                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17370                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
17371                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
17372                 .klen   = 8 + 32 + 16,
17373                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17374                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17375                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17376                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17377                 .alen   = 16,
17378                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17379                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17380                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17381                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17382                 .plen   = 32,
17383                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
17384                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
17385                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
17386                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
17387                           "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
17388                           "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
17389                           "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
17390                           "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
17391                 .clen   = 32 + 32,
17392         }, { /* RFC 3602 Case 3 */
17393 #ifdef __LITTLE_ENDIAN
17394                 .key    = "\x08\x00"            /* rta length */
17395                           "\x01\x00"            /* rta type */
17396 #else
17397                 .key    = "\x00\x08"            /* rta length */
17398                           "\x00\x01"            /* rta type */
17399 #endif
17400                           "\x00\x00\x00\x10"    /* enc key length */
17401                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17402                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17403                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17404                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17405                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
17406                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
17407                 .klen   = 8 + 32 + 16,
17408                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17409                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17410                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17411                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17412                 .alen   = 16,
17413                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
17414                 .plen   = 48,
17415                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
17416                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
17417                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
17418                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
17419                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
17420                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
17421                           "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
17422                           "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
17423                           "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
17424                           "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
17425                 .clen   = 48 + 32,
17426         }, { /* RFC 3602 Case 4 */
17427 #ifdef __LITTLE_ENDIAN
17428                 .key    = "\x08\x00"            /* rta length */
17429                           "\x01\x00"            /* rta type */
17430 #else
17431                 .key    = "\x00\x08"            /* rta length */
17432                           "\x00\x01"            /* rta type */
17433 #endif
17434                           "\x00\x00\x00\x10"    /* enc key length */
17435                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17436                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17437                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17438                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17439                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
17440                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
17441                 .klen   = 8 + 32 + 16,
17442                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17443                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17444                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17445                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17446                 .alen   = 16,
17447                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17448                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17449                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17450                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17451                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17452                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17453                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17454                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
17455                 .plen   = 64,
17456                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
17457                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
17458                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
17459                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
17460                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
17461                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
17462                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
17463                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
17464                           "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
17465                           "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
17466                           "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
17467                           "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
17468                 .clen   = 64 + 32,
17469         }, { /* RFC 3602 Case 5 */
17470 #ifdef __LITTLE_ENDIAN
17471                 .key    = "\x08\x00"            /* rta length */
17472                           "\x01\x00"            /* rta type */
17473 #else
17474                 .key    = "\x00\x08"            /* rta length */
17475                           "\x00\x01"            /* rta type */
17476 #endif
17477                           "\x00\x00\x00\x10"    /* enc key length */
17478                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17479                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17480                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17481                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17482                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
17483                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
17484                 .klen   = 8 + 32 + 16,
17485                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17486                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17487                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17488                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17489                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17490                 .alen   = 24,
17491                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
17492                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
17493                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17494                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17495                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17496                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17497                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17498                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17499                           "\x01\x02\x03\x04\x05\x06\x07\x08"
17500                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
17501                 .plen   = 80,
17502                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
17503                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
17504                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
17505                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
17506                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
17507                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
17508                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
17509                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
17510                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
17511                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
17512                           "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
17513                           "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
17514                           "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
17515                           "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
17516                 .clen   = 80 + 32,
17517        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
17518 #ifdef __LITTLE_ENDIAN
17519                 .key    = "\x08\x00"            /* rta length */
17520                           "\x01\x00"            /* rta type */
17521 #else
17522                 .key    = "\x00\x08"            /* rta length */
17523                           "\x00\x01"            /* rta type */
17524 #endif
17525                           "\x00\x00\x00\x18"    /* enc key length */
17526                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17527                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17528                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17529                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17530                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17531                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17532                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17533                 .klen   = 8 + 32 + 24,
17534                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17535                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17536                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17537                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17538                 .alen   = 16,
17539                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17540                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17541                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17542                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17543                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17544                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17545                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17546                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17547                 .plen   = 64,
17548                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17549                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17550                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17551                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17552                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17553                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17554                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17555                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
17556                           "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
17557                           "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
17558                           "\xca\x71\x85\x93\xf7\x85\x55\x8b"
17559                           "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
17560                 .clen   = 64 + 32,
17561         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
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\x20"    /* 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\x66\x77\x88\x99"
17573                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17574                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17575                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17576                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17577                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17578                 .klen   = 8 + 32 + 32,
17579                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17580                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17581                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17582                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17583                 .alen   = 16,
17584                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17585                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17586                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17587                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17588                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17589                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17590                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17591                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17592                 .plen   = 64,
17593                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17594                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17595                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17596                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17597                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17598                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17599                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17600                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17601                           "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
17602                           "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
17603                           "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
17604                           "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
17605                 .clen   = 64 + 32,
17606         },
17607 };
17608
17609 static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
17610         { /* RFC 3602 Case 1 */
17611 #ifdef __LITTLE_ENDIAN
17612                 .key    = "\x08\x00"            /* rta length */
17613                           "\x01\x00"            /* rta type */
17614 #else
17615                 .key    = "\x00\x08"            /* rta length */
17616                           "\x00\x01"            /* rta type */
17617 #endif
17618                           "\x00\x00\x00\x10"    /* enc key length */
17619                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17620                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17621                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17622                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17623                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17624                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17625                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17626                           "\x00\x00\x00\x00\x00\x00\x00\x00"
17627                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
17628                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
17629                 .klen   = 8 + 64 + 16,
17630                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17631                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17632                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17633                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17634                 .alen   = 16,
17635                 .ptext  = "Single block msg",
17636                 .plen   = 16,
17637                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
17638                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
17639                           "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
17640                           "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
17641                           "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
17642                           "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
17643                           "\xec\xbd\x50\x08\x07\x64\x1a\x49"
17644                           "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
17645                           "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
17646                           "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
17647                 .clen   = 16 + 64,
17648         }, { /* RFC 3602 Case 2 */
17649 #ifdef __LITTLE_ENDIAN
17650                 .key    = "\x08\x00"            /* rta length */
17651                           "\x01\x00"            /* rta type */
17652 #else
17653                 .key    = "\x00\x08"            /* rta length */
17654                           "\x00\x01"            /* rta type */
17655 #endif
17656                           "\x00\x00\x00\x10"    /* enc key length */
17657                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17658                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17659                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17660                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17661                           "\x40\x41\x42\x43\x44\x45\x46\x47"
17662                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17663                           "\x50\x51\x52\x53\x54\x55\x56\x57"
17664                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17665                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
17666                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
17667                 .klen   = 8 + 64 + 16,
17668                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17669                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17670                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17671                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17672                 .alen   = 16,
17673                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17674                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17675                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17676                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17677                 .plen   = 32,
17678                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
17679                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
17680                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
17681                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
17682                           "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
17683                           "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
17684                           "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
17685                           "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
17686                           "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
17687                           "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
17688                           "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
17689                           "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
17690                 .clen   = 32 + 64,
17691         }, { /* RFC 3602 Case 3 */
17692 #ifdef __LITTLE_ENDIAN
17693                 .key    = "\x08\x00"            /* rta length */
17694                           "\x01\x00"            /* rta type */
17695 #else
17696                 .key    = "\x00\x08"            /* rta length */
17697                           "\x00\x01"            /* rta type */
17698 #endif
17699                           "\x00\x00\x00\x10"    /* enc key length */
17700                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17701                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17702                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17703                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17704                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17705                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17706                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17707                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17708                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
17709                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
17710                 .klen   = 8 + 64 + 16,
17711                 .iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17712                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17713                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17714                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17715                 .alen   = 16,
17716                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
17717                 .plen   = 48,
17718                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
17719                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
17720                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
17721                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
17722                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
17723                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
17724                           "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
17725                           "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
17726                           "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
17727                           "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
17728                           "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
17729                           "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
17730                           "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
17731                           "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
17732                 .clen   = 48 + 64,
17733         }, { /* RFC 3602 Case 4 */
17734 #ifdef __LITTLE_ENDIAN
17735                 .key    = "\x08\x00"            /* rta length */
17736                           "\x01\x00"            /* rta type */
17737 #else
17738                 .key    = "\x00\x08"            /* rta length */
17739                           "\x00\x01"            /* rta type */
17740 #endif
17741                           "\x00\x00\x00\x10"    /* enc key length */
17742                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17743                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17744                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17745                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17746                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17747                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17748                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17749                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17750                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
17751                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
17752                 .klen   = 8 + 64 + 16,
17753                 .iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17754                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17755                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17756                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17757                 .alen   = 16,
17758                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17759                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17760                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17761                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17762                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17763                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17764                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17765                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
17766                 .plen   = 64,
17767                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
17768                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
17769                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
17770                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
17771                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
17772                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
17773                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
17774                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
17775                           "\x82\xcd\x42\x28\x21\x20\x15\xcc"
17776                           "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
17777                           "\x61\x32\x82\x85\xcf\x27\xed\xb4"
17778                           "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
17779                           "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
17780                           "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
17781                           "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
17782                           "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
17783                 .clen   = 64 + 64,
17784         }, { /* RFC 3602 Case 5 */
17785 #ifdef __LITTLE_ENDIAN
17786                 .key    = "\x08\x00"            /* rta length */
17787                           "\x01\x00"            /* rta type */
17788 #else
17789                 .key    = "\x00\x08"            /* rta length */
17790                           "\x00\x01"            /* rta type */
17791 #endif
17792                           "\x00\x00\x00\x10"    /* enc key length */
17793                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17794                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17795                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17796                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17797                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17798                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17799                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17800                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17801                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
17802                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
17803                 .klen   = 8 + 64 + 16,
17804                 .iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17805                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17806                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17807                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17808                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17809                 .alen   = 24,
17810                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
17811                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
17812                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17813                           "\x10\x11\x12\x13\x14\x15\x16\x17"
17814                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17815                           "\x20\x21\x22\x23\x24\x25\x26\x27"
17816                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17817                           "\x30\x31\x32\x33\x34\x35\x36\x37"
17818                           "\x01\x02\x03\x04\x05\x06\x07\x08"
17819                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
17820                 .plen   = 80,
17821                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
17822                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
17823                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
17824                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
17825                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
17826                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
17827                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
17828                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
17829                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
17830                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
17831                           "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
17832                           "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
17833                           "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
17834                           "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
17835                           "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
17836                           "\x92\x26\xc1\x76\x20\x11\xeb\xba"
17837                           "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
17838                           "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
17839                 .clen   = 80 + 64,
17840        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
17841 #ifdef __LITTLE_ENDIAN
17842                 .key    = "\x08\x00"            /* rta length */
17843                           "\x01\x00"            /* rta type */
17844 #else
17845                 .key    = "\x00\x08"            /* rta length */
17846                           "\x00\x01"            /* rta type */
17847 #endif
17848                           "\x00\x00\x00\x18"    /* enc key length */
17849                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17850                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17851                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17852                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17853                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17854                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17855                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17856                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17857                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17858                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17859                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17860                 .klen   = 8 + 64 + 24,
17861                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17862                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17863                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17864                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17865                 .alen   = 16,
17866                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17867                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17868                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17869                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17870                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17871                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17872                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17873                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17874                 .plen   = 64,
17875                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17876                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17877                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17878                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17879                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17880                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17881                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17882                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
17883                           "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
17884                           "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
17885                           "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
17886                           "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
17887                           "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
17888                           "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
17889                           "\x8d\x43\x98\xa7\x94\x16\x07\x02"
17890                           "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
17891                 .clen   = 64 + 64,
17892         }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
17893 #ifdef __LITTLE_ENDIAN
17894                 .key    = "\x08\x00"            /* rta length */
17895                           "\x01\x00"            /* rta type */
17896 #else
17897                 .key    = "\x00\x08"            /* rta length */
17898                           "\x00\x01"            /* rta type */
17899 #endif
17900                           "\x00\x00\x00\x20"    /* enc key length */
17901                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17902                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17903                           "\x22\x33\x44\x55\x66\x77\x88\x99"
17904                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17905                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
17906                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17907                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17908                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17909                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17910                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17911                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17912                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17913                 .klen   = 8 + 64 + 32,
17914                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17915                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17916                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17917                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17918                 .alen   = 16,
17919                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17920                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17921                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17922                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17923                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17924                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17925                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17926                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17927                 .plen   = 64,
17928                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17929                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17930                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17931                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17932                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17933                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17934                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17935                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17936                           "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
17937                           "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
17938                           "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
17939                           "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
17940                           "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
17941                           "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
17942                           "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
17943                           "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
17944                 .clen   = 64 + 64,
17945         },
17946 };
17947
17948 static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
17949         { /*Generated with cryptopp*/
17950 #ifdef __LITTLE_ENDIAN
17951                 .key    = "\x08\x00"            /* rta length */
17952                           "\x01\x00"            /* rta type */
17953 #else
17954         .key    = "\x00\x08"            /* rta length */
17955                           "\x00\x01"            /* rta type */
17956 #endif
17957                           "\x00\x00\x00\x08"    /* enc key length */
17958                           "\x11\x22\x33\x44\x55\x66\x77\x88"
17959                   "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17960                           "\x22\x33\x44\x55"
17961                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17962                 .klen   = 8 + 20 + 8,
17963                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17964                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17965                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17966                 .alen   = 16,
17967                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17968                           "\x53\x20\x63\x65\x65\x72\x73\x74"
17969                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17970                           "\x20\x79\x65\x53\x72\x63\x74\x65"
17971                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17972                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
17973                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17974                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
17975                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17976                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17977                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17978                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17979                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
17980                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17981                           "\x63\x65\x65\x72\x73\x74\x54\x20"
17982                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17983                 .plen   = 128,
17984                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17985                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17986                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17987                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17988                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17989                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17990                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17991                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17992                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17993                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17994                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17995                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17996                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17997                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17998                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17999                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
18000                           "\x95\x16\x20\x09\xf5\x95\x19\xfd"
18001                           "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
18002                           "\x5c\x44\xa9\x37",
18003                           .clen = 128 + 20,
18004         },
18005 };
18006
18007 static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
18008         { /*Generated with cryptopp*/
18009 #ifdef __LITTLE_ENDIAN
18010                 .key    = "\x08\x00"            /* rta length */
18011                           "\x01\x00"            /* rta type */
18012 #else
18013                 .key    = "\x00\x08"            /* rta length */
18014                           "\x00\x01"            /* rta type */
18015 #endif
18016                           "\x00\x00\x00\x08"    /* enc key length */
18017                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18018                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18019                   "\x22\x33\x44\x55\x66\x77\x88\x99"
18020                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
18021                 .klen   = 8 + 24 + 8,
18022                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18023                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18024                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18025                 .alen   = 16,
18026                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18027                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18028                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18029                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18030                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18031                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18032                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18033                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18034                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18035                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18036                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18037                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18038                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18039                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18040                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18041                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18042                 .plen   = 128,
18043                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
18044                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
18045                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
18046                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
18047                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
18048                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
18049                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
18050                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
18051                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
18052                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
18053                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
18054                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
18055                   "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
18056                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
18057                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
18058                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
18059                           "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
18060                           "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
18061                           "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
18062                 .clen   = 128 + 24,
18063         },
18064 };
18065
18066 static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
18067         { /*Generated with cryptopp*/
18068 #ifdef __LITTLE_ENDIAN
18069                 .key    = "\x08\x00"            /* rta length */
18070                           "\x01\x00"            /* rta type */
18071 #else
18072                 .key    = "\x00\x08"            /* rta length */
18073                           "\x00\x01"            /* rta type */
18074 #endif
18075                           "\x00\x00\x00\x08"    /* enc key length */
18076                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18077                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18078                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18079                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18080                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
18081                 .klen   = 8 + 32 + 8,
18082                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18083                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18084                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18085                 .alen   = 16,
18086                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18087                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18088                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18089                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18090                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18091                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18092                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18093                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18094                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18095                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18096                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18097                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18098                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18099                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18100                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18101                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18102                 .plen   = 128,
18103                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
18104                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
18105                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
18106                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
18107                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
18108                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
18109                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
18110                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
18111                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
18112                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
18113                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
18114                   "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
18115                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
18116                   "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
18117                   "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
18118                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
18119                           "\xc6\x58\xa1\x60\x70\x91\x39\x36"
18120                           "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
18121                           "\xde\x63\xde\x76\x52\xde\x9f\xba"
18122                           "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
18123                 .clen   = 128 + 32,
18124         },
18125 };
18126
18127 static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
18128         { /*Generated with cryptopp*/
18129 #ifdef __LITTLE_ENDIAN
18130                 .key    = "\x08\x00"            /* rta length */
18131                           "\x01\x00"            /* rta type */
18132 #else
18133                 .key    = "\x00\x08"            /* rta length */
18134                           "\x00\x01"            /* rta type */
18135 #endif
18136                           "\x00\x00\x00\x08"    /* enc key length */
18137                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18138                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18139                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18140                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18141                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18142                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18143                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
18144                 .klen   = 8 + 48 + 8,
18145                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18146                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18147                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18148                 .alen   = 16,
18149                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18150                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18151                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18152                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18153                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18154                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18155                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18156                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18157                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18158                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18159                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18160                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18161                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18162                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18163                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18164                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18165                 .plen   = 128,
18166                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
18167                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
18168                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
18169                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
18170                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
18171                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
18172                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
18173                           "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
18174                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
18175                           "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
18176                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
18177                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
18178                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
18179                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
18180                           "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
18181                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
18182                           "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
18183                           "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
18184                           "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
18185                           "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
18186                           "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
18187                           "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
18188                 .clen   = 128 + 48,
18189         },
18190 };
18191
18192 static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
18193         { /*Generated with cryptopp*/
18194 #ifdef __LITTLE_ENDIAN
18195                 .key    = "\x08\x00"            /* rta length */
18196                   "\x01\x00"            /* rta type */
18197 #else
18198                 .key    = "\x00\x08"            /* rta length */
18199                           "\x00\x01"            /* rta type */
18200 #endif
18201                           "\x00\x00\x00\x08"    /* enc key length */
18202                   "\x11\x22\x33\x44\x55\x66\x77\x88"
18203                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18204                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18205                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18206                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18207                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18208                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
18209                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
18210                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
18211                 .klen   = 8 + 64 + 8,
18212                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18213                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18214                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18215                 .alen   = 16,
18216                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18217                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18218                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18219                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18220                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18221                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18222                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18223                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18224                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18225                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18226                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18227                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18228                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18229                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18230                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18231                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18232                 .plen   = 128,
18233                 .ctext  = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
18234                           "\x54\x31\x85\x37\xed\x6b\x01\x8d"
18235                           "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
18236                           "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
18237                           "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
18238                           "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
18239                           "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
18240                   "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
18241                           "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
18242                   "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
18243                           "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
18244                           "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
18245                           "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
18246                           "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
18247                   "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
18248                           "\x53\xba\xe1\x76\xe3\x82\x07\x86"
18249                           "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
18250                           "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
18251                           "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
18252                           "\x58\x83\xda\x67\xfb\x21\x24\xa2"
18253                           "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
18254                           "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
18255                           "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
18256                           "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
18257                 .clen   = 128 + 64,
18258         },
18259 };
18260
18261 static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
18262         { /*Generated with cryptopp*/
18263 #ifdef __LITTLE_ENDIAN
18264                 .key    = "\x08\x00"            /* rta length */
18265                           "\x01\x00"            /* rta type */
18266 #else
18267                 .key    = "\x00\x08"            /* rta length */
18268                           "\x00\x01"            /* rta type */
18269 #endif
18270                           "\x00\x00\x00\x18"    /* enc key length */
18271                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18272                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18273                           "\x22\x33\x44\x55"
18274                   "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18275                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18276                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18277                 .klen   = 8 + 20 + 24,
18278                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18279                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18280                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18281                 .alen   = 16,
18282                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18283                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18284                   "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18285                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18286                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18287                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18288                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18289                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18290                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18291                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18292                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18293                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18294                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18295                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18296                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18297                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18298                 .plen   = 128,
18299                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18300                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18301                   "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18302                   "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18303                   "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18304                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18305                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18306                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18307                   "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18308                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18309                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18310                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18311                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18312                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18313                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18314                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18315                           "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
18316                           "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
18317                           "\xd1\x60\x91\xb3",
18318                           .clen = 128 + 20,
18319         },
18320 };
18321
18322 static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
18323         { /*Generated with cryptopp*/
18324 #ifdef __LITTLE_ENDIAN
18325                 .key    = "\x08\x00"            /* rta length */
18326                           "\x01\x00"            /* rta type */
18327 #else
18328                 .key    = "\x00\x08"            /* rta length */
18329                           "\x00\x01"            /* rta type */
18330 #endif
18331                           "\x00\x00\x00\x18"    /* enc key length */
18332                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18333                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18334                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18335                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18336                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18337                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18338                 .klen   = 8 + 24 + 24,
18339                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18340                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18341                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18342                 .alen   = 16,
18343                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18344                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18345                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18346                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18347                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18348                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18349                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18350                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18351                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18352                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18353                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18354                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18355                   "\x72\x63\x74\x65\x20\x73\x6f\x54"
18356                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18357                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18358                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18359                 .plen   = 128,
18360                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18361                   "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18362                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18363                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18364                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18365                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18366                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18367                   "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18368                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18369                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18370                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18371                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18372                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18373                   "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18374                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18375                   "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18376                           "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
18377                           "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
18378                           "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
18379                           .clen = 128 + 24,
18380         },
18381 };
18382
18383 static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
18384         { /*Generated with cryptopp*/
18385 #ifdef __LITTLE_ENDIAN
18386                 .key    = "\x08\x00"            /* rta length */
18387                           "\x01\x00"            /* rta type */
18388 #else
18389                 .key    = "\x00\x08"            /* rta length */
18390                           "\x00\x01"            /* rta type */
18391 #endif
18392                           "\x00\x00\x00\x18"    /* enc key length */
18393                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18394                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18395                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18396                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18397                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18398                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18399                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18400                 .klen   = 8 + 32 + 24,
18401                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18402                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18403                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18404                 .alen   = 16,
18405                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18406                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18407                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18408                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18409                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18410                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18411                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18412                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18413                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18414                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18415                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18416                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18417                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18418                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18419                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18420                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18421                 .plen   = 128,
18422                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18423                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18424                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18425                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18426                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18427                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18428                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18429                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18430                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18431                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18432                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18433                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18434                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18435                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18436                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18437                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18438                           "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
18439                           "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
18440                           "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
18441                           "\xca\x43\x95\xdf\x80\x61\x81\xa9",
18442                 .clen   = 128 + 32,
18443         },
18444 };
18445
18446 static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
18447         { /*Generated with cryptopp*/
18448 #ifdef __LITTLE_ENDIAN
18449                 .key    = "\x08\x00"            /* rta length */
18450                           "\x01\x00"            /* rta type */
18451 #else
18452                 .key    = "\x00\x08"            /* rta length */
18453                           "\x00\x01"            /* rta type */
18454 #endif
18455                           "\x00\x00\x00\x18"    /* enc key length */
18456                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18457                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18458                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18459                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18460                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18461                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18462                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18463                           "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18464                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18465                 .klen   = 8 + 48 + 24,
18466                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18467                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18468                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18469                 .alen   = 16,
18470                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18471                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18472                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18473                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18474                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18475                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18476                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18477                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18478                           "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18479                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18480                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18481                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18482                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18483                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18484                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18485                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18486                 .plen   = 128,
18487                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18488                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18489                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18490                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18491                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18492                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18493                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18494                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18495                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18496                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18497                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18498                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18499                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18500                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18501                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18502                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18503                           "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
18504                   "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
18505                           "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
18506                           "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
18507                           "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
18508                           "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
18509                 .clen   = 128 + 48,
18510         },
18511 };
18512
18513 static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
18514         { /*Generated with cryptopp*/
18515 #ifdef __LITTLE_ENDIAN
18516                 .key    = "\x08\x00"            /* rta length */
18517                           "\x01\x00"            /* rta type */
18518 #else
18519                 .key    = "\x00\x08"            /* rta length */
18520                           "\x00\x01"            /* rta type */
18521 #endif
18522                           "\x00\x00\x00\x18"    /* enc key length */
18523                           "\x11\x22\x33\x44\x55\x66\x77\x88"
18524                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18525                           "\x22\x33\x44\x55\x66\x77\x88\x99"
18526                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18527                           "\x33\x44\x55\x66\x77\x88\x99\xaa"
18528                           "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18529                           "\x44\x55\x66\x77\x88\x99\xaa\xbb"
18530                           "\xcc\xdd\xee\xff\x11\x22\x33\x44"
18531                           "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18532                   "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18533                           "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18534                 .klen   = 8 + 64 + 24,
18535                 .iv     = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18536                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18537                           "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18538                 .alen   = 16,
18539                 .ptext  = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18540                           "\x53\x20\x63\x65\x65\x72\x73\x74"
18541                           "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18542                           "\x20\x79\x65\x53\x72\x63\x74\x65"
18543                           "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18544                           "\x79\x6e\x53\x20\x63\x65\x65\x72"
18545                           "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18546                           "\x6e\x61\x20\x79\x65\x53\x72\x63"
18547                   "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18548                           "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18549                           "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18550                           "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18551                           "\x72\x63\x74\x65\x20\x73\x6f\x54"
18552                           "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18553                           "\x63\x65\x65\x72\x73\x74\x54\x20"
18554                           "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18555                 .plen   = 128,
18556                 .ctext  = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18557                           "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18558                           "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18559                           "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18560                           "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18561                           "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18562                           "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18563                           "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18564                           "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18565                           "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18566                           "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18567                           "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18568                           "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18569                           "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18570                           "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18571                           "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18572                           "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
18573                           "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
18574                           "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
18575                           "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
18576                           "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
18577                           "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
18578                           "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
18579                           "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
18580                 .clen   = 128 + 64,
18581         },
18582 };
18583
18584 static const struct cipher_testvec aes_lrw_tv_template[] = {
18585         /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
18586         { /* LRW-32-AES 1 */
18587                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
18588                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
18589                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
18590                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
18591                 .klen   = 32,
18592                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18593                           "\x00\x00\x00\x00\x00\x00\x00\x01",
18594                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18595                           "\x38\x39\x41\x42\x43\x44\x45\x46",
18596                 .ctext  = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
18597                           "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
18598                 .len    = 16,
18599         }, { /* LRW-32-AES 2 */
18600                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
18601                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
18602                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
18603                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
18604                 .klen   = 32,
18605                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18606                           "\x00\x00\x00\x00\x00\x00\x00\x02",
18607                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18608                           "\x38\x39\x41\x42\x43\x44\x45\x46",
18609                 .ctext  = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
18610                           "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
18611                 .len    = 16,
18612         }, { /* LRW-32-AES 3 */
18613                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
18614                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
18615                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
18616                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
18617                 .klen   = 32,
18618                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18619                           "\x00\x00\x00\x02\x00\x00\x00\x00",
18620                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18621                           "\x38\x39\x41\x42\x43\x44\x45\x46",
18622                 .ctext  = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
18623                           "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
18624                 .len    = 16,
18625         }, { /* LRW-32-AES 4 */
18626                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
18627                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
18628                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
18629                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
18630                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
18631                 .klen   = 40,
18632                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18633                           "\x00\x00\x00\x00\x00\x00\x00\x01",
18634                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18635                           "\x38\x39\x41\x42\x43\x44\x45\x46",
18636                 .ctext  = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
18637                           "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
18638                 .len    = 16,
18639         }, { /* LRW-32-AES 5 */
18640                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
18641                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
18642                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
18643                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
18644                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
18645                 .klen   = 40,
18646                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18647                           "\x00\x00\x00\x02\x00\x00\x00\x00",
18648                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18649                           "\x38\x39\x41\x42\x43\x44\x45\x46",
18650                 .ctext  = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
18651                           "\xc8\x60\x48\x02\x87\xe3\x34\x06",
18652                 .len    = 16,
18653         }, { /* LRW-32-AES 6 */
18654                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18655                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18656                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18657                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18658                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18659                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18660                 .klen   = 48,
18661                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18662                           "\x00\x00\x00\x00\x00\x00\x00\x01",
18663                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18664                           "\x38\x39\x41\x42\x43\x44\x45\x46",
18665                 .ctext  = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
18666                           "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
18667                 .len    = 16,
18668         }, { /* LRW-32-AES 7 */
18669                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
18670                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
18671                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
18672                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
18673                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
18674                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
18675                 .klen   = 48,
18676                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18677                           "\x00\x00\x00\x02\x00\x00\x00\x00",
18678                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18679                           "\x38\x39\x41\x42\x43\x44\x45\x46",
18680                 .ctext  = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
18681                           "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
18682                 .len    = 16,
18683         }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
18684                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
18685                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
18686                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
18687                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
18688                 .klen   = 32,
18689                 .iv     = "\xff\xff\xff\xff\xff\xff\xff\xff"
18690                           "\xff\xff\xff\xff\xff\xff\xff\xff",
18691                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18692                           "\x38\x39\x41\x42\x43\x44\x45\x46"
18693                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18694                           "\x38\x39\x41\x42\x43\x44\x45\x46"
18695                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18696                           "\x38\x39\x41\x42\x43\x44\x45\x46",
18697                 .ctext  = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
18698                           "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
18699                           "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
18700                           "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
18701                           "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
18702                           "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
18703                 .len    = 48,
18704         }, {
18705 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
18706                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18707                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18708                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18709                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18710                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18711                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18712                 .klen   = 48,
18713                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18714                           "\x00\x00\x00\x00\x00\x00\x00\x01",
18715                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
18716                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
18717                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
18718                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
18719                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
18720                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
18721                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
18722                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
18723                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
18724                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
18725                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
18726                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
18727                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
18728                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
18729                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
18730                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
18731                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
18732                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
18733                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
18734                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
18735                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
18736                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
18737                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
18738                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
18739                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
18740                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
18741                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
18742                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
18743                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
18744                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
18745                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
18746                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
18747                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
18748                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
18749                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
18750                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
18751                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
18752                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
18753                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
18754                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
18755                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
18756                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
18757                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
18758                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
18759                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
18760                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
18761                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
18762                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
18763                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
18764                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
18765                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
18766                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
18767                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
18768                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
18769                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
18770                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
18771                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
18772                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
18773                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
18774                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
18775                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
18776                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
18777                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
18778                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
18779                 .ctext  = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
18780                           "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
18781                           "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
18782                           "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
18783                           "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
18784                           "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
18785                           "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
18786                           "\xe8\x58\x46\x97\x39\x51\x07\xde"
18787                           "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
18788                           "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
18789                           "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
18790                           "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
18791                           "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
18792                           "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
18793                           "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
18794                           "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
18795                           "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
18796                           "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
18797                           "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
18798                           "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
18799                           "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
18800                           "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
18801                           "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
18802                           "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
18803                           "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
18804                           "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
18805                           "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
18806                           "\x41\x30\x58\xc5\x62\x74\x52\x1d"
18807                           "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
18808                           "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
18809                           "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
18810                           "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
18811                           "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
18812                           "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
18813                           "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
18814                           "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
18815                           "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
18816                           "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
18817                           "\xb8\x79\x78\x97\x94\xff\x72\x13"
18818                           "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
18819                           "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18820                           "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18821                           "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18822                           "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18823                           "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18824                           "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18825                           "\x1e\x86\x53\x11\x53\x94\x00\xee"
18826                           "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18827                           "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18828                           "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18829                           "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18830                           "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18831                           "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18832                           "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18833                           "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18834                           "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18835                           "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18836                           "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18837                           "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18838                           "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18839                           "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18840                           "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18841                           "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18842                           "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18843                 .len    = 512,
18844         }
18845 };
18846
18847 static const struct cipher_testvec aes_xts_tv_template[] = {
18848         /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18849         { /* XTS-AES 1 */
18850                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18851                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18852                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18853                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18854                 .klen   = 32,
18855                 .fips_skip = 1,
18856                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18857                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18858                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18859                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18860                           "\x00\x00\x00\x00\x00\x00\x00\x00"
18861                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18862                 .ctext  = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18863                           "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18864                           "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18865                           "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18866                 .len    = 32,
18867         }, { /* XTS-AES 2 */
18868                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
18869                           "\x11\x11\x11\x11\x11\x11\x11\x11"
18870                           "\x22\x22\x22\x22\x22\x22\x22\x22"
18871                           "\x22\x22\x22\x22\x22\x22\x22\x22",
18872                 .klen   = 32,
18873                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18874                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18875                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18876                           "\x44\x44\x44\x44\x44\x44\x44\x44"
18877                           "\x44\x44\x44\x44\x44\x44\x44\x44"
18878                           "\x44\x44\x44\x44\x44\x44\x44\x44",
18879                 .ctext  = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18880                           "\x39\x33\x40\x38\xac\xef\x83\x8b"
18881                           "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18882                           "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18883                 .len    = 32,
18884         }, { /* XTS-AES 3 */
18885                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18886                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18887                           "\x22\x22\x22\x22\x22\x22\x22\x22"
18888                           "\x22\x22\x22\x22\x22\x22\x22\x22",
18889                 .klen   = 32,
18890                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18891                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18892                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18893                           "\x44\x44\x44\x44\x44\x44\x44\x44"
18894                           "\x44\x44\x44\x44\x44\x44\x44\x44"
18895                           "\x44\x44\x44\x44\x44\x44\x44\x44",
18896                 .ctext  = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18897                           "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18898                           "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18899                           "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18900                 .len    = 32,
18901         }, { /* XTS-AES 4 */
18902                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18903                           "\x23\x53\x60\x28\x74\x71\x35\x26"
18904                           "\x31\x41\x59\x26\x53\x58\x97\x93"
18905                           "\x23\x84\x62\x64\x33\x83\x27\x95",
18906                 .klen   = 32,
18907                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18908                           "\x00\x00\x00\x00\x00\x00\x00\x00",
18909                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18910                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18911                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18912                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18913                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18914                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18915                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18916                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18917                           "\x40\x41\x42\x43\x44\x45\x46\x47"
18918                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18919                           "\x50\x51\x52\x53\x54\x55\x56\x57"
18920                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18921                           "\x60\x61\x62\x63\x64\x65\x66\x67"
18922                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18923                           "\x70\x71\x72\x73\x74\x75\x76\x77"
18924                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18925                           "\x80\x81\x82\x83\x84\x85\x86\x87"
18926                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18927                           "\x90\x91\x92\x93\x94\x95\x96\x97"
18928                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18929                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18930                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18931                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18932                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18933                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18934                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18935                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18936                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18937                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18938                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18939                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18940                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18941                           "\x00\x01\x02\x03\x04\x05\x06\x07"
18942                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18943                           "\x10\x11\x12\x13\x14\x15\x16\x17"
18944                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18945                           "\x20\x21\x22\x23\x24\x25\x26\x27"
18946                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18947                           "\x30\x31\x32\x33\x34\x35\x36\x37"
18948                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18949                           "\x40\x41\x42\x43\x44\x45\x46\x47"
18950                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18951                           "\x50\x51\x52\x53\x54\x55\x56\x57"
18952                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18953                           "\x60\x61\x62\x63\x64\x65\x66\x67"
18954                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18955                           "\x70\x71\x72\x73\x74\x75\x76\x77"
18956                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18957                           "\x80\x81\x82\x83\x84\x85\x86\x87"
18958                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18959                           "\x90\x91\x92\x93\x94\x95\x96\x97"
18960                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18961                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18962                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18963                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18964                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18965                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18966                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18967                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18968                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18969                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18970                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18971                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18972                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18973                 .ctext  = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18974                           "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18975                           "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18976                           "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18977                           "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18978                           "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18979                           "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18980                           "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18981                           "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18982                           "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18983                           "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18984                           "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18985                           "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18986                           "\x22\x97\x61\x46\xae\x20\xce\x84"
18987                           "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18988                           "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18989                           "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18990                           "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18991                           "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18992                           "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18993                           "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18994                           "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18995                           "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18996                           "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18997                           "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18998                           "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18999                           "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
19000                           "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
19001                           "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
19002                           "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
19003                           "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
19004                           "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
19005                           "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
19006                           "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
19007                           "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
19008                           "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
19009                           "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
19010                           "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
19011                           "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
19012                           "\x55\xef\x52\x97\xca\x67\xe9\xf3"
19013                           "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
19014                           "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
19015                           "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
19016                           "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
19017                           "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
19018                           "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
19019                           "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
19020                           "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
19021                           "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
19022                           "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
19023                           "\x18\x84\x69\x77\xae\x11\x9f\x7a"
19024                           "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
19025                           "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
19026                           "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
19027                           "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
19028                           "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
19029                           "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
19030                           "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
19031                           "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
19032                           "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
19033                           "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
19034                           "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
19035                           "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
19036                           "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
19037                 .len    = 512,
19038         }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
19039                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
19040                           "\x23\x53\x60\x28\x74\x71\x35\x26"
19041                           "\x62\x49\x77\x57\x24\x70\x93\x69"
19042                           "\x99\x59\x57\x49\x66\x96\x76\x27"
19043                           "\x31\x41\x59\x26\x53\x58\x97\x93"
19044                           "\x23\x84\x62\x64\x33\x83\x27\x95"
19045                           "\x02\x88\x41\x97\x16\x93\x99\x37"
19046                           "\x51\x05\x82\x09\x74\x94\x45\x92",
19047                 .klen   = 64,
19048                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
19049                           "\x00\x00\x00\x00\x00\x00\x00\x00",
19050                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
19051                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19052                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19053                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19054                           "\x20\x21\x22\x23\x24\x25\x26\x27"
19055                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19056                           "\x30\x31\x32\x33\x34\x35\x36\x37"
19057                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19058                           "\x40\x41\x42\x43\x44\x45\x46\x47"
19059                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19060                           "\x50\x51\x52\x53\x54\x55\x56\x57"
19061                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19062                           "\x60\x61\x62\x63\x64\x65\x66\x67"
19063                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19064                           "\x70\x71\x72\x73\x74\x75\x76\x77"
19065                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19066                           "\x80\x81\x82\x83\x84\x85\x86\x87"
19067                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19068                           "\x90\x91\x92\x93\x94\x95\x96\x97"
19069                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19070                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19071                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19072                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19073                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19074                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19075                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19076                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19077                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19078                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19079                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19080                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19081                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19082                           "\x00\x01\x02\x03\x04\x05\x06\x07"
19083                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19084                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19085                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19086                           "\x20\x21\x22\x23\x24\x25\x26\x27"
19087                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19088                           "\x30\x31\x32\x33\x34\x35\x36\x37"
19089                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19090                           "\x40\x41\x42\x43\x44\x45\x46\x47"
19091                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19092                           "\x50\x51\x52\x53\x54\x55\x56\x57"
19093                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19094                           "\x60\x61\x62\x63\x64\x65\x66\x67"
19095                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19096                           "\x70\x71\x72\x73\x74\x75\x76\x77"
19097                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19098                           "\x80\x81\x82\x83\x84\x85\x86\x87"
19099                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19100                           "\x90\x91\x92\x93\x94\x95\x96\x97"
19101                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19102                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19103                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19104                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19105                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19106                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19107                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19108                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19109                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19110                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19111                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19112                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19113                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19114                 .ctext  = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
19115                           "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
19116                           "\xea\x00\x80\x3f\x5e\x48\x23\x57"
19117                           "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
19118                           "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
19119                           "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
19120                           "\x68\x0a\x86\xac\x35\xad\xfc\x33"
19121                           "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
19122                           "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
19123                           "\xb1\x08\xfd\x10\x98\xba\xec\x70"
19124                           "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
19125                           "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
19126                           "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
19127                           "\xae\xba\x12\x29\x61\xd0\x3a\x75"
19128                           "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
19129                           "\x00\x02\x08\x87\x89\x14\x29\xca"
19130                           "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
19131                           "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
19132                           "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
19133                           "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
19134                           "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
19135                           "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
19136                           "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
19137                           "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
19138                           "\x93\xec\x05\xc5\x2e\x04\x93\xef"
19139                           "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
19140                           "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
19141                           "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
19142                           "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
19143                           "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
19144                           "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
19145                           "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
19146                           "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
19147                           "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
19148                           "\xbc\x48\x14\x57\x77\x8f\x61\x60"
19149                           "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
19150                           "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
19151                           "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
19152                           "\xf4\xc3\x33\xec\x44\x23\x88\x51"
19153                           "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
19154                           "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
19155                           "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
19156                           "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
19157                           "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
19158                           "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
19159                           "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
19160                           "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
19161                           "\x92\x5f\xed\xc4\xae\x74\xff\xac"
19162                           "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
19163                           "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
19164                           "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
19165                           "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
19166                           "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
19167                           "\x94\x30\x54\xff\x84\x01\x14\x93"
19168                           "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
19169                           "\x53\x76\x44\x1a\x77\xed\x43\x85"
19170                           "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
19171                           "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
19172                           "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
19173                           "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
19174                           "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
19175                           "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
19176                           "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
19177                           "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
19178                 .len    = 512,
19179         }
19180 };
19181
19182 static const struct cipher_testvec aes_ctr_tv_template[] = {
19183         { /* From NIST Special Publication 800-38A, Appendix F.5 */
19184                 .key    = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19185                           "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19186                 .klen   = 16,
19187                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19188                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19189                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19190                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
19191                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19192                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19193                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19194                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19195                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19196                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19197                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19198                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19199                 .ctext  = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
19200                           "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
19201                           "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
19202                           "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
19203                           "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
19204                           "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
19205                           "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
19206                           "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
19207                 .len    = 64,
19208         }, {
19209                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
19210                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
19211                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
19212                 .klen   = 24,
19213                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19214                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19215                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19216                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
19217                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19218                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19219                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19220                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19221                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19222                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19223                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19224                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19225                 .ctext  = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
19226                           "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
19227                           "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
19228                           "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
19229                           "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
19230                           "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
19231                           "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
19232                           "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
19233                 .len    = 64,
19234         }, {
19235                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
19236                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
19237                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
19238                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
19239                 .klen   = 32,
19240                 .iv     = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19241                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19242                 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19243                           "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
19244                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19245                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19246                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19247                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19248                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19249                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19250                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19251                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19252                 .ctext  = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
19253                           "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
19254                           "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
19255                           "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19256                           "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19257                           "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19258                           "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19259                           "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19260                 .len    = 64,
19261         }, { /* Generated with Crypto++ */
19262                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19263                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19264                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19265                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19266                 .klen   = 32,
19267                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19268                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19269                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
19270                           "\x00\x00\x00\x00\x00\x00\x00\x1C",
19271                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19272                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19273                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19274                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19275                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19276                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19277                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19278                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19279                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19280                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19281                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19282                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19283                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19284                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19285                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19286                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19287                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19288                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19289                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19290                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19291                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19292                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19293                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19294                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19295                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19296                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19297                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19298                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19299                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19300                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19301                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19302                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19303                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19304                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19305                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19306                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19307                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19308                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19309                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19310                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19311                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19312                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19313                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19314                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19315                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19316                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19317                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19318                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19319                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19320                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19321                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19322                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19323                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19324                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19325                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19326                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19327                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19328                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19329                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19330                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19331                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19332                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19333                 .ctext  = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19334                           "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19335                           "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19336                           "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19337                           "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19338                           "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19339                           "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19340                           "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19341                           "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19342                           "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19343                           "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19344                           "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19345                           "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19346                           "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19347                           "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19348                           "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19349                           "\x34\x4B\x31\x69\x84\x66\x96\x44"
19350                           "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19351                           "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19352                           "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19353                           "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19354                           "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19355                           "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19356                           "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19357                           "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19358                           "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19359                           "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19360                           "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19361                           "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19362                           "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19363                           "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19364                           "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19365                           "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19366                           "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19367                           "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19368                           "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19369                           "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19370                           "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19371                           "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19372                           "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19373                           "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19374                           "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19375                           "\x85\x99\x22\xE8\x91\x38\x70\x83"
19376                           "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19377                           "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19378                           "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19379                           "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19380                           "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19381                           "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19382                           "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19383                           "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19384                           "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19385                           "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19386                           "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19387                           "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19388                           "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19389                           "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19390                           "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19391                           "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19392                           "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19393                           "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19394                           "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19395                 .len    = 496,
19396         }, { /* Generated with Crypto++ */
19397                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19398                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19399                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19400                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19401                 .klen   = 32,
19402                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19403                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19404                 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19405                           "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
19406                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19407                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19408                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19409                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19410                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19411                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19412                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19413                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19414                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19415                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19416                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19417                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19418                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19419                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19420                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19421                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19422                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19423                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19424                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19425                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19426                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19427                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19428                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19429                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19430                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19431                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19432                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19433                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19434                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19435                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19436                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19437                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19438                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19439                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19440                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19441                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19442                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19443                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19444                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19445                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19446                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19447                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19448                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19449                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19450                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19451                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19452                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19453                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19454                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19455                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19456                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19457                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19458                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19459                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19460                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19461                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19462                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19463                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19464                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19465                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19466                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19467                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19468                           "\x7B\xE4\x4D",
19469                 .ctext  = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19470                           "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19471                           "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19472                           "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19473                           "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19474                           "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19475                           "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19476                           "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19477                           "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19478                           "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19479                           "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19480                           "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19481                           "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19482                           "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19483                           "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19484                           "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19485                           "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19486                           "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19487                           "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19488                           "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19489                           "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19490                           "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19491                           "\x45\x18\x18\x74\x19\xAD\x71\x01"
19492                           "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19493                           "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19494                           "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19495                           "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19496                           "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19497                           "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19498                           "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19499                           "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19500                           "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19501                           "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19502                           "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19503                           "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19504                           "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19505                           "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19506                           "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19507                           "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19508                           "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19509                           "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19510                           "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19511                           "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19512                           "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19513                           "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19514                           "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19515                           "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19516                           "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19517                           "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19518                           "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19519                           "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19520                           "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19521                           "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19522                           "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19523                           "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19524                           "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19525                           "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19526                           "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19527                           "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19528                           "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19529                           "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19530                           "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19531                           "\xFB\xF2\x3F",
19532                 .len    = 499,
19533         },
19534 };
19535
19536 static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
19537         { /* From RFC 3686 */
19538                 .key    = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
19539                           "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
19540                           "\x00\x00\x00\x30",
19541                 .klen   = 20,
19542                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
19543                 .ptext  = "Single block msg",
19544                 .ctext  = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
19545                           "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
19546                 .len    = 16,
19547         }, {
19548                 .key    = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
19549                           "\x43\xd6\xce\x1f\x32\x53\x91\x63"
19550                           "\x00\x6c\xb6\xdb",
19551                 .klen   = 20,
19552                 .iv     = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
19553                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
19554                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19555                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19556                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19557                 .ctext  = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
19558                           "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
19559                           "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
19560                           "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
19561                 .len    = 32,
19562         }, {
19563                 .key    = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
19564                           "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
19565                           "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
19566                           "\x00\x00\x00\x48",
19567                 .klen   = 28,
19568                 .iv     = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
19569                 .ptext  = "Single block msg",
19570                 .ctext  = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
19571                           "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
19572                 .len    = 16,
19573         }, {
19574                 .key    = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
19575                           "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
19576                           "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
19577                           "\x00\x96\xb0\x3b",
19578                 .klen   = 28,
19579                 .iv     = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
19580                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
19581                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19582                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19583                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19584                 .ctext  = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
19585                           "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
19586                           "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
19587                           "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
19588                 .len    = 32,
19589         }, {
19590                 .key    = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
19591                           "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
19592                           "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
19593                           "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
19594                           "\x00\x00\x00\x60",
19595                 .klen   = 36,
19596                 .iv     = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
19597                 .ptext  = "Single block msg",
19598                 .ctext  = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
19599                           "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
19600                 .len    = 16,
19601         }, {
19602                 .key    = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
19603                           "\x07\x96\x36\x58\x79\xef\xf8\x86"
19604                           "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
19605                           "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
19606                           "\x00\xfa\xac\x24",
19607                 .klen   = 36,
19608                 .iv     = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
19609                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
19610                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19611                           "\x10\x11\x12\x13\x14\x15\x16\x17"
19612                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19613                 .ctext  = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
19614                           "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
19615                           "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
19616                           "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
19617                 .len    = 32,
19618         }, {
19619         // generated using Crypto++
19620                 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
19621                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19622                         "\x10\x11\x12\x13\x14\x15\x16\x17"
19623                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19624                         "\x00\x00\x00\x00",
19625                 .klen = 32 + 4,
19626                 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
19627                 .ptext =
19628                         "\x00\x01\x02\x03\x04\x05\x06\x07"
19629                         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19630                         "\x10\x11\x12\x13\x14\x15\x16\x17"
19631                         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19632                         "\x20\x21\x22\x23\x24\x25\x26\x27"
19633                         "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19634                         "\x30\x31\x32\x33\x34\x35\x36\x37"
19635                         "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19636                         "\x40\x41\x42\x43\x44\x45\x46\x47"
19637                         "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19638                         "\x50\x51\x52\x53\x54\x55\x56\x57"
19639                         "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19640                         "\x60\x61\x62\x63\x64\x65\x66\x67"
19641                         "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19642                         "\x70\x71\x72\x73\x74\x75\x76\x77"
19643                         "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19644                         "\x80\x81\x82\x83\x84\x85\x86\x87"
19645                         "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19646                         "\x90\x91\x92\x93\x94\x95\x96\x97"
19647                         "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19648                         "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19649                         "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19650                         "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19651                         "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19652                         "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19653                         "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19654                         "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19655                         "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19656                         "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19657                         "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19658                         "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19659                         "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19660                         "\x00\x03\x06\x09\x0c\x0f\x12\x15"
19661                         "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
19662                         "\x30\x33\x36\x39\x3c\x3f\x42\x45"
19663                         "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
19664                         "\x60\x63\x66\x69\x6c\x6f\x72\x75"
19665                         "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
19666                         "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
19667                         "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
19668                         "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
19669                         "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
19670                         "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
19671                         "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
19672                         "\x20\x23\x26\x29\x2c\x2f\x32\x35"
19673                         "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
19674                         "\x50\x53\x56\x59\x5c\x5f\x62\x65"
19675                         "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
19676                         "\x80\x83\x86\x89\x8c\x8f\x92\x95"
19677                         "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
19678                         "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
19679                         "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
19680                         "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
19681                         "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
19682                         "\x10\x13\x16\x19\x1c\x1f\x22\x25"
19683                         "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
19684                         "\x40\x43\x46\x49\x4c\x4f\x52\x55"
19685                         "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
19686                         "\x70\x73\x76\x79\x7c\x7f\x82\x85"
19687                         "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
19688                         "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
19689                         "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
19690                         "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
19691                         "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
19692                         "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
19693                         "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
19694                         "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
19695                         "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
19696                         "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
19697                         "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
19698                         "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
19699                         "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
19700                         "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
19701                         "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
19702                         "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
19703                         "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
19704                         "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
19705                         "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
19706                         "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
19707                         "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
19708                         "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
19709                         "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
19710                         "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
19711                         "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
19712                         "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
19713                         "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
19714                         "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
19715                         "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
19716                         "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
19717                         "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
19718                         "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
19719                         "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
19720                         "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
19721                         "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
19722                         "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
19723                         "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
19724                         "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
19725                         "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
19726                         "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
19727                         "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
19728                         "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
19729                         "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
19730                         "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
19731                         "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
19732                         "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
19733                         "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
19734                         "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
19735                         "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
19736                         "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
19737                         "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
19738                         "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
19739                         "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
19740                         "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
19741                         "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
19742                         "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
19743                         "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
19744                         "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
19745                         "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
19746                         "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
19747                         "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
19748                         "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
19749                         "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
19750                         "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
19751                         "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
19752                         "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
19753                         "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
19754                         "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
19755                         "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
19756                         "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
19757                         "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
19758                         "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
19759                         "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
19760                         "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
19761                         "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
19762                         "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
19763                         "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
19764                         "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
19765                         "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
19766                         "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
19767                         "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
19768                         "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
19769                         "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
19770                         "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
19771                         "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
19772                         "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
19773                         "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
19774                         "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
19775                         "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
19776                         "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
19777                         "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
19778                         "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
19779                         "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
19780                         "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
19781                         "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
19782                         "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
19783                         "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
19784                         "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
19785                         "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
19786                         "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
19787                         "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
19788                         "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
19789                         "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
19790                         "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
19791                         "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
19792                         "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
19793                         "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
19794                         "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
19795                         "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
19796                         "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
19797                         "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
19798                         "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
19799                         "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
19800                         "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
19801                         "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
19802                         "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
19803                         "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
19804                         "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
19805                         "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
19806                         "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
19807                         "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
19808                         "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
19809                         "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
19810                         "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
19811                         "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
19812                         "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
19813                         "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
19814                         "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
19815                         "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
19816                         "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
19817                         "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
19818                         "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
19819                         "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
19820                         "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
19821                         "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
19822                         "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
19823                         "\x38\x45\x52\x5f\x6c\x79\x86\x93"
19824                         "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
19825                         "\x08\x15\x22\x2f\x3c\x49\x56\x63"
19826                         "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
19827                         "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
19828                         "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
19829                         "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
19830                         "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
19831                         "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
19832                         "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
19833                         "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
19834                         "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
19835                         "\x18\x25\x32\x3f\x4c\x59\x66\x73"
19836                         "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
19837                         "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
19838                         "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
19839                         "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
19840                         "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
19841                         "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
19842                         "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
19843                         "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
19844                         "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
19845                         "\x28\x35\x42\x4f\x5c\x69\x76\x83"
19846                         "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
19847                         "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
19848                         "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
19849                         "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
19850                         "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
19851                         "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
19852                         "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
19853                         "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
19854                         "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
19855                         "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
19856                         "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
19857                         "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
19858                         "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
19859                         "\x48\x57\x66\x75\x84\x93\xa2\xb1"
19860                         "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
19861                         "\x38\x47\x56\x65\x74\x83\x92\xa1"
19862                         "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
19863                         "\x28\x37\x46\x55\x64\x73\x82\x91"
19864                         "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
19865                         "\x18\x27\x36\x45\x54\x63\x72\x81"
19866                         "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
19867                         "\x08\x17\x26\x35\x44\x53\x62\x71"
19868                         "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
19869                         "\xf8\x07\x16\x25\x34\x43\x52\x61"
19870                         "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
19871                         "\xe8\xf7\x06\x15\x24\x33\x42\x51"
19872                         "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
19873                         "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
19874                         "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
19875                         "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
19876                         "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
19877                         "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
19878                         "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
19879                         "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
19880                         "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
19881                         "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
19882                         "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
19883                         "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
19884                         "\x00\x11\x22\x33\x44\x55\x66\x77"
19885                         "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
19886                         "\x10\x21\x32\x43\x54\x65\x76\x87"
19887                         "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
19888                         "\x20\x31\x42\x53\x64\x75\x86\x97"
19889                         "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
19890                         "\x30\x41\x52\x63\x74\x85\x96\xa7"
19891                         "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
19892                         "\x40\x51\x62\x73\x84\x95\xa6\xb7"
19893                         "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
19894                         "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
19895                         "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
19896                         "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
19897                         "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
19898                         "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
19899                         "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
19900                         "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
19901                         "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
19902                         "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
19903                         "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
19904                         "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
19905                         "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
19906                         "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
19907                         "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
19908                         "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
19909                         "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
19910                         "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
19911                         "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
19912                         "\xe0\xf1\x02\x13\x24\x35\x46\x57"
19913                         "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
19914                         "\xf0\x01\x12\x23\x34\x45\x56\x67"
19915                         "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
19916                         "\x00\x13\x26\x39\x4c\x5f\x72\x85"
19917                         "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
19918                         "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
19919                         "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
19920                         "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
19921                         "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
19922                         "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
19923                         "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
19924                         "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
19925                         "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
19926                         "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
19927                         "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
19928                         "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
19929                         "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
19930                         "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
19931                         "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
19932                         "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
19933                         "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
19934                         "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
19935                         "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
19936                         "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
19937                         "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
19938                         "\x10\x23\x36\x49\x5c\x6f\x82\x95"
19939                         "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
19940                         "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
19941                         "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
19942                         "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
19943                         "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
19944                         "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
19945                         "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
19946                         "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
19947                         "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
19948                         "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
19949                         "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
19950                         "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
19951                         "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
19952                         "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
19953                         "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
19954                         "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
19955                         "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
19956                         "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
19957                         "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
19958                         "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
19959                         "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
19960                         "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
19961                         "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
19962                         "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
19963                         "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
19964                         "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
19965                         "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
19966                         "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
19967                         "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
19968                         "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
19969                         "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
19970                         "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
19971                         "\x18\x2d\x42\x57\x6c\x81\x96\xab"
19972                         "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
19973                         "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
19974                         "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
19975                         "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
19976                         "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
19977                         "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
19978                         "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
19979                         "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
19980                         "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
19981                         "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
19982                         "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
19983                         "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
19984                         "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
19985                         "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
19986                         "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
19987                         "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
19988                         "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
19989                         "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
19990                         "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
19991                         "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
19992                         "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
19993                         "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
19994                         "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
19995                         "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
19996                         "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
19997                         "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
19998                         "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
19999                         "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
20000                         "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
20001                         "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
20002                         "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
20003                         "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
20004                         "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
20005                         "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
20006                         "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
20007                         "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
20008                         "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
20009                         "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
20010                         "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
20011                         "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
20012                         "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
20013                         "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
20014                         "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
20015                         "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
20016                         "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
20017                         "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
20018                         "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
20019                         "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
20020                         "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
20021                         "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
20022                         "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
20023                         "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
20024                         "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
20025                         "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
20026                         "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
20027                         "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
20028                         "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
20029                         "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
20030                         "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
20031                         "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
20032                         "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
20033                         "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
20034                         "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
20035                         "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
20036                         "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
20037                         "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
20038                         "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
20039                         "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
20040                         "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
20041                         "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
20042                         "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
20043                         "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
20044                         "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
20045                         "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
20046                         "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
20047                         "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
20048                         "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
20049                         "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
20050                         "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
20051                         "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
20052                         "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
20053                         "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
20054                         "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
20055                         "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
20056                         "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
20057                         "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
20058                         "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
20059                         "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
20060                         "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
20061                         "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
20062                         "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
20063                         "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
20064                         "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
20065                         "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
20066                         "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
20067                         "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
20068                         "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
20069                         "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
20070                         "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
20071                         "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
20072                         "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
20073                         "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
20074                         "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
20075                         "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
20076                         "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
20077                         "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
20078                         "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
20079                         "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
20080                         "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
20081                         "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
20082                         "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
20083                         "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
20084                         "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
20085                         "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
20086                         "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
20087                         "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
20088                         "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
20089                         "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
20090                         "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
20091                         "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
20092                         "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
20093                         "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
20094                         "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
20095                         "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
20096                         "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
20097                         "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
20098                         "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
20099                         "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
20100                         "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
20101                         "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
20102                         "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
20103                         "\x78\x95\xb2\xcf\xec\x09\x26\x43"
20104                         "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
20105                         "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
20106                         "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
20107                         "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
20108                         "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
20109                         "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
20110                         "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
20111                         "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
20112                         "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
20113                         "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
20114                         "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
20115                         "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
20116                         "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
20117                         "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
20118                         "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
20119                         "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
20120                         "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
20121                         "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
20122                         "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
20123                         "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
20124                         "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
20125                         "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
20126                         "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
20127                         "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
20128                         "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
20129                         "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
20130                         "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
20131                         "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
20132                         "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
20133                         "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
20134                         "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
20135                         "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
20136                         "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
20137                         "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
20138                         "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
20139                         "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
20140                         "\x00\x21\x42\x63",
20141                 .ctext =
20142                         "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
20143                         "\xae\xff\x91\x3a\x44\xcf\x38\x32"
20144                         "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
20145                         "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
20146                         "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
20147                         "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
20148                         "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
20149                         "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
20150                         "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
20151                         "\x18\xff\x75\x6d\x06\x2d\x00\xab"
20152                         "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
20153                         "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
20154                         "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
20155                         "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
20156                         "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
20157                         "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
20158                         "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
20159                         "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
20160                         "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
20161                         "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
20162                         "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
20163                         "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
20164                         "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
20165                         "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
20166                         "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
20167                         "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
20168                         "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
20169                         "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
20170                         "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
20171                         "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
20172                         "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
20173                         "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
20174                         "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
20175                         "\x6a\x25\x15\x33\x4e\x45\x08\xec"
20176                         "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
20177                         "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
20178                         "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
20179                         "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
20180                         "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
20181                         "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
20182                         "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
20183                         "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
20184                         "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
20185                         "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
20186                         "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
20187                         "\x04\x02\xef\xd3\x44\xde\x76\x31"
20188                         "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
20189                         "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
20190                         "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
20191                         "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
20192                         "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
20193                         "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
20194                         "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
20195                         "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
20196                         "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
20197                         "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
20198                         "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
20199                         "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
20200                         "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
20201                         "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
20202                         "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
20203                         "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
20204                         "\x32\x03\xed\xf0\x50\x1c\x56\x39"
20205                         "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
20206                         "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
20207                         "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
20208                         "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
20209                         "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
20210                         "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
20211                         "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
20212                         "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
20213                         "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
20214                         "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
20215                         "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
20216                         "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
20217                         "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
20218                         "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
20219                         "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
20220                         "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
20221                         "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
20222                         "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
20223                         "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
20224                         "\x69\x3a\x29\x23\xac\x86\x32\xa5"
20225                         "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
20226                         "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
20227                         "\x59\x6a\xd3\x50\x59\x43\x59\xde"
20228                         "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
20229                         "\x18\x34\x0d\x1a\x63\x33\xed\x10"
20230                         "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
20231                         "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
20232                         "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
20233                         "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
20234                         "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
20235                         "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
20236                         "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
20237                         "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
20238                         "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
20239                         "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
20240                         "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
20241                         "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
20242                         "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
20243                         "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
20244                         "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
20245                         "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
20246                         "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
20247                         "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
20248                         "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
20249                         "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
20250                         "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
20251                         "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
20252                         "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
20253                         "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
20254                         "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
20255                         "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
20256                         "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
20257                         "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
20258                         "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
20259                         "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
20260                         "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
20261                         "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
20262                         "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
20263                         "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
20264                         "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
20265                         "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
20266                         "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
20267                         "\x26\x39\x83\x94\xef\x27\xd8\x53"
20268                         "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
20269                         "\x43\x7c\x95\x0a\x53\xef\x66\xda"
20270                         "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
20271                         "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
20272                         "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
20273                         "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
20274                         "\x88\xee\x73\xcf\x66\x2f\x52\x56"
20275                         "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
20276                         "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
20277                         "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
20278                         "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
20279                         "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
20280                         "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
20281                         "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
20282                         "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
20283                         "\xba\x61\x34\x38\x7c\xda\x48\x3e"
20284                         "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
20285                         "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
20286                         "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
20287                         "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
20288                         "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
20289                         "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
20290                         "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
20291                         "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
20292                         "\x35\x12\xe3\x36\x28\x27\x36\x58"
20293                         "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
20294                         "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
20295                         "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
20296                         "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
20297                         "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
20298                         "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
20299                         "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
20300                         "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
20301                         "\x89\xf3\x78\x35\x44\x62\x78\x72"
20302                         "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
20303                         "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
20304                         "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
20305                         "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
20306                         "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
20307                         "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
20308                         "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
20309                         "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
20310                         "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
20311                         "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
20312                         "\xd2\x49\x77\x81\x6d\x90\x70\xae"
20313                         "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
20314                         "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
20315                         "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
20316                         "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
20317                         "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
20318                         "\x45\x42\x27\x75\x50\xe5\xee\xb8"
20319                         "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
20320                         "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
20321                         "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
20322                         "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
20323                         "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
20324                         "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
20325                         "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
20326                         "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
20327                         "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
20328                         "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
20329                         "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
20330                         "\xa9\x21\x2b\x92\x94\x87\x62\x57"
20331                         "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
20332                         "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
20333                         "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
20334                         "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
20335                         "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
20336                         "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
20337                         "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
20338                         "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
20339                         "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
20340                         "\x69\x34\x78\x61\x24\x21\x9c\x8a"
20341                         "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
20342                         "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
20343                         "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
20344                         "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
20345                         "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
20346                         "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
20347                         "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
20348                         "\xb1\x95\x28\x86\x20\xe9\x17\x49"
20349                         "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
20350                         "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
20351                         "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
20352                         "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
20353                         "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
20354                         "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
20355                         "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
20356                         "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
20357                         "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
20358                         "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
20359                         "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
20360                         "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
20361                         "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
20362                         "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
20363                         "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
20364                         "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
20365                         "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
20366                         "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
20367                         "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
20368                         "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
20369                         "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
20370                         "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
20371                         "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
20372                         "\x29\x90\x46\x30\x92\x69\x7d\x13"
20373                         "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
20374                         "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
20375                         "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
20376                         "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
20377                         "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
20378                         "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
20379                         "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
20380                         "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
20381                         "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
20382                         "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
20383                         "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
20384                         "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
20385                         "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
20386                         "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
20387                         "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
20388                         "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
20389                         "\x77\x65\x08\x60\x11\x76\x4c\x8d"
20390                         "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
20391                         "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
20392                         "\x03\xd1\x24\x95\xec\x6d\xab\x38"
20393                         "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
20394                         "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
20395                         "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
20396                         "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
20397                         "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
20398                         "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
20399                         "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
20400                         "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
20401                         "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
20402                         "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
20403                         "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
20404                         "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
20405                         "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
20406                         "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
20407                         "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
20408                         "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
20409                         "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
20410                         "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
20411                         "\xe5\x79\x81\x73\xcd\x43\x59\x68"
20412                         "\x73\x02\x3b\x78\x21\x72\x43\x00"
20413                         "\x49\x17\xf7\x00\xaf\x68\x24\x53"
20414                         "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
20415                         "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
20416                         "\x11\x94\x13\x69\x51\x09\x28\xde"
20417                         "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
20418                         "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
20419                         "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
20420                         "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
20421                         "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
20422                         "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
20423                         "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
20424                         "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
20425                         "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
20426                         "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
20427                         "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
20428                         "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
20429                         "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
20430                         "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
20431                         "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
20432                         "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
20433                         "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
20434                         "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
20435                         "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
20436                         "\x69\xdc\xab\x24\x57\x60\x47\xc1"
20437                         "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
20438                         "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
20439                         "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
20440                         "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
20441                         "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
20442                         "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
20443                         "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
20444                         "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
20445                         "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
20446                         "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
20447                         "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
20448                         "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
20449                         "\x85\x62\x82\x70\x18\xe2\x9a\x78"
20450                         "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
20451                         "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
20452                         "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
20453                         "\x35\xf3\x61\x06\x72\x84\xc4\x32"
20454                         "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
20455                         "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
20456                         "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
20457                         "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
20458                         "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
20459                         "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
20460                         "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
20461                         "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
20462                         "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
20463                         "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
20464                         "\x4f\x73\x38\x09\x75\x64\x48\xe0"
20465                         "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
20466                         "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
20467                         "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
20468                         "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
20469                         "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
20470                         "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
20471                         "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
20472                         "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
20473                         "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
20474                         "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
20475                         "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
20476                         "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
20477                         "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
20478                         "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
20479                         "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
20480                         "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
20481                         "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
20482                         "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
20483                         "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
20484                         "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
20485                         "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
20486                         "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
20487                         "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
20488                         "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
20489                         "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
20490                         "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
20491                         "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
20492                         "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
20493                         "\xce\x4d\x5f\x18\x60\xce\x87\x22"
20494                         "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
20495                         "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
20496                         "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
20497                         "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
20498                         "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
20499                         "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
20500                         "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
20501                         "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
20502                         "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
20503                         "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
20504                         "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
20505                         "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
20506                         "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
20507                         "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
20508                         "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
20509                         "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
20510                         "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
20511                         "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
20512                         "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
20513                         "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
20514                         "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
20515                         "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
20516                         "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
20517                         "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
20518                         "\xce\x54\xf9\x18\x58\xb5\xff\x44"
20519                         "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
20520                         "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
20521                         "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
20522                         "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
20523                         "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
20524                         "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
20525                         "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
20526                         "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
20527                         "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
20528                         "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
20529                         "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
20530                         "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
20531                         "\x0c\xd6\x04\x14\xde\x51\x74\x75"
20532                         "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
20533                         "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
20534                         "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
20535                         "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
20536                         "\x75\x46\x65\x4e\x07\x34\x37\xa3"
20537                         "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
20538                         "\x69\x24\x0e\x38\x67\x43\x8c\xde"
20539                         "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
20540                         "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
20541                         "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
20542                         "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
20543                         "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
20544                         "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
20545                         "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
20546                         "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
20547                         "\x91\x7d\x62\x64\x96\x72\xde\xfc"
20548                         "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
20549                         "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
20550                         "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
20551                         "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
20552                         "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
20553                         "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
20554                         "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
20555                         "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
20556                         "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
20557                         "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
20558                         "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
20559                         "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
20560                         "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
20561                         "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
20562                         "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
20563                         "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
20564                         "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
20565                         "\xae\xed\x39\x88\x42\x11\x3c\xed"
20566                         "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
20567                         "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
20568                         "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
20569                         "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
20570                         "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
20571                         "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
20572                         "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
20573                         "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
20574                         "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
20575                         "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
20576                         "\x34\x17\xde\xba\x47\xf1\x06\x18"
20577                         "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
20578                         "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
20579                         "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
20580                         "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
20581                         "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
20582                         "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
20583                         "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
20584                         "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
20585                         "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
20586                         "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
20587                         "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
20588                         "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
20589                         "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
20590                         "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
20591                         "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
20592                         "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
20593                         "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
20594                         "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
20595                         "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
20596                         "\x2c\x56\x39\x79\x0f\x69\x44\x75"
20597                         "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
20598                         "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
20599                         "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
20600                         "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
20601                         "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
20602                         "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
20603                         "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
20604                         "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
20605                         "\x63\x9b\xce\x61\x24\x79\xc0\x70"
20606                         "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
20607                         "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
20608                         "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
20609                         "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
20610                         "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
20611                         "\x74\x56\x58\x40\x02\x37\x52\x2c"
20612                         "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
20613                         "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
20614                         "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
20615                         "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
20616                         "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
20617                         "\xed\x38\x80\x36\x72\x43\x27\x49"
20618                         "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
20619                         "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
20620                         "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
20621                         "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
20622                         "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
20623                         "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
20624                         "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
20625                         "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
20626                         "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
20627                         "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
20628                         "\x12\xee\x30\xfe\xd8\x30\xef\x34"
20629                         "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
20630                         "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
20631                         "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
20632                         "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
20633                         "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
20634                         "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
20635                         "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
20636                         "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
20637                         "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
20638                         "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
20639                         "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
20640                         "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
20641                         "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
20642                         "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
20643                         "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
20644                         "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
20645                         "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
20646                         "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
20647                         "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
20648                         "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
20649                         "\x44\x12\xfb\x73\x77\xd4\x13\x39"
20650                         "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
20651                         "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
20652                         "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
20653                         "\x4b\xef\x31\x18\xea\xac\xb1\x84"
20654                         "\x21\xed\xda\x86",
20655                 .len    = 4100,
20656         },
20657 };
20658
20659 static const struct aead_testvec aes_gcm_tv_template[] = {
20660         { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
20661                 .key    = zeroed_string,
20662                 .klen   = 16,
20663                 .ctext  = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
20664                           "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
20665                 .clen   = 16,
20666         }, {
20667                 .key    = zeroed_string,
20668                 .klen   = 16,
20669                 .ptext  = zeroed_string,
20670                 .plen   = 16,
20671                 .ctext  = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
20672                           "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
20673                           "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
20674                           "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
20675                 .clen   = 32,
20676         }, {
20677                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20678                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20679                 .klen   = 16,
20680                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20681                           "\xde\xca\xf8\x88",
20682                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20683                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20684                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20685                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20686                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20687                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20688                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20689                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20690                 .plen   = 64,
20691                 .ctext  = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20692                           "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20693                           "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20694                           "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20695                           "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20696                           "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20697                           "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20698                           "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
20699                           "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
20700                           "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
20701                 .clen   = 80,
20702         }, {
20703                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20704                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20705                 .klen   = 16,
20706                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20707                           "\xde\xca\xf8\x88",
20708                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20709                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20710                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20711                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20712                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20713                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20714                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20715                           "\xba\x63\x7b\x39",
20716                 .plen   = 60,
20717                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20718                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20719                           "\xab\xad\xda\xd2",
20720                 .alen   = 20,
20721                 .ctext  = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20722                           "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20723                           "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20724                           "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20725                           "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20726                           "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20727                           "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20728                           "\x3d\x58\xe0\x91"
20729                           "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
20730                           "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
20731                 .clen   = 76,
20732         }, {
20733                 .key    = zeroed_string,
20734                 .klen   = 24,
20735                 .ctext  = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
20736                           "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
20737                 .clen   = 16,
20738         }, {
20739                 .key    = zeroed_string,
20740                 .klen   = 24,
20741                 .ptext  = zeroed_string,
20742                 .plen   = 16,
20743                 .ctext  = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
20744                           "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
20745                           "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
20746                           "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
20747                 .clen   = 32,
20748         }, {
20749                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20750                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20751                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
20752                 .klen   = 24,
20753                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20754                           "\xde\xca\xf8\x88",
20755                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20756                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20757                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20758                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20759                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20760                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20761                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20762                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20763                 .plen   = 64,
20764                 .ctext  = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
20765                           "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
20766                           "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
20767                           "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
20768                           "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
20769                           "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
20770                           "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
20771                           "\xcc\xda\x27\x10\xac\xad\xe2\x56"
20772                           "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
20773                           "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
20774                 .clen   = 80,
20775         }, {
20776                 .key    = zeroed_string,
20777                 .klen   = 32,
20778                 .ctext  = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
20779                           "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
20780                 .clen   = 16,
20781         }, {
20782                 .key    = zeroed_string,
20783                 .klen   = 32,
20784                 .ptext  = zeroed_string,
20785                 .plen   = 16,
20786                 .ctext  = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
20787                           "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
20788                           "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
20789                           "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
20790                 .clen   = 32,
20791         }, {
20792                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20793                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20794                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20795                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20796                 .klen   = 32,
20797                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20798                           "\xde\xca\xf8\x88",
20799                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20800                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20801                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20802                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20803                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20804                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20805                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20806                           "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20807                 .plen   = 64,
20808                 .ctext  = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
20809                           "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
20810                           "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
20811                           "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
20812                           "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
20813                           "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
20814                           "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
20815                           "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
20816                           "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
20817                           "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
20818                 .clen   = 80,
20819         }, {
20820                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20821                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20822                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20823                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20824                 .klen   = 32,
20825                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20826                           "\xde\xca\xf8\x88",
20827                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20828                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20829                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20830                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20831                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20832                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20833                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20834                           "\xba\x63\x7b\x39",
20835                 .plen   = 60,
20836                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20837                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20838                           "\xab\xad\xda\xd2",
20839                 .alen   = 20,
20840                 .ctext  = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
20841                           "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
20842                           "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
20843                           "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
20844                           "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
20845                           "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
20846                           "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
20847                           "\xbc\xc9\xf6\x62"
20848                           "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
20849                           "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
20850                 .clen   = 76,
20851         }, {
20852                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20853                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20854                           "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
20855                 .klen   = 24,
20856                 .iv     = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20857                           "\xde\xca\xf8\x88",
20858                 .ptext  = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20859                           "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20860                           "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20861                           "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20862                           "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20863                           "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20864                           "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20865                           "\xba\x63\x7b\x39",
20866                 .plen   = 60,
20867                 .assoc  = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20868                           "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20869                           "\xab\xad\xda\xd2",
20870                 .alen   = 20,
20871                 .ctext  = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
20872                           "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
20873                           "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
20874                           "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
20875                           "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
20876                           "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
20877                           "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
20878                           "\xcc\xda\x27\x10"
20879                           "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
20880                           "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
20881                 .clen   = 76,
20882         }, {
20883                 .key    = "\x62\x35\xf8\x95\xfc\xa5\xeb\xf6"
20884                           "\x0e\x92\x12\x04\xd3\xa1\x3f\x2e"
20885                           "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
20886                           "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
20887                 .klen   = 32,
20888                 .iv     = "\x00\xff\xff\xff\xff\x00\x00\xff"
20889                           "\xff\xff\x00\xff",
20890                 .ptext  = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
20891                           "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
20892                           "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
20893                           "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
20894                           "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
20895                           "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
20896                           "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
20897                           "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
20898                           "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
20899                           "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
20900                           "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
20901                           "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
20902                           "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
20903                           "\x35\x23\xf4\x20\x41\xd4\xad\x82"
20904                           "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
20905                           "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
20906                           "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
20907                           "\xad\x49\x3a\xae\x98\xce\xa6\x66"
20908                           "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
20909                           "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
20910                           "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
20911                           "\x57\xcc\x89\x09\x75\x9b\x78\x70"
20912                           "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
20913                           "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
20914                           "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
20915                           "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
20916                           "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
20917                           "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
20918                           "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
20919                           "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
20920                           "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
20921                           "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
20922                           "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
20923                           "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
20924                           "\x02\x66\x49\xca\x7c\x91\x05\xf2"
20925                           "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
20926                           "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
20927                           "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
20928                           "\x45\xea\x78\x73\xd9\xb7\x39\x11"
20929                           "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
20930                           "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
20931                           "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
20932                           "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
20933                           "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
20934                           "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
20935                           "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
20936                           "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
20937                           "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
20938                           "\x03\x25\x3c\x8d\x48\x58\x71\x34"
20939                           "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
20940                           "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
20941                           "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
20942                           "\x87\x79\x60\x38\x46\xb4\x25\x57"
20943                           "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
20944                           "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
20945                           "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
20946                           "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
20947                           "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
20948                           "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
20949                           "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
20950                           "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
20951                           "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
20952                           "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
20953                           "\x0b\x63\xde\x87\x42\x79\x8a\x68"
20954                           "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
20955                           "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
20956                           "\xe9\x83\x84\xcb\x28\x69\x09\x69"
20957                           "\xce\x99\x46\x00\x54\xcb\xd8\x38"
20958                           "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
20959                           "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
20960                           "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
20961                           "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
20962                           "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
20963                           "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
20964                           "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
20965                           "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
20966                           "\x78\xc6\x91\x22\x40\x91\x80\xbe"
20967                           "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
20968                           "\x67\x10\xa4\x83\x98\x79\x23\xe7"
20969                           "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
20970                           "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
20971                           "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
20972                           "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
20973                           "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
20974                           "\x3f\x73\x09\xe2\x45\x56\x31\x51"
20975                           "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
20976                           "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
20977                           "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
20978                           "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
20979                           "\xa4\x78\xdb\x74\x3d\x8b\xb5",
20980                 .plen   = 719,
20981                 .ctext  = "\x84\x0b\xdb\xd5\xb7\xa8\xfe\x20"
20982                           "\xbb\xb1\x12\x7f\x41\xea\xb3\xc0"
20983                           "\xa2\xb4\x37\x19\x11\x58\xb6\x0b"
20984                           "\x4c\x1d\x38\x05\x54\xd1\x16\x73"
20985                           "\x8e\x1c\x20\x90\xa2\x9a\xb7\x74"
20986                           "\x47\xe6\xd8\xfc\x18\x3a\xb4\xea"
20987                           "\xd5\x16\x5a\x2c\x53\x01\x46\xb3"
20988                           "\x18\x33\x74\x6c\x50\xf2\xe8\xc0"
20989                           "\x73\xda\x60\x22\xeb\xe3\xe5\x9b"
20990                           "\x20\x93\x6c\x4b\x37\x99\xb8\x23"
20991                           "\x3b\x4e\xac\xe8\x5b\xe8\x0f\xb7"
20992                           "\xc3\x8f\xfb\x4a\x37\xd9\x39\x95"
20993                           "\x34\xf1\xdb\x8f\x71\xd9\xc7\x0b"
20994                           "\x02\xf1\x63\xfc\x9b\xfc\xc5\xab"
20995                           "\xb9\x14\x13\x21\xdf\xce\xaa\x88"
20996                           "\x44\x30\x1e\xce\x26\x01\x92\xf8"
20997                           "\x9f\x00\x4b\x0c\x4b\xf7\x5f\xe0"
20998                           "\x89\xca\x94\x66\x11\x21\x97\xca"
20999                           "\x3e\x83\x74\x2d\xdb\x4d\x11\xeb"
21000                           "\x97\xc2\x14\xff\x9e\x1e\xa0\x6b"
21001                           "\x08\xb4\x31\x2b\x85\xc6\x85\x6c"
21002                           "\x90\xec\x39\xc0\xec\xb3\xb5\x4e"
21003                           "\xf3\x9c\xe7\x83\x3a\x77\x0a\xf4"
21004                           "\x56\xfe\xce\x18\x33\x6d\x0b\x2d"
21005                           "\x33\xda\xc8\x05\x5c\xb4\x09\x2a"
21006                           "\xde\x6b\x52\x98\x01\xef\x36\x3d"
21007                           "\xbd\xf9\x8f\xa8\x3e\xaa\xcd\xd1"
21008                           "\x01\x2d\x42\x49\xc3\xb6\x84\xbb"
21009                           "\x48\x96\xe0\x90\x93\x6c\x48\x64"
21010                           "\xd4\xfa\x7f\x93\x2c\xa6\x21\xc8"
21011                           "\x7a\x23\x7b\xaa\x20\x56\x12\xae"
21012                           "\x16\x9d\x94\x0f\x54\xa1\xec\xca"
21013                           "\x51\x4e\xf2\x39\xf4\xf8\x5f\x04"
21014                           "\x5a\x0d\xbf\xf5\x83\xa1\x15\xe1"
21015                           "\xf5\x3c\xd8\x62\xa3\xed\x47\x89"
21016                           "\x85\x4c\xe5\xdb\xac\x9e\x17\x1d"
21017                           "\x0c\x09\xe3\x3e\x39\x5b\x4d\x74"
21018                           "\x0e\xf5\x34\xee\x70\x11\x4c\xfd"
21019                           "\xdb\x34\xb1\xb5\x10\x3f\x73\xb7"
21020                           "\xf5\xfa\xed\xb0\x1f\xa5\xcd\x3c"
21021                           "\x8d\x35\x83\xd4\x11\x44\x6e\x6c"
21022                           "\x5b\xe0\x0e\x69\xa5\x39\xe5\xbb"
21023                           "\xa9\x57\x24\x37\xe6\x1f\xdd\xcf"
21024                           "\x16\x2a\x13\xf9\x6a\x2d\x90\xa0"
21025                           "\x03\x60\x7a\xed\x69\xd5\x00\x8b"
21026                           "\x7e\x4f\xcb\xb9\xfa\x91\xb9\x37"
21027                           "\xc1\x26\xce\x90\x97\x22\x64\x64"
21028                           "\xc1\x72\x43\x1b\xf6\xac\xc1\x54"
21029                           "\x8a\x10\x9c\xdd\x8d\xd5\x8e\xb2"
21030                           "\xe4\x85\xda\xe0\x20\x5f\xf4\xb4"
21031                           "\x15\xb5\xa0\x8d\x12\x74\x49\x23"
21032                           "\x3a\xdf\x4a\xd3\xf0\x3b\x89\xeb"
21033                           "\xf8\xcc\x62\x7b\xfb\x93\x07\x41"
21034                           "\x61\x26\x94\x58\x70\xa6\x3c\xe4"
21035                           "\xff\x58\xc4\x13\x3d\xcb\x36\x6b"
21036                           "\x32\xe5\xb2\x6d\x03\x74\x6f\x76"
21037                           "\x93\x77\xde\x48\xc4\xfa\x30\x4a"
21038                           "\xda\x49\x80\x77\x0f\x1c\xbe\x11"
21039                           "\xc8\x48\xb1\xe5\xbb\xf2\x8a\xe1"
21040                           "\x96\x2f\x9f\xd1\x8e\x8a\x5c\xe2"
21041                           "\xf7\xd7\xd8\x54\xf3\x3f\xc4\x91"
21042                           "\xb8\xfb\x86\xdc\x46\x24\x91\x60"
21043                           "\x6c\x2f\xc9\x41\x37\x51\x49\x54"
21044                           "\x09\x81\x21\xf3\x03\x9f\x2b\xe3"
21045                           "\x1f\x39\x63\xaf\xf4\xd7\x53\x60"
21046                           "\xa7\xc7\x54\xf9\xee\xb1\xb1\x7d"
21047                           "\x75\x54\x65\x93\xfe\xb1\x68\x6b"
21048                           "\x57\x02\xf9\xbb\x0e\xf9\xf8\xbf"
21049                           "\x01\x12\x27\xb4\xfe\xe4\x79\x7a"
21050                           "\x40\x5b\x51\x4b\xdf\x38\xec\xb1"
21051                           "\x6a\x56\xff\x35\x4d\x42\x33\xaa"
21052                           "\x6f\x1b\xe4\xdc\xe0\xdb\x85\x35"
21053                           "\x62\x10\xd4\xec\xeb\xc5\x7e\x45"
21054                           "\x1c\x6f\x17\xca\x3b\x8e\x2d\x66"
21055                           "\x4f\x4b\x36\x56\xcd\x1b\x59\xaa"
21056                           "\xd2\x9b\x17\xb9\x58\xdf\x7b\x64"
21057                           "\x8a\xff\x3b\x9c\xa6\xb5\x48\x9e"
21058                           "\xaa\xe2\x5d\x09\x71\x32\x5f\xb6"
21059                           "\x29\xbe\xe7\xc7\x52\x7e\x91\x82"
21060                           "\x6b\x6d\x33\xe1\x34\x06\x36\x21"
21061                           "\x5e\xbe\x1e\x2f\x3e\xc1\xfb\xea"
21062                           "\x49\x2c\xb5\xca\xf7\xb0\x37\xea"
21063                           "\x1f\xed\x10\x04\xd9\x48\x0d\x1a"
21064                           "\x1c\xfb\xe7\x84\x0e\x83\x53\x74"
21065                           "\xc7\x65\xe2\x5c\xe5\xba\x73\x4c"
21066                           "\x0e\xe1\xb5\x11\x45\x61\x43\x46"
21067                           "\xaa\x25\x8f\xbd\x85\x08\xfa\x4c"
21068                           "\x15\xc1\xc0\xd8\xf5\xdc\x16\xbb"
21069                           "\x7b\x1d\xe3\x87\x57\xa7\x2a\x1d"
21070                           "\x38\x58\x9e\x8a\x43\xdc\x57"
21071                           "\xd1\x81\x7d\x2b\xe9\xff\x99\x3a"
21072                           "\x4b\x24\x52\x58\x55\xe1\x49\x14",
21073                 .clen   = 735,
21074         }
21075 };
21076
21077 static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
21078         { /* Generated using Crypto++ */
21079                 .key    = zeroed_string,
21080                 .klen   = 20,
21081                 .iv     = zeroed_string,
21082                 .ptext  = zeroed_string,
21083                 .plen   = 16,
21084                 .assoc  = zeroed_string,
21085                 .alen   = 16,
21086                 .ctext  = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21087                           "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21088                           "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21089                           "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21090                 .clen   = 32,
21091         },{
21092                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21093                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21094                           "\x00\x00\x00\x00",
21095                 .klen   = 20,
21096                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21097                 .ptext  = zeroed_string,
21098                 .plen   = 16,
21099                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21100                           "\x00\x00\x00\x00\x00\x00\x00\x01",
21101                 .alen   = 16,
21102                 .ctext  = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21103                           "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21104                           "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21105                           "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21106                 .clen   = 32,
21107
21108         }, {
21109                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21110                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21111                           "\x00\x00\x00\x00",
21112                 .klen   = 20,
21113                 .iv     = zeroed_string,
21114                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21115                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21116                 .plen   = 16,
21117                 .assoc  = zeroed_string,
21118                 .alen   = 16,
21119                 .ctext  = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21120                           "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21121                           "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21122                           "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21123                 .clen   = 32,
21124         }, {
21125                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21126                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21127                           "\x00\x00\x00\x00",
21128                 .klen   = 20,
21129                 .iv     = zeroed_string,
21130                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21131                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21132                 .plen   = 16,
21133                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21134                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21135                 .alen   = 16,
21136                 .ctext  = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21137                           "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21138                           "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21139                           "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21140                 .clen   = 32,
21141         }, {
21142                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21143                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21144                           "\x00\x00\x00\x00",
21145                 .klen   = 20,
21146                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21147                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21148                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21149                 .plen   = 16,
21150                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21151                           "\x00\x00\x00\x00\x00\x00\x00\x01",
21152                 .alen   = 16,
21153                 .ctext  = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21154                           "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21155                           "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21156                           "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21157                 .clen   = 32,
21158         }, {
21159                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21160                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21161                           "\x00\x00\x00\x00",
21162                 .klen   = 20,
21163                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21164                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21165                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21166                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21167                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21168                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21169                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21170                           "\x01\x01\x01\x01\x01\x01\x01\x01"
21171                           "\x01\x01\x01\x01\x01\x01\x01\x01",
21172                 .plen   = 64,
21173                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21174                           "\x00\x00\x00\x00\x00\x00\x00\x01",
21175                 .alen   = 16,
21176                 .ctext  = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21177                           "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21178                           "\x98\x14\xA1\x42\x37\x80\xFD\x90"
21179                           "\x68\x12\x01\xA8\x91\x89\xB9\x83"
21180                           "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
21181                           "\x94\x5F\x18\x12\xBA\x27\x09\x39"
21182                           "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
21183                           "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
21184                           "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
21185                           "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
21186                 .clen   = 80,
21187         }, {
21188                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
21189                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21190                           "\x00\x00\x00\x00",
21191                 .klen   = 20,
21192                 .iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21193                 .ptext  = "\xff\xff\xff\xff\xff\xff\xff\xff"
21194                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21195                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21196                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21197                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21198                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21199                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21200                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21201                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21202                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21203                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21204                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21205                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21206                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21207                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21208                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21209                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21210                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21211                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21212                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21213                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21214                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21215                           "\xff\xff\xff\xff\xff\xff\xff\xff"
21216                           "\xff\xff\xff\xff\xff\xff\xff\xff",
21217                 .plen   = 192,
21218                 .assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
21219                           "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
21220                           "\x89\xab\xcd\xef",
21221                 .alen   = 20,
21222                 .ctext  = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
21223                           "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
21224                           "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
21225                           "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
21226                           "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
21227                           "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
21228                           "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
21229                           "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
21230                           "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
21231                           "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
21232                           "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
21233                           "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
21234                           "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
21235                           "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
21236                           "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
21237                           "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
21238                           "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
21239                           "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
21240                           "\x7E\x13\x06\x82\x08\x17\xA4\x35"
21241                           "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
21242                           "\xA3\x05\x38\x95\x20\x1A\x47\x04"
21243                           "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
21244                           "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
21245                           "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
21246                           "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
21247                           "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
21248                 .clen   = 208,
21249         }, { /* From draft-mcgrew-gcm-test-01 */
21250                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21251                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21252                           "\x2E\x44\x3B\x68",
21253                 .klen   = 20,
21254                 .iv     = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
21255                 .ptext  = "\x45\x00\x00\x48\x69\x9A\x00\x00"
21256                           "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
21257                           "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
21258                           "\x38\xD3\x01\x00\x00\x01\x00\x00"
21259                           "\x00\x00\x00\x00\x04\x5F\x73\x69"
21260                           "\x70\x04\x5F\x75\x64\x70\x03\x73"
21261                           "\x69\x70\x09\x63\x79\x62\x65\x72"
21262                           "\x63\x69\x74\x79\x02\x64\x6B\x00"
21263                           "\x00\x21\x00\x01\x01\x02\x02\x01",
21264                 .plen   = 72,
21265                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
21266                           "\x00\x00\x00\x00\x49\x56\xED\x7E"
21267                           "\x3B\x24\x4C\xFE",
21268                 .alen   = 20,
21269                 .ctext  = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
21270                           "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
21271                           "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
21272                           "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
21273                           "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
21274                           "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
21275                           "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
21276                           "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
21277                           "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
21278                           "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
21279                           "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
21280                 .clen   = 88,
21281         }, {
21282                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21283                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21284                           "\xCA\xFE\xBA\xBE",
21285                 .klen   = 20,
21286                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21287                 .ptext  = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
21288                           "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
21289                           "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
21290                           "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
21291                           "\x00\x01\x00\x00\x00\x00\x00\x00"
21292                           "\x03\x73\x69\x70\x09\x63\x79\x62"
21293                           "\x65\x72\x63\x69\x74\x79\x02\x64"
21294                           "\x6B\x00\x00\x01\x00\x01\x00\x01",
21295                 .plen   = 64,
21296                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21297                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21298                 .alen   = 16,
21299                 .ctext  = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
21300                           "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
21301                           "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
21302                           "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
21303                           "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
21304                           "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
21305                           "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
21306                           "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
21307                           "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
21308                           "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
21309                 .clen   = 80,
21310         }, {
21311                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21312                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21313                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21314                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21315                           "\x11\x22\x33\x44",
21316                 .klen   = 36,
21317                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
21318                 .ptext  = "\x45\x00\x00\x30\x69\xA6\x40\x00"
21319                           "\x80\x06\x26\x90\xC0\xA8\x01\x02"
21320                           "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
21321                           "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
21322                           "\x70\x02\x40\x00\x20\xBF\x00\x00"
21323                           "\x02\x04\x05\xB4\x01\x01\x04\x02"
21324                           "\x01\x02\x02\x01",
21325                 .plen   = 52,
21326                 .assoc  = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
21327                           "\x01\x02\x03\x04\x05\x06\x07\x08",
21328                 .alen   = 16,
21329                 .ctext  = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
21330                           "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
21331                           "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
21332                           "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
21333                           "\x74\x8A\x63\x79\x85\x77\x1D\x34"
21334                           "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
21335                           "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
21336                           "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
21337                           "\x15\x95\x6C\x96",
21338                 .clen   = 68,
21339         }, {
21340                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
21341                           "\x00\x00\x00\x00\x00\x00\x00\x00"
21342                           "\x00\x00\x00\x00",
21343                 .klen   = 20,
21344                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
21345                 .ptext  = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
21346                           "\x80\x01\xCB\x7A\x40\x67\x93\x18"
21347                           "\x01\x01\x01\x01\x08\x00\x07\x5C"
21348                           "\x02\x00\x44\x00\x61\x62\x63\x64"
21349                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21350                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21351                           "\x75\x76\x77\x61\x62\x63\x64\x65"
21352                           "\x66\x67\x68\x69\x01\x02\x02\x01",
21353                 .plen   = 64,
21354                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x01"
21355                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21356                 .alen   = 16,
21357                 .ctext  = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
21358                           "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
21359                           "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
21360                           "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
21361                           "\x45\x64\x76\x49\x27\x19\xFF\xB6"
21362                           "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
21363                           "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
21364                           "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
21365                           "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
21366                           "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
21367                 .clen   = 80,
21368         }, {
21369                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21370                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21371                           "\x57\x69\x0E\x43",
21372                 .klen   = 20,
21373                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21374                 .ptext  = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
21375                           "\x80\x01\xCB\x7C\x40\x67\x93\x18"
21376                           "\x01\x01\x01\x01\x08\x00\x08\x5C"
21377                           "\x02\x00\x43\x00\x61\x62\x63\x64"
21378                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21379                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21380                           "\x75\x76\x77\x61\x62\x63\x64\x65"
21381                           "\x66\x67\x68\x69\x01\x02\x02\x01",
21382                 .plen   = 64,
21383                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21384                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
21385                           "\xA2\xFC\xA1\xA3",
21386                 .alen   = 20,
21387                 .ctext  = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
21388                           "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
21389                           "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
21390                           "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
21391                           "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21392                           "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21393                           "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
21394                           "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
21395                           "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
21396                           "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
21397                 .clen   = 80,
21398         }, {
21399                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21400                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21401                           "\x57\x69\x0E\x43",
21402                 .klen   = 20,
21403                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21404                 .ptext  = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
21405                           "\x80\x01\x44\x1F\x40\x67\x93\xB6"
21406                           "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
21407                           "\x01\x02\x02\x01",
21408                 .plen   = 28,
21409                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21410                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
21411                           "\xA2\xFC\xA1\xA3",
21412                 .alen   = 20,
21413                 .ctext  = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
21414                           "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
21415                           "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
21416                           "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
21417                           "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
21418                           "\xE7\xD0\x5D\x35",
21419                 .clen   = 44,
21420         }, {
21421                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21422                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21423                           "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21424                           "\xCA\xFE\xBA\xBE",
21425                 .klen   = 28,
21426                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21427                 .ptext  = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
21428                           "\x40\x06\x78\x80\x0A\x01\x03\x8F"
21429                           "\x0A\x01\x06\x12\x80\x23\x06\xB8"
21430                           "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
21431                           "\x50\x10\x16\xD0\x75\x68\x00\x01",
21432                 .plen   = 40,
21433                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21434                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21435                 .alen   = 16,
21436                 .ctext  = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
21437                           "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
21438                           "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
21439                           "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
21440                           "\x31\x5B\x27\x45\x21\x44\xCC\x77"
21441                           "\x95\x45\x7B\x96\x52\x03\x7F\x53"
21442                           "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
21443                 .clen   = 56,
21444         }, {
21445                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21446                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21447                           "\xDE\xCA\xF8\x88",
21448                 .klen   = 20,
21449                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21450                 .ptext  = "\x45\x00\x00\x49\x33\xBA\x00\x00"
21451                           "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
21452                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21453                           "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
21454                           "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
21455                           "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
21456                           "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
21457                           "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
21458                           "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
21459                           "\x23\x01\x01\x01",
21460                 .plen   = 76,
21461                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
21462                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21463                           "\xCE\xFA\xCE\x74",
21464                 .alen   = 20,
21465                 .ctext  = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
21466                           "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
21467                           "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
21468                           "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
21469                           "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
21470                           "\x84\xE6\x58\x63\x96\x5D\x74\x72"
21471                           "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
21472                           "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
21473                           "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
21474                           "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
21475                           "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
21476                           "\x69\x62\x34\x36",
21477                 .clen   = 92,
21478         }, {
21479                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21480                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21481                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21482                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21483                           "\x73\x61\x6C\x74",
21484                 .klen   = 36,
21485                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
21486                 .ptext  = "\x45\x08\x00\x28\x73\x2C\x00\x00"
21487                           "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
21488                           "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
21489                           "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
21490                           "\x50\x10\x1F\x64\x6D\x54\x00\x01",
21491                 .plen   = 40,
21492                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21493                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21494                           "\x69\x76\x65\x63",
21495                 .alen   = 20,
21496                 .ctext  = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
21497                           "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
21498                           "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
21499                           "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
21500                           "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
21501                           "\x45\x16\x26\xC2\x41\x57\x71\xE3"
21502                           "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
21503                 .clen   = 56,
21504         }, {
21505                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21506                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21507                           "\x57\x69\x0E\x43",
21508                 .klen   = 20,
21509                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21510                 .ptext  = "\x45\x00\x00\x49\x33\x3E\x00\x00"
21511                           "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
21512                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21513                           "\x00\x35\xCB\x45\x80\x03\x02\x5B"
21514                           "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
21515                           "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
21516                           "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
21517                           "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
21518                           "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
21519                           "\x15\x01\x01\x01",
21520                 .plen   = 76,
21521                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21522                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
21523                           "\xA2\xFC\xA1\xA3",
21524                 .alen   = 20,
21525                 .ctext  = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
21526                           "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
21527                           "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
21528                           "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
21529                           "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
21530                           "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
21531                           "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
21532                           "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
21533                           "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
21534                           "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
21535                           "\x76\x91\x89\x60\x97\x63\xB8\xE1"
21536                           "\x8C\xAA\x81\xE2",
21537                 .clen   = 92,
21538         }, {
21539                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21540                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21541                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21542                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21543                           "\x73\x61\x6C\x74",
21544                 .klen   = 36,
21545                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
21546                 .ptext  = "\x63\x69\x73\x63\x6F\x01\x72\x75"
21547                           "\x6C\x65\x73\x01\x74\x68\x65\x01"
21548                           "\x6E\x65\x74\x77\x65\x01\x64\x65"
21549                           "\x66\x69\x6E\x65\x01\x74\x68\x65"
21550                           "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
21551                           "\x67\x69\x65\x73\x01\x74\x68\x61"
21552                           "\x74\x77\x69\x6C\x6C\x01\x64\x65"
21553                           "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
21554                           "\x72\x72\x6F\x77\x01\x02\x02\x01",
21555                 .plen   = 72,
21556                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21557                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21558                           "\x69\x76\x65\x63",
21559                 .alen   = 20,
21560                 .ctext  = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
21561                           "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
21562                           "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
21563                           "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
21564                           "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
21565                           "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
21566                           "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
21567                           "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
21568                           "\x12\xA4\x93\x63\x41\x23\x64\xF8"
21569                           "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
21570                           "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
21571                 .clen   = 88,
21572         }, {
21573                 .key    = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
21574                           "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
21575                           "\xD9\x66\x42\x67",
21576                 .klen   = 20,
21577                 .iv     = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21578                 .ptext  = "\x01\x02\x02\x01",
21579                 .plen   = 4,
21580                 .assoc  = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
21581                           "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21582                 .alen   = 16,
21583                 .ctext  = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
21584                           "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
21585                           "\x04\xBE\xF2\x70",
21586                 .clen   = 20,
21587         }, {
21588                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21589                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21590                           "\xDE\xCA\xF8\x88",
21591                 .klen   = 20,
21592                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21593                 .ptext  = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
21594                           "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
21595                           "\x62\x65\x00\x01",
21596                 .plen   = 20,
21597                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
21598                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21599                           "\xCE\xFA\xCE\x74",
21600                 .alen   = 20,
21601                 .ctext  = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
21602                           "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
21603                           "\x43\x33\x21\x64\x41\x25\x03\x52"
21604                           "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
21605                           "\x43\xAF\x8C\x3E",
21606                 .clen   = 36,
21607         }, {
21608                 .key    = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
21609                           "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
21610                           "\x61\x61\x6E\x64\x64\x6F\x69\x74"
21611                           "\x62\x65\x66\x6F\x72\x65\x69\x61"
21612                           "\x74\x75\x72\x6E",
21613                 .klen   = 36,
21614                 .iv     = "\x33\x30\x21\x69\x67\x65\x74\x6D",
21615                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21616                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21617                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21618                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21619                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21620                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21621                           "\x01\x02\x02\x01",
21622                 .plen   = 52,
21623                 .assoc  = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
21624                           "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
21625                           "\x67\x65\x74\x6D",
21626                 .alen   = 20,
21627                 .ctext  = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
21628                           "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
21629                           "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
21630                           "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
21631                           "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
21632                           "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
21633                           "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
21634                           "\x94\x5F\x66\x93\x68\x66\x1A\x32"
21635                           "\x9F\xB4\xC0\x53",
21636                 .clen   = 68,
21637         }, {
21638                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21639                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21640                           "\x57\x69\x0E\x43",
21641                 .klen   = 20,
21642                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21643                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21644                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21645                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21646                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21647                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21648                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21649                           "\x01\x02\x02\x01",
21650                 .plen   = 52,
21651                 .assoc  = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
21652                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
21653                           "\xA2\xFC\xA1\xA3",
21654                 .alen   = 20,
21655                 .ctext  = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
21656                           "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
21657                           "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
21658                           "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
21659                           "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21660                           "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21661                           "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
21662                           "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
21663                           "\x40\xD7\xCB\x05",
21664                 .clen   = 68,
21665         }, {
21666                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21667                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21668                           "\x22\x43\x3C\x64",
21669                 .klen   = 20,
21670                 .iv     = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
21671                 .ptext  = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
21672                           "\x61\x62\x63\x64\x65\x66\x67\x68"
21673                           "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
21674                           "\x71\x72\x73\x74\x01\x02\x02\x01",
21675                 .plen   = 32,
21676                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
21677                           "\x00\x00\x00\x07\x48\x55\xEC\x7D"
21678                           "\x3A\x23\x4B\xFD",
21679                 .alen   = 20,
21680                 .ctext  = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
21681                           "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
21682                           "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
21683                           "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
21684                           "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
21685                           "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
21686                 .clen   = 48,
21687         }
21688 };
21689
21690 static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
21691         { /* From draft-mcgrew-gcm-test-01 */
21692                 .key    = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
21693                           "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
21694                           "\x22\x43\x3c\x64",
21695                 .klen   = 20,
21696                 .iv     = zeroed_string,
21697                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x07"
21698                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21699                 .alen   = 16,
21700                 .ptext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21701                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21702                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21703                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21704                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21705                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21706                           "\x01\x02\x02\x01",
21707                 .plen   = 52,
21708                 .ctext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21709                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21710                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21711                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21712                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21713                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21714                           "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
21715                           "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
21716                           "\xe4\x09\x9a\xaa",
21717                 .clen   = 68,
21718         }, { /* nearly same as previous, but should fail */
21719                 .key    = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
21720                           "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
21721                           "\x22\x43\x3c\x64",
21722                 .klen   = 20,
21723                 .iv     = zeroed_string,
21724                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x07"
21725                           "\x00\x00\x00\x00\x00\x00\x00\x00",
21726                 .alen   = 16,
21727                 .ptext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21728                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21729                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21730                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21731                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21732                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21733                           "\x01\x02\x02\x01",
21734                 .plen   = 52,
21735                 .novrfy = 1,
21736                 .ctext  = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21737                           "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21738                           "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21739                           "\x02\x00\x07\x00\x61\x62\x63\x64"
21740                           "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21741                           "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21742                           "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
21743                           "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
21744                           "\x00\x00\x00\x00",
21745                 .clen   = 68,
21746         },
21747 };
21748
21749 static const struct aead_testvec aes_ccm_tv_template[] = {
21750         { /* From RFC 3610 */
21751                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21752                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21753                 .klen   = 16,
21754                 .iv     = "\x01\x00\x00\x00\x03\x02\x01\x00"
21755                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21756                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
21757                 .alen   = 8,
21758                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21759                           "\x10\x11\x12\x13\x14\x15\x16\x17"
21760                           "\x18\x19\x1a\x1b\x1c\x1d\x1e",
21761                 .plen   = 23,
21762                 .ctext  = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
21763                           "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
21764                           "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
21765                           "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
21766                 .clen   = 31,
21767         }, {
21768                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21769                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21770                 .klen   = 16,
21771                 .iv     = "\x01\x00\x00\x00\x07\x06\x05\x04"
21772                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21773                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
21774                           "\x08\x09\x0a\x0b",
21775                 .alen   = 12,
21776                 .ptext  = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
21777                           "\x14\x15\x16\x17\x18\x19\x1a\x1b"
21778                           "\x1c\x1d\x1e\x1f",
21779                 .plen   = 20,
21780                 .ctext  = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
21781                           "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
21782                           "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
21783                           "\x7d\x9c\x2d\x93",
21784                 .clen   = 28,
21785         }, {
21786                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21787                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21788                 .klen   = 16,
21789                 .iv     = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
21790                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21791                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07",
21792                 .alen   = 8,
21793                 .ptext  = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21794                           "\x10\x11\x12\x13\x14\x15\x16\x17"
21795                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
21796                           "\x20",
21797                 .plen   = 25,
21798                 .ctext  = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
21799                           "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
21800                           "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
21801                           "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
21802                           "\x7e\x5f\x4e",
21803                 .clen   = 35,
21804         }, {
21805                 .key    = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21806                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21807                 .klen   = 16,
21808                 .iv     = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
21809                           "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21810                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
21811                           "\x08\x09\x0a\x0b",
21812                 .alen   = 12,
21813                 .ptext  = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
21814                           "\x14\x15\x16\x17\x18\x19\x1a\x1b"
21815                           "\x1c\x1d\x1e",
21816                 .plen   = 19,
21817                 .ctext  = "\x07\x34\x25\x94\x15\x77\x85\x15"
21818                           "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
21819                           "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
21820                           "\x4d\x99\x99\x88\xdd",
21821                 .clen   = 29,
21822         }, {
21823                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
21824                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
21825                 .klen   = 16,
21826                 .iv     = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
21827                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
21828                 .assoc  = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
21829                 .alen   = 8,
21830                 .ptext  = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
21831                           "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
21832                           "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
21833                 .plen   = 24,
21834                 .ctext  = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
21835                           "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
21836                           "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
21837                           "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
21838                 .clen   = 32,
21839         }, {
21840                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
21841                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
21842                 .klen   = 16,
21843                 .iv     = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
21844                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
21845                 .assoc  = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
21846                           "\x20\xea\x60\xc0",
21847                 .alen   = 12,
21848                 .ptext  = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
21849                           "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
21850                           "\x3a\x80\x3b\xa8\x7f",
21851                 .plen   = 21,
21852                 .ctext  = "\x00\x97\x69\xec\xab\xdf\x48\x62"
21853                           "\x55\x94\xc5\x92\x51\xe6\x03\x57"
21854                           "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
21855                           "\x5a\xe0\x70\x45\x51",
21856                 .clen   = 29,
21857         }, {
21858                 .key    = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
21859                           "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
21860                 .klen   = 16,
21861                 .iv     = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
21862                           "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
21863                 .assoc  = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
21864                 .alen   = 8,
21865                 .ptext  = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
21866                           "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
21867                           "\x98\x09\xd6\x7d\xbe\xdd\x18",
21868                 .plen   = 23,
21869                 .ctext  = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
21870                           "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
21871                           "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
21872                           "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
21873                           "\xba",
21874                 .clen   = 33,
21875         }, {
21876                 /* This is taken from FIPS CAVS. */
21877                 .key    = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
21878                           "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
21879                 .klen   = 16,
21880                 .iv     = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
21881                 .alen   = 0,
21882                 .ptext  = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
21883                           "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
21884                           "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
21885                           "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
21886                 .plen   = 32,
21887                 .ctext  = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
21888                           "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
21889                           "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
21890                           "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
21891                           "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
21892                           "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
21893                 .clen   = 48,
21894         }, {
21895                 .key    = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
21896                           "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
21897                 .klen   = 16,
21898                 .iv     = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
21899                           "\x30\x60\x15\x56\x00\x00\x00\x00",
21900                 .assoc  = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
21901                           "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
21902                           "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
21903                           "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
21904                 .alen   = 32,
21905                 .ptext  = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
21906                           "\xa9\x28\x63\xba\x12\xa3\x14\x85"
21907                           "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
21908                           "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
21909                 .plen   = 32,
21910                 .ctext  = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
21911                           "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
21912                           "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
21913                           "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
21914                           "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
21915                           "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
21916                 .clen   = 48,
21917         }, {
21918                 .key    = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
21919                           "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
21920                           "\x53\x14\x73\x66\x8d\x88\xf6\x80",
21921                 .klen   = 24,
21922                 .iv     = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
21923                           "\x50\x20\xda\xe2\x00\x00\x00\x00",
21924                 .assoc  = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
21925                           "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
21926                           "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
21927                           "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
21928                 .alen   = 32,
21929                 .ctext  = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
21930                           "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
21931                 .clen   = 16,
21932         }, {
21933                 .key    = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
21934                           "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
21935                           "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
21936                 .klen   = 24,
21937                 .iv     = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
21938                           "\xef\x09\x2e\x94\x00\x00\x00\x00",
21939                 .assoc  = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
21940                           "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
21941                           "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
21942                           "\xe3\x00\x73\x69\x84\x69\x87\x79",
21943                 .alen   = 32,
21944                 .ptext  = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
21945                           "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
21946                           "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
21947                           "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
21948                 .plen   = 32,
21949                 .ctext  = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
21950                           "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
21951                           "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
21952                           "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
21953                           "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
21954                           "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
21955                 .clen   = 48,
21956         }, {
21957                 .key    = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
21958                           "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
21959                           "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
21960                           "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
21961                 .klen   = 32,
21962                 .iv     = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
21963                           "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
21964                 .assoc  = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
21965                           "\x78\x2b\x94\x02\x29\x0f\x42\x27"
21966                           "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
21967                           "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
21968                 .alen   = 32,
21969                 .ptext  = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
21970                           "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
21971                           "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
21972                           "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
21973                 .plen   = 32,
21974                 .ctext  = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
21975                           "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
21976                           "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
21977                           "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
21978                           "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
21979                 .clen   = 40,
21980         }, {
21981                 .key    = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
21982                           "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
21983                           "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
21984                           "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
21985                 .klen   = 32,
21986                 .iv     = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
21987                           "\x43\xf6\x1e\x50\0\0\0\0",
21988                 .assoc  = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
21989                           "\x13\x02\x01\x0c\x83\x4c\x96\x35"
21990                           "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
21991                           "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
21992                 .alen   = 32,
21993                 .ptext  = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
21994                           "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
21995                           "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
21996                           "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
21997                 .plen   = 32,
21998                 .ctext  = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
21999                           "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
22000                           "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
22001                           "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
22002                           "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
22003                           "\x7b\x72\x8a\xf7",
22004                 .clen   = 44,
22005         }, {
22006                 .key    = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
22007                           "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
22008                           "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
22009                           "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
22010                 .klen   = 32,
22011                 .iv     = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
22012                           "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
22013                 .assoc  = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
22014                           "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
22015                           "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
22016                           "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
22017                 .alen   = 32,
22018                 .ptext  = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
22019                           "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
22020                           "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
22021                           "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
22022                 .plen   = 32,
22023                 .ctext  = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
22024                           "\xef\xbb\x80\x21\x04\x6c\x58\x09"
22025                           "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
22026                           "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
22027                           "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
22028                           "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
22029                 .clen   = 48,
22030         }, {
22031                 /* This is taken from FIPS CAVS. */
22032                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
22033                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
22034                 .klen   = 16,
22035                 .iv     = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
22036                           "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
22037                 .alen   = 0,
22038                 .ptext  = "\x00",
22039                 .plen   = 0,
22040                 .ctext  = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
22041                 .clen   = 8,
22042                 .novrfy = 1,
22043         }, {
22044                 .key    = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
22045                           "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
22046                 .klen   = 16,
22047                 .iv     = "\x03\xaf\x94\x87\x78\x35\x82\x81"
22048                           "\x7f\x88\x94\x68\x00\x00\x00\x00",
22049                 .alen   = 0,
22050                 .ptext  = "\x00",
22051                 .plen   = 0,
22052                 .ctext  = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
22053                 .clen   = 8,
22054         }, {
22055                 .key    = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
22056                           "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
22057                 .klen   = 16,
22058                 .iv     = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
22059                           "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
22060                 .assoc  = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
22061                           "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
22062                           "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
22063                           "\xd8\x94\x99\x91\x81\x54\x62\x57",
22064                 .alen   = 32,
22065                 .ptext  = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
22066                           "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
22067                           "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
22068                           "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
22069                 .plen   = 32,
22070                 .ctext  = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
22071                           "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
22072                           "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
22073                           "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
22074                           "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
22075                           "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
22076                 .clen   = 48,
22077                 .novrfy = 1,
22078         }, {
22079                 .key    = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
22080                           "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
22081                 .klen   = 16,
22082                 .iv     = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
22083                           "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
22084                 .assoc  = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
22085                           "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
22086                           "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
22087                           "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
22088                 .alen   = 32,
22089                 .ptext  = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
22090                           "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
22091                           "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
22092                           "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
22093                 .plen   = 32,
22094                 .ctext  = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
22095                           "\xad\x83\x52\x6d\x71\x03\x25\x1c"
22096                           "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
22097                           "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
22098                           "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
22099                           "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
22100                 .clen   = 48,
22101         }, {
22102                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
22103                           "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
22104                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
22105                 .klen   = 24,
22106                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22107                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22108                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
22109                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
22110                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
22111                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
22112                 .alen   = 32,
22113                 .ptext  = "\x00",
22114                 .plen   = 0,
22115                 .ctext  = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
22116                 .clen   = 8,
22117         }, {
22118                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22119                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22120                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
22121                 .klen   = 24,
22122                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22123                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22124                 .assoc  = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
22125                           "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
22126                           "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
22127                           "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
22128                 .alen   = 32,
22129                 .ptext  = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
22130                           "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
22131                           "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
22132                           "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
22133                 .plen   = 32,
22134                 .ctext  = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
22135                           "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
22136                           "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
22137                           "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
22138                           "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
22139                 .clen   = 40,
22140         }, {
22141                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22142                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22143                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
22144                 .klen   = 24,
22145                 .iv     = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
22146                           "\xad\x71\xaa\x1f\x00\x00\x00\x00",
22147                 .assoc  = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
22148                           "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
22149                           "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
22150                           "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
22151                 .alen   = 32,
22152                 .ptext  = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
22153                           "\x99\x2a\xa8\xca\x04\x25\x45\x90"
22154                           "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
22155                           "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
22156                 .plen   = 32,
22157                 .ctext  = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
22158                           "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
22159                           "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
22160                           "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
22161                           "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
22162                           "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
22163                 .clen   = 48,
22164                 .novrfy = 1,
22165         }, {
22166                 .key    = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
22167                           "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
22168                           "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
22169                           "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
22170                 .klen   = 32,
22171                 .iv     = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22172                           "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22173                 .alen   = 0,
22174                 .ptext  = "\x00",
22175                 .plen   = 0,
22176                 .ctext  = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
22177                 .clen   = 8,
22178         }, {
22179                 .key    = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
22180                           "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
22181                           "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
22182                           "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
22183                 .klen   = 32,
22184                 .iv     = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
22185                           "\x36\x58\xe0\x6b\x00\x00\x00\x00",
22186                 .alen   = 0,
22187                 .ptext  = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
22188                           "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
22189                           "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
22190                           "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
22191                 .plen   = 32,
22192                 .ctext  = "\x48\x01\x5e\x02\x24\x04\x66\x47"
22193                           "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
22194                           "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
22195                           "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
22196                           "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
22197                           "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
22198                 .clen   = 48,
22199                 .novrfy = 1,
22200         }, {
22201                 .key    = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22202                           "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22203                           "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
22204                           "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
22205                 .klen   = 32,
22206                 .iv     = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
22207                           "\x44\x89\x40\x7b\x00\x00\x00\x00",
22208                 .assoc  = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
22209                           "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
22210                           "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
22211                           "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
22212                 .alen   = 32,
22213                 .ptext  = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
22214                           "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
22215                           "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
22216                           "\x04\x49\x3b\x19\x93\x57\x25\x5d",
22217                 .plen   = 32,
22218                 .ctext  = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
22219                           "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
22220                           "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
22221                           "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
22222                           "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
22223                           "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
22224                 .clen   = 48,
22225         },
22226 };
22227
22228 /*
22229  * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
22230  * use a 13-byte nonce, we only support an 11-byte nonce.  Worse,
22231  * they use AD lengths which are not valid ESP header lengths.
22232  *
22233  * These vectors are copied/generated from the ones for rfc4106 with
22234  * the key truncated by one byte..
22235  */
22236 static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
22237         { /* Generated using Crypto++ */
22238                 .key    = zeroed_string,
22239                 .klen   = 19,
22240                 .iv     = zeroed_string,
22241                 .ptext  = zeroed_string,
22242                 .plen   = 16,
22243                 .assoc  = zeroed_string,
22244                 .alen   = 16,
22245                 .ctext  = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
22246                           "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
22247                           "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
22248                           "\x27\x50\x01\xAC\x03\x33\x39\xFB",
22249                 .clen   = 32,
22250         },{
22251                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22252                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22253                           "\x00\x00\x00",
22254                 .klen   = 19,
22255                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
22256                 .ptext  = zeroed_string,
22257                 .plen   = 16,
22258                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
22259                           "\x00\x00\x00\x00\x00\x00\x00\x01",
22260                 .alen   = 16,
22261                 .ctext  = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
22262                           "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
22263                           "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
22264                           "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
22265                 .clen   = 32,
22266
22267         }, {
22268                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22269                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22270                           "\x00\x00\x00",
22271                 .klen   = 19,
22272                 .iv     = zeroed_string,
22273                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22274                           "\x01\x01\x01\x01\x01\x01\x01\x01",
22275                 .plen   = 16,
22276                 .assoc  = zeroed_string,
22277                 .alen   = 16,
22278                 .ctext  = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
22279                           "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
22280                           "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
22281                           "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
22282                 .clen   = 32,
22283         }, {
22284                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22285                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22286                           "\x00\x00\x00",
22287                 .klen   = 19,
22288                 .iv     = zeroed_string,
22289                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22290                           "\x01\x01\x01\x01\x01\x01\x01\x01",
22291                 .plen   = 16,
22292                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22293                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22294                 .alen   = 16,
22295                 .ctext  = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
22296                           "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
22297                           "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
22298                           "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
22299                 .clen   = 32,
22300         }, {
22301                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22302                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22303                           "\x00\x00\x00",
22304                 .klen   = 19,
22305                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
22306                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22307                           "\x01\x01\x01\x01\x01\x01\x01\x01",
22308                 .plen   = 16,
22309                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22310                           "\x00\x00\x00\x00\x00\x00\x00\x01",
22311                 .alen   = 16,
22312                 .ctext  = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
22313                           "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
22314                           "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
22315                           "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
22316                 .clen   = 32,
22317         }, {
22318                 .key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22319                           "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22320                           "\x00\x00\x00",
22321                 .klen   = 19,
22322                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
22323                 .ptext  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22324                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22325                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22326                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22327                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22328                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22329                           "\x01\x01\x01\x01\x01\x01\x01\x01"
22330                           "\x01\x01\x01\x01\x01\x01\x01\x01",
22331                 .plen   = 64,
22332                 .assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22333                           "\x00\x00\x00\x00\x00\x00\x00\x01",
22334                 .alen   = 16,
22335                 .ctext  = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
22336                           "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
22337                           "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
22338                           "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
22339                           "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
22340                           "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
22341                           "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
22342                           "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
22343                           "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
22344                           "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
22345                 .clen   = 80,
22346         }, {
22347                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
22348                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22349                           "\x00\x00\x00",
22350                 .klen   = 19,
22351                 .iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
22352                 .ptext  = "\xff\xff\xff\xff\xff\xff\xff\xff"
22353                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22354                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22355                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22356                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22357                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22358                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22359                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22360                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22361                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22362                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22363                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22364                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22365                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22366                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22367                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22368                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22369                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22370                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22371                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22372                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22373                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22374                           "\xff\xff\xff\xff\xff\xff\xff\xff"
22375                           "\xff\xff\xff\xff\xff\xff\xff\xff",
22376                 .plen   = 192,
22377                 .assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
22378                           "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
22379                           "\x89\xab\xcd\xef",
22380                 .alen   = 20,
22381                 .ctext  = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
22382                           "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
22383                           "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
22384                           "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
22385                           "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
22386                           "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
22387                           "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
22388                           "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
22389                           "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
22390                           "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
22391                           "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
22392                           "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
22393                           "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
22394                           "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
22395                           "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
22396                           "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
22397                           "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
22398                           "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
22399                           "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
22400                           "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
22401                           "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
22402                           "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
22403                           "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
22404                           "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
22405                           "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
22406                           "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
22407                 .clen   = 208,
22408         }, { /* From draft-mcgrew-gcm-test-01 */
22409                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22410                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22411                           "\x2E\x44\x3B",
22412                 .klen   = 19,
22413                 .iv     = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
22414                 .ptext  = "\x45\x00\x00\x48\x69\x9A\x00\x00"
22415                           "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
22416                           "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
22417                           "\x38\xD3\x01\x00\x00\x01\x00\x00"
22418                           "\x00\x00\x00\x00\x04\x5F\x73\x69"
22419                           "\x70\x04\x5F\x75\x64\x70\x03\x73"
22420                           "\x69\x70\x09\x63\x79\x62\x65\x72"
22421                           "\x63\x69\x74\x79\x02\x64\x6B\x00"
22422                           "\x00\x21\x00\x01\x01\x02\x02\x01",
22423                 .plen   = 72,
22424                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
22425                           "\x00\x00\x00\x00\x49\x56\xED\x7E"
22426                           "\x3B\x24\x4C\xFE",
22427                 .alen   = 20,
22428                 .ctext  = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
22429                           "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
22430                           "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
22431                           "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
22432                           "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
22433                           "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
22434                           "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
22435                           "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
22436                           "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
22437                           "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
22438                           "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
22439                 .clen   = 88,
22440         }, {
22441                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22442                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22443                           "\xCA\xFE\xBA",
22444                 .klen   = 19,
22445                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22446                 .ptext  = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
22447                           "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
22448                           "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
22449                           "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
22450                           "\x00\x01\x00\x00\x00\x00\x00\x00"
22451                           "\x03\x73\x69\x70\x09\x63\x79\x62"
22452                           "\x65\x72\x63\x69\x74\x79\x02\x64"
22453                           "\x6B\x00\x00\x01\x00\x01\x00\x01",
22454                 .plen   = 64,
22455                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22456                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22457                 .alen   = 16,
22458                 .ctext  = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
22459                           "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
22460                           "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
22461                           "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
22462                           "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
22463                           "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
22464                           "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
22465                           "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
22466                           "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
22467                           "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
22468                 .clen   = 80,
22469         }, {
22470                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22471                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22472                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22473                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22474                           "\x11\x22\x33",
22475                 .klen   = 35,
22476                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
22477                 .ptext  = "\x45\x00\x00\x30\x69\xA6\x40\x00"
22478                           "\x80\x06\x26\x90\xC0\xA8\x01\x02"
22479                           "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
22480                           "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
22481                           "\x70\x02\x40\x00\x20\xBF\x00\x00"
22482                           "\x02\x04\x05\xB4\x01\x01\x04\x02"
22483                           "\x01\x02\x02\x01",
22484                 .plen   = 52,
22485                 .assoc  = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
22486                           "\x01\x02\x03\x04\x05\x06\x07\x08",
22487                 .alen   = 16,
22488                 .ctext  = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
22489                           "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
22490                           "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
22491                           "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
22492                           "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
22493                           "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
22494                           "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
22495                           "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
22496                           "\x5A\x48\x6A\x3E",
22497                 .clen   = 68,
22498         }, {
22499                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
22500                           "\x00\x00\x00\x00\x00\x00\x00\x00"
22501                           "\x00\x00\x00",
22502                 .klen   = 19,
22503                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
22504                 .ptext  = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
22505                           "\x80\x01\xCB\x7A\x40\x67\x93\x18"
22506                           "\x01\x01\x01\x01\x08\x00\x07\x5C"
22507                           "\x02\x00\x44\x00\x61\x62\x63\x64"
22508                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22509                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22510                           "\x75\x76\x77\x61\x62\x63\x64\x65"
22511                           "\x66\x67\x68\x69\x01\x02\x02\x01",
22512                 .plen   = 64,
22513                 .assoc  = "\x00\x00\x00\x00\x00\x00\x00\x01"
22514                           "\x00\x00\x00\x00\x00\x00\x00\x00",
22515                 .alen   = 16,
22516                 .ctext  = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
22517                           "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
22518                           "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
22519                           "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
22520                           "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
22521                           "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
22522                           "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
22523                           "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
22524                           "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
22525                           "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
22526                 .clen   = 80,
22527         }, {
22528                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22529                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22530                           "\x57\x69\x0E",
22531                 .klen   = 19,
22532                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22533                 .ptext  = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
22534                           "\x80\x01\xCB\x7C\x40\x67\x93\x18"
22535                           "\x01\x01\x01\x01\x08\x00\x08\x5C"
22536                           "\x02\x00\x43\x00\x61\x62\x63\x64"
22537                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22538                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22539                           "\x75\x76\x77\x61\x62\x63\x64\x65"
22540                           "\x66\x67\x68\x69\x01\x02\x02\x01",
22541                 .plen   = 64,
22542                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22543                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22544                           "\xA2\xFC\xA1\xA3",
22545                 .alen   = 20,
22546                 .ctext  = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
22547                           "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
22548                           "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
22549                           "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
22550                           "\x79\x01\x58\x50\x01\x06\xE1\xE0"
22551                           "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
22552                           "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
22553                           "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
22554                           "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
22555                           "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
22556                 .clen   = 80,
22557         }, {
22558                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22559                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22560                           "\x57\x69\x0E",
22561                 .klen   = 19,
22562                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22563                 .ptext  = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
22564                           "\x80\x01\x44\x1F\x40\x67\x93\xB6"
22565                           "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
22566                           "\x01\x02\x02\x01",
22567                 .plen   = 28,
22568                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22569                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22570                           "\xA2\xFC\xA1\xA3",
22571                 .alen   = 20,
22572                 .ctext  = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
22573                           "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
22574                           "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
22575                           "\xA1\xE5\x90\x40\x05\x37\x45\x70"
22576                           "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
22577                           "\x08\xB4\x22\xE4",
22578                 .clen   = 44,
22579         }, {
22580                 .key    = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22581                           "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22582                           "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22583                           "\xCA\xFE\xBA",
22584                 .klen   = 27,
22585                 .iv     = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22586                 .ptext  = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
22587                           "\x40\x06\x78\x80\x0A\x01\x03\x8F"
22588                           "\x0A\x01\x06\x12\x80\x23\x06\xB8"
22589                           "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
22590                           "\x50\x10\x16\xD0\x75\x68\x00\x01",
22591                 .plen   = 40,
22592                 .assoc  = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22593                           "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22594                 .alen   = 16,
22595                 .ctext  = "\x05\x22\x15\xD1\x52\x56\x85\x04"
22596                           "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
22597                           "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
22598                           "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
22599                           "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
22600                           "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
22601                           "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
22602                 .clen   = 56,
22603         }, {
22604                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22605                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22606                           "\xDE\xCA\xF8",
22607                 .klen   = 19,
22608                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22609                 .ptext  = "\x45\x00\x00\x49\x33\xBA\x00\x00"
22610                           "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
22611                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22612                           "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
22613                           "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
22614                           "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
22615                           "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
22616                           "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
22617                           "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
22618                           "\x23\x01\x01\x01",
22619                 .plen   = 76,
22620                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
22621                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22622                           "\xCE\xFA\xCE\x74",
22623                 .alen   = 20,
22624                 .ctext  = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
22625                           "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
22626                           "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
22627                           "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
22628                           "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
22629                           "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
22630                           "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
22631                           "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
22632                           "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
22633                           "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
22634                           "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
22635                           "\x12\x25\x0B\xF9",
22636                 .clen   = 92,
22637         }, {
22638                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22639                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22640                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22641                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22642                           "\x73\x61\x6C",
22643                 .klen   = 35,
22644                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
22645                 .ptext  = "\x45\x08\x00\x28\x73\x2C\x00\x00"
22646                           "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
22647                           "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
22648                           "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
22649                           "\x50\x10\x1F\x64\x6D\x54\x00\x01",
22650                 .plen   = 40,
22651                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22652                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22653                           "\x69\x76\x65\x63",
22654                 .alen   = 20,
22655                 .ctext  = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
22656                           "\x2C\x64\x87\x46\x1E\x34\x10\x05"
22657                           "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
22658                           "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
22659                           "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
22660                           "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
22661                           "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
22662                 .clen   = 56,
22663         }, {
22664                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22665                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22666                           "\x57\x69\x0E",
22667                 .klen   = 19,
22668                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22669                 .ptext  = "\x45\x00\x00\x49\x33\x3E\x00\x00"
22670                           "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22671                           "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22672                           "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22673                           "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22674                           "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22675                           "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22676                           "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22677                           "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22678                           "\x15\x01\x01\x01",
22679                 .plen   = 76,
22680                 .assoc  = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22681                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22682                           "\xA2\xFC\xA1\xA3",
22683                 .alen   = 20,
22684                 .ctext  = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
22685                           "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
22686                           "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
22687                           "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
22688                           "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
22689                           "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
22690                           "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
22691                           "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
22692                           "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
22693                           "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
22694                           "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
22695                           "\xCC\xF7\x46\x6F",
22696                 .clen   = 92,
22697         }, {
22698                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22699                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22700                           "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22701                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22702                           "\x73\x61\x6C",
22703                 .klen   = 35,
22704                 .iv     = "\x61\x6E\x64\x01\x69\x76\x65\x63",
22705                 .ptext  = "\x63\x69\x73\x63\x6F\x01\x72\x75"
22706                           "\x6C\x65\x73\x01\x74\x68\x65\x01"
22707                           "\x6E\x65\x74\x77\x65\x01\x64\x65"
22708                           "\x66\x69\x6E\x65\x01\x74\x68\x65"
22709                           "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22710                           "\x67\x69\x65\x73\x01\x74\x68\x61"
22711                           "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22712                           "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22713                           "\x72\x72\x6F\x77\x01\x02\x02\x01",
22714                 .plen   = 72,
22715                 .assoc  = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22716                           "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22717                           "\x69\x76\x65\x63",
22718                 .alen   = 20,
22719                 .ctext  = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
22720                           "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
22721                           "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
22722                           "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
22723                           "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
22724                           "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
22725                           "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
22726                           "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
22727                           "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
22728                           "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
22729                           "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
22730                 .clen   = 88,
22731         }, {
22732                 .key    = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
22733                           "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
22734                           "\xD9\x66\x42",
22735                 .klen   = 19,
22736                 .iv     = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22737                 .ptext  = "\x01\x02\x02\x01",
22738                 .plen   = 4,
22739                 .assoc  = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
22740                           "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22741                 .alen   = 16,
22742                 .ctext  = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
22743                           "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
22744                           "\xF7\x61\x24\x62",
22745                 .clen   = 20,
22746         }, {
22747                 .key    = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22748                           "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22749                           "\xDE\xCA\xF8",
22750                 .klen   = 19,
22751                 .iv     = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22752                 .ptext  = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
22753                           "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
22754                           "\x62\x65\x00\x01",
22755                 .plen   = 20,
22756                 .assoc  = "\x00\x00\x01\x00\x00\x00\x00\x00"
22757                           "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22758                           "\xCE\xFA\xCE\x74",
22759                 .alen   = 20,
22760                 .ctext  = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
22761                           "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
22762                           "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
22763                           "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
22764                           "\x17\x17\x65\xAD",
22765                 .clen   = 36,
22766         }, {
22767                 .key    = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
22768                           "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
22769                           "\x61\x61\x6E\x64\x64\x6F\x69\x74"
22770                           "\x62\x65\x66\x6F\x72\x65\x69\x61"
22771                           "\x74\x75\x72",
22772                 .klen   = 35,
22773                 .iv     = "\x33\x30\x21\x69\x67\x65\x74\x6D",
22774                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22775                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22776                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22777                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22778                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22779                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22780                           "\x01\x02\x02\x01",
22781                 .plen   = 52,
22782                 .assoc  = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
22783                           "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
22784                           "\x67\x65\x74\x6D",
22785                 .alen   = 20,
22786                 .ctext  = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
22787                           "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
22788                           "\x48\x59\x80\x18\x1A\x18\x1A\x04"
22789                           "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
22790                           "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
22791                           "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
22792                           "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
22793                           "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
22794                           "\x39\xDB\xC8\xDC",
22795                 .clen   = 68,
22796         }, {
22797                 .key    = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22798                           "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22799                           "\x57\x69\x0E",
22800                 .klen   = 19,
22801                 .iv     = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22802                 .ptext  = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22803                           "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22804                           "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22805                           "\x02\x00\x07\x00\x61\x62\x63\x64"
22806                           "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22807                           "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22808                           "\x01\x02\x02\x01",
22809                 .plen   = 52,
22810                 .assoc  = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
22811                           "\x10\x10\x10\x10\x4E\x28\x00\x00"
22812                           "\xA2\xFC\xA1\xA3",
22813                 .alen   = 20,
22814                 .ctext  = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
22815                           "\x10\x60\x54\x25\xEB\x80\x04\x93"
22816                           "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
22817                           "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
22818                           "\x79\x01\x58\x50\x01\x06\xE1\xE0"
22819                           "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
22820                           "\x44\xCC\x90\xBF\x00\x94\x94\x92"
22821                           "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
22822                           "\xF4\x95\x5D\x4F",
22823                 .clen   = 68,
22824         }, {
22825                 .key    = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22826                           "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22827                           "\x22\x43\x3C",
22828                 .klen   = 19,
22829                 .iv     = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
22830                 .ptext  = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
22831                           "\x61\x62\x63\x64\x65\x66\x67\x68"
22832                           "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
22833                           "\x71\x72\x73\x74\x01\x02\x02\x01",
22834                 .plen   = 32,
22835                 .assoc  = "\x00\x00\x43\x21\x87\x65\x43\x21"
22836                           "\x00\x00\x00\x07\x48\x55\xEC\x7D"
22837                           "\x3A\x23\x4B\xFD",
22838                 .alen   = 20,
22839                 .ctext  = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
22840                           "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
22841                           "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
22842                           "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
22843                           "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
22844                           "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
22845                 .clen   = 48,
22846         }
22847 };
22848
22849 /*
22850  * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
22851  */
22852 static const struct aead_testvec rfc7539_tv_template[] = {
22853         {
22854                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
22855                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
22856                           "\x90\x91\x92\x93\x94\x95\x96\x97"
22857                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
22858                 .klen   = 32,
22859                 .iv     = "\x07\x00\x00\x00\x40\x41\x42\x43"
22860                           "\x44\x45\x46\x47",
22861                 .assoc  = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
22862                           "\xc4\xc5\xc6\xc7",
22863                 .alen   = 12,
22864                 .ptext  = "\x4c\x61\x64\x69\x65\x73\x20\x61"
22865                           "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
22866                           "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
22867                           "\x74\x68\x65\x20\x63\x6c\x61\x73"
22868                           "\x73\x20\x6f\x66\x20\x27\x39\x39"
22869                           "\x3a\x20\x49\x66\x20\x49\x20\x63"
22870                           "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
22871                           "\x65\x72\x20\x79\x6f\x75\x20\x6f"
22872                           "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
22873                           "\x74\x69\x70\x20\x66\x6f\x72\x20"
22874                           "\x74\x68\x65\x20\x66\x75\x74\x75"
22875                           "\x72\x65\x2c\x20\x73\x75\x6e\x73"
22876                           "\x63\x72\x65\x65\x6e\x20\x77\x6f"
22877                           "\x75\x6c\x64\x20\x62\x65\x20\x69"
22878                           "\x74\x2e",
22879                 .plen   = 114,
22880                 .ctext  = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
22881                           "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
22882                           "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
22883                           "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
22884                           "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
22885                           "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
22886                           "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
22887                           "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
22888                           "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
22889                           "\x98\x03\xae\xe3\x28\x09\x1b\x58"
22890                           "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
22891                           "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
22892                           "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
22893                           "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
22894                           "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
22895                           "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
22896                           "\x06\x91",
22897                 .clen   = 130,
22898         }, {
22899                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
22900                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
22901                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
22902                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
22903                 .klen   = 32,
22904                 .iv     = "\x00\x00\x00\x00\x01\x02\x03\x04"
22905                           "\x05\x06\x07\x08",
22906                 .assoc  = "\xf3\x33\x88\x86\x00\x00\x00\x00"
22907                           "\x00\x00\x4e\x91",
22908                 .alen   = 12,
22909                 .ptext  = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
22910                           "\x2d\x44\x72\x61\x66\x74\x73\x20"
22911                           "\x61\x72\x65\x20\x64\x72\x61\x66"
22912                           "\x74\x20\x64\x6f\x63\x75\x6d\x65"
22913                           "\x6e\x74\x73\x20\x76\x61\x6c\x69"
22914                           "\x64\x20\x66\x6f\x72\x20\x61\x20"
22915                           "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
22916                           "\x6f\x66\x20\x73\x69\x78\x20\x6d"
22917                           "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
22918                           "\x64\x20\x6d\x61\x79\x20\x62\x65"
22919                           "\x20\x75\x70\x64\x61\x74\x65\x64"
22920                           "\x2c\x20\x72\x65\x70\x6c\x61\x63"
22921                           "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
22922                           "\x62\x73\x6f\x6c\x65\x74\x65\x64"
22923                           "\x20\x62\x79\x20\x6f\x74\x68\x65"
22924                           "\x72\x20\x64\x6f\x63\x75\x6d\x65"
22925                           "\x6e\x74\x73\x20\x61\x74\x20\x61"
22926                           "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
22927                           "\x20\x49\x74\x20\x69\x73\x20\x69"
22928                           "\x6e\x61\x70\x70\x72\x6f\x70\x72"
22929                           "\x69\x61\x74\x65\x20\x74\x6f\x20"
22930                           "\x75\x73\x65\x20\x49\x6e\x74\x65"
22931                           "\x72\x6e\x65\x74\x2d\x44\x72\x61"
22932                           "\x66\x74\x73\x20\x61\x73\x20\x72"
22933                           "\x65\x66\x65\x72\x65\x6e\x63\x65"
22934                           "\x20\x6d\x61\x74\x65\x72\x69\x61"
22935                           "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
22936                           "\x63\x69\x74\x65\x20\x74\x68\x65"
22937                           "\x6d\x20\x6f\x74\x68\x65\x72\x20"
22938                           "\x74\x68\x61\x6e\x20\x61\x73\x20"
22939                           "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
22940                           "\x20\x69\x6e\x20\x70\x72\x6f\x67"
22941                           "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
22942                           "\x9d",
22943                 .plen   = 265,
22944                 .ctext  = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
22945                           "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
22946                           "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
22947                           "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
22948                           "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
22949                           "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
22950                           "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
22951                           "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
22952                           "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
22953                           "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
22954                           "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
22955                           "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
22956                           "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
22957                           "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
22958                           "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
22959                           "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
22960                           "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
22961                           "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
22962                           "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
22963                           "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
22964                           "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
22965                           "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
22966                           "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
22967                           "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
22968                           "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
22969                           "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
22970                           "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
22971                           "\x73\xa6\x72\x76\x27\x09\x7a\x10"
22972                           "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
22973                           "\xfa\x68\xf0\xff\x77\x98\x71\x30"
22974                           "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
22975                           "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
22976                           "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
22977                           "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
22978                           "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
22979                           "\x38",
22980                 .clen   = 281,
22981         },
22982 };
22983
22984 /*
22985  * draft-irtf-cfrg-chacha20-poly1305
22986  */
22987 static const struct aead_testvec rfc7539esp_tv_template[] = {
22988         {
22989                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
22990                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
22991                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
22992                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
22993                           "\x00\x00\x00\x00",
22994                 .klen   = 36,
22995                 .iv     = "\x01\x02\x03\x04\x05\x06\x07\x08",
22996                 .assoc  = "\xf3\x33\x88\x86\x00\x00\x00\x00"
22997                           "\x00\x00\x4e\x91\x01\x02\x03\x04"
22998                           "\x05\x06\x07\x08",
22999                 .alen   = 20,
23000                 .ptext  = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
23001                           "\x2d\x44\x72\x61\x66\x74\x73\x20"
23002                           "\x61\x72\x65\x20\x64\x72\x61\x66"
23003                           "\x74\x20\x64\x6f\x63\x75\x6d\x65"
23004                           "\x6e\x74\x73\x20\x76\x61\x6c\x69"
23005                           "\x64\x20\x66\x6f\x72\x20\x61\x20"
23006                           "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
23007                           "\x6f\x66\x20\x73\x69\x78\x20\x6d"
23008                           "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
23009                           "\x64\x20\x6d\x61\x79\x20\x62\x65"
23010                           "\x20\x75\x70\x64\x61\x74\x65\x64"
23011                           "\x2c\x20\x72\x65\x70\x6c\x61\x63"
23012                           "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
23013                           "\x62\x73\x6f\x6c\x65\x74\x65\x64"
23014                           "\x20\x62\x79\x20\x6f\x74\x68\x65"
23015                           "\x72\x20\x64\x6f\x63\x75\x6d\x65"
23016                           "\x6e\x74\x73\x20\x61\x74\x20\x61"
23017                           "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
23018                           "\x20\x49\x74\x20\x69\x73\x20\x69"
23019                           "\x6e\x61\x70\x70\x72\x6f\x70\x72"
23020                           "\x69\x61\x74\x65\x20\x74\x6f\x20"
23021                           "\x75\x73\x65\x20\x49\x6e\x74\x65"
23022                           "\x72\x6e\x65\x74\x2d\x44\x72\x61"
23023                           "\x66\x74\x73\x20\x61\x73\x20\x72"
23024                           "\x65\x66\x65\x72\x65\x6e\x63\x65"
23025                           "\x20\x6d\x61\x74\x65\x72\x69\x61"
23026                           "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
23027                           "\x63\x69\x74\x65\x20\x74\x68\x65"
23028                           "\x6d\x20\x6f\x74\x68\x65\x72\x20"
23029                           "\x74\x68\x61\x6e\x20\x61\x73\x20"
23030                           "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
23031                           "\x20\x69\x6e\x20\x70\x72\x6f\x67"
23032                           "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
23033                           "\x9d",
23034                 .plen   = 265,
23035                 .ctext  = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
23036                           "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
23037                           "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
23038                           "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
23039                           "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
23040                           "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
23041                           "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
23042                           "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
23043                           "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
23044                           "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
23045                           "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
23046                           "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
23047                           "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
23048                           "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
23049                           "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
23050                           "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
23051                           "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
23052                           "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
23053                           "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
23054                           "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
23055                           "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
23056                           "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
23057                           "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
23058                           "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
23059                           "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
23060                           "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
23061                           "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
23062                           "\x73\xa6\x72\x76\x27\x09\x7a\x10"
23063                           "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
23064                           "\xfa\x68\xf0\xff\x77\x98\x71\x30"
23065                           "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
23066                           "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
23067                           "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
23068                           "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
23069                           "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
23070                           "\x38",
23071                 .clen   = 281,
23072         },
23073 };
23074
23075 /*
23076  * AEGIS-128 test vectors - generated via reference implementation from
23077  * SUPERCOP (https://bench.cr.yp.to/supercop.html):
23078  *
23079  *   https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
23080  *   (see crypto_aead/aegis128/)
23081  */
23082 static const struct aead_testvec aegis128_tv_template[] = {
23083         {
23084                 .key    = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
23085                           "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
23086                 .klen   = 16,
23087                 .iv     = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
23088                           "\x40\x6d\x59\x48\xfc\x92\x61\x03",
23089                 .assoc  = "",
23090                 .alen   = 0,
23091                 .ptext  = "",
23092                 .plen   = 0,
23093                 .ctext  = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
23094                           "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
23095                 .clen   = 16,
23096         }, {
23097                 .key    = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
23098                           "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
23099                 .klen   = 16,
23100                 .iv     = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
23101                           "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
23102                 .assoc  = "",
23103                 .alen   = 0,
23104                 .ptext  = "\x79",
23105                 .plen   = 1,
23106                 .ctext  = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
23107                           "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
23108                           "\xcc",
23109                 .clen   = 17,
23110         }, {
23111                 .key    = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
23112                           "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
23113                 .klen   = 16,
23114                 .iv     = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
23115                           "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
23116                 .assoc  = "",
23117                 .alen   = 0,
23118                 .ptext  = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
23119                           "\x82\x8e\x16\xb4\xed\x6d\x47",
23120                 .plen   = 15,
23121                 .ctext  = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
23122                           "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
23123                           "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
23124                           "\x7a\x21\x16\xb3\xe6\x67\x66",
23125                 .clen   = 31,
23126         }, {
23127                 .key    = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
23128                           "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
23129                 .klen   = 16,
23130                 .iv     = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
23131                           "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
23132                 .assoc  = "",
23133                 .alen   = 0,
23134                 .ptext  = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
23135                           "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
23136                 .plen   = 16,
23137                 .ctext  = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
23138                           "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
23139                           "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
23140                           "\x51\x10\x16\x27\x70\x9b\x64\x29",
23141                 .clen   = 32,
23142         }, {
23143                 .key    = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
23144                           "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
23145                 .klen   = 16,
23146                 .iv     = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
23147                           "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
23148                 .assoc  = "",
23149                 .alen   = 0,
23150                 .ptext  = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
23151                           "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
23152                           "\xd3",
23153                 .plen   = 17,
23154                 .ctext  = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
23155                           "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
23156                           "\x46\x80\xb1\x0e\x18\x30\x40\x97"
23157                           "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
23158                           "\x3b",
23159                 .clen   = 33,
23160         }, {
23161                 .key    = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
23162                           "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
23163                 .klen   = 16,
23164                 .iv     = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
23165                           "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
23166                 .assoc  = "",
23167                 .alen   = 0,
23168                 .ptext  = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
23169                           "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
23170                           "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
23171                           "\x88\x11\x39\x12\x1c\x3a\xbb",
23172                 .plen   = 31,
23173                 .ctext  = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
23174                           "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
23175                           "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
23176                           "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
23177                           "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
23178                           "\x75\xc4\x53\x01\x89\x45\x59",
23179                 .clen   = 47,
23180         }, {
23181                 .key    = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
23182                           "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
23183                 .klen   = 16,
23184                 .iv     = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
23185                           "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
23186                 .assoc  = "",
23187                 .alen   = 0,
23188                 .ptext  = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
23189                           "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
23190                           "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
23191                           "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
23192                 .plen   = 32,
23193                 .ctext  = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
23194                           "\x95\xf4\x58\x38\x14\x83\x27\x01"
23195                           "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
23196                           "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
23197                           "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
23198                           "\x51\x52\x77\xf2\x5e\x85\x80\x41",
23199                 .clen   = 48,
23200         }, {
23201                 .key    = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
23202                           "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
23203                 .klen   = 16,
23204                 .iv     = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
23205                           "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
23206                 .assoc  = "\xd5",
23207                 .alen   = 1,
23208                 .ptext  = "",
23209                 .plen   = 0,
23210                 .ctext  = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
23211                           "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
23212                 .clen   = 16,
23213         }, {
23214                 .key    = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
23215                           "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
23216                 .klen   = 16,
23217                 .iv     = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
23218                           "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
23219                 .assoc  = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
23220                           "\x68\x75\x16\xf8\xcb\x7e\xa7",
23221                 .alen   = 15,
23222                 .ptext  = "",
23223                 .plen   = 0,
23224                 .ctext  = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
23225                           "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
23226                 .clen   = 16,
23227         }, {
23228                 .key    = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
23229                           "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
23230                 .klen   = 16,
23231                 .iv     = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
23232                           "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
23233                 .assoc  = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
23234                           "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
23235                 .alen   = 16,
23236                 .ptext  = "",
23237                 .plen   = 0,
23238                 .ctext  = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
23239                           "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
23240                 .clen   = 16,
23241         }, {
23242                 .key    = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
23243                           "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
23244                 .klen   = 16,
23245                 .iv     = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
23246                           "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
23247                 .assoc  = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
23248                           "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
23249                           "\x07",
23250                 .alen   = 17,
23251                 .ptext  = "",
23252                 .plen   = 0,
23253                 .ctext  = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
23254                           "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
23255                 .clen   = 16,
23256         }, {
23257                 .key    = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
23258                           "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
23259                 .klen   = 16,
23260                 .iv     = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
23261                           "\xca\xcd\xff\x88\xba\x22\xbe\x47",
23262                 .assoc  = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
23263                           "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
23264                           "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
23265                           "\xe0\x17\x3a\x2e\x83\x5c\x8f",
23266                 .alen   = 31,
23267                 .ptext  = "",
23268                 .plen   = 0,
23269                 .ctext  = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
23270                           "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
23271                 .clen   = 16,
23272         }, {
23273                 .key    = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
23274                           "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
23275                 .klen   = 16,
23276                 .iv     = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
23277                           "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
23278                 .assoc  = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
23279                           "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
23280                           "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
23281                           "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
23282                 .alen   = 32,
23283                 .ptext  = "",
23284                 .plen   = 0,
23285                 .ctext  = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
23286                           "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
23287                 .clen   = 16,
23288         }, {
23289                 .key    = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
23290                           "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
23291                 .klen   = 16,
23292                 .iv     = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
23293                           "\xcc\x81\x63\xab\xae\x6b\x43\x54",
23294                 .assoc  = "\x40",
23295                 .alen   = 1,
23296                 .ptext  = "\x4f",
23297                 .plen   = 1,
23298                 .ctext  = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
23299                           "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
23300                           "\x39",
23301                 .clen   = 17,
23302         }, {
23303                 .key    = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
23304                           "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
23305                 .klen   = 16,
23306                 .iv     = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
23307                           "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
23308                 .assoc  = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
23309                           "\x6d\x92\x42\x61\xa7\x58\x37",
23310                 .alen   = 15,
23311                 .ptext  = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
23312                           "\x8d\xc8\x6e\x85\xa5\x21\x67",
23313                 .plen   = 15,
23314                 .ctext  = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
23315                           "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
23316                           "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
23317                           "\x98\xbd\x71\x7a\xef\xa4\xfa",
23318                 .clen   = 31,
23319         }, {
23320                 .key    = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
23321                           "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
23322                 .klen   = 16,
23323                 .iv     = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
23324                           "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
23325                 .assoc  = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
23326                           "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
23327                 .alen   = 16,
23328                 .ptext  = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
23329                           "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
23330                 .plen   = 16,
23331                 .ctext  = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
23332                           "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
23333                           "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
23334                           "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
23335                 .clen   = 32,
23336         }, {
23337                 .key    = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
23338                           "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
23339                 .klen   = 16,
23340                 .iv     = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
23341                           "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
23342                 .assoc  = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
23343                           "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
23344                           "\x05",
23345                 .alen   = 17,
23346                 .ptext  = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
23347                           "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
23348                           "\xd0",
23349                 .plen   = 17,
23350                 .ctext  = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
23351                           "\x38\x2d\x69\x90\x1c\x71\x38\x98"
23352                           "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
23353                           "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
23354                           "\x93",
23355                 .clen   = 33,
23356         }, {
23357                 .key    = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
23358                           "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
23359                 .klen   = 16,
23360                 .iv     = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
23361                           "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
23362                 .assoc  = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
23363                           "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
23364                           "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
23365                           "\x68\x28\x73\x40\x9f\x96\x4a",
23366                 .alen   = 31,
23367                 .ptext  = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
23368                           "\x10\x57\x85\x39\x93\x8f\xaf\x70"
23369                           "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
23370                           "\x98\x34\xab\x37\x56\xae\x32",
23371                 .plen   = 31,
23372                 .ctext  = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
23373                           "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
23374                           "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
23375                           "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
23376                           "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
23377                           "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
23378                 .clen   = 47,
23379         }, {
23380                 .key    = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
23381                           "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
23382                 .klen   = 16,
23383                 .iv     = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
23384                           "\x50\xc4\xde\x82\x90\x21\x11\x73",
23385                 .assoc  = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
23386                           "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
23387                           "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
23388                           "\x29\x56\x52\x19\x79\xf5\xe9\x37",
23389                 .alen   = 32,
23390                 .ptext  = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
23391                           "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
23392                           "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
23393                           "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
23394                 .plen   = 32,
23395                 .ctext  = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
23396                           "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
23397                           "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
23398                           "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
23399                           "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
23400                           "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
23401                 .clen   = 48,
23402         }, {
23403                 .key    = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
23404                           "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
23405                 .klen   = 16,
23406                 .iv     = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
23407                           "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
23408                 .assoc  = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
23409                           "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
23410                           "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
23411                           "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
23412                           "\x9d",
23413                 .alen   = 33,
23414                 .ptext  = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
23415                           "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
23416                           "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
23417                           "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
23418                           "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
23419                           "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
23420                           "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
23421                           "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
23422                           "\xbd",
23423                 .plen   = 65,
23424                 .ctext  = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
23425                           "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
23426                           "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
23427                           "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
23428                           "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
23429                           "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
23430                           "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
23431                           "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
23432                           "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
23433                           "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
23434                           "\x3f",
23435                 .clen   = 81,
23436         }, {
23437                 .key    = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
23438                           "\x32\x42\x15\x80\x85\xa1\x65\xfe",
23439                 .klen   = 16,
23440                 .iv     = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
23441                           "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
23442                 .assoc  = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
23443                           "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
23444                           "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
23445                           "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
23446                           "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
23447                           "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
23448                           "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
23449                           "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
23450                           "\x54",
23451                 .alen   = 65,
23452                 .ptext  = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
23453                           "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
23454                           "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
23455                           "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
23456                           "\x2f",
23457                 .plen   = 33,
23458                 .ctext  = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
23459                           "\x77\x09\xac\x74\xef\xd2\x56\xae"
23460                           "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
23461                           "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
23462                           "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
23463                           "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
23464                           "\x39",
23465                 .clen   = 49,
23466         }, {
23467                 .key    = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
23468                           "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
23469                 .klen   = 16,
23470                 .iv     = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
23471                           "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
23472                 .assoc  = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
23473                           "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
23474                 .alen   = 16,
23475                 .ptext  = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
23476                           "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
23477                 .plen   = 16,
23478                 .ctext  = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
23479                           "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
23480                           "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
23481                           "\xde\x20\x59\x77\xc1\x74\x90",
23482                 .clen   = 31,
23483         }, {
23484                 .key    = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
23485                           "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
23486                 .klen   = 16,
23487                 .iv     = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
23488                           "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
23489                 .assoc  = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
23490                           "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
23491                 .alen   = 16,
23492                 .ptext  = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
23493                           "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
23494                 .plen   = 16,
23495                 .ctext  = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
23496                           "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
23497                           "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
23498                           "\xe9\xe0\x17\x45\x70\x12",
23499                 .clen   = 30,
23500         }, {
23501                 .key    = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
23502                           "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
23503                 .klen   = 16,
23504                 .iv     = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
23505                           "\xd5\x07\x58\x59\x72\xd7\xde\x92",
23506                 .assoc  = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
23507                           "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
23508                 .alen   = 16,
23509                 .ptext  = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
23510                           "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
23511                 .plen   = 16,
23512                 .ctext  = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
23513                           "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
23514                           "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
23515                 .clen   = 24,
23516         },
23517 };
23518
23519 /*
23520  * All key wrapping test vectors taken from
23521  * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
23522  *
23523  * Note: as documented in keywrap.c, the ivout for encryption is the first
23524  * semiblock of the ciphertext from the test vector. For decryption, iv is
23525  * the first semiblock of the ciphertext.
23526  */
23527 static const struct cipher_testvec aes_kw_tv_template[] = {
23528         {
23529                 .key    = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
23530                           "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
23531                 .klen   = 16,
23532                 .ptext  = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
23533                           "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
23534                 .ctext  = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
23535                           "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
23536                 .len    = 16,
23537                 .iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
23538                 .generates_iv = true,
23539         }, {
23540                 .key    = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
23541                           "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
23542                           "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
23543                           "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
23544                 .klen   = 32,
23545                 .ptext  = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
23546                           "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
23547                 .ctext  = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
23548                           "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
23549                 .len    = 16,
23550                 .iv_out = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
23551                 .generates_iv = true,
23552         },
23553 };
23554
23555 /*
23556  * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
23557  * test vectors, taken from Appendix B.2.9 and B.2.10:
23558  *     http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
23559  * Only AES-128 is supported at this time.
23560  */
23561 static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
23562         {
23563                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
23564                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
23565                 .klen   = 16,
23566                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
23567                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
23568                 .dtlen  = 16,
23569                 .v      = "\x80\x00\x00\x00\x00\x00\x00\x00"
23570                           "\x00\x00\x00\x00\x00\x00\x00\x00",
23571                 .vlen   = 16,
23572                 .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
23573                           "\x84\x79\x66\x85\xc1\x2f\x76\x41",
23574                 .rlen   = 16,
23575                 .loops  = 1,
23576         }, {
23577                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
23578                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
23579                 .klen   = 16,
23580                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
23581                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
23582                 .dtlen  = 16,
23583                 .v      = "\xc0\x00\x00\x00\x00\x00\x00\x00"
23584                           "\x00\x00\x00\x00\x00\x00\x00\x00",
23585                 .vlen   = 16,
23586                 .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
23587                           "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
23588                 .rlen   = 16,
23589                 .loops  = 1,
23590         }, {
23591                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
23592                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
23593                 .klen   = 16,
23594                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
23595                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
23596                 .dtlen  = 16,
23597                 .v      = "\xe0\x00\x00\x00\x00\x00\x00\x00"
23598                           "\x00\x00\x00\x00\x00\x00\x00\x00",
23599                 .vlen   = 16,
23600                 .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
23601                           "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
23602                 .rlen   = 16,
23603                 .loops  = 1,
23604         }, {
23605                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
23606                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
23607                 .klen   = 16,
23608                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
23609                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
23610                 .dtlen  = 16,
23611                 .v      = "\xf0\x00\x00\x00\x00\x00\x00\x00"
23612                           "\x00\x00\x00\x00\x00\x00\x00\x00",
23613                 .vlen   = 16,
23614                 .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
23615                           "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
23616                 .rlen   = 16,
23617                 .loops  = 1,
23618         }, {
23619                 .key    = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
23620                           "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
23621                 .klen   = 16,
23622                 .dt     = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
23623                           "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
23624                 .dtlen  = 16,
23625                 .v      = "\xf8\x00\x00\x00\x00\x00\x00\x00"
23626                           "\x00\x00\x00\x00\x00\x00\x00\x00",
23627                 .vlen   = 16,
23628                 .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
23629                           "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
23630                 .rlen   = 16,
23631                 .loops  = 1,
23632         }, {    /* Monte Carlo Test */
23633                 .key    = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
23634                           "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
23635                 .klen   = 16,
23636                 .dt     = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
23637                           "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
23638                 .dtlen  = 16,
23639                 .v      = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
23640                           "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
23641                 .vlen   = 16,
23642                 .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
23643                           "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
23644                 .rlen   = 16,
23645                 .loops  = 10000,
23646         },
23647 };
23648
23649 /*
23650  * SP800-90A DRBG Test vectors from
23651  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
23652  *
23653  * Test vectors for DRBG with prediction resistance. All types of DRBGs
23654  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
23655  * w/o personalization string, w/ and w/o additional input string).
23656  */
23657 static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
23658         {
23659                 .entropy = (unsigned char *)
23660                         "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
23661                         "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
23662                         "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
23663                         "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
23664                 .entropylen = 48,
23665                 .entpra = (unsigned char *)
23666                         "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
23667                         "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
23668                         "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
23669                 .entprb = (unsigned char *)
23670                         "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
23671                         "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
23672                         "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
23673                 .entprlen = 32,
23674                 .expected = (unsigned char *)
23675                         "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
23676                         "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
23677                         "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
23678                         "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
23679                         "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
23680                         "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
23681                         "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
23682                         "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
23683                         "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
23684                         "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
23685                         "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
23686                 .expectedlen = 128,
23687                 .addtla = NULL,
23688                 .addtlb = NULL,
23689                 .addtllen = 0,
23690                 .pers = NULL,
23691                 .perslen = 0,
23692         }, {
23693                 .entropy = (unsigned char *)
23694                         "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
23695                         "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
23696                         "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
23697                         "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
23698                 .entropylen = 48,
23699                 .entpra = (unsigned char *)
23700                         "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
23701                         "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
23702                         "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
23703                 .entprb = (unsigned char *)
23704                         "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
23705                         "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
23706                         "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
23707                 .entprlen = 32,
23708                 .expected = (unsigned char *)
23709                         "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
23710                         "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
23711                         "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
23712                         "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
23713                         "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
23714                         "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
23715                         "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
23716                         "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
23717                         "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
23718                         "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
23719                         "\x50\x47\xa3\x63\x81\x16\xaf\x19",
23720                 .expectedlen = 128,
23721                 .addtla = (unsigned char *)
23722                         "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
23723                         "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
23724                         "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
23725                 .addtlb = (unsigned char *)
23726                         "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
23727                         "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
23728                         "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
23729                 .addtllen = 32,
23730                 .pers = NULL,
23731                 .perslen = 0,
23732         }, {
23733                 .entropy = (unsigned char *)
23734                         "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
23735                         "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
23736                         "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
23737                         "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
23738                 .entropylen = 48,
23739                 .entpra = (unsigned char *)
23740                         "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
23741                         "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
23742                         "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
23743                 .entprb = (unsigned char *)
23744                         "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
23745                         "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
23746                         "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
23747                 .entprlen = 32,
23748                 .expected = (unsigned char *)
23749                         "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
23750                         "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
23751                         "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
23752                         "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
23753                         "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
23754                         "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
23755                         "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
23756                         "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
23757                         "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
23758                         "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
23759                         "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
23760                 .expectedlen = 128,
23761                 .addtla = NULL,
23762                 .addtlb = NULL,
23763                 .addtllen = 0,
23764                 .pers = (unsigned char *)
23765                         "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
23766                         "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
23767                         "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
23768                 .perslen = 32,
23769         }, {
23770                 .entropy = (unsigned char *)
23771                         "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
23772                         "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
23773                         "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
23774                         "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
23775                 .entropylen = 48,
23776                 .entpra = (unsigned char *)
23777                         "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
23778                         "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
23779                         "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
23780                 .entprb = (unsigned char *)
23781                         "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
23782                         "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
23783                         "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
23784                 .entprlen = 32,
23785                 .expected = (unsigned char *)
23786                         "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
23787                         "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
23788                         "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
23789                         "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
23790                         "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
23791                         "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
23792                         "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
23793                         "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
23794                         "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
23795                         "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
23796                         "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
23797                 .expectedlen = 128,
23798                 .addtla = (unsigned char *)
23799                         "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
23800                         "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
23801                         "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
23802                 .addtlb = (unsigned char *)
23803                         "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
23804                         "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
23805                         "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
23806                 .addtllen = 32,
23807                 .pers = (unsigned char *)
23808                         "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
23809                         "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
23810                         "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
23811                 .perslen = 32,
23812         },
23813 };
23814
23815 static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
23816         {
23817                 .entropy = (unsigned char *)
23818                         "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
23819                         "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
23820                         "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
23821                         "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
23822                 .entropylen = 48,
23823                 .entpra = (unsigned char *)
23824                         "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
23825                         "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
23826                         "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
23827                 .entprb = (unsigned char *)
23828                         "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
23829                         "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
23830                         "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
23831                 .entprlen = 32,
23832                 .expected = (unsigned char *)
23833                         "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
23834                         "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
23835                         "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
23836                         "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
23837                         "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
23838                         "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
23839                         "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
23840                         "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
23841                         "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
23842                         "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
23843                         "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
23844                 .expectedlen = 128,
23845                 .addtla = NULL,
23846                 .addtlb = NULL,
23847                 .addtllen = 0,
23848                 .pers = NULL,
23849                 .perslen = 0,
23850         }, {
23851                 .entropy = (unsigned char *)
23852                         "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
23853                         "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
23854                         "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
23855                         "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
23856                 .entropylen = 48,
23857                 .entpra = (unsigned char *)
23858                         "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
23859                         "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
23860                         "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
23861                 .entprb = (unsigned char *)
23862                         "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
23863                         "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
23864                         "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
23865                 .entprlen = 32,
23866                 .expected = (unsigned char *)
23867                         "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
23868                         "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
23869                         "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
23870                         "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
23871                         "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
23872                         "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
23873                         "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
23874                         "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
23875                         "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
23876                         "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
23877                         "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
23878                 .expectedlen = 128,
23879                 .addtla = (unsigned char *)
23880                         "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
23881                         "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
23882                         "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
23883                 .addtlb = (unsigned char *)
23884                         "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
23885                         "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
23886                         "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
23887                 .addtllen = 32,
23888                 .pers = NULL,
23889                 .perslen = 0,
23890         }, {
23891                 .entropy = (unsigned char *)
23892                         "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
23893                         "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
23894                         "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
23895                         "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
23896                 .entropylen = 48,
23897                 .entpra = (unsigned char *)
23898                         "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
23899                         "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
23900                         "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
23901                 .entprb = (unsigned char *)
23902                         "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
23903                         "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
23904                         "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
23905                 .entprlen = 32,
23906                 .expected = (unsigned char *)
23907                         "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
23908                         "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
23909                         "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
23910                         "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
23911                         "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
23912                         "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
23913                         "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
23914                         "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
23915                         "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
23916                         "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
23917                         "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
23918                 .expectedlen = 128,
23919                 .addtla = NULL,
23920                 .addtlb = NULL,
23921                 .addtllen = 0,
23922                 .pers = (unsigned char *)
23923                         "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
23924                         "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
23925                         "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
23926                 .perslen = 32,
23927         }, {
23928                 .entropy = (unsigned char *)
23929                         "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
23930                         "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
23931                         "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
23932                         "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
23933                 .entropylen = 48,
23934                 .entpra = (unsigned char *)
23935                         "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
23936                         "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
23937                         "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
23938                 .entprb = (unsigned char *)
23939                         "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
23940                         "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
23941                         "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
23942                 .entprlen = 32,
23943                 .expected = (unsigned char *)
23944                         "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
23945                         "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
23946                         "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
23947                         "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
23948                         "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
23949                         "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
23950                         "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
23951                         "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
23952                         "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
23953                         "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
23954                         "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
23955                 .expectedlen = 128,
23956                 .addtla = (unsigned char *)
23957                         "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
23958                         "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
23959                         "\x86\x88\x55\x28\xc1\x69\xdd\x76",
23960                 .addtlb = (unsigned char *)
23961                         "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
23962                         "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
23963                         "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
23964                 .addtllen = 32,
23965                 .pers = (unsigned char *)
23966                         "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
23967                         "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
23968                         "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
23969                 .perslen = 32,
23970         },
23971 };
23972
23973 static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
23974         {
23975                 .entropy = (unsigned char *)
23976                         "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
23977                         "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
23978                 .entropylen = 24,
23979                 .entpra = (unsigned char *)
23980                         "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
23981                         "\xb4\xec\x80\xb1",
23982                 .entprb = (unsigned char *)
23983                         "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
23984                         "\x28\x07\xeb\xc2",
23985                 .entprlen = 16,
23986                 .expected = (unsigned char *)
23987                         "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
23988                         "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
23989                         "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
23990                         "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
23991                         "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
23992                         "\x8a\xf1\x23\xa8",
23993                 .expectedlen = 64,
23994                 .addtla = NULL,
23995                 .addtlb = NULL,
23996                 .addtllen = 0,
23997                 .pers = NULL,
23998                 .perslen = 0,
23999         }, {
24000                 .entropy = (unsigned char *)
24001                         "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
24002                         "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
24003                 .entropylen = 24,
24004                 .entpra = (unsigned char *)
24005                         "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
24006                         "\x67\xd1\x08\xf8",
24007                 .entprb = (unsigned char *)
24008                         "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
24009                         "\xd4\xba\x04\x58",
24010                 .entprlen = 16,
24011                 .expected = (unsigned char *)
24012                         "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
24013                         "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
24014                         "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
24015                         "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
24016                         "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
24017                         "\xc1\x02\x41\x82",
24018                 .expectedlen = 64,
24019                 .addtla = (unsigned char *)
24020                         "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
24021                         "\xeb\xb3\x01\x76",
24022                 .addtlb = (unsigned char *)
24023                         "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
24024                         "\xd0\x7f\xcc\x43",
24025                 .addtllen = 16,
24026                 .pers = NULL,
24027                 .perslen = 0,
24028         }, {
24029                 .entropy = (unsigned char *)
24030                         "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
24031                         "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
24032                 .entropylen = 24,
24033                 .entpra = (unsigned char *)
24034                         "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
24035                         "\xc3\x0f\xe3\xb0",
24036                 .entprb = (unsigned char *)
24037                         "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
24038                         "\xd6\x9c\x9d\xe8",
24039                 .entprlen = 16,
24040                 .expected = (unsigned char *)
24041                         "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
24042                         "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
24043                         "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
24044                         "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
24045                         "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
24046                         "\x72\x82\x0c\xcf",
24047                 .expectedlen = 64,
24048                 .addtla = NULL,
24049                 .addtlb = NULL,
24050                 .addtllen = 0,
24051                 .pers = (unsigned char *)
24052                         "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
24053                         "\x21\x52\xb3\xad",
24054                 .perslen = 16,
24055         }, {
24056                 .entropy = (unsigned char *)
24057                         "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
24058                         "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
24059                 .entropylen = 24,
24060                 .entpra = (unsigned char *)
24061                         "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
24062                         "\xc4\x2c\xe8\x10",
24063                 .entprb = (unsigned char *)
24064                         "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
24065                         "\x08\xf7\xa5\x01",
24066                 .entprlen = 16,
24067                 .expected = (unsigned char *)
24068                         "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
24069                         "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
24070                         "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
24071                         "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
24072                         "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
24073                         "\x23\xc5\x1f\x68",
24074                 .expectedlen = 64,
24075                 .addtla = (unsigned char *)
24076                         "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
24077                         "\x23\x6d\xad\x1d",
24078                 .addtlb = (unsigned char *)
24079                         "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
24080                         "\xbc\x59\x31\x8c",
24081                 .addtllen = 16,
24082                 .pers = (unsigned char *)
24083                         "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
24084                         "\x37\x3c\x5c\x0b",
24085                 .perslen = 16,
24086         },
24087 };
24088
24089 /*
24090  * SP800-90A DRBG Test vectors from
24091  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
24092  *
24093  * Test vectors for DRBG without prediction resistance. All types of DRBGs
24094  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
24095  * w/o personalization string, w/ and w/o additional input string).
24096  */
24097 static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
24098         {
24099                 .entropy = (unsigned char *)
24100                         "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
24101                         "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
24102                         "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
24103                         "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
24104                 .entropylen = 48,
24105                 .expected = (unsigned char *)
24106                         "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
24107                         "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
24108                         "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
24109                         "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
24110                         "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
24111                         "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
24112                         "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
24113                         "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
24114                         "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
24115                         "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
24116                         "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
24117                 .expectedlen = 128,
24118                 .addtla = NULL,
24119                 .addtlb = NULL,
24120                 .addtllen = 0,
24121                 .pers = NULL,
24122                 .perslen = 0,
24123         }, {
24124                 .entropy = (unsigned char *)
24125                         "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
24126                         "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
24127                         "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
24128                         "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
24129                 .entropylen = 48,
24130                 .expected = (unsigned char *)
24131                         "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
24132                         "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
24133                         "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
24134                         "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
24135                         "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
24136                         "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
24137                         "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
24138                         "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
24139                         "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
24140                         "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
24141                         "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
24142                 .expectedlen = 128,
24143                 .addtla = (unsigned char *)
24144                         "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
24145                         "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
24146                         "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
24147                 .addtlb = (unsigned char *)
24148                         "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
24149                         "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
24150                         "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
24151                 .addtllen = 32,
24152                 .pers = NULL,
24153                 .perslen = 0,
24154         }, {
24155                 .entropy = (unsigned char *)
24156                         "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
24157                         "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
24158                         "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
24159                         "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
24160                 .entropylen = 48,
24161                 .expected = (unsigned char *)
24162                         "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
24163                         "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
24164                         "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
24165                         "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
24166                         "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
24167                         "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
24168                         "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
24169                         "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
24170                         "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
24171                         "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
24172                         "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
24173                 .expectedlen = 128,
24174                 .addtla = NULL,
24175                 .addtlb = NULL,
24176                 .addtllen = 0,
24177                 .pers = (unsigned char *)
24178                         "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
24179                         "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
24180                         "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
24181                 .perslen = 32,
24182         }, {
24183                 .entropy = (unsigned char *)
24184                         "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
24185                         "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
24186                         "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
24187                         "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
24188                 .entropylen = 48,
24189                 .expected = (unsigned char *)
24190                         "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
24191                         "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
24192                         "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
24193                         "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
24194                         "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
24195                         "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
24196                         "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
24197                         "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
24198                         "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
24199                         "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
24200                         "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
24201                 .expectedlen = 128,
24202                 .addtla = (unsigned char *)
24203                         "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
24204                         "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
24205                         "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
24206                 .addtlb = (unsigned char *)
24207                         "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
24208                         "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
24209                         "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
24210                 .addtllen = 32,
24211                 .pers = (unsigned char *)
24212                         "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
24213                         "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
24214                         "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
24215                 .perslen = 32,
24216         },
24217 };
24218
24219 static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
24220         {
24221                 .entropy = (unsigned char *)
24222                         "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
24223                         "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
24224                         "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
24225                         "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
24226                 .entropylen = 48,
24227                 .expected = (unsigned char *)
24228                         "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
24229                         "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
24230                         "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
24231                         "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
24232                         "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
24233                         "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
24234                         "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
24235                         "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
24236                         "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
24237                         "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
24238                         "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
24239                 .expectedlen = 128,
24240                 .addtla = NULL,
24241                 .addtlb = NULL,
24242                 .addtllen = 0,
24243                 .pers = NULL,
24244                 .perslen = 0,
24245         }, {
24246                 .entropy = (unsigned char *)
24247                         "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
24248                         "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
24249                         "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
24250                         "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
24251                 .entropylen = 48,
24252                 .expected = (unsigned char *)
24253                         "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
24254                         "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
24255                         "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
24256                         "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
24257                         "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
24258                         "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
24259                         "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
24260                         "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
24261                         "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
24262                         "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
24263                         "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
24264                 .expectedlen = 128,
24265                 .addtla = (unsigned char *)
24266                         "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
24267                         "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
24268                         "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
24269                 .addtlb = (unsigned char *)
24270                         "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
24271                         "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
24272                         "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
24273                 .addtllen = 32,
24274                 .pers = NULL,
24275                 .perslen = 0,
24276         }, {
24277                 .entropy = (unsigned char *)
24278                         "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
24279                         "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
24280                         "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
24281                         "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
24282                 .entropylen = 48,
24283                 .expected = (unsigned char *)
24284                         "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
24285                         "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
24286                         "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
24287                         "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
24288                         "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
24289                         "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
24290                         "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
24291                         "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
24292                         "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
24293                         "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
24294                         "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
24295                 .expectedlen = 128,
24296                 .addtla = NULL,
24297                 .addtlb = NULL,
24298                 .addtllen = 0,
24299                 .pers = (unsigned char *)
24300                         "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
24301                         "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
24302                         "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
24303                 .perslen = 32,
24304         }, {
24305                 .entropy = (unsigned char *)
24306                         "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
24307                         "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
24308                         "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
24309                         "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
24310                 .entropylen = 48,
24311                 .expected = (unsigned char *)
24312                         "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
24313                         "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
24314                         "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
24315                         "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
24316                         "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
24317                         "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
24318                         "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
24319                         "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
24320                         "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
24321                         "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
24322                         "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
24323                 .expectedlen = 128,
24324                 .addtla = (unsigned char *)
24325                         "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
24326                         "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
24327                         "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
24328                 .addtlb = (unsigned char *)
24329                         "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
24330                         "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
24331                         "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
24332                 .addtllen = 32,
24333                 .pers = (unsigned char *)
24334                         "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
24335                         "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
24336                         "\x36\x60\x3b\xca\x37\xc9\xee\x29",
24337                 .perslen = 32,
24338         },
24339 };
24340
24341 /* Test vector obtained during NIST ACVP testing */
24342 static const struct drbg_testvec drbg_nopr_hmac_sha512_tv_template[] = {
24343         {
24344                 .entropy = (unsigned char *)
24345                         "\xDF\xB0\xF2\x18\xF0\x78\x07\x01\x29\xA4\x29\x26"
24346                         "\x2F\x8A\x34\xCB\x37\xEF\xEE\x41\xE6\x96\xF7\xFF"
24347                         "\x61\x47\xD3\xED\x41\x97\xEF\x64\x0C\x48\x56\x5A"
24348                         "\xE6\x40\x6E\x4A\x3B\x9E\x7F\xAC\x08\xEC\x25\xAE"
24349                         "\x0B\x51\x0E\x2C\x44\x2E\xBD\xDB\x57\xD0\x4A\x6D"
24350                         "\x80\x3E\x37\x0F",
24351                 .entropylen = 64,
24352                 .expected = (unsigned char *)
24353                         "\x48\xc6\xa8\xdb\x09\xae\xde\x5d\x8c\x77\xf3\x52"
24354                         "\x92\x71\xa7\xb9\x6d\x53\x6d\xa3\x73\xe3\x55\xb8"
24355                         "\x39\xd6\x44\x2b\xee\xcb\xe1\x32\x15\x30\xbe\x4e"
24356                         "\x9b\x1e\x06\xd1\x6b\xbf\xd5\x3e\xea\x7c\xf5\xaa"
24357                         "\x4b\x05\xb5\xd3\xa7\xb2\xc4\xfe\xe7\x1b\xda\x11"
24358                         "\x43\x98\x03\x70\x90\xbf\x6e\x43\x9b\xe4\x14\xef"
24359                         "\x71\xa3\x2a\xef\x9f\x0d\xb9\xe3\x52\xf2\x89\xc9"
24360                         "\x66\x9a\x60\x60\x99\x60\x62\x4c\xd6\x45\x52\x54"
24361                         "\xe6\x32\xb2\x1b\xd4\x48\xb5\xa6\xf9\xba\xd3\xff"
24362                         "\x29\xc5\x21\xe0\x91\x31\xe0\x38\x8c\x93\x0f\x3c"
24363                         "\x30\x7b\x53\xa3\xc0\x7f\x2d\xc1\x39\xec\x69\x0e"
24364                         "\xf2\x4a\x3c\x65\xcc\xed\x07\x2a\xf2\x33\x83\xdb"
24365                         "\x10\x74\x96\x40\xa7\xc5\x1b\xde\x81\xca\x0b\x8f"
24366                         "\x1e\x0a\x1a\x7a\xbf\x3c\x4a\xb8\x8c\xaf\x7b\x80"
24367                         "\xb7\xdc\x5d\x0f\xef\x1b\x97\x6e\x3d\x17\x23\x5a"
24368                         "\x31\xb9\x19\xcf\x5a\xc5\x00\x2a\xb6\xf3\x99\x34"
24369                         "\x65\xee\xe9\x1c\x55\xa0\x3b\x07\x60\xc9\xc4\xe4"
24370                         "\xf7\x57\x5c\x34\x9f\xc6\x31\x30\x3f\x23\xb2\x89"
24371                         "\xc0\xe7\x50\xf3\xde\x59\xd1\x0e\xb3\x0f\x78\xcc"
24372                         "\x7e\x54\x5e\x61\xf6\x86\x3d\xb3\x11\x94\x36\x3e"
24373                         "\x61\x5c\x48\x99\xf6\x7b\x02\x9a\xdc\x6a\x28\xe6"
24374                         "\xd1\xa7\xd1\xa3",
24375                 .expectedlen = 256,
24376                 .addtla = (unsigned char *)
24377                         "\x6B\x0F\x4A\x48\x0B\x12\x85\xE4\x72\x23\x7F\x7F"
24378                         "\x94\x7C\x24\x69\x14\x9F\xDC\x72\xA6\x33\xAD\x3C"
24379                         "\x8C\x72\xC1\x88\x49\x59\x82\xC5",
24380                 .addtlb = (unsigned char *)
24381                         "\xC4\xAF\x36\x3D\xB8\x5D\x9D\xFA\x92\xF5\xC3\x3C"
24382                         "\x2D\x1E\x22\x2A\xBD\x8B\x05\x6F\xA3\xFC\xBF\x16"
24383                         "\xED\xAA\x75\x8D\x73\x9A\xF6\xEC",
24384                 .addtllen = 32,
24385                 .pers = NULL,
24386                 .perslen = 0,
24387         }
24388 };
24389
24390 static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
24391         {
24392                 .entropy = (unsigned char *)
24393                         "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
24394                         "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
24395                         "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
24396                         "\xac\x9b\xbb\x00",
24397                 .entropylen = 40,
24398                 .expected = (unsigned char *)
24399                         "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
24400                         "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
24401                         "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
24402                         "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
24403                         "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
24404                         "\x9a\x9d\xf1\x0d",
24405                 .expectedlen = 64,
24406                 .addtla = NULL,
24407                 .addtlb = NULL,
24408                 .addtllen = 0,
24409                 .pers = NULL,
24410                 .perslen = 0,
24411         },
24412 };
24413
24414 static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
24415         {
24416                 .entropy = (unsigned char *)
24417                         "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
24418                         "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
24419                         "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
24420                         "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
24421                 .entropylen = 48,
24422                 .expected = (unsigned char *)
24423                         "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
24424                         "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
24425                         "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
24426                         "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
24427                         "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
24428                         "\xb4\xf0\x7e\x1d",
24429                 .expectedlen = 64,
24430                 .addtla = NULL,
24431                 .addtlb = NULL,
24432                 .addtllen = 0,
24433                 .pers = NULL,
24434                 .perslen = 0,
24435         },
24436 };
24437
24438 static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
24439         {
24440                 .entropy = (unsigned char *)
24441                         "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
24442                         "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
24443                 .entropylen = 24,
24444                 .expected = (unsigned char *)
24445                         "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
24446                         "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
24447                         "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
24448                         "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
24449                         "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
24450                         "\xcb\x2d\xd6\xb0",
24451                 .expectedlen = 64,
24452                 .addtla = NULL,
24453                 .addtlb = NULL,
24454                 .addtllen = 0,
24455                 .pers = NULL,
24456                 .perslen = 0,
24457         }, {
24458                 .entropy = (unsigned char *)
24459                         "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
24460                         "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
24461                 .entropylen = 24,
24462                 .expected = (unsigned char *)
24463                         "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
24464                         "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
24465                         "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
24466                         "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
24467                         "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
24468                         "\xc3\xdf\xb3\x81",
24469                 .expectedlen = 64,
24470                 .addtla = (unsigned char *)
24471                         "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
24472                         "\x91\x4d\x81\x56",
24473                 .addtlb = (unsigned char *)
24474                         "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
24475                         "\x4a\x55\xd1\xc6",
24476                 .addtllen = 16,
24477                 .pers = NULL,
24478                 .perslen = 0,
24479         }, {
24480                 .entropy = (unsigned char *)
24481                         "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
24482                         "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
24483                 .entropylen = 24,
24484                 .expected = (unsigned char *)
24485                         "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
24486                         "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
24487                         "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
24488                         "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
24489                         "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
24490                         "\x34\x30\x0c\x3d",
24491                 .expectedlen = 64,
24492                 .addtla = NULL,
24493                 .addtlb = NULL,
24494                 .addtllen = 0,
24495                 .pers = (unsigned char *)
24496                         "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
24497                         "\x0b\xc6\x97\x54",
24498                 .perslen = 16,
24499         }, {
24500                 .entropy = (unsigned char *)
24501                         "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
24502                         "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
24503                 .entropylen = 24,
24504                 .expected = (unsigned char *)
24505                         "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
24506                         "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
24507                         "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
24508                         "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
24509                         "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
24510                         "\x2b\x49\x1e\x5c",
24511                 .expectedlen = 64,
24512                 .addtla = (unsigned char *)
24513                         "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
24514                         "\x44\x85\xe7\xfe",
24515                 .addtlb = (unsigned char *)
24516                         "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
24517                         "\x82\x16\x62\x7f",
24518                 .addtllen = 16,
24519                 .pers = (unsigned char *)
24520                         "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
24521                         "\x8e\xcf\xe0\x02",
24522                 .perslen = 16,
24523         },
24524 };
24525
24526 /* Cast5 test vectors from RFC 2144 */
24527 static const struct cipher_testvec cast5_tv_template[] = {
24528         {
24529                 .key    = "\x01\x23\x45\x67\x12\x34\x56\x78"
24530                           "\x23\x45\x67\x89\x34\x56\x78\x9a",
24531                 .klen   = 16,
24532                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24533                 .ctext  = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
24534                 .len    = 8,
24535         }, {
24536                 .key    = "\x01\x23\x45\x67\x12\x34\x56\x78"
24537                           "\x23\x45",
24538                 .klen   = 10,
24539                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24540                 .ctext  = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
24541                 .len    = 8,
24542         }, {
24543                 .key    = "\x01\x23\x45\x67\x12",
24544                 .klen   = 5,
24545                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24546                 .ctext  = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
24547                 .len    = 8,
24548         }, { /* Generated from TF test vectors */
24549                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24550                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
24551                 .klen   = 16,
24552                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
24553                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24554                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24555                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24556                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24557                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24558                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24559                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24560                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24561                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24562                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24563                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24564                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24565                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24566                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24567                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24568                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24569                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24570                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24571                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24572                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24573                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24574                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24575                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24576                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24577                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24578                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24579                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24580                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24581                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24582                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24583                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24584                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24585                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24586                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24587                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24588                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24589                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24590                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24591                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24592                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24593                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24594                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24595                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24596                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24597                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24598                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24599                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24600                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24601                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24602                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24603                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24604                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24605                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24606                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24607                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24608                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24609                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24610                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24611                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24612                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24613                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24614                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
24615                 .ctext  = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
24616                           "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
24617                           "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
24618                           "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
24619                           "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
24620                           "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
24621                           "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
24622                           "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
24623                           "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
24624                           "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
24625                           "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
24626                           "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
24627                           "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
24628                           "\xED\x34\x35\x78\x6B\x91\xC9\x32"
24629                           "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
24630                           "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
24631                           "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
24632                           "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
24633                           "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
24634                           "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
24635                           "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
24636                           "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
24637                           "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
24638                           "\x78\x75\x37\x55\xC1\xF5\x90\x40"
24639                           "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
24640                           "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
24641                           "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
24642                           "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
24643                           "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
24644                           "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
24645                           "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
24646                           "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
24647                           "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
24648                           "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
24649                           "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
24650                           "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
24651                           "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
24652                           "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
24653                           "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
24654                           "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
24655                           "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
24656                           "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
24657                           "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
24658                           "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
24659                           "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
24660                           "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
24661                           "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
24662                           "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
24663                           "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
24664                           "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
24665                           "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
24666                           "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
24667                           "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
24668                           "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
24669                           "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
24670                           "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
24671                           "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
24672                           "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
24673                           "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
24674                           "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
24675                           "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
24676                           "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
24677                 .len    = 496,
24678         },
24679 };
24680
24681 static const struct cipher_testvec cast5_cbc_tv_template[] = {
24682         { /* Generated from TF test vectors */
24683                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24684                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
24685                 .klen   = 16,
24686                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
24687                 .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
24688                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24689                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24690                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24691                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24692                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24693                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24694                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24695                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24696                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24697                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24698                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24699                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24700                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24701                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24702                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24703                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24704                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24705                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24706                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24707                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24708                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24709                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24710                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24711                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24712                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24713                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24714                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24715                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24716                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24717                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24718                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24719                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24720                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24721                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24722                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24723                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24724                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24725                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24726                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24727                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24728                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24729                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24730                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24731                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24732                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24733                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24734                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24735                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24736                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24737                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24738                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24739                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24740                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24741                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24742                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24743                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24744                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24745                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24746                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24747                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24748                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24749                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
24750                 .ctext  = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
24751                           "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
24752                           "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
24753                           "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
24754                           "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
24755                           "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
24756                           "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
24757                           "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
24758                           "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
24759                           "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
24760                           "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
24761                           "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
24762                           "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
24763                           "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
24764                           "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
24765                           "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
24766                           "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
24767                           "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
24768                           "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
24769                           "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
24770                           "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
24771                           "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
24772                           "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
24773                           "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
24774                           "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
24775                           "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
24776                           "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
24777                           "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
24778                           "\x90\x12\x37\x49\x27\x98\x69\x18"
24779                           "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
24780                           "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
24781                           "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
24782                           "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
24783                           "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
24784                           "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
24785                           "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
24786                           "\x03\x55\x0E\x02\x41\x4A\x45\x06"
24787                           "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
24788                           "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
24789                           "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
24790                           "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
24791                           "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
24792                           "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
24793                           "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
24794                           "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
24795                           "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
24796                           "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
24797                           "\x11\xB4\x18\x17\x1A\x65\x92\x56"
24798                           "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
24799                           "\x1A\x01\x22\x45\x17\x62\x52\x6C"
24800                           "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
24801                           "\x32\x66\x6F\x23\x7F\x94\x36\x88"
24802                           "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
24803                           "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
24804                           "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
24805                           "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
24806                           "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
24807                           "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
24808                           "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
24809                           "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
24810                           "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
24811                           "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
24812                 .len    = 496,
24813         },
24814 };
24815
24816 static const struct cipher_testvec cast5_ctr_tv_template[] = {
24817         { /* Generated from TF test vectors */
24818                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24819                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
24820                 .klen   = 16,
24821                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
24822                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
24823                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24824                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24825                           "\x3A",
24826                 .ctext  = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
24827                           "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
24828                           "\x0C",
24829                 .len    = 17,
24830         }, { /* Generated from TF test vectors */
24831                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24832                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
24833                 .klen   = 16,
24834                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
24835                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
24836                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24837                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24838                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24839                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24840                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24841                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24842                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24843                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24844                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24845                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24846                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24847                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24848                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24849                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24850                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24851                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24852                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24853                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24854                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24855                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24856                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24857                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24858                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24859                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24860                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24861                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24862                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24863                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24864                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24865                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24866                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24867                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24868                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24869                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24870                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24871                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24872                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24873                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24874                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24875                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24876                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24877                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24878                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24879                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24880                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24881                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24882                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24883                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24884                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24885                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24886                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24887                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24888                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24889                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24890                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24891                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24892                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24893                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24894                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24895                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24896                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24897                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
24898                 .ctext  = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
24899                           "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
24900                           "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
24901                           "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
24902                           "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
24903                           "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
24904                           "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
24905                           "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
24906                           "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
24907                           "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
24908                           "\x88\x18\x52\x56\x48\x58\xD1\x6B"
24909                           "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
24910                           "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
24911                           "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
24912                           "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
24913                           "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
24914                           "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
24915                           "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
24916                           "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
24917                           "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
24918                           "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
24919                           "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
24920                           "\x44\x67\x90\x20\xAC\x41\xDF\x43"
24921                           "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
24922                           "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
24923                           "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
24924                           "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
24925                           "\xAE\x59\x0F\x07\x88\x79\x53\x26"
24926                           "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
24927                           "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
24928                           "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
24929                           "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
24930                           "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
24931                           "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
24932                           "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
24933                           "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
24934                           "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
24935                           "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
24936                           "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
24937                           "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
24938                           "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
24939                           "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
24940                           "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
24941                           "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
24942                           "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
24943                           "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
24944                           "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
24945                           "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
24946                           "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
24947                           "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
24948                           "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
24949                           "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
24950                           "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
24951                           "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
24952                           "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
24953                           "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
24954                           "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
24955                           "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
24956                           "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
24957                           "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
24958                           "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
24959                           "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
24960                 .len    = 496,
24961         },
24962 };
24963
24964 /*
24965  * ARC4 test vectors from OpenSSL
24966  */
24967 static const struct cipher_testvec arc4_tv_template[] = {
24968         {
24969                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24970                 .klen   = 8,
24971                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24972                 .ctext  = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
24973                 .len    = 8,
24974         }, {
24975                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24976                 .klen   = 8,
24977                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
24978                 .ctext  = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
24979                 .len    = 8,
24980         }, {
24981                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
24982                 .klen   = 8,
24983                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
24984                 .ctext  = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
24985                 .len    = 8,
24986         }, {
24987                 .key    = "\xef\x01\x23\x45",
24988                 .klen   = 4,
24989                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
24990                           "\x00\x00\x00\x00\x00\x00\x00\x00"
24991                           "\x00\x00\x00\x00",
24992                 .ctext  = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
24993                           "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
24994                           "\x36\xb6\x78\x58",
24995                 .len    = 20,
24996         }, {
24997                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24998                 .klen   = 8,
24999                 .ptext  = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
25000                           "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
25001                           "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
25002                           "\x12\x34\x56\x78",
25003                 .ctext  = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
25004                           "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
25005                           "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
25006                           "\x40\x01\x1e\xcf",
25007                 .len    = 28,
25008         }, {
25009                 .key    = "\xef\x01\x23\x45",
25010                 .klen   = 4,
25011                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
25012                           "\x00\x00",
25013                 .ctext  = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
25014                           "\xbd\x61",
25015                 .len    = 10,
25016         }, {
25017                 .key    = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
25018                         "\x00\x00\x00\x00\x00\x00\x00\x00",
25019                 .klen   = 16,
25020                 .ptext  = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
25021                 .ctext  = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
25022                 .len    = 8,
25023         },
25024 };
25025
25026 /*
25027  * TEA test vectors
25028  */
25029 static const struct cipher_testvec tea_tv_template[] = {
25030         {
25031                 .key    = zeroed_string,
25032                 .klen   = 16,
25033                 .ptext  = zeroed_string,
25034                 .ctext  = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
25035                 .len    = 8,
25036         }, {
25037                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
25038                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
25039                 .klen   = 16,
25040                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
25041                 .ctext  = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
25042                 .len    = 8,
25043         }, {
25044                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
25045                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
25046                 .klen   = 16,
25047                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
25048                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
25049                 .ctext  = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
25050                           "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
25051                 .len    = 16,
25052         }, {
25053                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
25054                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
25055                 .klen   = 16,
25056                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
25057                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
25058                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
25059                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
25060                 .ctext  = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
25061                           "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
25062                           "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
25063                           "\x07\x89\x73\xc2\x45\x92\xc6\x90",
25064                 .len    = 32,
25065         }
25066 };
25067
25068 /*
25069  * XTEA test vectors
25070  */
25071 static const struct cipher_testvec xtea_tv_template[] = {
25072         {
25073                 .key    = zeroed_string,
25074                 .klen   = 16,
25075                 .ptext  = zeroed_string,
25076                 .ctext  = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
25077                 .len    = 8,
25078         }, {
25079                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
25080                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
25081                 .klen   = 16,
25082                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
25083                 .ctext  = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
25084                 .len    = 8,
25085         }, {
25086                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
25087                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
25088                 .klen   = 16,
25089                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
25090                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
25091                 .ctext  = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
25092                           "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
25093                 .len    = 16,
25094         }, {
25095                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
25096                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
25097                 .klen   = 16,
25098                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
25099                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
25100                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
25101                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
25102                 .ctext  = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
25103                           "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
25104                           "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
25105                           "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
25106                 .len    = 32,
25107         }
25108 };
25109
25110 /*
25111  * KHAZAD test vectors.
25112  */
25113 static const struct cipher_testvec khazad_tv_template[] = {
25114         {
25115                 .key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
25116                           "\x00\x00\x00\x00\x00\x00\x00\x00",
25117                 .klen   = 16,
25118                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
25119                 .ctext  = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
25120                 .len    = 8,
25121         }, {
25122                 .key    = "\x38\x38\x38\x38\x38\x38\x38\x38"
25123                           "\x38\x38\x38\x38\x38\x38\x38\x38",
25124                 .klen   = 16,
25125                 .ptext  = "\x38\x38\x38\x38\x38\x38\x38\x38",
25126                 .ctext  = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
25127                 .len    = 8,
25128         }, {
25129                 .key    = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
25130                         "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
25131                 .klen   = 16,
25132                 .ptext  = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
25133                 .ctext  = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
25134                 .len    = 8,
25135         }, {
25136                 .key    = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
25137                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
25138                 .klen   = 16,
25139                 .ptext  = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
25140                 .ctext  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
25141                 .len    = 8,
25142         }, {
25143                 .key    = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
25144                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
25145                 .klen   = 16,
25146                 .ptext  = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
25147                         "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
25148                 .ctext  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
25149                         "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
25150                 .len    = 16,
25151         },
25152 };
25153
25154 /*
25155  * Anubis test vectors.
25156  */
25157
25158 static const struct cipher_testvec anubis_tv_template[] = {
25159         {
25160                 .key    = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
25161                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
25162                 .klen   = 16,
25163                 .ptext  = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
25164                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
25165                 .ctext  = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
25166                           "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
25167                 .len    = 16,
25168         }, {
25169
25170                 .key    = "\x03\x03\x03\x03\x03\x03\x03\x03"
25171                           "\x03\x03\x03\x03\x03\x03\x03\x03"
25172                           "\x03\x03\x03\x03",
25173                 .klen   = 20,
25174                 .ptext  = "\x03\x03\x03\x03\x03\x03\x03\x03"
25175                           "\x03\x03\x03\x03\x03\x03\x03\x03",
25176                 .ctext  = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
25177                           "\x87\x41\x6f\x82\x0a\x98\x64\xae",
25178                 .len    = 16,
25179         }, {
25180                 .key    = "\x24\x24\x24\x24\x24\x24\x24\x24"
25181                           "\x24\x24\x24\x24\x24\x24\x24\x24"
25182                           "\x24\x24\x24\x24\x24\x24\x24\x24"
25183                           "\x24\x24\x24\x24",
25184                 .klen   = 28,
25185                 .ptext  = "\x24\x24\x24\x24\x24\x24\x24\x24"
25186                           "\x24\x24\x24\x24\x24\x24\x24\x24",
25187                 .ctext  = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
25188                           "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
25189                 .len    = 16,
25190         }, {
25191                 .key    = "\x25\x25\x25\x25\x25\x25\x25\x25"
25192                           "\x25\x25\x25\x25\x25\x25\x25\x25"
25193                           "\x25\x25\x25\x25\x25\x25\x25\x25"
25194                           "\x25\x25\x25\x25\x25\x25\x25\x25",
25195                 .klen   = 32,
25196                 .ptext  = "\x25\x25\x25\x25\x25\x25\x25\x25"
25197                           "\x25\x25\x25\x25\x25\x25\x25\x25",
25198                 .ctext  = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
25199                         "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
25200                 .len    = 16,
25201         }, {
25202                 .key    = "\x35\x35\x35\x35\x35\x35\x35\x35"
25203                           "\x35\x35\x35\x35\x35\x35\x35\x35"
25204                           "\x35\x35\x35\x35\x35\x35\x35\x35"
25205                           "\x35\x35\x35\x35\x35\x35\x35\x35"
25206                           "\x35\x35\x35\x35\x35\x35\x35\x35",
25207                 .klen   = 40,
25208                 .ptext  = "\x35\x35\x35\x35\x35\x35\x35\x35"
25209                           "\x35\x35\x35\x35\x35\x35\x35\x35",
25210                 .ctext  = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
25211                           "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
25212                 .len    = 16,
25213         },
25214 };
25215
25216 static const struct cipher_testvec anubis_cbc_tv_template[] = {
25217         {
25218                 .key    = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
25219                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
25220                 .klen   = 16,
25221                 .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
25222                           "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
25223                 .ptext  = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
25224                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
25225                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
25226                           "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
25227                 .ctext  = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
25228                           "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
25229                           "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
25230                           "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
25231                 .len    = 32,
25232         }, {
25233                 .key    = "\x35\x35\x35\x35\x35\x35\x35\x35"
25234                           "\x35\x35\x35\x35\x35\x35\x35\x35"
25235                           "\x35\x35\x35\x35\x35\x35\x35\x35"
25236                           "\x35\x35\x35\x35\x35\x35\x35\x35"
25237                           "\x35\x35\x35\x35\x35\x35\x35\x35",
25238                 .klen   = 40,
25239                 .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
25240                           "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
25241                 .ptext  = "\x35\x35\x35\x35\x35\x35\x35\x35"
25242                           "\x35\x35\x35\x35\x35\x35\x35\x35"
25243                           "\x35\x35\x35\x35\x35\x35\x35\x35"
25244                           "\x35\x35\x35\x35\x35\x35\x35\x35",
25245                 .ctext  = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
25246                           "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
25247                           "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
25248                           "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
25249                 .len    = 32,
25250         },
25251 };
25252
25253 /*
25254  * XETA test vectors
25255  */
25256 static const struct cipher_testvec xeta_tv_template[] = {
25257         {
25258                 .key    = zeroed_string,
25259                 .klen   = 16,
25260                 .ptext  = zeroed_string,
25261                 .ctext  = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
25262                 .len    = 8,
25263         }, {
25264                 .key    = "\x2b\x02\x05\x68\x06\x14\x49\x76"
25265                           "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
25266                 .klen   = 16,
25267                 .ptext  = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
25268                 .ctext  = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
25269                 .len    = 8,
25270         }, {
25271                 .key    = "\x09\x65\x43\x11\x66\x44\x39\x25"
25272                           "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
25273                 .klen   = 16,
25274                 .ptext  = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
25275                           "\x65\x73\x74\x5f\x76\x65\x63\x74",
25276                 .ctext  = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
25277                           "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
25278                 .len    = 16,
25279         }, {
25280                 .key    = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
25281                           "\x5d\x04\x16\x36\x15\x72\x63\x2f",
25282                 .klen   = 16,
25283                 .ptext  = "\x54\x65\x61\x20\x69\x73\x20\x67"
25284                           "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
25285                           "\x79\x6f\x75\x21\x21\x21\x20\x72"
25286                           "\x65\x61\x6c\x6c\x79\x21\x21\x21",
25287                 .ctext  = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
25288                           "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
25289                           "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
25290                           "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
25291                 .len    = 32,
25292         }
25293 };
25294
25295 /*
25296  * FCrypt test vectors
25297  */
25298 static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
25299         { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
25300                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00",
25301                 .klen   = 8,
25302                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
25303                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00",
25304                 .ctext  = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
25305                 .len    = 8,
25306         }, {
25307                 .key    = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
25308                 .klen   = 8,
25309                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
25310                 .ptext  = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
25311                 .ctext  = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
25312                 .len    = 8,
25313         }, { /* From Arla */
25314                 .key    = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
25315                 .klen   = 8,
25316                 .iv     = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
25317                 .ptext  = "The quick brown fox jumps over the lazy dogs.\0\0",
25318                 .ctext  = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
25319                           "\xee\xac\x98\x62\x44\x51\xe4\x84"
25320                           "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
25321                           "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
25322                           "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
25323                           "\xf8\x91\x3c\xac\x44\x22\x92\xef",
25324                 .len    = 48,
25325         }, {
25326                 .key    = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
25327                 .klen   = 8,
25328                 .iv     = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
25329                 .ptext  = "The quick brown fox jumps over the lazy dogs.\0\0",
25330                 .ctext  = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
25331                           "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
25332                           "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
25333                           "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
25334                           "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
25335                           "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
25336                 .len    = 48,
25337         }
25338 };
25339
25340 /*
25341  * CAMELLIA test vectors.
25342  */
25343 static const struct hash_testvec camellia_cmac128_tv_template[] = {
25344         { /* From draft-kato-ipsec-camellia-cmac96and128-01 */
25345                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
25346                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
25347                 .plaintext      = zeroed_string,
25348                 .digest         = "\xba\x92\x57\x82\xaa\xa1\xf5\xd9"
25349                                   "\xa0\x0f\x89\x64\x80\x94\xfc\x71",
25350                 .psize          = 0,
25351                 .ksize          = 16,
25352         }, {
25353                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
25354                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
25355                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
25356                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
25357                 .digest         = "\x6d\x96\x28\x54\xa3\xb9\xfd\xa5"
25358                                   "\x6d\x7d\x45\xa9\x5e\xe1\x79\x93",
25359                 .psize          = 16,
25360                 .ksize          = 16,
25361         }, {
25362                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
25363                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
25364                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
25365                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
25366                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
25367                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
25368                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
25369                 .digest         = "\x5c\x18\xd1\x19\xcc\xd6\x76\x61"
25370                                   "\x44\xac\x18\x66\x13\x1d\x9f\x22",
25371                 .psize          = 40,
25372                 .ksize          = 16,
25373         }, {
25374                 .key            = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
25375                                   "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
25376                 .plaintext      = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
25377                                   "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
25378                                   "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
25379                                   "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
25380                                   "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
25381                                   "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
25382                                   "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
25383                                   "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
25384                 .digest         = "\xc2\x69\x9a\x6e\xba\x55\xce\x9d"
25385                                   "\x93\x9a\x8a\x4e\x19\x46\x6e\xe9",
25386                 .psize          = 64,
25387                 .ksize          = 16,
25388         }
25389 };
25390 static const struct cipher_testvec camellia_tv_template[] = {
25391         {
25392                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
25393                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
25394                 .klen   = 16,
25395                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
25396                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
25397                 .ctext  = "\x67\x67\x31\x38\x54\x96\x69\x73"
25398                           "\x08\x57\x06\x56\x48\xea\xbe\x43",
25399                 .len    = 16,
25400         }, {
25401                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
25402                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
25403                           "\x00\x11\x22\x33\x44\x55\x66\x77",
25404                 .klen   = 24,
25405                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
25406                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
25407                 .ctext  = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
25408                           "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
25409                 .len    = 16,
25410         }, {
25411                 .key    = "\x01\x23\x45\x67\x89\xab\xcd\xef"
25412                           "\xfe\xdc\xba\x98\x76\x54\x32\x10"
25413                           "\x00\x11\x22\x33\x44\x55\x66\x77"
25414                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
25415                 .klen   = 32,
25416                 .ptext  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
25417                           "\xfe\xdc\xba\x98\x76\x54\x32\x10",
25418                 .ctext  = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
25419                           "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
25420                 .len    = 16,
25421         }, { /* Generated with Crypto++ */
25422                 .key    = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
25423                           "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
25424                           "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
25425                           "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
25426                 .klen   = 32,
25427                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25428                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25429                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25430                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25431                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25432                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25433                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25434                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25435                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25436                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25437                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25438                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25439                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25440                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25441                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25442                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25443                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25444                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25445                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25446                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25447                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25448                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25449                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25450                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25451                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25452                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25453                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25454                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25455                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25456                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25457                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25458                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25459                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25460                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25461                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25462                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25463                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25464                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25465                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25466                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25467                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25468                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25469                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25470                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25471                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25472                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25473                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25474                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25475                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25476                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25477                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25478                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25479                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25480                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25481                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25482                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25483                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25484                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25485                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25486                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25487                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25488                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
25489                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
25490                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
25491                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
25492                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
25493                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
25494                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
25495                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
25496                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
25497                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
25498                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
25499                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
25500                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
25501                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
25502                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
25503                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
25504                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
25505                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
25506                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25507                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25508                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25509                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25510                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25511                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25512                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25513                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25514                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25515                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25516                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25517                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25518                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25519                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25520                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25521                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25522                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25523                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25524                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25525                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25526                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25527                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25528                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25529                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25530                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25531                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25532                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25533                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25534                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25535                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25536                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25537                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25538                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25539                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25540                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25541                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25542                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25543                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25544                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25545                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25546                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25547                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25548                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25549                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25550                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25551                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
25552                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
25553                 .ctext  = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
25554                           "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
25555                           "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
25556                           "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
25557                           "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
25558                           "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
25559                           "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
25560                           "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
25561                           "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
25562                           "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
25563                           "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
25564                           "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
25565                           "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
25566                           "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
25567                           "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
25568                           "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
25569                           "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
25570                           "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
25571                           "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
25572                           "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
25573                           "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
25574                           "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
25575                           "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
25576                           "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
25577                           "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
25578                           "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
25579                           "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
25580                           "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
25581                           "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
25582                           "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
25583                           "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
25584                           "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
25585                           "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
25586                           "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
25587                           "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
25588                           "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
25589                           "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
25590                           "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
25591                           "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
25592                           "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
25593                           "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
25594                           "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
25595                           "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
25596                           "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
25597                           "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
25598                           "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
25599                           "\x83\x06\xAB\x82\x99\x01\x16\x1A"
25600                           "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
25601                           "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
25602                           "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
25603                           "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
25604                           "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
25605                           "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
25606                           "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
25607                           "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
25608                           "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
25609                           "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
25610                           "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
25611                           "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
25612                           "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
25613                           "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
25614                           "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
25615                           "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
25616                           "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
25617                           "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
25618                           "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
25619                           "\xED\x28\x39\xE9\x63\xED\x41\x70"
25620                           "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
25621                           "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
25622                           "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
25623                           "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
25624                           "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
25625                           "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
25626                           "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
25627                           "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
25628                           "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
25629                           "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
25630                           "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
25631                           "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
25632                           "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
25633                           "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
25634                           "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
25635                           "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
25636                           "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
25637                           "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
25638                           "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
25639                           "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
25640                           "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
25641                           "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
25642                           "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
25643                           "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
25644                           "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
25645                           "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
25646                           "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
25647                           "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
25648                           "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
25649                           "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
25650                           "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
25651                           "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
25652                           "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
25653                           "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
25654                           "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
25655                           "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
25656                           "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
25657                           "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
25658                           "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
25659                           "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
25660                           "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
25661                           "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
25662                           "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
25663                           "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
25664                           "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
25665                           "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
25666                           "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
25667                           "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
25668                           "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
25669                           "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
25670                           "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
25671                           "\x31\x93\x51\x1C\x63\x97\x70\xB0"
25672                           "\x99\x78\x83\x13\xFD\xCF\x53\x81"
25673                           "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
25674                           "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
25675                           "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
25676                           "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
25677                           "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
25678                           "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
25679                 .len    = 1008,
25680         },
25681 };
25682
25683 static const struct cipher_testvec camellia_cbc_tv_template[] = {
25684         {
25685                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
25686                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
25687                 .klen   = 16,
25688                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
25689                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
25690                 .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
25691                           "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
25692                 .ptext  = "Single block msg",
25693                 .ctext  = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
25694                           "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
25695                 .len    = 16,
25696         }, {
25697                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
25698                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
25699                 .klen   = 16,
25700                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
25701                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
25702                 .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
25703                           "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
25704                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
25705                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25706                           "\x10\x11\x12\x13\x14\x15\x16\x17"
25707                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
25708                 .ctext  = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
25709                           "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
25710                           "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
25711                           "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
25712                 .len    = 32,
25713         }, { /* Generated with Crypto++ */
25714                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25715                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25716                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25717                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25718                 .klen   = 32,
25719                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25720                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
25721                 .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
25722                           "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
25723                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25724                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25725                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25726                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25727                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25728                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25729                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25730                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25731                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25732                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25733                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25734                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25735                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25736                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25737                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25738                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25739                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25740                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25741                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25742                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25743                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25744                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25745                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25746                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25747                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25748                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25749                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25750                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25751                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25752                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25753                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25754                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25755                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25756                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25757                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25758                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25759                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25760                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25761                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25762                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25763                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25764                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25765                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25766                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25767                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25768                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25769                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25770                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25771                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25772                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25773                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25774                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25775                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25776                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25777                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25778                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25779                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25780                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25781                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25782                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25783                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25784                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
25785                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
25786                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
25787                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
25788                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
25789                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
25790                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
25791                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
25792                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
25793                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
25794                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
25795                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
25796                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
25797                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
25798                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
25799                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
25800                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
25801                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
25802                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25803                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25804                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25805                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25806                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25807                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25808                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25809                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25810                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25811                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25812                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25813                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25814                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25815                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25816                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25817                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25818                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25819                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25820                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25821                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25822                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25823                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25824                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25825                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25826                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25827                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25828                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25829                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25830                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25831                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25832                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25833                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25834                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25835                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25836                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25837                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25838                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25839                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25840                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25841                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25842                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25843                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25844                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25845                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25846                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25847                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
25848                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
25849                 .ctext  = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
25850                           "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
25851                           "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
25852                           "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
25853                           "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
25854                           "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
25855                           "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
25856                           "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
25857                           "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
25858                           "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
25859                           "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
25860                           "\x37\x49\x88\xA4\xEF\x91\x21\x47"
25861                           "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
25862                           "\x28\x90\x77\x46\xD8\xD2\x35\x16"
25863                           "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
25864                           "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
25865                           "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
25866                           "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
25867                           "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
25868                           "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
25869                           "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
25870                           "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
25871                           "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
25872                           "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
25873                           "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
25874                           "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
25875                           "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
25876                           "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
25877                           "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
25878                           "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
25879                           "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
25880                           "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
25881                           "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
25882                           "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
25883                           "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
25884                           "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
25885                           "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
25886                           "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
25887                           "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
25888                           "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
25889                           "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
25890                           "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
25891                           "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
25892                           "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
25893                           "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
25894                           "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
25895                           "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
25896                           "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
25897                           "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
25898                           "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
25899                           "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
25900                           "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
25901                           "\x38\xB8\x48\x36\x66\x4E\x20\x43"
25902                           "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
25903                           "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
25904                           "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
25905                           "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
25906                           "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
25907                           "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
25908                           "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
25909                           "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
25910                           "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
25911                           "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
25912                           "\x21\x41\x56\x72\x13\xE1\x86\x07"
25913                           "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
25914                           "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
25915                           "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
25916                           "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
25917                           "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
25918                           "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
25919                           "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
25920                           "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
25921                           "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
25922                           "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
25923                           "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
25924                           "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
25925                           "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
25926                           "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
25927                           "\xBE\x31\x31\x96\x8B\x40\x18\x75"
25928                           "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
25929                           "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
25930                           "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
25931                           "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
25932                           "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
25933                           "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
25934                           "\x09\xB0\x43\x96\x4A\x64\x80\x40"
25935                           "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
25936                           "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
25937                           "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
25938                           "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
25939                           "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
25940                           "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
25941                           "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
25942                           "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
25943                           "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
25944                           "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
25945                           "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
25946                           "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
25947                           "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
25948                           "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
25949                           "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
25950                           "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
25951                           "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
25952                           "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
25953                           "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
25954                           "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
25955                           "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
25956                           "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
25957                           "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
25958                           "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
25959                           "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
25960                           "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
25961                           "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
25962                           "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
25963                           "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
25964                           "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
25965                           "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
25966                           "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
25967                           "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
25968                           "\x80\xE7\x29\xDC\x23\x55\x98\x54"
25969                           "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
25970                           "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
25971                           "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
25972                           "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
25973                           "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
25974                           "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
25975                 .len    = 1008,
25976         },
25977 };
25978
25979 static const struct cipher_testvec camellia_ctr_tv_template[] = {
25980         { /* Generated with Crypto++ */
25981                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25982                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25983                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25984                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25985                 .klen   = 32,
25986                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25987                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
25988                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25989                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
25990                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25991                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25992                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25993                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25994                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25995                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25996                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25997                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25998                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25999                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26000                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26001                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26002                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26003                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26004                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26005                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26006                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26007                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26008                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26009                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26010                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26011                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26012                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26013                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26014                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26015                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26016                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26017                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26018                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26019                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26020                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26021                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26022                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26023                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26024                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26025                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26026                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26027                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26028                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26029                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26030                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26031                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26032                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26033                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26034                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26035                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26036                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26037                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26038                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26039                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26040                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26041                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26042                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26043                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26044                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26045                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26046                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26047                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26048                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26049                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26050                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26051                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26052                 .ctext  = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
26053                           "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
26054                           "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
26055                           "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
26056                           "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
26057                           "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
26058                           "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
26059                           "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
26060                           "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
26061                           "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
26062                           "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
26063                           "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
26064                           "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
26065                           "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
26066                           "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
26067                           "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
26068                           "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
26069                           "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
26070                           "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
26071                           "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
26072                           "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
26073                           "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
26074                           "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
26075                           "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
26076                           "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
26077                           "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
26078                           "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
26079                           "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
26080                           "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
26081                           "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
26082                           "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
26083                           "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
26084                           "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
26085                           "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
26086                           "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
26087                           "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
26088                           "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
26089                           "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
26090                           "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
26091                           "\x79\xA2\x99\x28\x93\x1B\x00\x57"
26092                           "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
26093                           "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
26094                           "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
26095                           "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
26096                           "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
26097                           "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
26098                           "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
26099                           "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
26100                           "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
26101                           "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
26102                           "\x76\x44\x45\xF3\x24\x11\x57\x98"
26103                           "\x9A\x86\xB4\x12\x80\x28\x86\x20"
26104                           "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
26105                           "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
26106                           "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
26107                           "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
26108                           "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
26109                           "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
26110                           "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
26111                           "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
26112                           "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
26113                           "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
26114                 .len    = 496,
26115         }, { /* Generated with Crypto++ */
26116                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26117                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
26118                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
26119                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
26120                 .klen   = 32,
26121                 .iv     = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
26122                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
26123                 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
26124                           "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
26125                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26126                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26127                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26128                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26129                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26130                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26131                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26132                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26133                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26134                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26135                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26136                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26137                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26138                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26139                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26140                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26141                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26142                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26143                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26144                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26145                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26146                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26147                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26148                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26149                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26150                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26151                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26152                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26153                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26154                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26155                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26156                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26157                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26158                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26159                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26160                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26161                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26162                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26163                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26164                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26165                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26166                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26167                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26168                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26169                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26170                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26171                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26172                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26173                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26174                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26175                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26176                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26177                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26178                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26179                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26180                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26181                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26182                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26183                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26184                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26185                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26186                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
26187                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
26188                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
26189                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
26190                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
26191                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
26192                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
26193                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
26194                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
26195                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
26196                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
26197                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
26198                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
26199                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
26200                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
26201                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
26202                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
26203                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
26204                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
26205                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
26206                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
26207                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
26208                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
26209                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
26210                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
26211                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
26212                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
26213                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
26214                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
26215                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
26216                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
26217                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
26218                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
26219                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
26220                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
26221                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
26222                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
26223                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
26224                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
26225                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
26226                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
26227                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
26228                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
26229                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
26230                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
26231                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
26232                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
26233                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
26234                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
26235                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
26236                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
26237                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
26238                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
26239                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
26240                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
26241                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
26242                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
26243                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
26244                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
26245                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
26246                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
26247                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
26248                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
26249                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
26250                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
26251                           "\xE4\x7B\x12",
26252                 .ctext  = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
26253                           "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
26254                           "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
26255                           "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
26256                           "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
26257                           "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
26258                           "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
26259                           "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
26260                           "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
26261                           "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
26262                           "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
26263                           "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
26264                           "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
26265                           "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
26266                           "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
26267                           "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
26268                           "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
26269                           "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
26270                           "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
26271                           "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
26272                           "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
26273                           "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
26274                           "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
26275                           "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
26276                           "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
26277                           "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
26278                           "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
26279                           "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
26280                           "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
26281                           "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
26282                           "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
26283                           "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
26284                           "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
26285                           "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
26286                           "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
26287                           "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
26288                           "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
26289                           "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
26290                           "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
26291                           "\x79\xA2\x99\x28\x93\x1B\x00\x57"
26292                           "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
26293                           "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
26294                           "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
26295                           "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
26296                           "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
26297                           "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
26298                           "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
26299                           "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
26300                           "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
26301                           "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
26302                           "\x76\x44\x45\xF3\x24\x11\x57\x98"
26303                           "\x9A\x86\xB4\x12\x80\x28\x86\x20"
26304                           "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
26305                           "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
26306                           "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
26307                           "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
26308                           "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
26309                           "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
26310                           "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
26311                           "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
26312                           "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
26313                           "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
26314                           "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
26315                           "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
26316                           "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
26317                           "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
26318                           "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
26319                           "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
26320                           "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
26321                           "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
26322                           "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
26323                           "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
26324                           "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
26325                           "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
26326                           "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
26327                           "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
26328                           "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
26329                           "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
26330                           "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
26331                           "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
26332                           "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
26333                           "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
26334                           "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
26335                           "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
26336                           "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
26337                           "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
26338                           "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
26339                           "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
26340                           "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
26341                           "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
26342                           "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
26343                           "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
26344                           "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
26345                           "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
26346                           "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
26347                           "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
26348                           "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
26349                           "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
26350                           "\x00\x70\x12\x56\x56\x50\xAD\x14"
26351                           "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
26352                           "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
26353                           "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
26354                           "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
26355                           "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
26356                           "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
26357                           "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
26358                           "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
26359                           "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
26360                           "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
26361                           "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
26362                           "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
26363                           "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
26364                           "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
26365                           "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
26366                           "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
26367                           "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
26368                           "\x40\x48\x19\x73\x7C\x78\x64\x0B"
26369                           "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
26370                           "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
26371                           "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
26372                           "\x74\x28\x9D\x05\x30\x20\x62\x41"
26373                           "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
26374                           "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
26375                           "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
26376                           "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
26377                           "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
26378                           "\xF1\x6B\xD9",
26379                 .len    = 1011,
26380         }, { /* Generated with Crypto++ */
26381                 .key    = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26382                           "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
26383                           "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
26384                           "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
26385                 .klen   = 32,
26386                 .iv     = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
26387                           "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
26388                 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
26389                           "\x00\x00\x00\x00\x00\x00\x00\x3C",
26390                 .ptext  = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26391                           "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26392                           "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26393                           "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26394                           "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26395                           "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26396                           "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26397                           "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26398                           "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26399                           "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26400                           "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26401                           "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26402                           "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26403                           "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26404                           "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26405                           "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26406                           "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26407                           "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26408                           "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26409                           "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26410                           "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26411                           "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26412                           "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26413                           "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26414                           "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26415                           "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26416                           "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26417                           "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26418                           "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26419                           "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26420                           "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26421                           "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26422                           "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26423                           "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26424                           "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26425                           "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26426                           "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26427                           "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26428                           "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26429                           "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26430                           "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26431                           "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26432                           "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26433                           "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26434                           "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26435                           "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26436                           "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26437                           "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26438                           "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26439                           "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26440                           "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26441                           "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26442                           "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26443                           "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26444                           "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26445                           "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26446                           "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26447                           "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26448                           "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26449                           "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26450                           "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26451                           "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
26452                           "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
26453                           "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
26454                           "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
26455                           "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
26456                           "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
26457                           "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
26458                           "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
26459                           "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
26460                           "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
26461                           "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
26462                           "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
26463                           "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
26464                           "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
26465                           "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
26466                           "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
26467                           "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
26468                           "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
26469                           "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
26470                           "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
26471                           "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
26472                           "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
26473                           "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
26474                           "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
26475                           "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
26476                           "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
26477                           "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
26478                           "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
26479                           "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
26480                           "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
26481                           "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
26482                           "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
26483                           "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
26484                           "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
26485                           "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
26486                           "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
26487                           "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
26488                           "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
26489                           "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
26490                           "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
26491                           "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
26492                           "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
26493                           "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
26494                           "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
26495                           "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
26496                           "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
26497                           "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
26498                           "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
26499                           "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
26500                           "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
26501                           "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
26502                           "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
26503                           "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
26504                           "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
26505                           "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
26506                           "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
26507                           "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
26508                           "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
26509                           "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
26510                           "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
26511                           "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
26512                           "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
26513                           "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
26514                           "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
26515                           "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
26516                 .ctext  = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
26517                           "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
26518                           "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
26519                           "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
26520                           "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
26521                           "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
26522                           "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
26523                           "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
26524                           "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
26525                           "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
26526                           "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
26527                           "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
26528                           "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
26529                           "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
26530                           "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
26531                           "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
26532                           "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
26533                           "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
26534                           "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
26535                           "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
26536                           "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
26537                           "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
26538                           "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
26539                           "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
26540                           "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
26541                           "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
26542                           "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
26543                           "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
26544                           "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
26545                           "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
26546                           "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
26547                           "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
26548                           "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
26549                           "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
26550                           "\x93\x78\x86\x05\x69\x46\xD0\xC5"
26551                           "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
26552                           "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
26553                           "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
26554                           "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
26555                           "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
26556                           "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
26557                           "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
26558                           "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
26559                           "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
26560                           "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
26561                           "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
26562                           "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
26563                           "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
26564                           "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
26565                           "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
26566                           "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
26567                           "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
26568                           "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
26569                           "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
26570                           "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
26571                           "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
26572                           "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
26573                           "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
26574                           "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
26575                           "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
26576                           "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
26577                           "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
26578                           "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
26579                           "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
26580                           "\x3F\x23\x69\x63\x56\x96\x45\xD6"
26581                           "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
26582                           "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
26583                           "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
26584                           "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
26585                           "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
26586                           "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
26587                           "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
26588                           "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
26589                           "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
26590                           "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
26591                           "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
26592                           "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
26593                           "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
26594                           "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
26595                           "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
26596                           "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
26597                           "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
26598                           "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
26599                           "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
26600                           "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
26601                           "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
26602                           "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
26603                           "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
26604                           "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
26605                           "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
26606                           "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
26607                           "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
26608                           "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
26609                           "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
26610                           "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
26611                           "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
26612                           "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
26613                           "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
26614                           "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
26615                           "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
26616                           "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
26617                           "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
26618                           "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
26619                           "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
26620                           "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
26621                           "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
26622                           "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
26623                           "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
26624                           "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
26625                           "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
26626                           "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
26627                           "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
26628                           "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
26629                           "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
26630                           "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
26631                           "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
26632                           "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
26633                           "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
26634                           "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
26635                           "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
26636                           "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
26637                           "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
26638                           "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
26639                           "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
26640                           "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
26641                           "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
26642                 .len    = 1008,
26643         },
26644 };
26645
26646 static const struct cipher_testvec camellia_lrw_tv_template[] = {
26647         /* Generated from AES-LRW test vectors */
26648         {
26649                 .key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
26650                           "\x4c\x26\x84\x14\xb5\x68\x01\x85"
26651                           "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
26652                           "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
26653                 .klen   = 32,
26654                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26655                           "\x00\x00\x00\x00\x00\x00\x00\x01",
26656                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26657                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26658                 .ctext  = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
26659                           "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
26660                 .len    = 16,
26661         }, {
26662                 .key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
26663                           "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
26664                           "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
26665                           "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
26666                 .klen   = 32,
26667                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26668                           "\x00\x00\x00\x00\x00\x00\x00\x02",
26669                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26670                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26671                 .ctext  = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
26672                           "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
26673                 .len    = 16,
26674         }, {
26675                 .key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
26676                           "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
26677                           "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
26678                           "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
26679                 .klen   = 32,
26680                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26681                           "\x00\x00\x00\x02\x00\x00\x00\x00",
26682                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26683                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26684                 .ctext  = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
26685                           "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
26686                 .len    = 16,
26687         }, {
26688                 .key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
26689                           "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
26690                           "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
26691                           "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
26692                           "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
26693                 .klen   = 40,
26694                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26695                           "\x00\x00\x00\x00\x00\x00\x00\x01",
26696                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26697                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26698                 .ctext  = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
26699                           "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
26700                 .len    = 16,
26701         }, {
26702                 .key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
26703                           "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
26704                           "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
26705                           "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
26706                           "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
26707                 .klen   = 40,
26708                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26709                           "\x00\x00\x00\x02\x00\x00\x00\x00",
26710                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26711                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26712                 .ctext  = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
26713                           "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
26714                 .len    = 16,
26715         }, {
26716                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
26717                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
26718                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
26719                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
26720                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
26721                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
26722                 .klen   = 48,
26723                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26724                           "\x00\x00\x00\x00\x00\x00\x00\x01",
26725                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26726                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26727                 .ctext  = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
26728                           "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
26729                 .len    = 16,
26730         }, {
26731                 .key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
26732                           "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
26733                           "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
26734                           "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
26735                           "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
26736                           "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
26737                 .klen   = 48,
26738                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26739                           "\x00\x00\x00\x02\x00\x00\x00\x00",
26740                 .ptext  = "\x30\x31\x32\x33\x34\x35\x36\x37"
26741                           "\x38\x39\x41\x42\x43\x44\x45\x46",
26742                 .ctext  = "\x04\xab\x28\x37\x31\x7a\x26\xab"
26743                           "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
26744                 .len    = 16,
26745         }, {
26746                 .key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
26747                           "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
26748                           "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
26749                           "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
26750                           "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
26751                           "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
26752                 .klen   = 48,
26753                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26754                           "\x00\x00\x00\x00\x00\x00\x00\x01",
26755                 .ptext  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
26756                           "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
26757                           "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
26758                           "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
26759                           "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
26760                           "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
26761                           "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
26762                           "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
26763                           "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
26764                           "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
26765                           "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
26766                           "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
26767                           "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
26768                           "\x4c\x96\x12\xed\x7c\x92\x03\x01"
26769                           "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
26770                           "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
26771                           "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
26772                           "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
26773                           "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
26774                           "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
26775                           "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
26776                           "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
26777                           "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
26778                           "\x76\x12\x73\x44\x1a\x56\xd7\x72"
26779                           "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
26780                           "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
26781                           "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
26782                           "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
26783                           "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
26784                           "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
26785                           "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
26786                           "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
26787                           "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
26788                           "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
26789                           "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
26790                           "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
26791                           "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
26792                           "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
26793                           "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
26794                           "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
26795                           "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
26796                           "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
26797                           "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
26798                           "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
26799                           "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
26800                           "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
26801                           "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
26802                           "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
26803                           "\x62\x73\x65\xfd\x46\x63\x25\x3d"
26804                           "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
26805                           "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
26806                           "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
26807                           "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
26808                           "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
26809                           "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
26810                           "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
26811                           "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
26812                           "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
26813                           "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
26814                           "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
26815                           "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
26816                           "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
26817                           "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
26818                           "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
26819                 .ctext  = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
26820                           "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
26821                           "\x67\x76\xac\x2c\xd2\x63\x18\x93"
26822                           "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
26823                           "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
26824                           "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
26825                           "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
26826                           "\x62\xdd\x78\x81\xea\x1d\xef\x04"
26827                           "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
26828                           "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
26829                           "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
26830                           "\x40\x41\x69\xaa\x71\xc0\x37\xec"
26831                           "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
26832                           "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
26833                           "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
26834                           "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
26835                           "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
26836                           "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
26837                           "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
26838                           "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
26839                           "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
26840                           "\x42\x08\x40\x82\x06\x1c\x2d\x55"
26841                           "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
26842                           "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
26843                           "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
26844                           "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
26845                           "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
26846                           "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
26847                           "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
26848                           "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
26849                           "\xed\x14\xa9\x57\x19\x63\x40\x04"
26850                           "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
26851                           "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
26852                           "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
26853                           "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
26854                           "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
26855                           "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
26856                           "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
26857                           "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
26858                           "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
26859                           "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
26860                           "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
26861                           "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
26862                           "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
26863                           "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
26864                           "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
26865                           "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
26866                           "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
26867                           "\x35\xa5\x83\x04\x84\x01\x99\x56"
26868                           "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
26869                           "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
26870                           "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
26871                           "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
26872                           "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
26873                           "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
26874                           "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
26875                           "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
26876                           "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
26877                           "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
26878                           "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
26879                           "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
26880                           "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
26881                           "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
26882                           "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
26883                 .len    = 512,
26884         },
26885 };
26886
26887 static const struct cipher_testvec camellia_xts_tv_template[] = {
26888         /* Generated from AES-XTS test vectors */
26889         {
26890                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
26891                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26892                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26893                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26894                 .klen   = 32,
26895                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26896                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26897                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
26898                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26899                           "\x00\x00\x00\x00\x00\x00\x00\x00"
26900                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26901                 .ctext  = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
26902                           "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
26903                           "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
26904                           "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
26905                 .len    = 32,
26906         }, {
26907                 .key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
26908                           "\x11\x11\x11\x11\x11\x11\x11\x11"
26909                           "\x22\x22\x22\x22\x22\x22\x22\x22"
26910                           "\x22\x22\x22\x22\x22\x22\x22\x22",
26911                 .klen   = 32,
26912                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
26913                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26914                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
26915                           "\x44\x44\x44\x44\x44\x44\x44\x44"
26916                           "\x44\x44\x44\x44\x44\x44\x44\x44"
26917                           "\x44\x44\x44\x44\x44\x44\x44\x44",
26918                 .ctext  = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
26919                           "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
26920                           "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
26921                           "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
26922                 .len    = 32,
26923         }, {
26924                 .key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
26925                           "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
26926                           "\x22\x22\x22\x22\x22\x22\x22\x22"
26927                           "\x22\x22\x22\x22\x22\x22\x22\x22",
26928                 .klen   = 32,
26929                 .iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
26930                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26931                 .ptext  = "\x44\x44\x44\x44\x44\x44\x44\x44"
26932                           "\x44\x44\x44\x44\x44\x44\x44\x44"
26933                           "\x44\x44\x44\x44\x44\x44\x44\x44"
26934                           "\x44\x44\x44\x44\x44\x44\x44\x44",
26935                 .ctext  = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
26936                           "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
26937                           "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
26938                           "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
26939                 .len    = 32,
26940         }, {
26941                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
26942                           "\x23\x53\x60\x28\x74\x71\x35\x26"
26943                           "\x31\x41\x59\x26\x53\x58\x97\x93"
26944                           "\x23\x84\x62\x64\x33\x83\x27\x95",
26945                 .klen   = 32,
26946                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
26947                           "\x00\x00\x00\x00\x00\x00\x00\x00",
26948                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
26949                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26950                           "\x10\x11\x12\x13\x14\x15\x16\x17"
26951                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26952                           "\x20\x21\x22\x23\x24\x25\x26\x27"
26953                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26954                           "\x30\x31\x32\x33\x34\x35\x36\x37"
26955                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26956                           "\x40\x41\x42\x43\x44\x45\x46\x47"
26957                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26958                           "\x50\x51\x52\x53\x54\x55\x56\x57"
26959                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26960                           "\x60\x61\x62\x63\x64\x65\x66\x67"
26961                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26962                           "\x70\x71\x72\x73\x74\x75\x76\x77"
26963                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26964                           "\x80\x81\x82\x83\x84\x85\x86\x87"
26965                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26966                           "\x90\x91\x92\x93\x94\x95\x96\x97"
26967                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
26968                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
26969                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
26970                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
26971                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
26972                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
26973                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
26974                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
26975                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
26976                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
26977                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
26978                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
26979                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
26980                           "\x00\x01\x02\x03\x04\x05\x06\x07"
26981                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26982                           "\x10\x11\x12\x13\x14\x15\x16\x17"
26983                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26984                           "\x20\x21\x22\x23\x24\x25\x26\x27"
26985                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26986                           "\x30\x31\x32\x33\x34\x35\x36\x37"
26987                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26988                           "\x40\x41\x42\x43\x44\x45\x46\x47"
26989                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26990                           "\x50\x51\x52\x53\x54\x55\x56\x57"
26991                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26992                           "\x60\x61\x62\x63\x64\x65\x66\x67"
26993                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26994                           "\x70\x71\x72\x73\x74\x75\x76\x77"
26995                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26996                           "\x80\x81\x82\x83\x84\x85\x86\x87"
26997                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26998                           "\x90\x91\x92\x93\x94\x95\x96\x97"
26999                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
27000                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
27001                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
27002                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
27003                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
27004                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
27005                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
27006                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
27007                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
27008                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
27009                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
27010                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
27011                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
27012                 .ctext  = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
27013                           "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
27014                           "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
27015                           "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
27016                           "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
27017                           "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
27018                           "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
27019                           "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
27020                           "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
27021                           "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
27022                           "\x08\xda\x76\x00\x65\xcf\x7b\x31"
27023                           "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
27024                           "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
27025                           "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
27026                           "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
27027                           "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
27028                           "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
27029                           "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
27030                           "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
27031                           "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
27032                           "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
27033                           "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
27034                           "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
27035                           "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
27036                           "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
27037                           "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
27038                           "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
27039                           "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
27040                           "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
27041                           "\x16\x31\xb2\x47\x91\x67\xaa\x28"
27042                           "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
27043                           "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
27044                           "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
27045                           "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
27046                           "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
27047                           "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
27048                           "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
27049                           "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
27050                           "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
27051                           "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
27052                           "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
27053                           "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
27054                           "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
27055                           "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
27056                           "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
27057                           "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
27058                           "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
27059                           "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
27060                           "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
27061                           "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
27062                           "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
27063                           "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
27064                           "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
27065                           "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
27066                           "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
27067                           "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
27068                           "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
27069                           "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
27070                           "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
27071                           "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
27072                           "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
27073                           "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
27074                           "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
27075                           "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
27076                 .len    = 512,
27077         }, {
27078                 .key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
27079                           "\x23\x53\x60\x28\x74\x71\x35\x26"
27080                           "\x62\x49\x77\x57\x24\x70\x93\x69"
27081                           "\x99\x59\x57\x49\x66\x96\x76\x27"
27082                           "\x31\x41\x59\x26\x53\x58\x97\x93"
27083                           "\x23\x84\x62\x64\x33\x83\x27\x95"
27084                           "\x02\x88\x41\x97\x16\x93\x99\x37"
27085                           "\x51\x05\x82\x09\x74\x94\x45\x92",
27086                 .klen   = 64,
27087                 .iv     = "\xff\x00\x00\x00\x00\x00\x00\x00"
27088                           "\x00\x00\x00\x00\x00\x00\x00\x00",
27089                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
27090                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
27091                           "\x10\x11\x12\x13\x14\x15\x16\x17"
27092                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
27093                           "\x20\x21\x22\x23\x24\x25\x26\x27"
27094                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
27095                           "\x30\x31\x32\x33\x34\x35\x36\x37"
27096                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
27097                           "\x40\x41\x42\x43\x44\x45\x46\x47"
27098                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
27099                           "\x50\x51\x52\x53\x54\x55\x56\x57"
27100                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
27101                           "\x60\x61\x62\x63\x64\x65\x66\x67"
27102                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
27103                           "\x70\x71\x72\x73\x74\x75\x76\x77"
27104                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
27105                           "\x80\x81\x82\x83\x84\x85\x86\x87"
27106                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
27107                           "\x90\x91\x92\x93\x94\x95\x96\x97"
27108                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
27109                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
27110                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
27111                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
27112                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
27113                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
27114                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
27115                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
27116                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
27117                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
27118                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
27119                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
27120                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
27121                           "\x00\x01\x02\x03\x04\x05\x06\x07"
27122                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
27123                           "\x10\x11\x12\x13\x14\x15\x16\x17"
27124                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
27125                           "\x20\x21\x22\x23\x24\x25\x26\x27"
27126                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
27127                           "\x30\x31\x32\x33\x34\x35\x36\x37"
27128                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
27129                           "\x40\x41\x42\x43\x44\x45\x46\x47"
27130                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
27131                           "\x50\x51\x52\x53\x54\x55\x56\x57"
27132                           "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
27133                           "\x60\x61\x62\x63\x64\x65\x66\x67"
27134                           "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
27135                           "\x70\x71\x72\x73\x74\x75\x76\x77"
27136                           "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
27137                           "\x80\x81\x82\x83\x84\x85\x86\x87"
27138                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
27139                           "\x90\x91\x92\x93\x94\x95\x96\x97"
27140                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
27141                           "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
27142                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
27143                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
27144                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
27145                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
27146                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
27147                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
27148                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
27149                           "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
27150                           "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
27151                           "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
27152                           "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
27153                 .ctext  = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
27154                           "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
27155                           "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
27156                           "\xf1\x74\xac\x96\x05\x7b\x32\xca"
27157                           "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
27158                           "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
27159                           "\x97\x07\x82\xf0\x07\x12\x38\x0a"
27160                           "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
27161                           "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
27162                           "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
27163                           "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
27164                           "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
27165                           "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
27166                           "\x41\x82\x0c\x45\x39\x35\xa8\x75"
27167                           "\x03\x29\x01\x84\x8c\xab\x48\xbe"
27168                           "\x11\x56\x22\x67\xb7\x67\x1a\x09"
27169                           "\xa1\x72\x25\x41\x3c\x39\x65\x80"
27170                           "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
27171                           "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
27172                           "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
27173                           "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
27174                           "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
27175                           "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
27176                           "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
27177                           "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
27178                           "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
27179                           "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
27180                           "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
27181                           "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
27182                           "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
27183                           "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
27184                           "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
27185                           "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
27186                           "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
27187                           "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
27188                           "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
27189                           "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
27190                           "\xef\x38\x52\x18\x0e\x29\x7e\xef"
27191                           "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
27192                           "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
27193                           "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
27194                           "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
27195                           "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
27196                           "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
27197                           "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
27198                           "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
27199                           "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
27200                           "\x21\x17\xf8\x59\x15\x24\x64\x22"
27201                           "\x57\x48\x80\xd5\x3d\x92\x30\x07"
27202                           "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
27203                           "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
27204                           "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
27205                           "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
27206                           "\x6b\x84\xf3\x00\xba\x52\x05\x02"
27207                           "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
27208                           "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
27209                           "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
27210                           "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
27211                           "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
27212                           "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
27213                           "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
27214                           "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
27215                           "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
27216                           "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
27217                 .len    = 512,
27218         },
27219 };
27220
27221 /*
27222  * SEED test vectors
27223  */
27224 static const struct cipher_testvec seed_tv_template[] = {
27225         {
27226                 .key    = zeroed_string,
27227                 .klen   = 16,
27228                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
27229                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
27230                 .ctext  = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
27231                           "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
27232                 .len    = 16,
27233         }, {
27234                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
27235                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
27236                 .klen   = 16,
27237                 .ptext  = zeroed_string,
27238                 .ctext  = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
27239                           "\x84\x48\x35\x97\xe4\x37\x0f\x43",
27240                 .len    = 16,
27241         }, {
27242                 .key    = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
27243                           "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
27244                 .klen   = 16,
27245                 .ptext  = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
27246                           "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
27247                 .ctext  = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
27248                           "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
27249                 .len    = 16,
27250         }, {
27251                 .key    = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
27252                           "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
27253                 .klen   = 16,
27254                 .ptext  = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
27255                           "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
27256                 .ctext  = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
27257                           "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
27258                 .len    = 16,
27259         }
27260 };
27261
27262 /*
27263  * ARIA test vectors
27264  */
27265 static const struct cipher_testvec aria_tv_template[] = {
27266         {
27267                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
27268                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
27269                 .klen   = 16,
27270                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
27271                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27272                 .ctext  = "\xd7\x18\xfb\xd6\xab\x64\x4c\x73"
27273                           "\x9d\xa9\x5f\x3b\xe6\x45\x17\x78",
27274                 .len    = 16,
27275         }, {
27276                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
27277                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
27278                           "\x10\x11\x12\x13\x14\x15\x16\x17",
27279                 .klen   = 24,
27280                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
27281                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27282                 .ctext  = "\x26\x44\x9c\x18\x05\xdb\xe7\xaa"
27283                           "\x25\xa4\x68\xce\x26\x3a\x9e\x79",
27284                 .len    = 16,
27285         }, {
27286                 .key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
27287                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
27288                           "\x10\x11\x12\x13\x14\x15\x16\x17"
27289                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
27290                 .klen   = 32,
27291                 .ptext  = "\x00\x11\x22\x33\x44\x55\x66\x77"
27292                           "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27293                 .ctext  = "\xf9\x2b\xd7\xc7\x9f\xb7\x2e\x2f"
27294                           "\x2b\x8f\x80\xc1\x97\x2d\x24\xfc",
27295                 .len    = 16,
27296         }
27297 };
27298
27299 static const struct cipher_testvec aria_cbc_tv_template[] = {
27300         {
27301                 .key    = "\x7c\x95\x0d\x07\xe6\x14\x98\x92"
27302                           "\x07\xac\x22\x41\x4d\x23\x27\x37",
27303                 .klen   = 16,
27304                 .iv     = "\x9d\xd5\x62\xce\x3d\x07\xd9\x89"
27305                           "\xf2\x78\x19\x4b\x65\x39\xc3\xc6",
27306                 .ptext  = "\xcb\xbf\x47\x35\xc5\x37\xf0\x4e"
27307                           "\x85\x19\x21\x72\x33\x00\xde\x28",
27308                 .ctext  = "\xf4\x80\x89\x89\x4a\x37\xda\x98"
27309                           "\x80\x52\x74\x75\xd9\xef\x58\xff",
27310                 .len    = 16,
27311         }, {
27312                 .key    = "\x8f\xb9\x8d\xc9\xd7\x99\xfe\x7d"
27313                           "\xeb\x14\xaa\x65\xaf\x8c\x38\x1a",
27314                 .klen   = 16,
27315                 .iv     = "\xb1\x67\x46\x57\x0c\x64\x65\xf2"
27316                           "\x8c\x2f\x65\x11\x12\x33\xd4\x9a",
27317                 .ptext  = "\x3a\xaf\xc1\xeb\x3c\x0c\xc5\xcc"
27318                           "\x10\x6e\x45\xa1\xd6\x89\xf1\xe5"
27319                           "\x74\xb6\x90\xd3\x81\x45\x00\x66"
27320                           "\x62\x15\x78\x84\xb2\x63\x11\x76",
27321                 .ctext  = "\x3d\x7d\x3a\xeb\x23\x85\x3e\x72"
27322                           "\x12\x45\xbb\x5b\x42\x99\xec\xa0"
27323                           "\xa2\xbe\x75\xd6\xb1\xd8\xea\x6f"
27324                           "\x97\xfe\xfd\xcc\xfc\x08\x38\x00",
27325                 .len    = 32,
27326         }, {
27327                 .key    = "\xe8\xe0\x85\x9c\x33\x06\x36\x5f"
27328                           "\xa9\xab\x72\x66\xa1\xd7\xf5\x0d",
27329                 .klen   = 16,
27330                 .iv     = "\x5d\xd3\xaf\x13\xed\x82\xc8\x92"
27331                           "\x4f\xf4\xe2\x35\xdb\x39\x9e\xa5",
27332                 .ptext  = "\xdf\x73\x61\x44\x86\x2f\x58\x1e"
27333                           "\xfe\xf6\xb9\x1d\xd9\x1e\x4c\x7c"
27334                           "\xb4\xe6\x2b\x7d\x17\xc3\xc6\x5f"
27335                           "\x9d\xf4\x29\x8a\x55\x5c\x82\x0e"
27336                           "\x67\x91\xdd\x4b\xfb\x31\x33\xf1"
27337                           "\x56\x75\xa3\x2c\x46\x08\xff\x18",
27338                 .ctext  = "\x85\x07\x8c\x88\x70\x7b\x39\xb8"
27339                           "\xfd\x1d\xa1\xd0\x89\x5f\x3f\x85"
27340                           "\x18\x5a\xde\x64\xbd\x54\xd5\x67"
27341                           "\xd1\x27\x4c\x98\x82\x76\xea\x22"
27342                           "\x52\x98\x79\xb4\x1d\xe8\x16\xd0"
27343                           "\xc6\xea\xf7\xbb\x38\x89\xf2\x5d",
27344                 .len    = 48,
27345         }, {
27346                 .key    = "\xc1\x19\x8a\x7b\xc9\xaf\x00\xb3"
27347                           "\x92\x3c\xd7\xed\xe7\x76\xc5\x98",
27348                 .klen   = 16,
27349                 .iv     = "\xca\x62\x82\x1a\x5b\xb1\xcf\xc1"
27350                           "\xfb\x50\xb7\xfc\xb0\x3b\x15\xcb",
27351                 .ptext  = "\xcb\x92\x56\x74\xc9\xee\x80\x78"
27352                           "\x78\xf5\x73\xc5\x5b\x2c\x70\x2d"
27353                           "\x4e\x0d\xd7\x17\x6d\x5a\x35\x74"
27354                           "\x33\xb0\x7d\xf5\xdf\x5f\x96\x7b"
27355                           "\x1c\x79\x16\xd0\xe0\x29\x4e\x94"
27356                           "\x95\x46\x86\x7a\x77\x28\x89\xb4"
27357                           "\x3d\xbb\x65\xab\xfb\xd1\x6c\xf4"
27358                           "\x47\xbd\x7e\x7f\x9b\x1d\x8b\x12",
27359                 .ctext  = "\x69\xd2\x56\xdf\xa8\x1a\x97\xbd"
27360                           "\x69\xb5\xbb\x6b\x29\x1d\x5f\x0f"
27361                           "\xdf\x5f\x63\xc0\x83\x0b\xd7\xb1"
27362                           "\x31\x2d\xbf\x73\xe1\xe5\x5d\x0e"
27363                           "\x0c\x8d\xc4\x8a\xa9\xbd\x5f\xc7"
27364                           "\xb5\x61\xa0\x2b\x90\x64\x1a\xde"
27365                           "\xd2\xe1\x61\xb9\xce\xf4\x0b\x1c"
27366                           "\x9c\x43\x69\x6d\xb2\x32\x98\x44",
27367                 .len    = 64,
27368         }, {
27369                 .key    = "\xfa\xf7\x53\xf6\xd6\x08\x70\xf1"
27370                           "\x32\x58\x97\x74\x04\x12\x1b\x14",
27371                 .klen   = 16,
27372                 .iv     = "\xdd\x93\xb2\x3e\xcb\xc1\x7c\x27"
27373                           "\x7f\x9e\x41\x03\xab\x1d\xfb\x77",
27374                 .ptext  = "\xae\x34\x94\x50\x73\x32\xf0\x75"
27375                           "\x96\x53\x2e\x1a\xc9\x91\x2b\x37"
27376                           "\x77\xbe\x48\x39\xa7\xd0\x6e\xf7"
27377                           "\x22\x7c\x4f\xe7\xd8\x06\xee\x92"
27378                           "\x80\x57\x61\x45\x7f\x50\xd5\x0a"
27379                           "\x0b\x5e\xd4\xd6\x90\x4e\xc3\x04"
27380                           "\x52\x63\xaf\x02\x55\xa6\x49\x4b"
27381                           "\x7a\x7e\x2e\x95\xea\x80\x6c\x4b"
27382                           "\xb7\x88\x42\x3d\xc1\x09\x28\x97"
27383                           "\xd7\xa1\x0f\x0f\x1f\xf1\xea\x63",
27384                 .ctext  = "\x6b\x83\x00\xf1\x79\xb2\x23\xbf"
27385                           "\x17\x26\x8a\xef\xd3\xe1\x0e\x82"
27386                           "\x5b\xc7\xde\x3e\x39\x72\x2d\xb0"
27387                           "\xad\x25\x3b\xe6\x3b\x9f\xe9\x4b"
27388                           "\x6e\xe8\x77\xf5\x9d\x7d\x00\xae"
27389                           "\x73\x7b\x81\xff\xe3\x55\x8e\x90"
27390                           "\xdf\xe4\xcd\xd5\xdc\x16\x8b\x7a"
27391                           "\xe5\x04\x92\x18\xff\xcc\x63\x1b"
27392                           "\x53\xf3\x26\x44\x5c\x48\x1d\xa2"
27393                           "\x1f\x3f\xe0\x8b\x8f\x6f\xc2\x38",
27394                 .len    = 80,
27395         }, {
27396                 .key    = "\xb8\xab\x6d\x03\x9d\xec\x15\x0a"
27397                           "\xcd\xcd\x68\x73\xa9\x35\x7e\x8a",
27398                 .klen   = 16,
27399                 .iv     = "\x9d\xf1\xc0\xa0\x02\x06\xf0\x03"
27400                           "\x43\x45\x6a\x2e\x3f\x21\xa9\x3c",
27401                 .ptext  = "\xef\xbe\x0c\xa3\x49\x4a\xda\x1e"
27402                           "\x64\x90\x85\xeb\xdc\xca\x2b\x37"
27403                           "\x78\xb7\x62\xd7\x0a\xee\x35\x38"
27404                           "\x97\x72\x6a\x99\xb8\x86\x07\x77"
27405                           "\x40\xc3\x14\x49\x1f\x67\xa1\x6e"
27406                           "\x87\xf0\x0b\x64\x4d\xea\x7c\x3a"
27407                           "\x91\x05\xb1\x48\xa1\x6a\x00\x1d"
27408                           "\x1b\x4f\x99\xb9\x52\xc9\x0c\xfd"
27409                           "\xf3\xe2\x0b\x5f\xe9\xec\x71\xe2"
27410                           "\x7d\x15\x84\x46\xc2\x3b\x77\x7b"
27411                           "\x30\x01\x34\x5c\x8f\x22\x58\x9a"
27412                           "\x17\x05\x7e\xf6\xd5\x92\xc0\xb4",
27413                 .ctext  = "\x79\x50\x9b\x34\xd7\x22\x9a\x72"
27414                           "\x61\xd7\xd8\xa9\xdb\xcf\x2f\xb0"
27415                           "\x81\x11\xe3\xed\xa0\xe4\xbd\x8d"
27416                           "\xe6\xf2\x52\x52\x40\xec\x9f\x3b"
27417                           "\xd4\x48\xc6\xdf\xfd\x36\x90\x8a"
27418                           "\x2f\x3b\xb0\xfb\xf4\x2b\x99\xa5"
27419                           "\xb2\x39\xc7\x52\x57\x2b\xbc\xd7"
27420                           "\x3f\x06\x10\x15\x2e\xf7\xaa\x79"
27421                           "\xd6\x6a\xe5\x4e\x2d\x0f\x5f\xaf"
27422                           "\xf9\x5a\x63\x28\x33\xf0\x85\x8a"
27423                           "\x06\x45\xce\x73\xaa\x96\x1d\xcc"
27424                           "\x6e\xb9\x25\xb8\x4c\xfe\xeb\x64",
27425                 .len    = 96,
27426         }, {
27427                 .key    = "\x50\x45\x7b\x4c\x6d\x80\x53\x62"
27428                           "\x90\x26\x77\xf8\x04\x65\x26\xe3",
27429                 .klen   = 16,
27430                 .iv     = "\x9d\xd3\x73\x7b\x9b\xbd\x45\x97"
27431                           "\xd2\xbb\xa1\xb9\x08\x88\x2c\x85",
27432                 .ptext  = "\x9f\x11\xeb\x78\x74\xcc\x4e\xd6"
27433                           "\x06\x4b\x6d\xe4\xdb\x11\x91\x58"
27434                           "\x1f\xa4\xf6\x0e\x8f\xe4\xcf\xfc"
27435                           "\x95\x9a\x8b\x68\xb4\x54\x57\x58"
27436                           "\x27\x71\xe4\x4b\xc5\x78\x6a\x26"
27437                           "\x28\xae\xed\x71\x0e\xe7\xbf\xc3"
27438                           "\xff\x9c\x46\x7b\x31\x3e\xff\xb1"
27439                           "\xa8\xca\xc3\x6d\xa1\x9e\x49\x16"
27440                           "\x31\x8b\xed\x2d\x2a\x2b\xaf\x3b"
27441                           "\x3e\x74\x7f\x07\x67\x8e\xb8\x0d"
27442                           "\x86\xe2\xea\x2c\x4a\x74\xdc\x9f"
27443                           "\x53\x72\xd1\x2e\x97\x0d\x0b\xa5"
27444                           "\x05\x87\x8e\x86\x69\x8d\x26\xfb"
27445                           "\x90\xc8\xab\x0e\xac\xaf\x84\x1c",
27446                 .ctext  = "\x3c\x91\xab\x71\xe4\x77\x3e\xb0"
27447                           "\x7f\x20\x2e\xd0\xe1\xbe\xfd\x3c"
27448                           "\x06\x6c\x36\x75\x46\x27\xfd\x2d"
27449                           "\xba\x0f\xf0\x3c\x6d\x1e\x4b\x20"
27450                           "\xe9\x5e\x30\xd8\x03\xc6\xa0\x86"
27451                           "\xa8\xc7\xa4\x7f\x0e\x1f\x35\x55"
27452                           "\x24\x53\x02\xd5\x77\x30\x73\xdc"
27453                           "\xa5\xaf\x19\x92\x5b\x36\x86\x0e"
27454                           "\xcf\xf2\x5c\x00\xde\x92\xbf\x89"
27455                           "\x76\x46\xd5\x26\xb1\x8d\xa4\xef"
27456                           "\x61\x7e\x78\xb4\x68\xf5\x5b\x1d"
27457                           "\x39\x65\x32\x3a\xad\xff\x8b\x37"
27458                           "\x60\xc2\x8a\xaf\x48\x96\x8b\x9f"
27459                           "\x12\x6c\x70\x77\x95\xf3\x58\xb0",
27460                 .len    = 112,
27461         }, {
27462                 .key    = "\xf9\x9f\x6a\x87\xa1\x2d\x6e\xac"
27463                           "\xde\xbb\x3e\x15\x5e\x49\xa4\xef",
27464                 .klen   = 16,
27465                 .iv     = "\xeb\x8e\x4f\xbe\x4b\x47\xd6\x4f"
27466                           "\x65\xd0\xfa\xee\xa6\xf1\x2c\xda",
27467                 .ptext  = "\xa3\xfa\x4f\xf6\x00\x12\xbe\xc1"
27468                           "\x90\xcc\x91\x88\xbd\xfb\x1c\xdb"
27469                           "\x2b\xc8\xb9\x3d\x98\x01\xc8\x1f"
27470                           "\x07\xb4\xf3\x10\x1d\xfd\xb7\x2e"
27471                           "\xcb\x1c\x1f\xe0\x2d\xca\xd3\xc7"
27472                           "\xb2\xce\x52\xf1\x7e\xcb\x7c\x50"
27473                           "\x0c\x5c\x53\x6b\x18\x62\x02\x54"
27474                           "\xbc\x9d\x1f\xda\xd9\x7a\x2d\xff"
27475                           "\xb8\x2c\x65\xad\xf1\xfe\xb6\xa4"
27476                           "\x8c\xe8\x0a\xb7\x67\x60\xcb\x38"
27477                           "\xd7\x72\xa5\xb1\x92\x13\x8e\xd4"
27478                           "\xcd\xb3\x04\xb5\xa1\x11\x96\x37"
27479                           "\xb3\x53\xa6\xc4\x14\x56\x6d\x42"
27480                           "\x66\x43\x40\x42\x41\x63\x11\x7a"
27481                           "\xd5\x34\x38\x75\xd0\xbc\x74\x89"
27482                           "\x82\x1d\x2c\x0a\x3e\x6a\xfb\xbd",
27483                 .ctext  = "\x09\x58\xf3\x22\xe5\x10\xf6\x3d"
27484                           "\xba\xb1\xfa\x5a\x16\xfe\xc5\x32"
27485                           "\x3d\x34\x59\x2e\x81\xde\x99\x2f"
27486                           "\xeb\x6a\x97\x86\x1f\x47\x8d\xe6"
27487                           "\x87\x79\x0e\xfe\xa4\xca\x09\xdc"
27488                           "\x24\x9b\xbb\xb1\x90\x33\xce\xd7"
27489                           "\x62\xfd\xfd\xa3\x65\x50\x07\x7c"
27490                           "\x4c\xa2\x10\xc7\x32\x0a\x0d\x5e"
27491                           "\x22\x29\x40\x71\xe5\xcc\x3a\x5b"
27492                           "\x5b\x53\x51\xa5\x5b\xc1\x76\x05"
27493                           "\x84\x6e\xe3\x58\x2b\xf2\x28\x76"
27494                           "\x5c\x66\x90\xfe\x63\x30\x1c\x45"
27495                           "\x26\x34\x80\xfe\x76\x87\x5b\xb1"
27496                           "\x63\x10\x09\xf6\x9d\x35\xcb\xee"
27497                           "\x3c\x60\x9d\x77\x5b\x36\x70\x09"
27498                           "\x4b\x63\x63\x90\x97\x3a\x6c\x8a",
27499                 .len    = 128,
27500         }, {
27501                 .key    = "\x04\xb9\x6c\x8f\x5e\x79\x02\x87"
27502                           "\x88\x06\x7c\xfa\xd3\x7b\x56\xfe",
27503                 .klen   = 16,
27504                 .iv     = "\x4b\xc8\x93\x20\x98\x04\xba\x5a"
27505                           "\x22\x04\x1f\x3f\x79\x2c\x63\x79",
27506                 .ptext  = "\xf3\x85\x3e\x75\x97\x10\x7c\x5d"
27507                           "\x39\x5a\x46\x47\xe7\x51\xa3\xac"
27508                           "\x84\x56\x3f\x1b\xb3\x93\x6a\x2e"
27509                           "\xf7\x8f\x63\xbe\x18\xff\xd7\x53"
27510                           "\xc8\xe0\xa5\xde\x86\xc2\xe4\xab"
27511                           "\xc3\x67\x27\x91\x43\x8c\xff\x6c"
27512                           "\xc7\x07\xc2\xcd\xe9\x12\x8b\xef"
27513                           "\x47\xe7\x82\xed\xe3\x8d\x5e\x33"
27514                           "\xca\xf1\x28\x32\xf4\x38\x41\x59"
27515                           "\x6c\x54\xa6\x40\xb0\xd5\x73\x26"
27516                           "\x5b\x02\xa6\x9d\x01\x29\x26\x84"
27517                           "\x5b\x33\x04\x36\xa4\x7b\x00\x01"
27518                           "\x42\xe1\x4f\xda\xa9\x1a\x9b\x4e"
27519                           "\x7d\x4a\x4c\xbc\xf6\xd4\x06\xc2"
27520                           "\x89\x70\x72\xf5\xc5\x7f\x42\xd5"
27521                           "\x7b\x9c\x6f\x00\x21\x74\xc5\xa5"
27522                           "\x78\xd7\xa2\x3c\x6d\x0f\xfb\x74"
27523                           "\x3d\x70\x9f\x6d\xdd\x30\xc0\x28",
27524                 .ctext  = "\xc0\x49\x98\xb9\xf6\x58\xeb\x56"
27525                           "\x36\x76\x7a\x40\x7c\x27\x80\x62"
27526                           "\xe3\xcb\x9c\x87\x2c\x03\xc2\x0c"
27527                           "\x82\x00\x50\xd2\xe4\x61\x4d\x54"
27528                           "\x88\x10\x6f\x0a\xb4\x25\x57\xba"
27529                           "\xf0\x07\xe3\x55\x06\xb3\x72\xe9"
27530                           "\x2f\x9f\x1e\x50\xa8\x15\x69\x71"
27531                           "\xe3\xe5\x50\x32\xe5\xe0\x47\x0f"
27532                           "\x3a\xaa\x7d\xc0\x09\x0e\xdb\x1a"
27533                           "\xae\xb6\xa5\x87\x63\xd6\xbe\x8b"
27534                           "\xb2\x3d\x10\x1e\xb3\x68\xcf\x8a"
27535                           "\xe5\xa8\x89\xa9\xfe\x79\x13\x77"
27536                           "\xc4\x3f\x6f\x9f\xdd\x76\x5b\xf2"
27537                           "\x05\x67\x8a\x58\xb4\x31\xac\x64"
27538                           "\x6f\xc4\xc1\x6b\x08\x79\x3f\xe5"
27539                           "\x1c\x9a\x66\x3f\x7d\x1f\x18\xb1"
27540                           "\x07\xa5\x7b\x4f\x2c\x43\x33\x84"
27541                           "\xab\x1b\xc0\x7d\x49\x2f\x27\x9b",
27542                 .len    = 144,
27543         }, {
27544                 .key    = "\x99\x79\xaf\x3c\xfb\xbd\xe7\xca"
27545                           "\xee\x4a\x4d\xb2\x23\x1e\xb6\x07",
27546                 .klen   = 16,
27547                 .iv     = "\xb4\xfc\xaa\xc1\x08\xbf\x68\xb2"
27548                           "\xf6\xef\x29\xbc\x2d\x92\xa9\x40",
27549                 .ptext  = "\xd3\x44\xe4\xd9\x6c\x8a\x1d\x4b"
27550                           "\xfe\x64\x25\xb6\x72\x21\xda\x10"
27551                           "\x3e\x77\xee\xd1\x41\xd3\xea\xf0"
27552                           "\xee\xee\x72\x0f\xad\xa1\xca\xf3"
27553                           "\x7e\xfa\x99\x36\xe0\x8f\xed\x40"
27554                           "\xf1\x12\x80\x73\xd6\x26\x3a\xa6"
27555                           "\x5d\x71\xf6\xd5\xe1\xf3\x89\x16"
27556                           "\x6f\x96\x00\xcf\x26\x06\x2a\x27"
27557                           "\xe4\xc2\x57\xba\x1f\x74\x5e\x91"
27558                           "\x10\x7e\xe5\x51\x17\xd5\xdc\xb2"
27559                           "\x5b\x12\x4b\x33\xb1\xc6\x4e\x0d"
27560                           "\xbf\x0e\x5d\x65\x61\x68\xd1\xc5"
27561                           "\x4b\xc5\xa4\xcd\xf0\xe0\x79\x26"
27562                           "\xa3\xcd\xdc\xb8\xfc\xd5\xca\x1d"
27563                           "\x7e\x81\x74\x55\x76\xf5\x40\xbb"
27564                           "\x26\x7f\x11\x37\x23\x70\xc8\xb6"
27565                           "\xfc\x2b\x0b\xd7\x1c\x7b\x45\xe7"
27566                           "\xf2\x2a\xed\x10\x4f\xcf\x0c\xcd"
27567                           "\x0f\xe7\xf9\xa1\xfb\x27\x67\x09"
27568                           "\xee\x11\xa2\xaf\x37\xc6\x16\xe0",
27569                 .ctext  = "\x60\xce\x9a\xdb\xb2\xe8\xa2\x64"
27570                           "\x35\x9c\x5b\x97\x21\x9b\x95\x89"
27571                           "\x7b\x89\x15\x01\x97\x8b\xec\x9b"
27572                           "\xb9\xce\x7d\xb9\x9d\xcc\xd0\xa0"
27573                           "\xda\x39\x5d\xfd\xb9\x51\xe7\x2f"
27574                           "\xe7\x9b\x73\x1b\x07\xfb\xfd\xbb"
27575                           "\xce\x84\x68\x76\x12\xc9\x6c\x38"
27576                           "\xc0\xdc\x67\x96\x5e\x63\xcf\xe5"
27577                           "\x57\x84\x7a\x14\x8c\xab\x38\x94"
27578                           "\x1c\x27\xc3\xe0\x03\x58\xfe\x98"
27579                           "\x97\xfc\x96\xba\x65\x87\x1e\x44"
27580                           "\xf8\x00\x91\x6a\x14\x05\xf3\xf9"
27581                           "\x8e\x3e\x7a\x3c\x41\x96\x15\x4f"
27582                           "\xa8\xc0\x73\x1f\x1b\xeb\xaf\xec"
27583                           "\xc4\x5a\x35\xed\x42\x2f\x47\xea"
27584                           "\xfd\x2f\x29\xf6\x0f\x58\x8b\x3d"
27585                           "\x15\x81\xe3\xa4\xa6\x5f\x33\x33"
27586                           "\xe9\x0d\x06\x4f\x7f\x89\x2c\x3d"
27587                           "\x18\x45\x1f\xd1\xc5\x74\xf7\x52"
27588                           "\x2f\x9b\x72\x3d\x1f\xad\x12\x1b",
27589                 .len    = 160,
27590         }, {
27591                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
27592                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
27593                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
27594                 .klen   = 24,
27595                 .iv     = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
27596                           "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
27597                 .ptext  = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
27598                           "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
27599                 .ctext  = "\x2d\x8f\x39\x71\x0a\x2c\xc9\x93"
27600                           "\xb6\x1a\x5c\x53\x06\x4d\xaa\xcf",
27601                 .len    = 16,
27602         }, {
27603                 .key    = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
27604                           "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
27605                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
27606                 .klen   = 24,
27607                 .iv     = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
27608                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
27609                 .ptext  = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
27610                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
27611                           "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
27612                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
27613                 .ctext  = "\xc1\x53\x86\xf8\x60\x5d\x72\x59"
27614                           "\x7e\xdf\xc8\xdb\x85\xd6\x9f\x2a"
27615                           "\xa1\xda\xe5\x85\x78\x4f\x1b\x6f"
27616                           "\x58\xf3\x2b\xff\x34\xe4\x97\x4e",
27617                 .len    = 32,
27618         }, {
27619                 .key    = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
27620                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
27621                           "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
27622                 .klen   = 24,
27623                 .iv     = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
27624                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
27625                 .ptext  = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
27626                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
27627                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
27628                           "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
27629                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
27630                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
27631                 .ctext  = "\x25\x5f\x66\x15\xb5\x62\xfb\x55"
27632                           "\xb3\x77\xa1\x7d\x03\xba\x86\x0a"
27633                           "\x0d\x5b\xbb\x06\xe9\xe2\xa8\x41"
27634                           "\xa3\x58\xd6\x4b\xcb\x7f\xd0\x15"
27635                           "\x3b\x02\x74\x5d\x4c\x4c\xb0\xa5"
27636                           "\x06\xc9\x59\x53\x2a\x36\xeb\x59",
27637                 .len    = 48,
27638         }, {
27639                 .key    = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
27640                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
27641                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
27642                 .klen   = 24,
27643                 .iv     = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27644                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
27645                 .ptext  = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27646                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
27647                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27648                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
27649                           "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27650                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
27651                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27652                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
27653                 .ctext  = "\x91\x02\xa9\xd3\x4b\x9a\x8f\xe6"
27654                           "\x9f\xe4\x51\x57\xc9\x42\xda\x68"
27655                           "\xca\xf6\x54\x51\x90\xec\x20\x2e"
27656                           "\xab\x25\x6c\xd9\x8b\x99\xa6\x1c"
27657                           "\x72\xc9\x01\xd6\xbc\x2b\x26\x78"
27658                           "\x42\x00\x84\x0a\xdd\xa8\xd9\xb5"
27659                           "\xc6\xc8\x30\xb6\xab\xea\x71\x84"
27660                           "\xb2\x57\x97\x32\xdb\x35\x23\xd8",
27661                 .len    = 64,
27662         }, {
27663                 .key    = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27664                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27665                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
27666                 .klen   = 24,
27667                 .iv     = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
27668                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
27669                 .ptext  = "\x91\xac\x17\x11\x1c\x03\x69\x53"
27670                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27671                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
27672                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27673                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
27674                           "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27675                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
27676                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27677                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
27678                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
27679                 .ctext  = "\x28\x23\x3a\x4a\x18\xb7\xb6\x05"
27680                           "\xd4\x1b\x6a\x9e\xa7\xf2\x38\x01"
27681                           "\x78\xd3\xb0\x1b\x95\x68\x59\xf1"
27682                           "\xc0\xed\x30\x46\x2e\xb9\xa6\xdc"
27683                           "\xde\xef\xa6\x85\x19\xfc\x4d\x36"
27684                           "\x5d\x24\x92\x62\x75\x32\x76\x6d"
27685                           "\x6d\xa9\x07\xe1\x4f\x59\x84\x1a"
27686                           "\x68\x9a\x07\x48\xd3\x86\xf6\xf1"
27687                           "\x5b\xf9\x35\xec\x7c\xaf\x47\x13"
27688                           "\x9c\xc9\x33\x12\x10\x2f\x94\x8a",
27689                 .len    = 80,
27690         }, {
27691                 .key    = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27692                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27693                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
27694                 .klen   = 24,
27695                 .iv     = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27696                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
27697                 .ptext  = "\x84\xa0\x53\x97\x61\x30\x70\x15"
27698                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27699                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27700                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
27701                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27702                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
27703                           "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27704                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
27705                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27706                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
27707                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27708                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
27709                 .ctext  = "\x38\x5b\x16\xef\xb8\x8c\x74\x7a"
27710                           "\x55\x17\x71\xa7\x7d\x34\xd7\x6a"
27711                           "\xc6\x31\x55\x6f\xbb\x61\xf4\x12"
27712                           "\x81\x8c\x91\x0d\x10\xdb\xd5\x22"
27713                           "\x77\x36\x32\xb6\x77\xb1\x5e\x21"
27714                           "\xb5\xec\xf9\x64\x04\x90\x6f\xc6"
27715                           "\x8a\x86\x23\xb5\xfe\xa4\xb6\x84"
27716                           "\x91\xa1\x60\xe3\xd7\xf3\xb9\xda"
27717                           "\x96\x23\x4a\xb3\xab\x75\x84\x04"
27718                           "\x15\x1a\xbb\xe8\x02\x1e\x80\x7c"
27719                           "\xc1\x93\x01\x0f\x5c\x4a\xde\x85"
27720                           "\xbb\x93\x05\x66\x53\x74\x40\x56",
27721                 .len    = 96,
27722         }, {
27723                 .key    = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27724                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27725                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
27726                 .klen   = 24,
27727                 .iv     = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27728                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
27729                 .ptext  = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
27730                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27731                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27732                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27733                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
27734                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27735                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
27736                           "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27737                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
27738                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27739                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
27740                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27741                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27742                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
27743                 .ctext  = "\x4b\x56\xe0\xc2\x65\x2f\x7c\x6f"
27744                           "\xee\x22\xeb\x34\x1c\xa5\xb7\xc8"
27745                           "\x35\xd7\x51\xfd\x6a\xf4\xdd\xc3"
27746                           "\x38\xf4\xfc\x9d\x2e\xc2\x77\xb7"
27747                           "\x93\x8e\x8c\xb3\x44\x9b\xaf\xbb"
27748                           "\x99\xb9\xa8\x38\x1c\xfe\x63\xfb"
27749                           "\x1f\xa0\xaa\x35\x29\x7b\x87\x49"
27750                           "\x8e\x93\xa5\xb8\x5a\x85\x37\xa7"
27751                           "\x67\x69\x49\xbd\xc3\xfa\x89\x1c"
27752                           "\xf5\x60\x9b\xe7\x71\x96\x95\xd9"
27753                           "\x0b\x98\xe6\x74\x1d\xa3\xd9\x89"
27754                           "\x03\xe4\xf6\x66\xb3\x73\xb1\xac"
27755                           "\x9f\xee\x8f\xc2\x96\xcc\x97\x78"
27756                           "\x1b\x96\x63\x64\x00\x9c\x2d\x29",
27757                 .len    = 112,
27758         }, {
27759                 .key    = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27760                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27761                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
27762                 .klen   = 24,
27763                 .iv     = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27764                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
27765                 .ptext  = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27766                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
27767                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27768                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27769                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27770                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
27771                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27772                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
27773                           "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27774                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
27775                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27776                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
27777                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27778                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27779                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27780                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
27781                 .ctext  = "\x4d\x35\x70\xf1\x25\x02\x1d\x7f"
27782                           "\x9e\x0f\x5b\x4b\x65\xab\xcc\x6b"
27783                           "\x62\xab\x2b\xfa\xc0\x66\xee\x56"
27784                           "\xb4\x66\x95\x22\x84\x39\xd8\x3f"
27785                           "\x74\xba\x4f\x3f\xcd\xef\xcf\xf6"
27786                           "\x76\xeb\x9e\x8a\xec\x9c\x31\xa0"
27787                           "\x3e\x0c\xf9\xfa\x57\x90\xb4\x02"
27788                           "\xac\xc8\x28\xda\xa0\x05\xb7\x7e"
27789                           "\x75\x9c\x79\x36\xa9\x2f\x1a\x36"
27790                           "\x56\x77\xda\x74\xc7\xb3\xdf\xf3"
27791                           "\xb9\x83\x10\xf3\x6b\xe1\xdf\xcb"
27792                           "\x11\x70\xb1\xa0\x68\x48\x26\x95"
27793                           "\x10\x91\x94\xf3\xe9\x82\xb4\x8a"
27794                           "\xaa\xde\xf8\x9f\xce\x82\x47\x18"
27795                           "\x37\x5d\xda\x34\x74\x4d\x36\xbd"
27796                           "\xa5\x6c\xa4\xb3\x70\xad\x00\xbd",
27797                 .len    = 128,
27798         }, {
27799                 .key    = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
27800                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
27801                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
27802                 .klen   = 24,
27803                 .iv     = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
27804                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
27805                 .ptext  = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
27806                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
27807                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
27808                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
27809                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
27810                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
27811                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
27812                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
27813                           "\xc2\xab\x62\x54\xef\xba\xae\x46"
27814                           "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
27815                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
27816                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
27817                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
27818                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
27819                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
27820                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
27821                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
27822                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
27823                 .ctext  = "\xa1\x4a\x83\xb2\xe0\xef\x3d\x94"
27824                           "\xa4\x34\x66\x93\xb4\x89\x4e\x12"
27825                           "\xe5\x61\xc9\xea\xe0\x16\x96\x1a"
27826                           "\x3e\x94\x20\x81\xd4\x12\x7f\xf4"
27827                           "\xb8\x3f\xc9\xe2\x99\xb5\x0f\x9e"
27828                           "\x71\x86\x4f\x13\x78\x4e\xf1\x51"
27829                           "\xd4\x7d\x6e\x47\x31\x9a\xd8\xf7"
27830                           "\xb9\xb1\x17\xd0\xbd\xbf\x72\x86"
27831                           "\xb4\x58\x85\xf0\x05\x67\xc4\x00"
27832                           "\xca\xcb\xa7\x1a\x1d\x88\x29\xf4"
27833                           "\xe2\xf6\xdd\x5a\x3e\x5a\xbb\x29"
27834                           "\x48\x5a\x4a\x18\xcd\x5c\xf1\x09"
27835                           "\x5b\xbe\x1a\x43\x12\xc5\x6e\x6e"
27836                           "\x5e\x6d\x3b\x22\xf7\x58\xbd\xc8"
27837                           "\xb1\x04\xaf\x44\x9c\x2b\x98\x5a"
27838                           "\x14\xb7\x35\xb8\x9a\xce\x32\x28"
27839                           "\x1f\x8d\x08\x8a\xb9\x82\xf0\xa5"
27840                           "\x6a\x37\x29\xb6\x29\x3a\x53\x5e",
27841                 .len    = 144,
27842         }, {
27843                 .key    = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
27844                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
27845                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
27846                 .klen   = 24,
27847                 .iv     = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
27848                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
27849                 .ptext  = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
27850                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
27851                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
27852                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
27853                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
27854                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
27855                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
27856                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
27857                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
27858                           "\x20\xf0\x79\x67\xb1\x83\x26\x66"
27859                           "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
27860                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
27861                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
27862                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
27863                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
27864                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
27865                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
27866                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
27867                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
27868                           "\x43\x43\x51\x6a\x02\x81\x64\x0c",
27869                 .ctext  = "\xd9\xed\xc8\xc7\x66\xcd\x06\xc5"
27870                           "\xc1\x25\x9b\xf5\x14\x71\x1d\x69"
27871                           "\xc9\x7c\x04\x40\xab\xc0\x44\xf4"
27872                           "\xa1\xe6\x57\x8b\x35\x62\x4e\x3f"
27873                           "\xce\x4a\x99\xcd\x95\xc4\xd1\xf3"
27874                           "\xbc\x25\xa2\x18\xe6\xd1\xf7\xc0"
27875                           "\x13\x98\x60\x4c\x5c\xb1\x4f\x7a"
27876                           "\xbc\x45\x12\x52\xe8\x71\xb0\xf1"
27877                           "\x18\xef\x6f\x8a\x63\x35\x17\xae"
27878                           "\x90\x31\x41\x9d\xf4\xdc\x35\xcc"
27879                           "\x49\x72\x10\x11\x3b\xe3\x40\x7a"
27880                           "\x8e\x21\x39\xd0\x5b\x82\xb1\xe9"
27881                           "\x0c\x37\x5a\x7c\x11\xcb\x96\xd9"
27882                           "\xd4\x1c\x47\x4b\x70\xcb\xca\x08"
27883                           "\x5f\x71\xe9\x48\xf6\x29\xd8\xbb"
27884                           "\x5c\xad\x9b\x23\x9f\x62\xaf\xef"
27885                           "\x8e\xd8\x99\x1d\x60\xad\xc3\x6f"
27886                           "\xed\x06\x1a\xec\xfa\xc0\x0f\x0d"
27887                           "\xb7\x00\x02\x45\x7c\x94\x23\xb6"
27888                           "\xd7\x26\x6a\x16\x62\xc4\xd9\xee",
27889                 .len    = 160,
27890         }, {
27891                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
27892                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
27893                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
27894                           "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
27895                 .klen   = 32,
27896                 .iv     = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
27897                           "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
27898                 .ptext  = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
27899                           "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
27900                 .ctext  = "\x05\x31\x46\x6d\xb8\xf4\x92\x64"
27901                           "\x46\xfd\x0d\x96\x60\x01\xd7\x94",
27902                 .len    = 16,
27903         }, {
27904                 .key    = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
27905                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22"
27906                           "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
27907                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
27908                 .klen   = 32,
27909                 .iv     = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
27910                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
27911                 .ptext  = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
27912                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d"
27913                           "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
27914                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
27915                 .ctext  = "\x24\x36\xe4\x14\xb7\xe1\x56\x8a"
27916                           "\xf3\xc5\xaf\x0e\xa7\xeb\xbd\xcd"
27917                           "\x2d\xe9\xd7\x19\xae\x24\x5d\x3b"
27918                           "\x1d\xfb\xdc\x21\xb3\x1a\x37\x0b",
27919                 .len    = 32,
27920         }, {
27921                 .key    = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
27922                           "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
27923                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
27924                           "\x39\x56\x34\x63\x2c\xc5\x51\x13",
27925                 .klen   = 32,
27926                 .iv     = "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
27927                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
27928                 .ptext  = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
27929                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
27930                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
27931                           "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
27932                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
27933                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
27934                 .ctext  = "\x2e\x73\x60\xec\xd3\x95\x78\xe8"
27935                           "\x0f\x98\x1a\xc2\x92\x49\x0b\x49"
27936                           "\x71\x42\xf4\xb0\xaa\x8b\xf8\x53"
27937                           "\x16\xab\x6d\x74\xc0\xda\xab\xcd"
27938                           "\x85\x52\x11\x20\x2c\x59\x16\x00"
27939                           "\x26\x47\x4a\xea\x08\x5f\x38\x68",
27940                 .len    = 48,
27941         }, {
27942                 .key    = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27943                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
27944                           "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27945                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c",
27946                 .klen   = 32,
27947                 .iv     = "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27948                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
27949                 .ptext  = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27950                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
27951                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27952                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44"
27953                           "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27954                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27955                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
27956                           "\xb2\x92\x83\x70\x1e\xa3\x97\xa6",
27957                 .ctext  = "\xfb\xd3\xc3\x8b\xf7\x89\xcc\x31"
27958                           "\xb1\x7f\xc3\x91\xdc\x04\xc6\xd7"
27959                           "\x33\xbd\xe0\xee\x0c\xd5\x70\xed"
27960                           "\x1b\x1d\xad\x49\x6f\x5c\xa1\x68"
27961                           "\xd7\x03\xc9\x65\xa7\x90\x30\x2b"
27962                           "\x26\xeb\xf4\x7a\xac\xcc\x03\xe1"
27963                           "\x6a\xe5\xdb\x23\x10\x8a\xcd\x70"
27964                           "\x39\x4d\x7a\xc9\xcd\x62\xd1\x65",
27965                 .len    = 64,
27966         }, {
27967                 .key    = "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
27968                           "\x91\xac\x17\x11\x1c\x03\x69\x53"
27969                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27970                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8",
27971                 .klen   = 32,
27972                 .iv     = "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27973                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
27974                 .ptext  = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27975                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
27976                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27977                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
27978                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
27979                           "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27980                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27981                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
27982                           "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27983                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
27984                 .ctext  = "\xa2\x51\x28\xc2\x5e\x58\x1c\xaf"
27985                           "\x84\x92\x1c\xe1\x92\xf0\xf9\x9e"
27986                           "\xf2\xb3\xc6\x2b\x34\xd2\x8d\xa0"
27987                           "\xb3\xd7\x87\x56\xeb\xd9\x32\x6a"
27988                           "\xca\x90\x28\x26\x49\x34\xca\x41"
27989                           "\xce\xc5\x9e\xd6\xfe\x57\x71\x3c"
27990                           "\x98\xaf\xdd\xfc\x7d\xdf\x26\x7e"
27991                           "\xb7\x9c\xd5\x15\xe5\x81\x7a\x4f"
27992                           "\x4f\x4f\xe5\x77\xf2\x2e\x67\x68"
27993                           "\x52\xc1\xac\x28\x2c\x88\xf4\x38",
27994                 .len    = 80,
27995         }, {
27996                 .key    = "\x84\xa0\x53\x97\x61\x30\x70\x15"
27997                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27998                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27999                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95",
28000                 .klen   = 32,
28001                 .iv     = "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
28002                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
28003                 .ptext  = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
28004                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
28005                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
28006                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
28007                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
28008                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
28009                           "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
28010                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
28011                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
28012                           "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
28013                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
28014                           "\x58\x2b\x1d\x73\x9a\x9c\x63\x18",
28015                 .ctext  = "\xd1\xce\xbe\xe0\x4a\x6e\x6d\x7f"
28016                           "\x89\x19\x28\xb1\xca\xe8\xc1\x9c"
28017                           "\x8c\x0b\x7d\x63\xfe\xff\x3d\xf4"
28018                           "\x65\x9e\xd6\xe7\x2f\x5a\xc1\x31"
28019                           "\x1e\xe7\x59\x27\x54\x92\xcc\xaa"
28020                           "\x5b\x3d\xeb\xe7\x96\xc1\x49\x54"
28021                           "\x18\xf3\x14\xaa\x56\x03\x28\x53"
28022                           "\xaa\x0a\x91\xdf\x92\x96\x9b\x06"
28023                           "\x1a\x24\x02\x09\xe7\xa6\xdc\x75"
28024                           "\xeb\x00\x1d\xf5\xf2\xa7\x4a\x9d"
28025                           "\x75\x80\xb7\x47\x63\xfc\xad\x18"
28026                           "\x85\x5f\xfc\x64\x03\x72\x38\xe7",
28027                 .len    = 96,
28028         }, {
28029                 .key    = "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
28030                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
28031                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
28032                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0",
28033                 .klen   = 32,
28034                 .iv     = "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
28035                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
28036                 .ptext  = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
28037                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
28038                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
28039                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
28040                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
28041                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
28042                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
28043                           "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
28044                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
28045                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
28046                           "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
28047                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
28048                           "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
28049                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c",
28050                 .ctext  = "\x0b\x07\xdc\x6a\x47\x45\xd2\xb0"
28051                           "\xa3\xf2\x42\x2f\xa4\x79\x6b\x4c"
28052                           "\x53\x9c\x8a\x2f\x48\x9c\xf2\x89"
28053                           "\x73\x8b\xdd\x97\xde\x41\x06\xc8"
28054                           "\x8a\x30\x7a\xa9\x90\x4a\x43\xd0"
28055                           "\xd5\xee\x16\x51\x44\xda\xe4\xb8"
28056                           "\xe8\x5f\x6f\xef\x84\xf3\x44\x43"
28057                           "\xbd\xdc\xc3\xdf\x65\x2b\xaf\xf6"
28058                           "\xfe\xd0\x4a\x5b\x30\x47\x8c\xaf"
28059                           "\x8d\xed\x2d\x91\xa1\x03\x9a\x80"
28060                           "\x58\xdd\xaa\x8f\x3b\x6b\x39\x10"
28061                           "\xe5\x92\xbc\xac\xaa\x25\xa1\x13"
28062                           "\x7e\xaa\x03\x83\x05\x83\x11\xfe"
28063                           "\x19\x5f\x04\x01\x48\x00\x3b\x58",
28064                 .len    = 112,
28065         }, {
28066                 .key    = "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
28067                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
28068                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
28069                           "\x6a\x55\x84\x98\x28\x03\x02\xc2",
28070                 .klen   = 32,
28071                 .iv     = "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
28072                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
28073                 .ptext  = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
28074                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
28075                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
28076                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
28077                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
28078                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
28079                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
28080                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
28081                           "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
28082                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
28083                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
28084                           "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
28085                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
28086                           "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
28087                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
28088                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a",
28089                 .ctext  = "\xfe\xba\x8f\x68\x47\x55\xaa\x61"
28090                           "\x48\xdd\xf3\x7c\xc4\xdc\xa6\x93"
28091                           "\x4e\x72\x3f\xc7\xd0\x2b\x9b\xac"
28092                           "\xc1\xb5\x95\xf8\x8e\x75\x62\x0c"
28093                           "\x05\x6a\x90\x76\x35\xed\x73\xf2"
28094                           "\x0f\x44\x3d\xaf\xd4\x00\xeb\x1d"
28095                           "\xad\x27\xf2\x2f\x55\x65\x91\x0f"
28096                           "\xe4\x04\x9c\xfb\x8a\x18\x22\x8e"
28097                           "\x21\xbe\x93\x09\xdd\x3e\x93\x34"
28098                           "\x60\x82\xcd\xff\x42\x10\xed\x43"
28099                           "\x3a\x4b\xb8\x5c\x6c\xa8\x9e\x1c"
28100                           "\x95\x6a\x17\xa7\xa3\xe0\x7d\xdb"
28101                           "\x6e\xca\xaf\xc1\x1f\xb2\x86\x15"
28102                           "\xf0\xc1\x55\x72\xf2\x74\x44\xeb"
28103                           "\x09\x09\x83\x8b\x2c\xc9\x63\x13"
28104                           "\x99\xe3\xe1\x4b\x5c\xf7\xb1\x04",
28105                 .len    = 128,
28106         }, {
28107                 .key    = "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
28108                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
28109                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
28110                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62",
28111                 .klen   = 32,
28112                 .iv     = "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
28113                           "\xc2\xab\x62\x54\xef\xba\xae\x46",
28114                 .ptext  = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
28115                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
28116                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
28117                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
28118                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
28119                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
28120                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
28121                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
28122                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
28123                           "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
28124                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
28125                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
28126                           "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
28127                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
28128                           "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
28129                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
28130                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
28131                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01",
28132                 .ctext  = "\xa5\x19\x33\xad\x2d\x1a\x7b\x34"
28133                           "\xb0\x21\x68\x0e\x20\x11\x7a\x37"
28134                           "\xef\x35\x33\x64\x31\x0a\x42\x77"
28135                           "\x2c\x7f\x1a\x34\xd6\x93\x2d\xe9"
28136                           "\x26\xb9\x15\xec\x4f\x83\xbd\x48"
28137                           "\x5b\xe9\x63\xea\x10\x3b\xec\xfb"
28138                           "\xb0\x5e\x81\x90\xf0\x07\x43\xc4"
28139                           "\xda\x54\x69\x98\x13\x5d\x93\x16"
28140                           "\xca\x06\x81\x64\x36\xbe\x36\xa2"
28141                           "\xd4\xd8\x48\x63\xc7\x53\x39\x93"
28142                           "\x6d\x6b\xd6\x49\x00\x72\x5e\x02"
28143                           "\xc7\x88\x61\x0f\x10\x88\xd4\x9e"
28144                           "\x17\x81\xa4\xdc\x43\x4e\x83\x43"
28145                           "\xd4\xc3\xd7\x25\x9a\xd4\x76\xde"
28146                           "\x88\xe3\x98\x5a\x0e\x80\x23\xfb"
28147                           "\x49\xb3\x83\xf6\xb9\x16\x00\x06"
28148                           "\xa5\x06\x24\x17\x65\xbb\x68\xa9"
28149                           "\x56\x6d\xeb\xcd\x3c\x14\xd2\x64",
28150                 .len    = 144,
28151         }, {
28152                 .key    = "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
28153                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
28154                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
28155                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53",
28156                 .klen   = 32,
28157                 .iv     = "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
28158                           "\x20\xf0\x79\x67\xb1\x83\x26\x66",
28159                 .ptext  = "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
28160                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
28161                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
28162                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
28163                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
28164                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
28165                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
28166                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
28167                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
28168                           "\x43\x43\x51\x6a\x02\x81\x64\x0c"
28169                           "\xcd\x4b\xbf\x0f\xcb\x81\xd4\xec"
28170                           "\x1e\x07\x05\x4d\x5c\x6b\xba\xcc"
28171                           "\x43\xc7\xb1\xfe\xa8\xe9\x96\xb0"
28172                           "\xb1\xb2\xd4\x70\x44\xbc\xaa\x50"
28173                           "\xbf\x3f\x81\xe6\xea\x36\x7d\x97"
28174                           "\x2a\xbd\x52\x16\xf7\xbe\x59\x27"
28175                           "\x8f\xcc\xe3\xa9\xec\x4f\xcd\xd3"
28176                           "\xf4\xe2\x54\xbe\xf1\xf9\x2b\x23"
28177                           "\x40\xc7\xcb\x67\x4d\x5f\x0b\xd4"
28178                           "\xbf\x19\xf0\x2a\xef\x37\xc6\x56",
28179                 .ctext  = "\x0a\x69\xd8\x67\x33\x2a\x2f\xa9"
28180                           "\x26\x79\x65\xd6\x75\x1e\x98\xe8"
28181                           "\x52\x56\x32\xbf\x67\x71\xf4\x01"
28182                           "\xb1\x6f\xef\xf9\xc9\xad\xb3\x49"
28183                           "\x7a\x4f\x24\x9a\xae\x06\x62\x26"
28184                           "\x3e\xe4\xa7\x6f\x5a\xbf\xe9\x52"
28185                           "\x13\x01\x74\x8b\x6e\xb1\x65\x24"
28186                           "\xaa\x8d\xbb\x54\x21\x20\x60\xa4"
28187                           "\xb7\xa5\xf9\x4e\x7b\xf5\x0b\x70"
28188                           "\xd2\xb9\xdc\x9b\xdb\x2c\xb2\x43"
28189                           "\xf7\x71\x30\xa5\x13\x6f\x16\x75"
28190                           "\xd0\xdf\x72\xae\xe4\xed\xc1\xa3"
28191                           "\x81\xe0\xd5\xc0\x0e\x62\xe8\xe5"
28192                           "\x86\x2c\x37\xde\xf8\xb0\x21\xe4"
28193                           "\xcd\xa6\x76\x9b\xa1\x56\xd3\x67"
28194                           "\x70\x69\xd6\x5d\xc7\x65\x19\x59"
28195                           "\x43\x9c\xca\x32\xe9\xd1\x48\x92"
28196                           "\x71\x79\x87\x73\x24\xcb\xc0\x0f"
28197                           "\x23\x3b\x8f\x51\x8a\xb3\x3a\x9c"
28198                           "\x74\xa4\x19\xa7\xe4\x4f\x6b\x32",
28199                 .len    = 160,
28200         }
28201 };
28202
28203 static const struct cipher_testvec aria_ctr_tv_template[] = {
28204         {
28205                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
28206                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1",
28207                 .klen   = 16,
28208                 .iv     = "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
28209                           "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
28210                 .ptext  = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
28211                           "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
28212                 .ctext  = "\x19\x28\xb5\xf2\x1c\xbc\xf8\xaf"
28213                           "\xb9\xae\x1b\x23\x4f\xe1\x6e\x40",
28214                 .len    = 16,
28215         }, {
28216                 .key    = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
28217                           "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
28218                 .klen   = 16,
28219                 .iv     = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
28220                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
28221                 .ptext  = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
28222                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e"
28223                           "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
28224                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
28225                 .ctext  = "\x3f\x8c\xa9\x19\xd6\xb4\xfb\xed"
28226                           "\x9c\x6d\xaa\x1b\xe1\xc1\xe6\xa8"
28227                           "\xa9\x0a\x63\xd3\xa2\x1e\x6b\xa8"
28228                           "\x52\x97\x1e\x81\x34\x6f\x98\x0e",
28229                 .len    = 32,
28230         }, {
28231                 .key    = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
28232                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
28233                 .klen   = 16,
28234                 .iv     = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
28235                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
28236                 .ptext  = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
28237                           "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
28238                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
28239                           "\x39\x56\x34\x63\x2c\xc5\x51\x13"
28240                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
28241                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
28242                 .ctext  = "\x28\xd8\xa7\xf8\x74\x98\x00\xfc"
28243                           "\xd6\x48\xad\xbd\xbe\x3f\x0e\x7b"
28244                           "\x3d\x46\xfd\xde\x3e\x4f\x12\x43"
28245                           "\xac\x85\xda\xff\x70\x24\x44\x9d"
28246                           "\x1e\xf8\x9f\x30\xba\xca\xe0\x97"
28247                           "\x03\x6d\xe1\x1d\xc7\x21\x79\x37",
28248                 .len    = 48,
28249         }, {
28250                 .key    = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
28251                           "\x77\xb5\xca\x90\xda\x1d\x22\x17",
28252                 .klen   = 16,
28253                 .iv     = "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
28254                           "\x07\x2c\xf4\x61\x79\x09\x01\x8f",
28255                 .ptext  = "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
28256                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57"
28257                           "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
28258                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
28259                           "\xa0\x82\x09\x60\x47\xbb\x16\x56"
28260                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
28261                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
28262                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
28263                 .ctext  = "\x29\x31\x55\xd2\xe5\x0b\x81\x39"
28264                           "\xf9\xbc\x63\xe2\xfa\x26\x99\xde"
28265                           "\xde\x18\x93\x68\x81\x7b\x0a\x4d"
28266                           "\xf6\x03\xe1\xee\xf9\x0e\x1f\xe8"
28267                           "\xa8\x80\x81\x46\xdc\x24\x43\x3f"
28268                           "\xff\xfe\x8c\x3e\x17\x0a\x6d\xa2"
28269                           "\x47\x55\x62\xa0\x03\x4e\x48\x67"
28270                           "\xa2\x64\xc0\x9b\x6c\xa4\xfd\x6a",
28271                 .len    = 64,
28272         }, {
28273                 .key    = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
28274                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac",
28275                 .klen   = 16,
28276                 .iv     = "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
28277                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
28278                 .ptext  = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
28279                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
28280                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
28281                           "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
28282                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
28283                           "\x91\xac\x17\x11\x1c\x03\x69\x53"
28284                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
28285                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
28286                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
28287                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
28288                 .ctext  = "\x38\xbc\xf5\x9d\x0e\x26\xa6\x18"
28289                           "\x95\x0b\x23\x54\x09\xa1\xf9\x46"
28290                           "\x12\xf1\x42\x57\xa1\xaa\x52\xfa"
28291                           "\x8a\xbd\xf2\x03\x63\x4e\xbc\xf7"
28292                           "\x21\xea\xed\xca\xdd\x42\x41\x94"
28293                           "\xe4\x6c\x07\x06\x19\x59\x30\xff"
28294                           "\x8c\x9d\x51\xbf\x2c\x2e\x5b\xa5"
28295                           "\x7d\x11\xec\x6b\x21\x08\x12\x18"
28296                           "\xe4\xdf\x5a\xfd\xa6\x5f\xee\x2f"
28297                           "\x5c\x24\xb7\xea\xc1\xcd\x6d\x68",
28298                 .len    = 80,
28299         }, {
28300                 .key    = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
28301                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3",
28302                 .klen   = 16,
28303                 .iv     = "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
28304                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a",
28305                 .ptext  = "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
28306                           "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
28307                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
28308                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
28309                           "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
28310                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2"
28311                           "\x84\xa0\x53\x97\x61\x30\x70\x15"
28312                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
28313                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
28314                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
28315                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
28316                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
28317                 .ctext  = "\xdf\x79\x58\x30\x6f\x47\x12\x78"
28318                           "\x04\xb2\x0b\x1a\x62\x22\xe2\x9f"
28319                           "\xfe\xc2\xf5\x6d\x9e\x0e\x2e\x56"
28320                           "\x76\x01\x7f\x25\x8f\x6e\xc5\xf3"
28321                           "\x91\xff\xcd\x67\xc6\xae\x0b\x01"
28322                           "\x4d\x5f\x40\x25\x88\xc5\xe0\x3d"
28323                           "\x37\x62\x12\x58\xfe\xc5\x4a\x21"
28324                           "\x4a\x86\x8d\x94\xdd\xfd\xe6\xf6"
28325                           "\x1e\xa6\x78\x4f\x90\x66\xda\xe4"
28326                           "\x4e\x64\xa8\x05\xc6\xd8\x7d\xfb"
28327                           "\xac\xc9\x1d\x14\xb5\xb0\xfa\x9c"
28328                           "\xe8\x84\xef\x87\xbe\xb4\x2a\x87",
28329                 .len    = 96,
28330         }, {
28331                 .key    = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
28332                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1",
28333                 .klen   = 16,
28334                 .iv     = "\xee\xb7\x0d\x65\x00\x38\xab\x71"
28335                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad",
28336                 .ptext  = "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
28337                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
28338                           "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
28339                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
28340                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
28341                           "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
28342                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
28343                           "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
28344                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
28345                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
28346                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
28347                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
28348                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
28349                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
28350                 .ctext  = "\xe4\x25\x0d\x22\xeb\xbe\x5e\x90"
28351                           "\x01\xe5\xae\xc9\x94\xbd\x93\x89"
28352                           "\x5f\x98\xf1\x46\x6a\x50\x3b\xa2"
28353                           "\x79\xd9\xe4\x9c\x9a\xde\xf2\x8c"
28354                           "\x25\x49\x4c\xda\xb4\x2c\x76\xab"
28355                           "\x0a\xa8\x51\xaf\xc0\x62\x1b\xe9"
28356                           "\xe9\x7a\x35\x6a\x4b\x1f\x48\x00"
28357                           "\xeb\x24\x1d\x5e\xdd\x06\x09\x23"
28358                           "\x2a\xfa\x8f\x3b\x3e\x9e\x14\x6f"
28359                           "\x2a\x3c\xef\x6d\x73\x67\xdd\x6c"
28360                           "\xc8\xa5\x57\xc8\x02\xb6\x9a\xe8"
28361                           "\x8d\xcf\x10\xfa\x3e\x9c\x4d\xeb"
28362                           "\x44\xd2\x05\x31\x40\x94\x77\x87"
28363                           "\xf0\x83\xb5\xd2\x2a\x9c\xbc\xe4",
28364                 .len    = 112,
28365         }, {
28366                 .key    = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
28367                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15",
28368                 .klen   = 16,
28369                 .iv     = "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
28370                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12",
28371                 .ptext  = "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
28372                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
28373                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
28374                           "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
28375                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
28376                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
28377                           "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
28378                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
28379                           "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
28380                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
28381                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
28382                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
28383                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
28384                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
28385                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
28386                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
28387                 .ctext  = "\xa7\x4c\x96\x55\x7c\x07\xce\xb2"
28388                           "\x6f\x63\x9f\xc6\x8b\x6f\xc6\x4a"
28389                           "\x2c\x47\x8d\x99\xdf\x65\x75\x96"
28390                           "\xb7\x1d\x50\x5b\x57\x4a\x69\xcc"
28391                           "\xc9\x3a\x18\x8a\xd1\xab\x70\x4a"
28392                           "\xa3\x13\x80\xdd\x48\xc0\x6a\x7d"
28393                           "\x21\xa8\x22\x06\x32\x47\xc0\x16"
28394                           "\x1f\x9a\xc0\x21\x33\x66\xf2\xd8"
28395                           "\x69\x79\xae\x02\x82\x3f\xaf\xa6"
28396                           "\x98\xdb\xcd\x2a\xe5\x12\x39\x80"
28397                           "\x8a\xc1\x73\x99\xe5\xe4\x17\xe3"
28398                           "\x56\xc2\x43\xa6\x41\x6b\xb2\xa4"
28399                           "\x9f\x81\xc4\xe9\xf4\x29\x65\x50"
28400                           "\x69\x81\x80\x4b\x86\xab\x5e\x30"
28401                           "\xd0\x81\x9d\x6f\x24\x59\x42\xc7"
28402                           "\x6d\x5e\x41\xb8\xf5\x99\xc2\xae",
28403                 .len    = 128,
28404         }, {
28405                 .key    = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
28406                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c",
28407                 .klen   = 16,
28408                 .iv     = "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
28409                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33",
28410                 .ptext  = "\x87\x96\x77\x1a\x10\x81\x63\x8a"
28411                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
28412                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
28413                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
28414                           "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
28415                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
28416                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
28417                           "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
28418                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
28419                           "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
28420                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
28421                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
28422                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
28423                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
28424                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
28425                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
28426                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
28427                           "\xc2\xab\x62\x54\xef\xba\xae\x46",
28428                 .ctext  = "\x11\x7f\xea\x49\xaf\x24\x52\xa2"
28429                           "\xde\x60\x99\x58\x23\xf9\x9e\x91"
28430                           "\x73\xd5\x9a\xcb\xdd\x10\xcd\x68"
28431                           "\xb8\x9e\xef\xa4\xe9\x2d\xf0\x27"
28432                           "\x44\xd4\x9a\xd6\xb6\x9c\x7a\xec"
28433                           "\x17\x17\xea\xa7\x8e\xa8\x40\x6b"
28434                           "\x43\x3d\x50\x59\x0f\x74\x1b\x9e"
28435                           "\x03\xed\x4f\x2f\xb8\xda\xef\xc3"
28436                           "\x3f\x29\xb3\xf4\x5c\xcd\xce\x3c"
28437                           "\xba\xfb\xc6\xd1\x1d\x6f\x61\x3a"
28438                           "\x2b\xbd\xde\x30\xc5\x53\xe0\x6e"
28439                           "\xbe\xae\x2f\x81\x13\x0f\xd2\xd5"
28440                           "\x14\xda\xd3\x60\x9c\xf8\x00\x86"
28441                           "\xe9\x97\x3e\x05\xb3\x95\xb3\x21"
28442                           "\x1f\x3c\x56\xef\xcb\x32\x49\x5c"
28443                           "\x89\xf1\x34\xe4\x8d\x7f\xde\x01"
28444                           "\x1f\xd9\x25\x6d\x34\x1d\x6b\x71"
28445                           "\xc9\xa9\xd6\x14\x1a\xf1\x44\x59",
28446                 .len    = 144,
28447         }, {
28448                 .key    = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
28449                           "\x05\x26\x23\x81\x19\x27\xad\x7b",
28450                 .klen   = 16,
28451                 .iv     = "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
28452                           "\x44\xbf\x59\xde\x03\x61\x11\x12",
28453                 .ptext  = "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
28454                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
28455                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
28456                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
28457                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
28458                           "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
28459                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
28460                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
28461                           "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
28462                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
28463                           "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
28464                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
28465                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
28466                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
28467                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
28468                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
28469                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
28470                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
28471                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
28472                           "\x20\xf0\x79\x67\xb1\x83\x26\x66",
28473                 .ctext  = "\x5b\xc0\xe8\x17\xa4\xf9\xea\xce"
28474                           "\x9e\xf9\xe0\xb1\xac\x37\xe9\x41"
28475                           "\x0b\x57\xc6\x55\x54\x50\xfa\xa9"
28476                           "\x60\xaf\x7a\x4e\x98\x56\xde\x81"
28477                           "\x14\xfc\xac\x21\x81\x3e\xf4\x0f"
28478                           "\x40\x92\x30\xa8\x16\x88\x1a\xc3"
28479                           "\xf1\x39\xbd\x0a\xb9\x44\xc8\x67"
28480                           "\x8c\xaa\x2b\x45\x8b\x5b\x7b\x24"
28481                           "\xd5\xd8\x9e\xd3\x59\xa5\xd7\x69"
28482                           "\xdf\xf4\x50\xf9\x5f\x4f\x44\x1f"
28483                           "\x2c\x75\x68\x6e\x3a\xa8\xae\x4b"
28484                           "\x84\xf0\x42\x6c\xc0\x3c\x42\xaf"
28485                           "\x87\x2b\x89\xe9\x51\x69\x16\x63"
28486                           "\xc5\x62\x13\x05\x4c\xb2\xa9\x69"
28487                           "\x01\x14\x73\x88\x8e\x41\x47\xb6"
28488                           "\x68\x74\xbc\xe9\xad\xda\x94\xa1"
28489                           "\x0c\x12\x8e\xd4\x38\x15\x02\x97"
28490                           "\x27\x72\x4d\xdf\x61\xcc\x86\x3d"
28491                           "\xd6\x32\x4a\xc3\xa9\x4c\x35\x4f"
28492                           "\x5b\x91\x7d\x5c\x79\x59\xb3\xd5",
28493                 .len    = 160,
28494         }, {
28495                 .key    = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
28496                           "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
28497                           "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
28498                 .klen   = 24,
28499                 .iv     = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
28500                           "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
28501                 .ptext  = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
28502                           "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
28503                 .ctext  = "\xa4\x12\x2f\xc4\xf0\x6d\xd9\x46"
28504                           "\xe4\xe6\xd1\x0b\x6d\x14\xf0\x8f",
28505                 .len    = 16,
28506         }, {
28507                 .key    = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
28508                           "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
28509                           "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
28510                 .klen   = 24,
28511                 .iv     = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
28512                           "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
28513                 .ptext  = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
28514                           "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
28515                           "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
28516                           "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
28517                 .ctext  = "\x80\x2b\xf0\x88\xb9\x4b\x8d\xf5"
28518                           "\xc3\x0e\x15\x5b\xea\x5d\x5b\xa8"
28519                           "\x07\x95\x78\x72\xc0\xb9\xbf\x25"
28520                           "\x33\x22\xd1\x05\x56\x46\x62\x25",
28521                 .len    = 32,
28522         }, {
28523                 .key    = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
28524                           "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
28525                           "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
28526                 .klen   = 24,
28527                 .iv     = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
28528                           "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
28529                 .ptext  = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
28530                           "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
28531                           "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
28532                           "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
28533                           "\x77\xb5\xca\x90\xda\x1d\x22\x17"
28534                           "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
28535                 .ctext  = "\x65\x01\x3c\xb0\xac\x4c\x63\xb6"
28536                           "\xe7\xf1\xf4\x61\x35\xf4\x36\xde"
28537                           "\x7f\x85\xba\x41\xa8\xb0\x27\x11"
28538                           "\x86\x2c\x71\x16\x05\x1d\xcf\x70"
28539                           "\x35\xef\x23\x17\xfc\xed\x3f\x1a"
28540                           "\x8e\xb3\xe5\xdb\x90\xb4\xb8\x35",
28541                 .len    = 48,
28542         }, {
28543                 .key    = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
28544                           "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
28545                           "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
28546                 .klen   = 24,
28547                 .iv     = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
28548                           "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
28549                 .ptext  = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
28550                           "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
28551                           "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
28552                           "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
28553                           "\x30\x9d\x59\x8d\x64\x76\xad\x37"
28554                           "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
28555                           "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
28556                           "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
28557                 .ctext  = "\x5a\xfb\xb1\x2c\x6e\xe5\xb8\xe0"
28558                           "\x80\xb6\x77\xa8\xfe\x10\x3a\x99"
28559                           "\x00\x8e\x30\x23\x7d\x50\x87\xda"
28560                           "\xc6\x46\x73\x37\x8b\xf1\xab\x26"
28561                           "\x2d\xa8\x0c\xa8\x9e\x77\xee\xfc"
28562                           "\x78\x4f\x03\x0f\xeb\xc6\x03\x34"
28563                           "\xb9\x9c\x4f\x59\x55\xc5\x99\x47"
28564                           "\xd4\x7e\xe8\x06\x43\x5f\xa1\x6b",
28565                 .len    = 64,
28566         }, {
28567                 .key    = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
28568                           "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
28569                           "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
28570                 .klen   = 24,
28571                 .iv     = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
28572                           "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
28573                 .ptext  = "\x91\xac\x17\x11\x1c\x03\x69\x53"
28574                           "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
28575                           "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
28576                           "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
28577                           "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
28578                           "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
28579                           "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
28580                           "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
28581                           "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
28582                           "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
28583                 .ctext  = "\xc9\x5f\xe0\x60\x61\x38\x7e\x79"
28584                           "\x52\x68\x64\x8f\x55\x9b\x6b\x72"
28585                           "\xbf\x09\xef\x2f\xb2\x92\xbb\xa3"
28586                           "\xe1\x6a\xeb\xe6\x4e\x7c\x5d\xe0"
28587                           "\x6a\x4b\xd0\x57\x3b\x28\x8a\x83"
28588                           "\x75\xd4\x5a\x2e\xd1\x9a\x57\xe3"
28589                           "\xc5\x43\x36\xde\x02\xac\x2c\x75"
28590                           "\xea\x33\x3a\x7e\x5d\xb8\xf6\x12"
28591                           "\x42\xbd\x06\x8a\x09\x6b\xd6\xb6"
28592                           "\x25\x59\xcd\xbd\x17\xeb\x69\xb3",
28593                 .len    = 80,
28594         }, {
28595                 .key    = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
28596                           "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
28597                           "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
28598                 .klen   = 24,
28599                 .iv     = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
28600                           "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
28601                 .ptext  = "\x84\xa0\x53\x97\x61\x30\x70\x15"
28602                           "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
28603                           "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
28604                           "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
28605                           "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
28606                           "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
28607                           "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
28608                           "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
28609                           "\xee\xb7\x0d\x65\x00\x38\xab\x71"
28610                           "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
28611                           "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
28612                           "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
28613                 .ctext  = "\x03\x2c\x39\x24\x99\xb5\xf6\x79"
28614                           "\x91\x89\xb7\xf8\x89\x68\x37\x9d"
28615                           "\xe7\x4d\x7d\x1c\x36\xae\x98\xd2"
28616                           "\xbf\x2a\xa4\x30\x38\x30\xe7\x5d"
28617                           "\xbb\x00\x09\x40\x34\xa4\xef\x82"
28618                           "\x23\xca\x0e\xb3\x71\x80\x29\x0a"
28619                           "\xa9\x0b\x26\x65\x9a\x12\xbf\x18"
28620                           "\xfb\xf8\xe4\xc2\x62\x57\x18\xfb"
28621                           "\x1e\x98\xea\x5b\xf6\xd6\x7c\x52"
28622                           "\x7a\xba\x0e\x6a\x54\x19\xb6\xfa"
28623                           "\xe5\xd7\x60\x40\xb0\x1a\xf1\x09"
28624                           "\x70\x96\x23\x49\x98\xfc\x79\xd2",
28625                 .len    = 96,
28626         }, {
28627                 .key    = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
28628                           "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
28629                           "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
28630                 .klen   = 24,
28631                 .iv     = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
28632                           "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
28633                 .ptext  = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
28634                           "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
28635                           "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
28636                           "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
28637                           "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
28638                           "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
28639                           "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
28640                           "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
28641                           "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
28642                           "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
28643                           "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
28644                           "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
28645                           "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
28646                           "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
28647                 .ctext  = "\xd4\x9a\x04\x54\x05\xd2\xe6\x3f"
28648                           "\xb0\xa4\x36\x5e\x1e\x9c\x35\xb0"
28649                           "\xa6\x62\x35\x47\xf4\x4d\x08\x9e"
28650                           "\x1c\x22\x91\x8e\x7f\x00\xa6\x3e"
28651                           "\x0a\x04\x42\x0f\xc4\xa6\x5d\xe2"
28652                           "\x49\x4c\x61\x12\xea\x9d\x7d\x7c"
28653                           "\xfa\x93\x74\x6b\x79\x8c\xdb\xc6"
28654                           "\x47\xf6\xea\x84\x3e\x97\x7d\x87"
28655                           "\x40\x38\x92\xc7\x44\xef\xdf\x63"
28656                           "\x29\xe4\x5b\x3a\x87\x22\xa1\x3f"
28657                           "\x2b\x31\xb1\xa4\x0d\xea\xf3\x0b"
28658                           "\xd7\x4f\xb6\x9c\xba\x40\xa3\x2f"
28659                           "\x21\x2b\x05\xe4\xca\xef\x87\x04"
28660                           "\xe6\xd0\x29\x2c\x29\x26\x57\xcd",
28661                 .len    = 112,
28662         }, {
28663                 .key    = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
28664                           "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
28665                           "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
28666                 .klen   = 24,
28667                 .iv     = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
28668                           "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
28669                 .ptext  = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
28670                           "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
28671                           "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
28672                           "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
28673                           "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
28674                           "\x6a\x55\x84\x98\x28\x03\x02\xc2"
28675                           "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
28676                           "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
28677                           "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
28678                           "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
28679                           "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
28680                           "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
28681                           "\x87\x96\x77\x1a\x10\x81\x63\x8a"
28682                           "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
28683                           "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
28684                           "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
28685                 .ctext  = "\xbc\x57\x2a\x88\x0a\xd0\x06\x4f"
28686                           "\xdb\x7b\x03\x9f\x97\x1a\x20\xfe"
28687                           "\xdb\xdc\x8e\x7b\x68\x13\xc8\xf5"
28688                           "\x06\xe3\xe0\x7e\xd3\x51\x21\x86"
28689                           "\x4f\x32\xdb\x78\xe3\x26\xbe\x34"
28690                           "\x52\x4c\x4e\x6b\x85\x52\x63\x8b"
28691                           "\x8c\x5c\x0e\x33\xf5\xa3\x88\x2d"
28692                           "\x04\xdc\x01\x2d\xbe\xa1\x48\x6d"
28693                           "\x50\xf4\x16\xb1\xd7\x4d\x1e\x99"
28694                           "\xa8\x1d\x54\xcb\x13\xf9\x85\x51"
28695                           "\x18\x9f\xef\x45\x62\x5d\x48\xe5"
28696                           "\x0c\x54\xf7\x7b\x33\x18\xce\xb0"
28697                           "\xd5\x82\x1b\xe2\x91\xae\xdc\x09"
28698                           "\xe2\x97\xa8\x27\x13\x78\xc6\xb8"
28699                           "\x20\x06\x1a\x71\x5a\xb3\xbc\x1b"
28700                           "\x69\x1f\xcd\x57\x70\xa7\x1e\x35",
28701                 .len    = 128,
28702         }, {
28703                 .key    = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
28704                           "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
28705                           "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
28706                 .klen   = 24,
28707                 .iv     = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
28708                           "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
28709                 .ptext  = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
28710                           "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
28711                           "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
28712                           "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
28713                           "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
28714                           "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
28715                           "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
28716                           "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
28717                           "\xc2\xab\x62\x54\xef\xba\xae\x46"
28718                           "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
28719                           "\x05\x26\x23\x81\x19\x27\xad\x7b"
28720                           "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
28721                           "\x44\xbf\x59\xde\x03\x61\x11\x12"
28722                           "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
28723                           "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
28724                           "\xb6\x09\x21\x12\x42\x98\x13\xa1"
28725                           "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
28726                           "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
28727                 .ctext  = "\xd7\xb4\xfc\xcc\x1f\xf7\xfc\x7d"
28728                           "\x69\xfa\xcb\x01\x60\xf3\x5a\x14"
28729                           "\x88\xf7\xea\x43\xaa\x47\xf1\x8a"
28730                           "\x4e\xd0\x3c\x50\x58\x35\x95\x21"
28731                           "\x5f\xcc\x73\x0b\x97\xa0\x2c\x6b"
28732                           "\x70\x4d\x3d\xa8\x21\xbe\xfc\xec"
28733                           "\xb6\x55\xf0\x48\x2b\x11\xcc\x4b"
28734                           "\xda\xf7\x09\xd9\x18\x7b\x4f\x00"
28735                           "\x76\x40\xe0\x7d\x33\xcf\x4f\x77"
28736                           "\x91\x97\x63\xfa\x72\xba\x5c\x3d"
28737                           "\xcf\x2e\xb8\x19\x56\x4a\xa5\x02"
28738                           "\xc3\xb1\x80\xa8\x57\x03\x32\x57"
28739                           "\xa8\xe1\x65\xf7\xd3\x52\xc5\xcf"
28740                           "\x55\x1e\x34\xe3\x77\xab\x83\xdb"
28741                           "\xaf\xd3\x8a\xcc\x96\x1c\xc9\x73"
28742                           "\xd9\x0b\xb6\x4c\x31\xac\x2c\x82"
28743                           "\xb8\xb4\xc8\xe1\xa5\x71\xcc\xb3"
28744                           "\x7e\x85\xb8\xfa\x6b\xef\x41\x24",
28745                 .len    = 144,
28746         }, {
28747                 .key    = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
28748                           "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
28749                           "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
28750                 .klen   = 24,
28751                 .iv     = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
28752                           "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
28753                 .ptext  = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
28754                           "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
28755                           "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
28756                           "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
28757                           "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
28758                           "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
28759                           "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
28760                           "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
28761                           "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
28762                           "\x20\xf0\x79\x67\xb1\x83\x26\x66"
28763                           "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
28764                           "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
28765                           "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
28766                           "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
28767                           "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
28768                           "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
28769                           "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
28770                           "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
28771                           "\x52\xf1\x34\x78\x34\x53\x30\x5b"
28772                           "\x43\x43\x51\x6a\x02\x81\x64\x0c",
28773                 .ctext  = "\x71\xf6\x96\x02\x07\x71\x1a\x08"
28774                           "\x7c\xfe\x33\xc4\xc9\xbe\xe2\xed"
28775                           "\xf8\x46\x69\xce\x1b\xdc\xd3\x05"
28776                           "\x7a\xec\x26\x4d\x27\x2a\x49\x36"
28777                           "\x85\xe1\x5d\xd3\x91\xd7\x68\xb8"
28778                           "\x55\xa5\x27\x55\x2d\xc1\x78\x27"
28779                           "\x0c\x49\x0a\x24\x3b\x76\x3f\x5f"
28780                           "\x29\x1c\x37\x2f\x30\xfc\x50\xcb"
28781                           "\xe2\x54\x26\x7d\x97\xa7\xf3\x58"
28782                           "\x15\xe1\x4c\xeb\x35\xc9\xd1\x1e"
28783                           "\x7e\x7d\xa0\xe5\x62\xa5\x2d\xf6"
28784                           "\x77\xb0\xef\x13\x55\xb4\x66\x2c"
28785                           "\x3b\x50\x1b\x4d\xc2\x64\xce\xc6"
28786                           "\xfe\xf2\xad\xfe\x26\x73\x36\x66"
28787                           "\x0c\x2f\x10\x35\x97\x3c\x9c\x98"
28788                           "\xc1\x90\xa8\x82\xd7\xc6\x31\x68"
28789                           "\xcf\x77\xa8\x5b\xdf\xf9\x5a\x8e"
28790                           "\x84\xb5\x0b\x6e\x5b\xec\x36\x89"
28791                           "\x0b\xb1\xbf\xb9\x70\x02\x5c\x22"
28792                           "\xc3\xd5\xc1\xc6\xfd\x07\xdb\x70",
28793                 .len    = 160,
28794         }, {
28795                 .key    = "\x82\x8e\x9e\x06\x7b\xc2\xe9\xb3"
28796                           "\x06\xa3\xfa\x99\x42\x67\x87\xac"
28797                           "\x21\xc7\xb0\x98\x6c\xf8\x26\x57"
28798                           "\x08\xdd\x92\x02\x77\x7b\x35\xe7",
28799                 .klen   = 32,
28800                 .iv     = "\xa1\xad\xcb\xdd\xd5\x19\xb6\xd4"
28801                           "\x0b\x62\x58\xb0\x6c\xa0\xc1\x58",
28802                 .ptext  = "\x14\x0d\x8a\x09\x16\x00\x00\xf1"
28803                           "\xc0\x20\x86\xf9\x21\xd1\x34\xe2",
28804                 .ctext  = "\x05\xe3\x34\xaf\x6c\x83\x14\x8b"
28805                           "\x9d\x1c\xd6\x87\x74\x91\xdf\x17",
28806                 .len    = 16,
28807         }, {
28808                 .key    = "\xc9\xf3\xc4\x93\xd0\xcc\xaf\xb1"
28809                           "\x1a\x42\x93\x71\xd8\x4e\xd8\xaa"
28810                           "\x52\xad\x93\x2f\xe5\xd9\xaa\x5b"
28811                           "\x47\x37\x3a\xed\x13\x92\x35\x16",
28812                 .klen   = 32,
28813                 .iv     = "\x81\xc8\x50\xd1\x74\xc3\x1c\x73"
28814                           "\xbb\xab\x72\x83\x90\x5a\x15\xcb",
28815                 .ptext  = "\x65\x11\x93\xaf\xe1\x69\x6c\xbe"
28816                           "\x25\x8c\x76\x87\x53\xa4\x80\xae"
28817                           "\x51\x94\x36\x3f\xca\xe7\x45\x41"
28818                           "\x76\x05\xbf\x8f\x9c\xad\xc0\xe3",
28819                 .ctext  = "\x6b\x00\x6e\x49\x7a\x6d\xe3\x04"
28820                           "\x4e\xf7\x9f\x8a\x1f\x14\xbd\xb1"
28821                           "\x51\xbf\x13\x9f\x29\x95\x51\x16"
28822                           "\xd0\x23\x9a\x1a\x45\xc2\xc3\xd1",
28823                 .len    = 32,
28824         }, {
28825                 .key    = "\xd5\x9f\x52\x34\x12\x99\x8e\x42"
28826                           "\xe0\x85\x04\x6f\xeb\xf1\x5d\xd0"
28827                           "\xc1\xbf\x3f\x84\xd9\x1e\x71\x44"
28828                           "\xd4\xb9\x40\x3c\x02\x2e\x21\x19",
28829                 .klen   = 32,
28830                 .iv     = "\x28\xc1\x97\x64\x81\x52\x57\x0e"
28831                           "\x02\x8c\xab\x4c\xe2\x60\x14\xa5",
28832                 .ptext  = "\x5a\xb1\x33\x48\xaa\x51\xe9\xa4"
28833                           "\x5c\x2d\xbe\x33\xcc\xc4\x7f\x96"
28834                           "\xe8\xde\x2b\xe7\x35\x7a\x11\x4b"
28835                           "\x13\x08\x32\xc6\x41\xd8\xec\x54"
28836                           "\xa3\xd3\xda\x35\x43\x69\xf6\x88"
28837                           "\x97\xca\x00\x1b\x02\x59\x24\x82",
28838                 .ctext  = "\x03\xaf\x76\xbd\x5e\x5b\xca\xc0"
28839                           "\xae\x44\xa2\x2f\xc2\x76\x2f\x50"
28840                           "\xfa\x94\x94\x5a\x48\x9d\x9c\x38"
28841                           "\xc9\x75\xc9\xb2\x56\x0a\x2d\x91"
28842                           "\xb8\xe8\x4e\xaa\xcb\x51\x9b\x6a"
28843                           "\x20\x9b\x2b\xc5\xb0\x18\x9d\x01",
28844                 .len    = 48,
28845         }, {
28846                 .key    = "\x9c\x5d\xd7\x66\x36\xfa\x02\x20"
28847                           "\x99\x61\x62\x86\x0f\x43\x2e\x05"
28848                           "\x25\x8b\xfb\xf1\xae\x4c\xde\x18"
28849                           "\x0b\xf8\xd0\x9d\xaa\xd4\x56\x04",
28850                 .klen   = 32,
28851                 .iv     = "\xcd\xa8\x61\x89\x8d\xbb\x72\xb6"
28852                           "\x1e\xfe\x03\x34\x54\x88\x23\xe2",
28853                 .ptext  = "\x66\x42\x60\x24\xf3\xe4\xe9\x7e"
28854                           "\x42\x20\xf4\x61\xce\x1c\x5e\x44"
28855                           "\x02\x26\x91\xf7\x41\xa4\xab\x34"
28856                           "\x29\x49\xdd\x78\x19\x8f\x10\x10"
28857                           "\xf0\x61\xcf\x77\x18\x17\x61\xdf"
28858                           "\xc4\xa8\x35\x0e\x75\x1b\x84\x6b"
28859                           "\xc3\x3f\x31\x59\x5a\x9c\xf4\xc3"
28860                           "\x43\xa9\xb7\xf8\x65\x40\x40\xba",
28861                 .ctext  = "\xb6\x41\x55\x8f\xeb\x16\x1e\x4c"
28862                           "\x81\xa0\x85\x6c\xf0\x07\xa5\x2a"
28863                           "\x19\x91\xed\x3e\xd6\x30\x8c\xca"
28864                           "\x5d\x0f\x58\xca\xd2\x8a\xac\xa2"
28865                           "\x2b\x86\x4f\xb5\x85\x4d\xac\x6d"
28866                           "\xe5\x39\x1b\x02\x23\x89\x4e\x4f"
28867                           "\x02\x00\xe8\x1b\x40\x85\x21\x2b"
28868                           "\xc6\xb1\x98\xed\x70\xb3\xf8\xc3",
28869                 .len    = 64,
28870         }, {
28871                 .key    = "\x4b\x4e\x11\x91\x27\xcf\x8c\x66"
28872                           "\x17\xfa\x5b\x4c\xa8\xb8\x0f\xa1"
28873                           "\x99\x5b\x07\x56\xe1\x8d\x94\x8b"
28874                           "\xf2\x86\x5a\x5f\x40\x83\xfa\x06",
28875                 .klen   = 32,
28876                 .iv     = "\xfd\x73\xee\x1c\x27\xf3\xb4\x38"
28877                           "\xc5\x7c\x2e\xc5\x6e\xdb\x49\x0d",
28878                 .ptext  = "\x0a\xe2\xdd\x97\xdd\x5e\xd4\xb3"
28879                           "\xc1\x49\x8f\x53\xb2\x40\x85\x1c"
28880                           "\x90\x37\x2d\xbd\x21\x6b\x1f\x80"
28881                           "\x56\x98\x76\x1e\xcf\x6c\x78\xd8"
28882                           "\xa0\x3c\x79\xc3\x56\xf7\xfc\x64"
28883                           "\x35\x58\x1c\x7c\xc4\x5f\x2a\x25"
28884                           "\x8c\x01\x98\x1e\x1c\x1f\x15\x64"
28885                           "\x50\xb5\xfa\x02\xd3\x54\xe5\x29"
28886                           "\xe3\xd2\xa3\x83\x54\x40\x54\xc5"
28887                           "\xd8\x1c\xc9\x84\x7d\xc8\x31\x49",
28888                 .ctext  = "\x53\x2a\xa8\xa0\x15\xaf\x2f\xc4"
28889                           "\x7d\x31\xb4\x61\x80\x5f\xd1\xb6"
28890                           "\x7c\xca\x86\xb9\x28\x6e\xb6\x2b"
28891                           "\xe3\x4b\x7e\xea\xb3\x4f\xa2\xa2"
28892                           "\x4e\x8f\xbe\x22\x66\xb3\x92\xbc"
28893                           "\x70\x91\xaf\xa6\x09\x5d\xe2\x05"
28894                           "\x38\x62\xd3\x6e\x07\x63\x91\xad"
28895                           "\x48\x5a\x42\xe7\xdc\x0d\xb1\xe3"
28896                           "\x92\x88\x64\xee\x93\xaa\xaf\x31"
28897                           "\x68\x57\x35\x8d\x54\x2c\xfa\xb1",
28898                 .len    = 80,
28899         }, {
28900                 .key    = "\x77\x3b\xf5\xe7\x20\xf7\xe0\x0c"
28901                           "\x3d\x3a\x83\x17\x83\x79\xd8\x29"
28902                           "\x5a\x0a\x25\x7f\xe0\x21\x23\xff"
28903                           "\x31\xfd\x60\x10\xe6\x63\xe2\xaf",
28904                 .klen   = 32,
28905                 .iv     = "\xdb\x4c\x0d\xc0\x36\xdb\xc7\xa1"
28906                           "\xa4\x91\xd9\x05\xe6\xc4\x98\x00",
28907                 .ptext  = "\x8d\x4d\xc6\x5e\x01\x82\xb3\x39"
28908                           "\xc8\x64\xa7\xcb\x05\x19\x84\x80"
28909                           "\x3f\x9c\xa8\x4f\x64\xb3\x11\x4b"
28910                           "\x0e\x21\xc4\x75\x04\x1d\x6f\xd5"
28911                           "\x04\x04\x4d\xc9\xc0\x4b\x4a\x9c"
28912                           "\x26\xb7\x68\x5a\xe4\xd0\x61\xe3"
28913                           "\x2c\x93\x8e\x3f\xb4\x67\x07\x31"
28914                           "\x02\x52\x0c\x0f\xe6\x6d\xa3\xd0"
28915                           "\x48\x95\x83\x67\x23\x64\x31\x50"
28916                           "\xd2\x5f\x69\x68\x8b\x71\xbf\x01"
28917                           "\x29\x99\x86\x36\x2e\xdf\xf1\x7c"
28918                           "\x08\x8c\x78\x7a\x93\x9a\x7d\x1b",
28919                 .ctext  = "\x92\x90\x48\x2f\x3a\x6b\x68\x43"
28920                           "\x28\x9b\x7d\x1e\x46\x28\xd8\x58"
28921                           "\xd9\x1e\x44\xd7\x24\x91\x65\xb1"
28922                           "\x15\xde\xc4\x63\xf1\xb1\x34\x9e"
28923                           "\xae\x8c\x51\x94\xc5\x22\x65\x8d"
28924                           "\x3d\x85\xf5\x34\x5f\x04\x68\x95"
28925                           "\xf2\x66\x62\xbb\xc8\x3f\xe4\x0a"
28926                           "\x8a\xb2\x70\xc0\x77\xd5\x96\xef"
28927                           "\x9e\x39\x3a\x3e\x0d\x2b\xf9\xfe"
28928                           "\xa9\xbc\x00\xba\xc5\x43\xd7\x70"
28929                           "\x2f\xef\x1e\x1e\x93\xc2\x5d\xf1"
28930                           "\xb5\x50\xb8\xf5\xee\xf4\x26\x6f",
28931                 .len    = 96,
28932         }, {
28933                 .key    = "\xe0\x6a\x30\xe1\x35\xb5\xb0\x7c"
28934                           "\x54\xc5\x73\x9b\x00\xe5\xe7\x02"
28935                           "\xbe\x16\x59\xdc\xd9\x03\x17\x53"
28936                           "\xa8\x37\xd1\x5f\x13\x8e\x45\xdb",
28937                 .klen   = 32,
28938                 .iv     = "\x54\xe9\x1c\xde\xfb\x26\x0e\x48"
28939                           "\x35\x50\x4d\x9b\x4d\x12\x21\x0d",
28940                 .ptext  = "\x73\x72\xcf\xdb\xbd\xbc\xc0\xdf"
28941                           "\x6b\xbb\xdf\x65\x6f\x2f\x43\x3b"
28942                           "\x2d\x7c\x0e\x07\x7f\xa0\x95\xdd"
28943                           "\xfc\x67\xc1\x11\x7a\xe2\xb5\x4a"
28944                           "\xd1\x15\xb0\xd8\xe2\xf0\x35\x48"
28945                           "\xd8\x81\x6a\x35\xae\x67\xbf\x61"
28946                           "\xf2\x8a\xcf\x04\xc8\x09\x8b\x63"
28947                           "\x31\x74\x95\xa5\x8d\x3c\xea\xe2"
28948                           "\x5f\x67\xc4\x7e\x51\x88\xbf\xb5"
28949                           "\x78\xef\x3a\x76\xd8\x1d\x00\x75"
28950                           "\x2b\x7b\x28\x7c\xde\x4b\x39\x01"
28951                           "\x5d\xde\x92\xfe\x90\x07\x09\xfd"
28952                           "\xa5\xd1\xd3\x72\x11\x6d\xa4\x4e"
28953                           "\xd1\x6e\x16\xd1\xf6\x39\x4f\xa0",
28954                 .ctext  = "\x3b\xc5\xee\xfc\x05\xaf\xa6\xb7"
28955                           "\xfe\x12\x24\x79\x31\xad\x32\xb5"
28956                           "\xfb\x71\x9b\x02\xad\xf4\x94\x20"
28957                           "\x25\x7b\xdb\xdf\x97\x99\xca\xea"
28958                           "\xc4\xed\x32\x26\x6b\xc8\xd4\x7b"
28959                           "\x5b\x55\xfa\xf9\x5b\xab\x88\xdb"
28960                           "\x48\xfe\x67\xd5\x5a\x47\x81\x4e"
28961                           "\x3e\x1e\x83\xca\x1d\x04\xe1\xb5"
28962                           "\x6c\x1b\xbd\xf2\x2d\xf1\xae\x75"
28963                           "\x09\x6a\xf8\xb2\xc3\x27\xee\x08"
28964                           "\x66\x94\x72\xc0\x2b\x12\x47\x23"
28965                           "\x4d\xde\xb4\xca\xf7\x66\xca\x14"
28966                           "\xe7\x68\x1b\xfb\x48\x70\x3e\x4c"
28967                           "\x43\xbb\x88\x32\x25\xff\x77\x6a",
28968                 .len    = 112,
28969         }, {
28970                 .key    = "\x60\xb6\xde\x17\xca\x4c\xe7\xe0"
28971                           "\x07\x0d\x80\xc5\x8a\x2d\x5a\xc2"
28972                           "\x2c\xb9\xa4\x5f\x2a\x85\x2c\x3d"
28973                           "\x6d\x67\xc8\xee\x0f\xa2\xf4\x09",
28974                 .klen   = 32,
28975                 .iv     = "\x1a\xa5\xbc\x7e\x93\xf6\xdd\x28"
28976                           "\xb7\x69\x27\xa1\x84\x95\x25\x5a",
28977                 .ptext  = "\x7b\x88\x00\xeb\xa5\xba\xa1\xa7"
28978                           "\xd4\x40\x16\x74\x2b\x42\x37\xda"
28979                           "\xe0\xaf\x89\x59\x41\x2f\x62\x00"
28980                           "\xf5\x5a\x4e\x3b\x85\x27\xb2\xed"
28981                           "\x1b\xa7\xaf\xbe\x89\xf3\x49\xb7"
28982                           "\x8c\x63\xc9\x0c\x52\x00\x5f\x38"
28983                           "\x3b\x3c\x0c\x4f\xdd\xe1\xbf\x90"
28984                           "\x4a\x48\xbf\x3a\x95\xcb\x48\xa2"
28985                           "\x92\x7c\x79\x81\xde\x18\x6e\x92"
28986                           "\x1f\x36\xa9\x5d\x8d\xc4\xb6\x4d"
28987                           "\xb2\xb4\x0e\x09\x6d\xf3\x3d\x01"
28988                           "\x3d\x9b\x40\x47\xbc\x69\x31\xa1"
28989                           "\x6a\x71\x26\xdc\xac\x10\x56\x63"
28990                           "\x15\x23\x7d\x10\xe3\x76\x82\x41"
28991                           "\xcd\x80\x57\x2f\xfc\x4d\x22\x7b"
28992                           "\x57\xbb\x9a\x0a\x03\xe9\xb3\x13",
28993                 .ctext  = "\x37\x0d\x47\x21\xbc\x28\x0b\xf7"
28994                           "\x85\x5f\x60\x57\xf2\x7f\x92\x20"
28995                           "\x5f\xa7\xf6\xf4\xa6\xf5\xdf\x1e"
28996                           "\xae\x8e\xeb\x97\xfc\xce\x6a\x25"
28997                           "\x6d\x6a\x5b\xd1\x99\xf6\x27\x77"
28998                           "\x52\x0c\xf1\xd7\x94\xa0\x67\x5d"
28999                           "\x60\x35\xb0\x6d\x01\x45\x52\xc8"
29000                           "\x05\xd8\x7f\x69\xaf\x8e\x68\x05"
29001                           "\xa8\xa5\x24\x2f\x95\xef\xf1\xd2"
29002                           "\x8c\x45\x12\xc5\x7a\xcf\xbb\x99"
29003                           "\x25\xaa\xa3\x9b\x3f\xf1\xfc\x9d"
29004                           "\xfa\x2c\x26\x9b\x92\x47\x61\x6b"
29005                           "\x63\x1e\x41\x67\xcb\xb7\x0f\x52"
29006                           "\x70\xd4\x0d\x7e\xef\x34\xa2\x75"
29007                           "\x4f\x6a\x55\x9c\x2b\x4a\x02\xdd"
29008                           "\x96\x5d\xcb\xca\x45\xa1\xec\xaa",
29009                 .len    = 128,
29010         }, {
29011                 .key    = "\x2a\xed\x7d\x76\xfc\xc5\x49\x50"
29012                           "\xf4\x90\x0f\xcc\x5d\xff\x0c\x3c"
29013                           "\x14\x06\xaf\x68\x8f\xd7\xb6\x25"
29014                           "\x1e\x10\x95\x2a\x71\x33\x17\x20",
29015                 .klen   = 32,
29016                 .iv     = "\x5b\x58\x47\xf8\xd5\x1e\x91\x81"
29017                           "\x46\xe7\x25\x3a\x02\x45\x9c\x65",
29018                 .ptext  = "\x10\xaf\xde\x5c\x30\x79\x43\x28"
29019                           "\x1c\x03\xf8\x50\x0f\x30\xa5\xef"
29020                           "\x84\x19\x4c\x09\x40\x03\x75\x1f"
29021                           "\x92\x8f\x88\x01\xda\x31\x7a\xe4"
29022                           "\x48\xe3\xab\xb4\xe6\x1b\x0f\xac"
29023                           "\xd9\xfa\x8d\x23\xe4\xc6\xa4\xa9"
29024                           "\x2d\x9a\x54\x52\x44\x5c\x3c\x52"
29025                           "\x61\xf0\x00\xca\xed\xab\xed\xe2"
29026                           "\x44\x0b\xe0\x18\xba\xa5\x63\xd8"
29027                           "\xdc\x5e\x1a\x4c\xf8\xde\x5e\x75"
29028                           "\xdf\x42\x27\x7b\xe9\x11\x2f\x41"
29029                           "\x3a\x72\x54\x3d\x44\x9c\x3e\x87"
29030                           "\x8d\x8d\x43\x2f\xb2\xff\x87\xd4"
29031                           "\xad\x98\x68\x72\x53\x61\x19\x7c"
29032                           "\x20\x79\x8c\x2b\x37\x0b\x96\x15"
29033                           "\xa5\x7d\x4e\x01\xe6\xea\xb6\xfa"
29034                           "\xaa\xd3\x9d\xa2\xd9\x11\xc3\xc9"
29035                           "\xd4\x0e\x3f\x3e\xfe\x35\x1e\xe5",
29036                 .ctext  = "\xb0\x2b\x75\x5f\x33\x1b\x05\x49"
29037                           "\x06\xf1\x43\x91\xc2\x85\xfa\xac"
29038                           "\x3f\x47\xf3\x89\x73\xb2\x0e\xa4"
29039                           "\x30\xcb\x87\x39\x53\x5d\x36\x89"
29040                           "\x77\xd9\x17\x01\x95\xa6\xe9\x71"
29041                           "\x51\x53\xd9\x4f\xa6\xc2\x79\x3d"
29042                           "\x2e\x50\x90\x52\x0d\x27\x1a\x46"
29043                           "\xf1\xe8\x6e\x7e\x7b\x32\xe5\x22"
29044                           "\x22\x1f\xba\x5e\xcf\x25\x6b\x26"
29045                           "\x76\xf0\xca\x8e\xdd\x5b\xd3\x09"
29046                           "\x6f\x82\x08\x56\x1f\x51\x72\x57"
29047                           "\xca\xd1\x60\x07\xfb\x9f\x71\x54"
29048                           "\x0f\xf6\x48\x71\xfa\x8f\xcb\xdd"
29049                           "\xce\xd3\x16\xcd\xae\x0e\x67\x5e"
29050                           "\xea\x8d\xa2\x4a\x4f\x11\xc8\xc8"
29051                           "\x2f\x04\xfe\xa8\x2a\x07\x1c\xb1"
29052                           "\x77\x39\xda\x8b\xd9\x5c\x94\x6c"
29053                           "\x4d\x4d\x13\x51\x6f\x07\x06\x5b",
29054                 .len    = 144,
29055         }, {
29056                 .key    = "\x7b\xa7\x4d\x0a\x37\x30\xb9\xf5"
29057                           "\x2a\x79\xb4\xbf\xdb\x7f\x9b\x64"
29058                           "\x23\x43\xb5\x18\x34\xc4\x5f\xdf"
29059                           "\xd9\x2a\x66\x58\x00\x44\xb5\xd9",
29060                 .klen   = 32,
29061                 .iv     = "\x75\x34\x30\xc1\xf0\x69\xdf\x0a"
29062                           "\x52\xce\x4f\x1e\x2c\x41\x35\xec",
29063                 .ptext  = "\x81\x47\x55\x3a\xcd\xfe\xa2\x3d"
29064                           "\x45\x53\xa7\x67\x61\x74\x25\x80"
29065                           "\x98\x89\xfe\xf8\x6a\x9f\x51\x7c"
29066                           "\xa4\xe4\xe7\xc7\xe0\x1a\xce\xbb"
29067                           "\x4b\x46\x43\xb0\xab\xa8\xd6\x0c"
29068                           "\xa0\xf0\xc8\x13\x29\xaf\xb8\x01"
29069                           "\x6b\x0c\x7e\x56\xae\xb8\x58\x72"
29070                           "\xa9\x24\x44\x61\xff\xf1\xac\xf8"
29071                           "\x09\xa8\x48\x21\xd6\xab\x41\x73"
29072                           "\x70\x6b\x92\x06\x61\xdc\xb4\x85"
29073                           "\x76\x26\x7a\x84\xc3\x9e\x3a\x14"
29074                           "\xe7\xf4\x2d\x95\x92\xad\x18\xcc"
29075                           "\x44\xd4\x2c\x36\x57\xed\x2b\x9b"
29076                           "\x3f\x2b\xcd\xe5\x11\xe3\x62\x33"
29077                           "\x42\x3f\xb8\x2a\xb1\x37\x3f\x8b"
29078                           "\xe8\xbd\x6b\x0b\x9f\x38\x5a\x5f"
29079                           "\x82\x34\xb7\x96\x35\x58\xde\xab"
29080                           "\x94\x98\x41\x5b\x3f\xac\x0a\x34"
29081                           "\x56\xc0\x02\xef\x81\x6d\xb1\xff"
29082                           "\x34\xe8\xc7\x6a\x31\x79\xba\xd8",
29083                 .ctext  = "\x4e\x00\x7c\x52\x45\x76\xf9\x3d"
29084                           "\x1a\xd1\x72\xbc\xb9\x0f\xa9\xfb"
29085                           "\x0e\x5b\xe2\x3c\xc7\xae\x92\xf6"
29086                           "\xb8\x0b\x0a\x95\x40\xe9\x7f\xe0"
29087                           "\x54\x10\xf9\xf6\x23\x1f\x51\xc8"
29088                           "\x16\x8b\x2e\x79\xe1\x8c\x0b\x43"
29089                           "\xe5\xeb\xb5\x9d\x1e\xc3\x28\x07"
29090                           "\x5c\x8d\xb1\xe7\x80\xd3\xce\x62"
29091                           "\x8d\xf8\x31\x1f\x29\x8b\x90\xee"
29092                           "\xe5\xc3\xfa\x16\xc4\xf0\xc3\x99"
29093                           "\xe9\x5e\x19\xba\x37\xb8\xc0\x87"
29094                           "\xb5\xc6\xc9\x31\xcb\x6e\x30\xce"
29095                           "\x03\x1d\xfe\xce\x08\x32\x00\xeb"
29096                           "\x86\xc4\xfb\x48\x01\xda\x93\x73"
29097                           "\xcc\xb7\xae\x4e\x94\x20\xeb\xc7"
29098                           "\xe3\x33\x4c\xeb\xed\xe2\xfc\x86"
29099                           "\x0e\x73\x32\xf9\x1b\xf3\x25\xf3"
29100                           "\x74\xad\xd1\xf4\x2c\x45\xa4\xfd"
29101                           "\x52\x40\xa2\x4e\xa5\x62\xf6\x02"
29102                           "\xbb\xb0\xe3\x23\x86\x67\xb8\xf6",
29103                 .len    = 160,
29104         }
29105 };
29106
29107 static const struct aead_testvec aria_gcm_tv_template[] = {
29108         {
29109                 .key    = "\xe9\x1e\x5e\x75\xda\x65\x55\x4a"
29110                           "\x48\x18\x1f\x38\x46\x34\x95\x62",
29111                 .klen   = 16,
29112                 .iv     = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
29113                           "\x00\x00\x31\x5e",
29114                 .assoc  = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
29115                           "\x20\xe8\xf5\xeb",
29116                 .alen   = 12,
29117                 .ptext  = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
29118                           "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
29119                           "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
29120                           "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
29121                           "\x62\xe9\x72\x95\x66\xed\x66\xe9"
29122                           "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
29123                           "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
29124                           "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
29125                           "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
29126                           "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
29127                           "\x16\x99\x16\x91\xd5\x72\xfd\x14"
29128                           "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
29129                           "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
29130                           "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
29131                           "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
29132                           "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
29133                           "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
29134                           "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
29135                           "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
29136                           "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
29137                 .plen   = 160,
29138                 .ctext  = "\x4d\x8a\x9a\x06\x75\x55\x0c\x70"
29139                           "\x4b\x17\xd8\xc9\xdd\xc8\x1a\x5c"
29140                           "\xd6\xf7\xda\x34\xf2\xfe\x1b\x3d"
29141                           "\xb7\xcb\x3d\xfb\x96\x97\x10\x2e"
29142                           "\xa0\xf3\xc1\xfc\x2d\xbc\x87\x3d"
29143                           "\x44\xbc\xee\xae\x8e\x44\x42\x97"
29144                           "\x4b\xa2\x1f\xf6\x78\x9d\x32\x72"
29145                           "\x61\x3f\xb9\x63\x1a\x7c\xf3\xf1"
29146                           "\x4b\xac\xbe\xb4\x21\x63\x3a\x90"
29147                           "\xff\xbe\x58\xc2\xfa\x6b\xdc\xa5"
29148                           "\x34\xf1\x0d\x0d\xe0\x50\x2c\xe1"
29149                           "\xd5\x31\xb6\x33\x6e\x58\x87\x82"
29150                           "\x78\x53\x1e\x5c\x22\xbc\x6c\x85"
29151                           "\xbb\xd7\x84\xd7\x8d\x9e\x68\x0a"
29152                           "\xa1\x90\x31\xaa\xf8\x91\x01\xd6"
29153                           "\x69\xd7\xa3\x96\x5c\x1f\x7e\x16"
29154                           "\x22\x9d\x74\x63\xe0\x53\x5f\x4e"
29155                           "\x25\x3f\x5d\x18\x18\x7d\x40\xb8"
29156                           "\xae\x0f\x56\x4b\xd9\x70\xb5\xe7"
29157                           "\xe2\xad\xfb\x21\x1e\x89\xa9\x53"
29158                           "\x5a\xba\xce\x3f\x37\xf5\xa7\x36"
29159                           "\xf4\xbe\x98\x4b\xbf\xfb\xed\xc1",
29160                 .clen   = 176,
29161         }, {
29162                 .key    = "\x0c\x5f\xfd\x37\xa1\x1e\xdc\x42"
29163                           "\xc3\x25\x28\x7f\xc0\x60\x4f\x2e"
29164                           "\x3e\x8c\xd5\x67\x1a\x00\xfe\x32"
29165                           "\x16\xaa\x5e\xb1\x05\x78\x3b\x54",
29166                 .klen   = 32,
29167                 .iv     = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
29168                           "\x00\x00\x31\x5e",
29169                 .assoc  = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
29170                           "\x20\xe8\xf5\xeb",
29171                 .alen   = 12,
29172                 .ptext  = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
29173                           "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
29174                           "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
29175                           "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
29176                           "\x62\xe9\x72\x95\x66\xed\x66\xe9"
29177                           "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
29178                           "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
29179                           "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
29180                           "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
29181                           "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
29182                           "\x16\x99\x16\x91\xd5\x72\xfd\x14"
29183                           "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
29184                           "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
29185                           "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
29186                           "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
29187                           "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
29188                           "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
29189                           "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
29190                           "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
29191                           "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
29192                 .plen   = 160,
29193                 .ctext  = "\x6f\x9e\x4b\xcb\xc8\xc8\x5f\xc0"
29194                           "\x12\x8f\xb1\xe4\xa0\xa2\x0c\xb9"
29195                           "\x93\x2f\xf7\x45\x81\xf5\x4f\xc0"
29196                           "\x13\xdd\x05\x4b\x19\xf9\x93\x71"
29197                           "\x42\x5b\x35\x2d\x97\xd3\xf3\x37"
29198                           "\xb9\x0b\x63\xd1\xb0\x82\xad\xee"
29199                           "\xea\x9d\x2d\x73\x91\x89\x7d\x59"
29200                           "\x1b\x98\x5e\x55\xfb\x50\xcb\x53"
29201                           "\x50\xcf\x7d\x38\xdc\x27\xdd\xa1"
29202                           "\x27\xc0\x78\xa1\x49\xc8\xeb\x98"
29203                           "\x08\x3d\x66\x36\x3a\x46\xe3\x72"
29204                           "\x6a\xf2\x17\xd3\xa0\x02\x75\xad"
29205                           "\x5b\xf7\x72\xc7\x61\x0e\xa4\xc2"
29206                           "\x30\x06\x87\x8f\x0e\xe6\x9a\x83"
29207                           "\x97\x70\x31\x69\xa4\x19\x30\x3f"
29208                           "\x40\xb7\x2e\x45\x73\x71\x4d\x19"
29209                           "\xe2\x69\x7d\xf6\x1e\x7c\x72\x52"
29210                           "\xe5\xab\xc6\xba\xde\x87\x6a\xc4"
29211                           "\x96\x1b\xfa\xc4\xd5\xe8\x67\xaf"
29212                           "\xca\x35\x1a\x48\xae\xd5\x28\x22"
29213                           "\xe2\x10\xd6\xce\xd2\xcf\x43\x0f"
29214                           "\xf8\x41\x47\x29\x15\xe7\xef\x48",
29215                 .clen   = 176,
29216         }
29217 };
29218
29219 static const struct cipher_testvec chacha20_tv_template[] = {
29220         { /* RFC7539 A.2. Test Vector #1 */
29221                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
29222                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29223                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29224                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29225                 .klen   = 32,
29226                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
29227                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29228                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
29229                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29230                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29231                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29232                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29233                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29234                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29235                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29236                 .ctext  = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
29237                           "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
29238                           "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
29239                           "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
29240                           "\xda\x41\x59\x7c\x51\x57\x48\x8d"
29241                           "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
29242                           "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
29243                           "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
29244                 .len    = 64,
29245         }, { /* RFC7539 A.2. Test Vector #2 */
29246                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
29247                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29248                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29249                           "\x00\x00\x00\x00\x00\x00\x00\x01",
29250                 .klen   = 32,
29251                 .iv     = "\x01\x00\x00\x00\x00\x00\x00\x00"
29252                           "\x00\x00\x00\x00\x00\x00\x00\x02",
29253                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
29254                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
29255                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
29256                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
29257                           "\x64\x65\x64\x20\x62\x79\x20\x74"
29258                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
29259                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
29260                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
29261                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
29262                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
29263                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
29264                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
29265                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
29266                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
29267                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
29268                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
29269                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
29270                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
29271                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
29272                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
29273                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
29274                           "\x45\x54\x46\x20\x61\x63\x74\x69"
29275                           "\x76\x69\x74\x79\x20\x69\x73\x20"
29276                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
29277                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
29278                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
29279                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
29280                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
29281                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29282                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
29283                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
29284                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29285                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
29286                           "\x54\x46\x20\x73\x65\x73\x73\x69"
29287                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
29288                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
29289                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
29290                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
29291                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
29292                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
29293                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
29294                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
29295                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
29296                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
29297                           "\x20\x77\x68\x69\x63\x68\x20\x61"
29298                           "\x72\x65\x20\x61\x64\x64\x72\x65"
29299                           "\x73\x73\x65\x64\x20\x74\x6f",
29300                 .ctext  = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
29301                           "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
29302                           "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
29303                           "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
29304                           "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
29305                           "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
29306                           "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
29307                           "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
29308                           "\x40\x42\xe0\x27\x85\xec\xec\xfa"
29309                           "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
29310                           "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
29311                           "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
29312                           "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
29313                           "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
29314                           "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
29315                           "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
29316                           "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
29317                           "\xd6\x62\xab\x05\x26\x91\xca\x66"
29318                           "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
29319                           "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
29320                           "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
29321                           "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
29322                           "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
29323                           "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
29324                           "\x08\x71\xcd\xac\x63\x89\x39\xe2"
29325                           "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
29326                           "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
29327                           "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
29328                           "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
29329                           "\x37\x20\xfc\x88\xdc\x95\xed\x84"
29330                           "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
29331                           "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
29332                           "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
29333                           "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
29334                           "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
29335                           "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
29336                           "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
29337                           "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
29338                           "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
29339                           "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
29340                           "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
29341                           "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
29342                           "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
29343                           "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
29344                           "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
29345                           "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
29346                           "\xc4\xfd\x80\x6c\x22\xf2\x21",
29347                 .len    = 375,
29348
29349         }, { /* RFC7539 A.2. Test Vector #3 */
29350                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29351                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29352                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29353                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29354                 .klen   = 32,
29355                 .iv     = "\x2a\x00\x00\x00\x00\x00\x00\x00"
29356                           "\x00\x00\x00\x00\x00\x00\x00\x02",
29357                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
29358                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
29359                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
29360                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
29361                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
29362                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
29363                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
29364                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
29365                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
29366                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
29367                           "\x65\x72\x65\x20\x74\x68\x65\x20"
29368                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
29369                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
29370                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
29371                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
29372                           "\x74\x67\x72\x61\x62\x65\x2e",
29373                 .ctext  = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
29374                           "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
29375                           "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
29376                           "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
29377                           "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
29378                           "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
29379                           "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
29380                           "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
29381                           "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
29382                           "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
29383                           "\x1a\x55\x32\x05\x57\x16\xea\xd6"
29384                           "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
29385                           "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
29386                           "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
29387                           "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
29388                           "\x75\x7a\x79\x7a\xc1\x88\xd1",
29389                 .len    = 127,
29390         }, { /* Self-made test vector for long data */
29391                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29392                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29393                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29394                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29395                 .klen   = 32,
29396                 .iv     = "\x1c\x00\x00\x00\x00\x00\x00\x00"
29397                           "\x00\x00\x00\x00\x00\x00\x00\x01",
29398                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
29399                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
29400                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
29401                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
29402                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
29403                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
29404                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
29405                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
29406                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
29407                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
29408                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
29409                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
29410                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
29411                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
29412                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
29413                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
29414                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
29415                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
29416                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
29417                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
29418                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
29419                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
29420                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
29421                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
29422                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
29423                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
29424                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
29425                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
29426                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
29427                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
29428                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
29429                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
29430                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
29431                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
29432                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
29433                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
29434                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
29435                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
29436                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
29437                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
29438                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
29439                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
29440                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
29441                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
29442                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
29443                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
29444                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
29445                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
29446                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
29447                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
29448                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
29449                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
29450                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
29451                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
29452                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
29453                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
29454                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
29455                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
29456                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
29457                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
29458                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
29459                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
29460                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
29461                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
29462                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
29463                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
29464                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
29465                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
29466                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
29467                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
29468                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
29469                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
29470                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
29471                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
29472                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
29473                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
29474                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
29475                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
29476                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
29477                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
29478                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
29479                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
29480                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
29481                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
29482                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
29483                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
29484                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
29485                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
29486                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
29487                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
29488                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
29489                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
29490                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
29491                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
29492                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
29493                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
29494                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
29495                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
29496                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
29497                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
29498                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
29499                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
29500                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
29501                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
29502                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
29503                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
29504                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
29505                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
29506                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
29507                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
29508                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
29509                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
29510                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
29511                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
29512                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
29513                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
29514                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
29515                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
29516                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
29517                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
29518                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
29519                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
29520                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
29521                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
29522                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
29523                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
29524                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
29525                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
29526                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
29527                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
29528                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
29529                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
29530                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
29531                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
29532                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
29533                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
29534                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
29535                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
29536                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
29537                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
29538                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
29539                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
29540                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
29541                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
29542                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
29543                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
29544                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
29545                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
29546                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
29547                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
29548                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
29549                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
29550                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
29551                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
29552                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
29553                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
29554                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
29555                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
29556                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
29557                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
29558                           "\x72",
29559                 .ctext  = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
29560                           "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
29561                           "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
29562                           "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
29563                           "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
29564                           "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
29565                           "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
29566                           "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
29567                           "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
29568                           "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
29569                           "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
29570                           "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
29571                           "\x33\x4a\x71\x15\xfe\xee\x12\x54"
29572                           "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
29573                           "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
29574                           "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
29575                           "\x57\x0e\x94\x17\x26\x39\xbb\x54"
29576                           "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
29577                           "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
29578                           "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
29579                           "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
29580                           "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
29581                           "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
29582                           "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
29583                           "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
29584                           "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
29585                           "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
29586                           "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
29587                           "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
29588                           "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
29589                           "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
29590                           "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
29591                           "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
29592                           "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
29593                           "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
29594                           "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
29595                           "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
29596                           "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
29597                           "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
29598                           "\xae\xe7\x61\x32\xef\x41\x6c\x75"
29599                           "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
29600                           "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
29601                           "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
29602                           "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
29603                           "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
29604                           "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
29605                           "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
29606                           "\xc1\x22\xf3\x79\xae\x95\x78\x66"
29607                           "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
29608                           "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
29609                           "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
29610                           "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
29611                           "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
29612                           "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
29613                           "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
29614                           "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
29615                           "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
29616                           "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
29617                           "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
29618                           "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
29619                           "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
29620                           "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
29621                           "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
29622                           "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
29623                           "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
29624                           "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
29625                           "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
29626                           "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
29627                           "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
29628                           "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
29629                           "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
29630                           "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
29631                           "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
29632                           "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
29633                           "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
29634                           "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
29635                           "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
29636                           "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
29637                           "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
29638                           "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
29639                           "\x54\x1c\x34\x72\xde\x0c\x68\x39"
29640                           "\x9d\x32\xa5\x75\x92\x13\x32\xea"
29641                           "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
29642                           "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
29643                           "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
29644                           "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
29645                           "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
29646                           "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
29647                           "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
29648                           "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
29649                           "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
29650                           "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
29651                           "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
29652                           "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
29653                           "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
29654                           "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
29655                           "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
29656                           "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
29657                           "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
29658                           "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
29659                           "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
29660                           "\x79\x61\x23\xe0\xa2\x99\x73\x55"
29661                           "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
29662                           "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
29663                           "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
29664                           "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
29665                           "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
29666                           "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
29667                           "\x48\x56\xaa\x85\x22\xd8\x36\xed"
29668                           "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
29669                           "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
29670                           "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
29671                           "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
29672                           "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
29673                           "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
29674                           "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
29675                           "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
29676                           "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
29677                           "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
29678                           "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
29679                           "\xec\x83\x92\x99\x87\x47\xe0\x7c"
29680                           "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
29681                           "\x98\xb0\x87\xb6\x86\x13\x64\x33"
29682                           "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
29683                           "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
29684                           "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
29685                           "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
29686                           "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
29687                           "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
29688                           "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
29689                           "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
29690                           "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
29691                           "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
29692                           "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
29693                           "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
29694                           "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
29695                           "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
29696                           "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
29697                           "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
29698                           "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
29699                           "\x5f\xae\x25\x84\x22\x90\x5f\x26"
29700                           "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
29701                           "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
29702                           "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
29703                           "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
29704                           "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
29705                           "\x74\x06\x89\x0e\x90\xeb\x85\xff"
29706                           "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
29707                           "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
29708                           "\x02\x85\x68\xd0\x03\x12\xde\x92"
29709                           "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
29710                           "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
29711                           "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
29712                           "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
29713                           "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
29714                           "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
29715                           "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
29716                           "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
29717                           "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
29718                           "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
29719                           "\x98",
29720                 .len    = 1281,
29721         },
29722 };
29723
29724 static const struct cipher_testvec xchacha20_tv_template[] = {
29725         { /* from libsodium test/default/xchacha20.c */
29726                 .key    = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
29727                           "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
29728                           "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
29729                           "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
29730                 .klen   = 32,
29731                 .iv     = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
29732                           "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
29733                           "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
29734                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29735                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
29736                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29737                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29738                           "\x00\x00\x00\x00\x00",
29739                 .ctext  = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
29740                           "\x04\xef\x90\xe7\x12\xce\x6e\x75"
29741                           "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
29742                           "\x60\xf0\x13\x73\x9c",
29743                 .len    = 29,
29744         }, { /* from libsodium test/default/xchacha20.c */
29745                 .key    = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
29746                           "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
29747                           "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
29748                           "\x22\x35\xea\xaf\x60\x1d\x62\x32",
29749                 .klen   = 32,
29750                 .iv     = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
29751                           "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
29752                           "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
29753                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29754                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
29755                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29756                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29757                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29758                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29759                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29760                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29761                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29762                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29763                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29764                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29765                           "\x00\x00\x00",
29766                 .ctext  = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
29767                           "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
29768                           "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
29769                           "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
29770                           "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
29771                           "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
29772                           "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
29773                           "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
29774                           "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
29775                           "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
29776                           "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
29777                           "\x09\x7c\xfc",
29778                 .len    = 91,
29779         }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
29780                 to the nonce, zero-padded the stream position from 4 to 8 bytes,
29781                 and recomputed the ciphertext using libsodium's XChaCha20 */
29782                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
29783                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29784                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29785                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29786                 .klen   = 32,
29787                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
29788                           "\x00\x00\x00\x00\x67\xc6\x69\x73"
29789                           "\x51\xff\x4a\xec\x29\xcd\xba\xab"
29790                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29791                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
29792                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29793                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29794                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29795                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29796                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29797                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29798                           "\x00\x00\x00\x00\x00\x00\x00\x00",
29799                 .ctext  = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
29800                           "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
29801                           "\xad\x80\x11\x11\x1d\x4c\x16\x18"
29802                           "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
29803                           "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
29804                           "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
29805                           "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
29806                           "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
29807                 .len    = 64,
29808         }, { /* Derived from a ChaCha20 test vector, via the process above */
29809                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
29810                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29811                           "\x00\x00\x00\x00\x00\x00\x00\x00"
29812                           "\x00\x00\x00\x00\x00\x00\x00\x01",
29813                 .klen   = 32,
29814                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
29815                           "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
29816                           "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
29817                           "\x01\x00\x00\x00\x00\x00\x00\x00",
29818                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
29819                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
29820                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
29821                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
29822                           "\x64\x65\x64\x20\x62\x79\x20\x74"
29823                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
29824                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
29825                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
29826                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
29827                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
29828                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
29829                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
29830                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
29831                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
29832                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
29833                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
29834                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
29835                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
29836                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
29837                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
29838                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
29839                           "\x45\x54\x46\x20\x61\x63\x74\x69"
29840                           "\x76\x69\x74\x79\x20\x69\x73\x20"
29841                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
29842                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
29843                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
29844                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
29845                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
29846                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29847                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
29848                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
29849                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29850                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
29851                           "\x54\x46\x20\x73\x65\x73\x73\x69"
29852                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
29853                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
29854                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
29855                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
29856                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
29857                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
29858                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
29859                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
29860                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
29861                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
29862                           "\x20\x77\x68\x69\x63\x68\x20\x61"
29863                           "\x72\x65\x20\x61\x64\x64\x72\x65"
29864                           "\x73\x73\x65\x64\x20\x74\x6f",
29865                 .ctext  = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
29866                           "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
29867                           "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
29868                           "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
29869                           "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
29870                           "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
29871                           "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
29872                           "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
29873                           "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
29874                           "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
29875                           "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
29876                           "\xa4\x36\x51\x92\x22\x87\xff\x26"
29877                           "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
29878                           "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
29879                           "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
29880                           "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
29881                           "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
29882                           "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
29883                           "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
29884                           "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
29885                           "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
29886                           "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
29887                           "\x91\xab\x55\x63\xf0\xde\x3a\x94"
29888                           "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
29889                           "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
29890                           "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
29891                           "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
29892                           "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
29893                           "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
29894                           "\x64\x36\x35\x61\xb6\x34\x60\xf7"
29895                           "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
29896                           "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
29897                           "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
29898                           "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
29899                           "\x8a\x04\x18\x49\xfc\x77\x11\x50"
29900                           "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
29901                           "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
29902                           "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
29903                           "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
29904                           "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
29905                           "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
29906                           "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
29907                           "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
29908                           "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
29909                           "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
29910                           "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
29911                           "\x12\x8d\x7b\x61\xe5\x1f\x98",
29912                 .len    = 375,
29913
29914         }, { /* Derived from a ChaCha20 test vector, via the process above */
29915                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29916                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29917                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29918                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29919                 .klen   = 32,
29920                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
29921                           "\x00\x00\x00\x02\x76\x5a\x2e\x63"
29922                           "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
29923                           "\x2a\x00\x00\x00\x00\x00\x00\x00",
29924                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
29925                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
29926                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
29927                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
29928                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
29929                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
29930                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
29931                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
29932                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
29933                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
29934                           "\x65\x72\x65\x20\x74\x68\x65\x20"
29935                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
29936                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
29937                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
29938                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
29939                           "\x74\x67\x72\x61\x62\x65\x2e",
29940                 .ctext  = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
29941                           "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
29942                           "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
29943                           "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
29944                           "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
29945                           "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
29946                           "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
29947                           "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
29948                           "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
29949                           "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
29950                           "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
29951                           "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
29952                           "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
29953                           "\x27\x79\x67\x24\xa6\x87\xc2\x11"
29954                           "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
29955                           "\x99\xf1\x82\x25\x4f\x8d\x07",
29956                 .len    = 127,
29957         }, { /* Derived from a ChaCha20 test vector, via the process above */
29958                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29959                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29960                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29961                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29962                 .klen   = 32,
29963                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
29964                           "\x00\x00\x00\x01\x31\x58\xa3\x5a"
29965                           "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
29966                           "\x1c\x00\x00\x00\x00\x00\x00\x00",
29967                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
29968                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
29969                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
29970                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
29971                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
29972                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
29973                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
29974                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
29975                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
29976                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
29977                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
29978                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
29979                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
29980                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
29981                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
29982                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
29983                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
29984                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
29985                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
29986                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
29987                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
29988                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
29989                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
29990                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
29991                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
29992                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
29993                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
29994                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
29995                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
29996                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
29997                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
29998                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
29999                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
30000                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
30001                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
30002                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
30003                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
30004                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
30005                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
30006                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
30007                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
30008                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
30009                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
30010                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
30011                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
30012                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
30013                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
30014                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
30015                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
30016                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
30017                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
30018                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
30019                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
30020                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
30021                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
30022                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
30023                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
30024                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
30025                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
30026                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
30027                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
30028                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
30029                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
30030                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
30031                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
30032                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
30033                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
30034                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
30035                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
30036                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
30037                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
30038                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
30039                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
30040                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
30041                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
30042                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
30043                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
30044                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
30045                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
30046                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
30047                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
30048                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
30049                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
30050                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
30051                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
30052                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
30053                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
30054                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
30055                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
30056                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
30057                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
30058                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
30059                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
30060                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
30061                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
30062                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
30063                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
30064                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
30065                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
30066                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
30067                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
30068                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
30069                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
30070                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
30071                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
30072                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
30073                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
30074                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
30075                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
30076                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
30077                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
30078                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
30079                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
30080                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
30081                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
30082                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
30083                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
30084                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
30085                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
30086                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
30087                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
30088                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
30089                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
30090                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
30091                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
30092                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
30093                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
30094                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
30095                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
30096                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
30097                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
30098                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
30099                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
30100                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
30101                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
30102                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
30103                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
30104                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
30105                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
30106                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
30107                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
30108                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
30109                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
30110                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
30111                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
30112                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
30113                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
30114                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
30115                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
30116                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
30117                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
30118                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
30119                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
30120                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
30121                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
30122                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
30123                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
30124                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
30125                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
30126                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
30127                           "\x72",
30128                 .ctext  = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
30129                           "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
30130                           "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
30131                           "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
30132                           "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
30133                           "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
30134                           "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
30135                           "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
30136                           "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
30137                           "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
30138                           "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
30139                           "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
30140                           "\xab\xf2\x31\x34\x16\xad\xc8\x17"
30141                           "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
30142                           "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
30143                           "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
30144                           "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
30145                           "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
30146                           "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
30147                           "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
30148                           "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
30149                           "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
30150                           "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
30151                           "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
30152                           "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
30153                           "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
30154                           "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
30155                           "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
30156                           "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
30157                           "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
30158                           "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
30159                           "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
30160                           "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
30161                           "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
30162                           "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
30163                           "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
30164                           "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
30165                           "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
30166                           "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
30167                           "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
30168                           "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
30169                           "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
30170                           "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
30171                           "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
30172                           "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
30173                           "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
30174                           "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
30175                           "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
30176                           "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
30177                           "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
30178                           "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
30179                           "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
30180                           "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
30181                           "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
30182                           "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
30183                           "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
30184                           "\x07\x62\x10\x79\x68\x50\xf1\x7e"
30185                           "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
30186                           "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
30187                           "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
30188                           "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
30189                           "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
30190                           "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
30191                           "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
30192                           "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
30193                           "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
30194                           "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
30195                           "\xca\x88\xf6\x37\xbd\x73\x51\x70"
30196                           "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
30197                           "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
30198                           "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
30199                           "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
30200                           "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
30201                           "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
30202                           "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
30203                           "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
30204                           "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
30205                           "\x34\x66\xad\x37\x2d\x5e\x52\xda"
30206                           "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
30207                           "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
30208                           "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
30209                           "\x8c\x89\x21\x34\x55\x27\xb2\x76"
30210                           "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
30211                           "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
30212                           "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
30213                           "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
30214                           "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
30215                           "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
30216                           "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
30217                           "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
30218                           "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
30219                           "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
30220                           "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
30221                           "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
30222                           "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
30223                           "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
30224                           "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
30225                           "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
30226                           "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
30227                           "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
30228                           "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
30229                           "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
30230                           "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
30231                           "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
30232                           "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
30233                           "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
30234                           "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
30235                           "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
30236                           "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
30237                           "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
30238                           "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
30239                           "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
30240                           "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
30241                           "\x37\x04\x65\x96\x99\x7a\x28\x0f"
30242                           "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
30243                           "\x40\x19\x95\x61\xe8\x59\x40\x1f"
30244                           "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
30245                           "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
30246                           "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
30247                           "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
30248                           "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
30249                           "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
30250                           "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
30251                           "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
30252                           "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
30253                           "\xc3\x75\x48\x64\x58\x98\x67\x84"
30254                           "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
30255                           "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
30256                           "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
30257                           "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
30258                           "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
30259                           "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
30260                           "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
30261                           "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
30262                           "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
30263                           "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
30264                           "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
30265                           "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
30266                           "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
30267                           "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
30268                           "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
30269                           "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
30270                           "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
30271                           "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
30272                           "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
30273                           "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
30274                           "\x89\x1c\x3b\xca\x83\x61\x77\x68"
30275                           "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
30276                           "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
30277                           "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
30278                           "\xed\x05\x4b\x7b\x73\x71\x90\x59"
30279                           "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
30280                           "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
30281                           "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
30282                           "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
30283                           "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
30284                           "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
30285                           "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
30286                           "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
30287                           "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
30288                           "\x11",
30289                 .len    = 1281,
30290         }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
30291                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
30292                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30293                           "\x90\x91\x92\x93\x94\x95\x96\x97"
30294                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
30295                 .klen   = 32,
30296                 .iv     = "\x40\x41\x42\x43\x44\x45\x46\x47"
30297                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30298                           "\x50\x51\x52\x53\x54\x55\x56\x58"
30299                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30300                 .ptext  = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
30301                           "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
30302                           "\x75\x6e\x63\x65\x64\x20\x22\x64"
30303                           "\x6f\x6c\x65\x22\x29\x20\x69\x73"
30304                           "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
30305                           "\x6f\x77\x6e\x20\x61\x73\x20\x74"
30306                           "\x68\x65\x20\x41\x73\x69\x61\x74"
30307                           "\x69\x63\x20\x77\x69\x6c\x64\x20"
30308                           "\x64\x6f\x67\x2c\x20\x72\x65\x64"
30309                           "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
30310                           "\x64\x20\x77\x68\x69\x73\x74\x6c"
30311                           "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
30312                           "\x20\x49\x74\x20\x69\x73\x20\x61"
30313                           "\x62\x6f\x75\x74\x20\x74\x68\x65"
30314                           "\x20\x73\x69\x7a\x65\x20\x6f\x66"
30315                           "\x20\x61\x20\x47\x65\x72\x6d\x61"
30316                           "\x6e\x20\x73\x68\x65\x70\x68\x65"
30317                           "\x72\x64\x20\x62\x75\x74\x20\x6c"
30318                           "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
30319                           "\x65\x20\x6c\x69\x6b\x65\x20\x61"
30320                           "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
30321                           "\x67\x67\x65\x64\x20\x66\x6f\x78"
30322                           "\x2e\x20\x54\x68\x69\x73\x20\x68"
30323                           "\x69\x67\x68\x6c\x79\x20\x65\x6c"
30324                           "\x75\x73\x69\x76\x65\x20\x61\x6e"
30325                           "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
30326                           "\x64\x20\x6a\x75\x6d\x70\x65\x72"
30327                           "\x20\x69\x73\x20\x63\x6c\x61\x73"
30328                           "\x73\x69\x66\x69\x65\x64\x20\x77"
30329                           "\x69\x74\x68\x20\x77\x6f\x6c\x76"
30330                           "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
30331                           "\x74\x65\x73\x2c\x20\x6a\x61\x63"
30332                           "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
30333                           "\x64\x20\x66\x6f\x78\x65\x73\x20"
30334                           "\x69\x6e\x20\x74\x68\x65\x20\x74"
30335                           "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
30336                           "\x20\x66\x61\x6d\x69\x6c\x79\x20"
30337                           "\x43\x61\x6e\x69\x64\x61\x65\x2e",
30338                 .ctext  = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
30339                           "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
30340                           "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
30341                           "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
30342                           "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
30343                           "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
30344                           "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
30345                           "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
30346                           "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
30347                           "\x73\x10\x61\x27\x77\x01\x09\x3a"
30348                           "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
30349                           "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
30350                           "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
30351                           "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
30352                           "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
30353                           "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
30354                           "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
30355                           "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
30356                           "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
30357                           "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
30358                           "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
30359                           "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
30360                           "\xf2\x45\x75\x99\x85\x23\x85\xc6"
30361                           "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
30362                           "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
30363                           "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
30364                           "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
30365                           "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
30366                           "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
30367                           "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
30368                           "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
30369                           "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
30370                           "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
30371                           "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
30372                           "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
30373                           "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
30374                           "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
30375                           "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
30376                 .len    = 304,
30377         }
30378 };
30379
30380 /*
30381  * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
30382  * XChaCha12, using a modified libsodium.
30383  */
30384 static const struct cipher_testvec xchacha12_tv_template[] = {
30385         {
30386                 .key    = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
30387                           "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
30388                           "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
30389                           "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
30390                 .klen   = 32,
30391                 .iv     = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
30392                           "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
30393                           "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
30394                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30395                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30396                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30397                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30398                           "\x00\x00\x00\x00\x00",
30399                 .ctext  = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
30400                           "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
30401                           "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
30402                           "\x3a\xfb\x18\xae\x1b",
30403                 .len    = 29,
30404         }, {
30405                 .key    = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
30406                           "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
30407                           "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
30408                           "\x22\x35\xea\xaf\x60\x1d\x62\x32",
30409                 .klen   = 32,
30410                 .iv     = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
30411                           "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
30412                           "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
30413                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30414                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30415                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30416                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30417                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30418                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30419                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30420                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30421                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30422                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30423                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30424                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30425                           "\x00\x00\x00",
30426                 .ctext  = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
30427                           "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
30428                           "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
30429                           "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
30430                           "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
30431                           "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
30432                           "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
30433                           "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
30434                           "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
30435                           "\xf0\xde\x01\xef\xc5\x65\x79\x23"
30436                           "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
30437                           "\x54\x5b\x0e",
30438                 .len    = 91,
30439         }, {
30440                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
30441                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30442                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30443                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30444                 .klen   = 32,
30445                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30446                           "\x00\x00\x00\x00\x67\xc6\x69\x73"
30447                           "\x51\xff\x4a\xec\x29\xcd\xba\xab"
30448                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30449                 .ptext  = "\x00\x00\x00\x00\x00\x00\x00\x00"
30450                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30451                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30452                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30453                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30454                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30455                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30456                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30457                 .ctext  = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
30458                           "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
30459                           "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
30460                           "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
30461                           "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
30462                           "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
30463                           "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
30464                           "\x4c\x25\xe7\x86\x26\x42\xca\x44",
30465                 .len    = 64,
30466         }, {
30467                 .key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
30468                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30469                           "\x00\x00\x00\x00\x00\x00\x00\x00"
30470                           "\x00\x00\x00\x00\x00\x00\x00\x01",
30471                 .klen   = 32,
30472                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30473                           "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
30474                           "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
30475                           "\x01\x00\x00\x00\x00\x00\x00\x00",
30476                 .ptext  = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
30477                           "\x69\x73\x73\x69\x6f\x6e\x20\x74"
30478                           "\x6f\x20\x74\x68\x65\x20\x49\x45"
30479                           "\x54\x46\x20\x69\x6e\x74\x65\x6e"
30480                           "\x64\x65\x64\x20\x62\x79\x20\x74"
30481                           "\x68\x65\x20\x43\x6f\x6e\x74\x72"
30482                           "\x69\x62\x75\x74\x6f\x72\x20\x66"
30483                           "\x6f\x72\x20\x70\x75\x62\x6c\x69"
30484                           "\x63\x61\x74\x69\x6f\x6e\x20\x61"
30485                           "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
30486                           "\x20\x70\x61\x72\x74\x20\x6f\x66"
30487                           "\x20\x61\x6e\x20\x49\x45\x54\x46"
30488                           "\x20\x49\x6e\x74\x65\x72\x6e\x65"
30489                           "\x74\x2d\x44\x72\x61\x66\x74\x20"
30490                           "\x6f\x72\x20\x52\x46\x43\x20\x61"
30491                           "\x6e\x64\x20\x61\x6e\x79\x20\x73"
30492                           "\x74\x61\x74\x65\x6d\x65\x6e\x74"
30493                           "\x20\x6d\x61\x64\x65\x20\x77\x69"
30494                           "\x74\x68\x69\x6e\x20\x74\x68\x65"
30495                           "\x20\x63\x6f\x6e\x74\x65\x78\x74"
30496                           "\x20\x6f\x66\x20\x61\x6e\x20\x49"
30497                           "\x45\x54\x46\x20\x61\x63\x74\x69"
30498                           "\x76\x69\x74\x79\x20\x69\x73\x20"
30499                           "\x63\x6f\x6e\x73\x69\x64\x65\x72"
30500                           "\x65\x64\x20\x61\x6e\x20\x22\x49"
30501                           "\x45\x54\x46\x20\x43\x6f\x6e\x74"
30502                           "\x72\x69\x62\x75\x74\x69\x6f\x6e"
30503                           "\x22\x2e\x20\x53\x75\x63\x68\x20"
30504                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30505                           "\x74\x73\x20\x69\x6e\x63\x6c\x75"
30506                           "\x64\x65\x20\x6f\x72\x61\x6c\x20"
30507                           "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30508                           "\x74\x73\x20\x69\x6e\x20\x49\x45"
30509                           "\x54\x46\x20\x73\x65\x73\x73\x69"
30510                           "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
30511                           "\x77\x65\x6c\x6c\x20\x61\x73\x20"
30512                           "\x77\x72\x69\x74\x74\x65\x6e\x20"
30513                           "\x61\x6e\x64\x20\x65\x6c\x65\x63"
30514                           "\x74\x72\x6f\x6e\x69\x63\x20\x63"
30515                           "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
30516                           "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
30517                           "\x64\x65\x20\x61\x74\x20\x61\x6e"
30518                           "\x79\x20\x74\x69\x6d\x65\x20\x6f"
30519                           "\x72\x20\x70\x6c\x61\x63\x65\x2c"
30520                           "\x20\x77\x68\x69\x63\x68\x20\x61"
30521                           "\x72\x65\x20\x61\x64\x64\x72\x65"
30522                           "\x73\x73\x65\x64\x20\x74\x6f",
30523                 .ctext  = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
30524                           "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
30525                           "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
30526                           "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
30527                           "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
30528                           "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
30529                           "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
30530                           "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
30531                           "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
30532                           "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
30533                           "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
30534                           "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
30535                           "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
30536                           "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
30537                           "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
30538                           "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
30539                           "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
30540                           "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
30541                           "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
30542                           "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
30543                           "\x75\x10\x95\x35\x81\x7e\x26\xe6"
30544                           "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
30545                           "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
30546                           "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
30547                           "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
30548                           "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
30549                           "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
30550                           "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
30551                           "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
30552                           "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
30553                           "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
30554                           "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
30555                           "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
30556                           "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
30557                           "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
30558                           "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
30559                           "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
30560                           "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
30561                           "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
30562                           "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
30563                           "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
30564                           "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
30565                           "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
30566                           "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
30567                           "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
30568                           "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
30569                           "\xda\x4e\xc9\xab\x9b\x8a\x7b",
30570
30571                 .len    = 375,
30572
30573         }, {
30574                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30575                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30576                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30577                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30578                 .klen   = 32,
30579                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30580                           "\x00\x00\x00\x02\x76\x5a\x2e\x63"
30581                           "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
30582                           "\x2a\x00\x00\x00\x00\x00\x00\x00",
30583                 .ptext  = "\x27\x54\x77\x61\x73\x20\x62\x72"
30584                           "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
30585                           "\x6e\x64\x20\x74\x68\x65\x20\x73"
30586                           "\x6c\x69\x74\x68\x79\x20\x74\x6f"
30587                           "\x76\x65\x73\x0a\x44\x69\x64\x20"
30588                           "\x67\x79\x72\x65\x20\x61\x6e\x64"
30589                           "\x20\x67\x69\x6d\x62\x6c\x65\x20"
30590                           "\x69\x6e\x20\x74\x68\x65\x20\x77"
30591                           "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
30592                           "\x20\x6d\x69\x6d\x73\x79\x20\x77"
30593                           "\x65\x72\x65\x20\x74\x68\x65\x20"
30594                           "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
30595                           "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
30596                           "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
30597                           "\x72\x61\x74\x68\x73\x20\x6f\x75"
30598                           "\x74\x67\x72\x61\x62\x65\x2e",
30599                 .ctext  = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
30600                           "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
30601                           "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
30602                           "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
30603                           "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
30604                           "\x20\x82\x26\x72\xae\x64\x1b\x7e"
30605                           "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
30606                           "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
30607                           "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
30608                           "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
30609                           "\x27\xab\xb8\x62\x46\x22\x30\x48"
30610                           "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
30611                           "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
30612                           "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
30613                           "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
30614                           "\x25\x76\x37\xe6\x3c\x67\x5b",
30615                 .len    = 127,
30616         }, {
30617                 .key    = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30618                           "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30619                           "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30620                           "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30621                 .klen   = 32,
30622                 .iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
30623                           "\x00\x00\x00\x01\x31\x58\xa3\x5a"
30624                           "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
30625                           "\x1c\x00\x00\x00\x00\x00\x00\x00",
30626                 .ptext  = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
30627                           "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
30628                           "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
30629                           "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
30630                           "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
30631                           "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
30632                           "\x01\xc6\x67\xda\x03\x91\x18\x90"
30633                           "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
30634                           "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
30635                           "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
30636                           "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
30637                           "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
30638                           "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
30639                           "\x33\x97\xc3\x77\xba\xc5\x70\xde"
30640                           "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
30641                           "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
30642                           "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
30643                           "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
30644                           "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
30645                           "\x79\x49\x41\xf4\x58\x18\xcb\x86"
30646                           "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
30647                           "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
30648                           "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
30649                           "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
30650                           "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
30651                           "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
30652                           "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
30653                           "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
30654                           "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
30655                           "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
30656                           "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
30657                           "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
30658                           "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
30659                           "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
30660                           "\x24\x74\x75\x7f\x95\x81\xb7\x30"
30661                           "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
30662                           "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
30663                           "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
30664                           "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
30665                           "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
30666                           "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
30667                           "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
30668                           "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
30669                           "\x49\x46\x00\x88\x22\x8d\xce\xea"
30670                           "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
30671                           "\x72\x11\xf5\x50\x73\x04\x40\x47"
30672                           "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
30673                           "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
30674                           "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
30675                           "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
30676                           "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
30677                           "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
30678                           "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
30679                           "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
30680                           "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
30681                           "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
30682                           "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
30683                           "\x8b\x10\x67\xa3\x01\x57\x94\x25"
30684                           "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
30685                           "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
30686                           "\x58\xb1\x47\x90\xfe\x42\x21\x72"
30687                           "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
30688                           "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
30689                           "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
30690                           "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
30691                           "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
30692                           "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
30693                           "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
30694                           "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
30695                           "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
30696                           "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
30697                           "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
30698                           "\x65\x69\x8a\x45\x29\xef\x74\x85"
30699                           "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
30700                           "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
30701                           "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
30702                           "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
30703                           "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
30704                           "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
30705                           "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
30706                           "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
30707                           "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
30708                           "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
30709                           "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
30710                           "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
30711                           "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
30712                           "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
30713                           "\x10\x26\x38\x07\xe5\xc7\x36\x80"
30714                           "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
30715                           "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
30716                           "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
30717                           "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
30718                           "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
30719                           "\x83\x66\x80\x47\x80\xe8\xfd\x35"
30720                           "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
30721                           "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
30722                           "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
30723                           "\x25\x94\x10\x5f\x40\x00\x64\x99"
30724                           "\xdc\xae\xd7\x21\x09\x78\x50\x15"
30725                           "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
30726                           "\x87\x6e\x6d\xab\xde\x08\x51\x16"
30727                           "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
30728                           "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
30729                           "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
30730                           "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
30731                           "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
30732                           "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
30733                           "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
30734                           "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
30735                           "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
30736                           "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
30737                           "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
30738                           "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
30739                           "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
30740                           "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
30741                           "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
30742                           "\xb9\x83\x90\xef\x20\x59\x46\xff"
30743                           "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
30744                           "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
30745                           "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
30746                           "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
30747                           "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
30748                           "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
30749                           "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
30750                           "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
30751                           "\x94\x97\xea\xdd\x58\x9e\xae\x76"
30752                           "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
30753                           "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
30754                           "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
30755                           "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
30756                           "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
30757                           "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
30758                           "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
30759                           "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
30760                           "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
30761                           "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
30762                           "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
30763                           "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
30764                           "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
30765                           "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
30766                           "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
30767                           "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
30768                           "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
30769                           "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
30770                           "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
30771                           "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
30772                           "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
30773                           "\xac\xf3\x13\x53\x27\x45\xaf\x64"
30774                           "\x46\xdc\xea\x23\xda\x97\xd1\xab"
30775                           "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
30776                           "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
30777                           "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
30778                           "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
30779                           "\xca\x34\x83\x27\x10\x5b\x68\x45"
30780                           "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
30781                           "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
30782                           "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
30783                           "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
30784                           "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
30785                           "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
30786                           "\x72",
30787                 .ctext  = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
30788                           "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
30789                           "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
30790                           "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
30791                           "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
30792                           "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
30793                           "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
30794                           "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
30795                           "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
30796                           "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
30797                           "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
30798                           "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
30799                           "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
30800                           "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
30801                           "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
30802                           "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
30803                           "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
30804                           "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
30805                           "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
30806                           "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
30807                           "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
30808                           "\x95\x13\x99\x3d\x71\xbd\x32\x92"
30809                           "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
30810                           "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
30811                           "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
30812                           "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
30813                           "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
30814                           "\xc5\xc1\x78\x78\x53\x28\xad\xed"
30815                           "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
30816                           "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
30817                           "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
30818                           "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
30819                           "\xce\xf3\x55\x45\x6c\x84\x27\xba"
30820                           "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
30821                           "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
30822                           "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
30823                           "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
30824                           "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
30825                           "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
30826                           "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
30827                           "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
30828                           "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
30829                           "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
30830                           "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
30831                           "\x90\x95\x85\x0b\x96\xe9\xee\x35"
30832                           "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
30833                           "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
30834                           "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
30835                           "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
30836                           "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
30837                           "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
30838                           "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
30839                           "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
30840                           "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
30841                           "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
30842                           "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
30843                           "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
30844                           "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
30845                           "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
30846                           "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
30847                           "\xff\x71\x04\x87\x87\x21\xc4\xb8"
30848                           "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
30849                           "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
30850                           "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
30851                           "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
30852                           "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
30853                           "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
30854                           "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
30855                           "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
30856                           "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
30857                           "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
30858                           "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
30859                           "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
30860                           "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
30861                           "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
30862                           "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
30863                           "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
30864                           "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
30865                           "\xd2\x96\x2d\x18\x64\x98\x33\x78"
30866                           "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
30867                           "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
30868                           "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
30869                           "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
30870                           "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
30871                           "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
30872                           "\x68\x38\x22\x30\xd8\x2e\x00\x98"
30873                           "\x85\x16\x06\x56\xb4\x81\x74\x20"
30874                           "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
30875                           "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
30876                           "\x57\x26\x71\x07\xad\xaa\x71\x9f"
30877                           "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
30878                           "\x82\x6e\x08\x05\x37\x04\xee\x25"
30879                           "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
30880                           "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
30881                           "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
30882                           "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
30883                           "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
30884                           "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
30885                           "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
30886                           "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
30887                           "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
30888                           "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
30889                           "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
30890                           "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
30891                           "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
30892                           "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
30893                           "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
30894                           "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
30895                           "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
30896                           "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
30897                           "\x18\xc9\x26\x82\x56\xd2\x11\x05"
30898                           "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
30899                           "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
30900                           "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
30901                           "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
30902                           "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
30903                           "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
30904                           "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
30905                           "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
30906                           "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
30907                           "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
30908                           "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
30909                           "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
30910                           "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
30911                           "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
30912                           "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
30913                           "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
30914                           "\x26\x19\x10\x36\xa6\xf3\x14\x79"
30915                           "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
30916                           "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
30917                           "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
30918                           "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
30919                           "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
30920                           "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
30921                           "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
30922                           "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
30923                           "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
30924                           "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
30925                           "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
30926                           "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
30927                           "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
30928                           "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
30929                           "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
30930                           "\x95\x35\x00\x76\xae\x42\xf7\x50"
30931                           "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
30932                           "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
30933                           "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
30934                           "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
30935                           "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
30936                           "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
30937                           "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
30938                           "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
30939                           "\xae\x17\x50\xab\x29\x08\xda\xcc"
30940                           "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
30941                           "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
30942                           "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
30943                           "\x25\x18\x40\x2d\x62\x25\x02\x71"
30944                           "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
30945                           "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
30946                           "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
30947                           "\x5b",
30948                 .len    = 1281,
30949         }, {
30950                 .key    = "\x80\x81\x82\x83\x84\x85\x86\x87"
30951                           "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30952                           "\x90\x91\x92\x93\x94\x95\x96\x97"
30953                           "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
30954                 .klen   = 32,
30955                 .iv     = "\x40\x41\x42\x43\x44\x45\x46\x47"
30956                           "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30957                           "\x50\x51\x52\x53\x54\x55\x56\x58"
30958                           "\x00\x00\x00\x00\x00\x00\x00\x00",
30959                 .ptext  = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
30960                           "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
30961                           "\x75\x6e\x63\x65\x64\x20\x22\x64"
30962                           "\x6f\x6c\x65\x22\x29\x20\x69\x73"
30963                           "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
30964                           "\x6f\x77\x6e\x20\x61\x73\x20\x74"
30965                           "\x68\x65\x20\x41\x73\x69\x61\x74"
30966                           "\x69\x63\x20\x77\x69\x6c\x64\x20"
30967                           "\x64\x6f\x67\x2c\x20\x72\x65\x64"
30968                           "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
30969                           "\x64\x20\x77\x68\x69\x73\x74\x6c"
30970                           "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
30971                           "\x20\x49\x74\x20\x69\x73\x20\x61"
30972                           "\x62\x6f\x75\x74\x20\x74\x68\x65"
30973                           "\x20\x73\x69\x7a\x65\x20\x6f\x66"
30974                           "\x20\x61\x20\x47\x65\x72\x6d\x61"
30975                           "\x6e\x20\x73\x68\x65\x70\x68\x65"
30976                           "\x72\x64\x20\x62\x75\x74\x20\x6c"
30977                           "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
30978                           "\x65\x20\x6c\x69\x6b\x65\x20\x61"
30979                           "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
30980                           "\x67\x67\x65\x64\x20\x66\x6f\x78"
30981                           "\x2e\x20\x54\x68\x69\x73\x20\x68"
30982                           "\x69\x67\x68\x6c\x79\x20\x65\x6c"
30983                           "\x75\x73\x69\x76\x65\x20\x61\x6e"
30984                           "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
30985                           "\x64\x20\x6a\x75\x6d\x70\x65\x72"
30986                           "\x20\x69\x73\x20\x63\x6c\x61\x73"
30987                           "\x73\x69\x66\x69\x65\x64\x20\x77"
30988                           "\x69\x74\x68\x20\x77\x6f\x6c\x76"
30989                           "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
30990                           "\x74\x65\x73\x2c\x20\x6a\x61\x63"
30991                           "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
30992                           "\x64\x20\x66\x6f\x78\x65\x73\x20"
30993                           "\x69\x6e\x20\x74\x68\x65\x20\x74"
30994                           "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
30995                           "\x20\x66\x61\x6d\x69\x6c\x79\x20"
30996                           "\x43\x61\x6e\x69\x64\x61\x65\x2e",
30997                 .ctext  = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
30998                           "\xee\x34\xc0\x39\xd6\x23\x43\x94"
30999                           "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
31000                           "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
31001                           "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
31002                           "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
31003                           "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
31004                           "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
31005                           "\x02\x64\x43\x49\xc6\xb2\x59\x59"
31006                           "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
31007                           "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
31008                           "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
31009                           "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
31010                           "\x71\x8c\x08\x48\x33\x20\x29\x81"
31011                           "\xea\x01\x25\x20\xc3\xda\xe6\xee"
31012                           "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
31013                           "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
31014                           "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
31015                           "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
31016                           "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
31017                           "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
31018                           "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
31019                           "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
31020                           "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
31021                           "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
31022                           "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
31023                           "\x13\x27\x3f\x31\x03\x63\x30\x26"
31024                           "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
31025                           "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
31026                           "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
31027                           "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
31028                           "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
31029                           "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
31030                           "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
31031                           "\x08\x05\x36\x76\xaf\x12\x7a\x42"
31032                           "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
31033                           "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
31034                           "\x50\x70\x44\x29\x6d\x6e\x62\x68",
31035                 .len    = 304,
31036         }
31037 };
31038
31039 /* Adiantum test vectors from https://github.com/google/adiantum */
31040 static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
31041         {
31042                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
31043                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
31044                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
31045                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
31046                 .klen   = 32,
31047                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
31048                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
31049                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
31050                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
31051                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
31052                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
31053                 .ctext  = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
31054                           "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
31055                 .len    = 16,
31056         }, {
31057                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
31058                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
31059                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
31060                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
31061                 .klen   = 32,
31062                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
31063                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
31064                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
31065                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
31066                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
31067                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
31068                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
31069                           "\x43\x5a\x46\x06\x94\x2d\xf2",
31070                 .ctext  = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
31071                           "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
31072                           "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
31073                           "\xc9\x18\x7b\xbe\x18\x60\x50",
31074                 .len    = 31,
31075         }, {
31076                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
31077                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
31078                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
31079                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
31080                 .klen   = 32,
31081                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
31082                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
31083                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
31084                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
31085                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
31086                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
31087                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
31088                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
31089                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
31090                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
31091                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
31092                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
31093                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
31094                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
31095                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
31096                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
31097                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
31098                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
31099                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
31100                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
31101                 .ctext  = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
31102                           "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
31103                           "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
31104                           "\x21\x48\xa0\xb8\x65\x48\x27\x48"
31105                           "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
31106                           "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
31107                           "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
31108                           "\x51\x56\x63\xfa\x7c\x28\x85\x49"
31109                           "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
31110                           "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
31111                           "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
31112                           "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
31113                           "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
31114                           "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
31115                           "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
31116                           "\x8d\xde\x34\x86\x78\x60\x75\x8d",
31117                 .len    = 128,
31118         }, {
31119                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
31120                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
31121                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
31122                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
31123                 .klen   = 32,
31124                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
31125                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
31126                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
31127                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
31128                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
31129                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
31130                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
31131                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
31132                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
31133                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
31134                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
31135                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
31136                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
31137                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
31138                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
31139                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
31140                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
31141                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
31142                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
31143                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
31144                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
31145                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
31146                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
31147                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
31148                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
31149                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
31150                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
31151                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
31152                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
31153                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
31154                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
31155                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
31156                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
31157                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
31158                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
31159                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
31160                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
31161                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
31162                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
31163                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
31164                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
31165                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
31166                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
31167                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
31168                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
31169                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
31170                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
31171                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
31172                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
31173                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
31174                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
31175                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
31176                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
31177                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
31178                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
31179                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
31180                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
31181                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
31182                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
31183                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
31184                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
31185                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
31186                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
31187                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
31188                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
31189                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
31190                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
31191                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
31192                 .ctext  = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
31193                           "\xc5\x11\x36\x62\x13\x92\xe6\x73"
31194                           "\x29\x79\xde\xa1\x00\x3e\x08\x64"
31195                           "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
31196                           "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
31197                           "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
31198                           "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
31199                           "\xe4\xee\x39\x63\x42\x65\xa3\x88"
31200                           "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
31201                           "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
31202                           "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
31203                           "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
31204                           "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
31205                           "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
31206                           "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
31207                           "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
31208                           "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
31209                           "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
31210                           "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
31211                           "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
31212                           "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
31213                           "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
31214                           "\xf8\x51\x80\x39\x14\x05\x12\xdb"
31215                           "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
31216                           "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
31217                           "\x58\x05\x49\x7d\xe6\x92\x77\x70"
31218                           "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
31219                           "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
31220                           "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
31221                           "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
31222                           "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
31223                           "\x90\x62\xb2\x28\x99\x86\xf5\x44"
31224                           "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
31225                           "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
31226                           "\xab\xe1\x9b\x45\xba\x66\xda\xee"
31227                           "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
31228                           "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
31229                           "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
31230                           "\x11\x34\x61\x94\x35\xfe\xf2\x99"
31231                           "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
31232                           "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
31233                           "\x78\x74\x10\x50\x29\x63\x28\xea"
31234                           "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
31235                           "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
31236                           "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
31237                           "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
31238                           "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
31239                           "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
31240                           "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
31241                           "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
31242                           "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
31243                           "\x94\x74\xea\x6e\xb3\x09\x47\x01"
31244                           "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
31245                           "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
31246                           "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
31247                           "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
31248                           "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
31249                           "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
31250                           "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
31251                           "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
31252                           "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
31253                           "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
31254                           "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
31255                           "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
31256                 .len    = 512,
31257         }, {
31258                 .key    = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
31259                           "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
31260                           "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
31261                           "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
31262                 .klen   = 32,
31263                 .iv     = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
31264                           "\x88\x76\x65\xb4\x1a\x29\x27\x12"
31265                           "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
31266                           "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
31267                 .ptext  = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
31268                           "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
31269                           "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
31270                           "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
31271                           "\x38\x24\x62\xdb\x65\x82\x10\x7f"
31272                           "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
31273                           "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
31274                           "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
31275                           "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
31276                           "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
31277                           "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
31278                           "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
31279                           "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
31280                           "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
31281                           "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
31282                           "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
31283                           "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
31284                           "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
31285                           "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
31286                           "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
31287                           "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
31288                           "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
31289                           "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
31290                           "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
31291                           "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
31292                           "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
31293                           "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
31294                           "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
31295                           "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
31296                           "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
31297                           "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
31298                           "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
31299                           "\x28\x04\x4c\xff\x98\x20\x08\x10"
31300                           "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
31301                           "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
31302                           "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
31303                           "\x24\x62\xcf\x17\x36\x84\xc0\x72"
31304                           "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
31305                           "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
31306                           "\x71\x73\x08\x4e\x22\x31\xfd\x88"
31307                           "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
31308                           "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
31309                           "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
31310                           "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
31311                           "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
31312                           "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
31313                           "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
31314                           "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
31315                           "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
31316                           "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
31317                           "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
31318                           "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
31319                           "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
31320                           "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
31321                           "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
31322                           "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
31323                           "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
31324                           "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
31325                           "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
31326                           "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
31327                           "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
31328                           "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
31329                           "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
31330                           "\x85\x12\xca\x61\x65\xd1\x66\xd8"
31331                           "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
31332                           "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
31333                           "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
31334                           "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
31335                           "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
31336                           "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
31337                           "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
31338                           "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
31339                           "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
31340                           "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
31341                           "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
31342                           "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
31343                           "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
31344                           "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
31345                           "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
31346                           "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
31347                           "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
31348                           "\x16\xcb\xae\x7d\x38\x21\x67\x74"
31349                           "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
31350                           "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
31351                           "\xa8\x88\x27\x86\x44\x75\x5b\x29"
31352                           "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
31353                           "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
31354                           "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
31355                           "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
31356                           "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
31357                           "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
31358                           "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
31359                           "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
31360                           "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
31361                           "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
31362                           "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
31363                           "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
31364                           "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
31365                           "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
31366                           "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
31367                           "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
31368                           "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
31369                           "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
31370                           "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
31371                           "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
31372                           "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
31373                           "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
31374                           "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
31375                           "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
31376                           "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
31377                           "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
31378                           "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
31379                           "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
31380                           "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
31381                           "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
31382                           "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
31383                           "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
31384                           "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
31385                           "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
31386                           "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
31387                           "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
31388                           "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
31389                           "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
31390                           "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
31391                           "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
31392                           "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
31393                           "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
31394                           "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
31395                           "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
31396                           "\x55\x9a\xe0\x09\x21\xac\x61\x85"
31397                           "\x4b\x20\x95\x73\x63\x26\xe3\x83"
31398                           "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
31399                           "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
31400                           "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
31401                           "\x98\x09\x11\xb7\x00\x06\x24\x5a"
31402                           "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
31403                           "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
31404                           "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
31405                           "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
31406                           "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
31407                           "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
31408                           "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
31409                           "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
31410                           "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
31411                           "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
31412                           "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
31413                           "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
31414                           "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
31415                           "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
31416                           "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
31417                           "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
31418                           "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
31419                           "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
31420                           "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
31421                           "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
31422                           "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
31423                           "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
31424                           "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
31425                           "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
31426                           "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
31427                           "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
31428                           "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
31429                           "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
31430                           "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
31431                           "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
31432                           "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
31433                           "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
31434                           "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
31435                           "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
31436                           "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
31437                           "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
31438                           "\x62\x96\x79\x0c\x81\x05\x41\xf2"
31439                           "\x07\x20\x26\xe5\x8e\x10\x54\x03"
31440                           "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
31441                           "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
31442                           "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
31443                           "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
31444                           "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
31445                           "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
31446                           "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
31447                           "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
31448                           "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
31449                           "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
31450                           "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
31451                           "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
31452                           "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
31453                           "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
31454                           "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
31455                           "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
31456                           "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
31457                           "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
31458                           "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
31459                 .ctext  = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
31460                           "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
31461                           "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
31462                           "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
31463                           "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
31464                           "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
31465                           "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
31466                           "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
31467                           "\x15\x15\xab\xbd\x22\x94\xf7\xce"
31468                           "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
31469                           "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
31470                           "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
31471                           "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
31472                           "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
31473                           "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
31474                           "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
31475                           "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
31476                           "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
31477                           "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
31478                           "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
31479                           "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
31480                           "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
31481                           "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
31482                           "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
31483                           "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
31484                           "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
31485                           "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
31486                           "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
31487                           "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
31488                           "\xec\x88\x33\x0d\x15\x10\x82\x66"
31489                           "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
31490                           "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
31491                           "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
31492                           "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
31493                           "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
31494                           "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
31495                           "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
31496                           "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
31497                           "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
31498                           "\x00\x01\x8d\x5a\x10\x82\x39\x78"
31499                           "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
31500                           "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
31501                           "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
31502                           "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
31503                           "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
31504                           "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
31505                           "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
31506                           "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
31507                           "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
31508                           "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
31509                           "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
31510                           "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
31511                           "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
31512                           "\xce\x17\x84\x68\x45\x39\x2c\x25"
31513                           "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
31514                           "\x47\x51\x7b\x9d\x54\x84\x98\x04"
31515                           "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
31516                           "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
31517                           "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
31518                           "\x39\x72\x44\x87\x51\xc5\x73\xe4"
31519                           "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
31520                           "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
31521                           "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
31522                           "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
31523                           "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
31524                           "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
31525                           "\xad\x91\x01\x4e\x14\x42\x34\x2c"
31526                           "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
31527                           "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
31528                           "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
31529                           "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
31530                           "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
31531                           "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
31532                           "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
31533                           "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
31534                           "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
31535                           "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
31536                           "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
31537                           "\x09\x84\x42\xab\x00\xe2\x58\xc3"
31538                           "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
31539                           "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
31540                           "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
31541                           "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
31542                           "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
31543                           "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
31544                           "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
31545                           "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
31546                           "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
31547                           "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
31548                           "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
31549                           "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
31550                           "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
31551                           "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
31552                           "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
31553                           "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
31554                           "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
31555                           "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
31556                           "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
31557                           "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
31558                           "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
31559                           "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
31560                           "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
31561                           "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
31562                           "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
31563                           "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
31564                           "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
31565                           "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
31566                           "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
31567                           "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
31568                           "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
31569                           "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
31570                           "\x48\x23\x70\x46\xf3\x87\xa7\x91"
31571                           "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
31572                           "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
31573                           "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
31574                           "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
31575                           "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
31576                           "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
31577                           "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
31578                           "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
31579                           "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
31580                           "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
31581                           "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
31582                           "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
31583                           "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
31584                           "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
31585                           "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
31586                           "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
31587                           "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
31588                           "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
31589                           "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
31590                           "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
31591                           "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
31592                           "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
31593                           "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
31594                           "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
31595                           "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
31596                           "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
31597                           "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
31598                           "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
31599                           "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
31600                           "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
31601                           "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
31602                           "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
31603                           "\x41\x65\x21\x47\xf9\xb1\x06\xec"
31604                           "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
31605                           "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
31606                           "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
31607                           "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
31608                           "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
31609                           "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
31610                           "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
31611                           "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
31612                           "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
31613                           "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
31614                           "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
31615                           "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
31616                           "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
31617                           "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
31618                           "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
31619                           "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
31620                           "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
31621                           "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
31622                           "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
31623                           "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
31624                           "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
31625                           "\x64\x25\x56\xb5\x03\x8e\x29\x85"
31626                           "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
31627                           "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
31628                           "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
31629                           "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
31630                           "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
31631                           "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
31632                           "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
31633                           "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
31634                           "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
31635                           "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
31636                           "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
31637                           "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
31638                           "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
31639                           "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
31640                           "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
31641                           "\x25\x16\x95\x87\x92\xc7\x46\x3f"
31642                           "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
31643                           "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
31644                           "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
31645                           "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
31646                           "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
31647                           "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
31648                           "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
31649                           "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
31650                           "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
31651                 .len    = 1536,
31652         }, {
31653                 .key    = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
31654                           "\x70\x47\x8c\xea\x87\x30\x1d\x58"
31655                           "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
31656                           "\x56\x95\x83\x98\x38\x80\x84\x8a",
31657                 .klen   = 32,
31658                 .iv     = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
31659                           "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
31660                           "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
31661                           "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
31662                 .ptext  = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
31663                           "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
31664                           "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
31665                           "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
31666                           "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
31667                           "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
31668                           "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
31669                           "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
31670                           "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
31671                           "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
31672                           "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
31673                           "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
31674                           "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
31675                           "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
31676                           "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
31677                           "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
31678                           "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
31679                           "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
31680                           "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
31681                           "\x35\x21\x66\x78\x3d\xb6\x65\x83"
31682                           "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
31683                           "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
31684                           "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
31685                           "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
31686                           "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
31687                           "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
31688                           "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
31689                           "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
31690                           "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
31691                           "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
31692                           "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
31693                           "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
31694                           "\x96\x87\xc9\x34\x02\x26\xde\x20"
31695                           "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
31696                           "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
31697                           "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
31698                           "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
31699                           "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
31700                           "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
31701                           "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
31702                           "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
31703                           "\x85\xfd\x22\x08\x00\xae\x72\x10"
31704                           "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
31705                           "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
31706                           "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
31707                           "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
31708                           "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
31709                           "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
31710                           "\x93\x45\x38\x95\xb9\x69\xe9\x62"
31711                           "\x21\x73\xbd\x81\x73\xac\x15\x74"
31712                           "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
31713                           "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
31714                           "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
31715                           "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
31716                           "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
31717                           "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
31718                           "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
31719                           "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
31720                           "\x24\x43\xb3\x0e\xba\xad\x63\x63"
31721                           "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
31722                           "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
31723                           "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
31724                           "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
31725                           "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
31726                           "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
31727                           "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
31728                           "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
31729                           "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
31730                           "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
31731                           "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
31732                           "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
31733                           "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
31734                           "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
31735                           "\x9d\x46\xae\x67\x00\x3b\x40\x94"
31736                           "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
31737                           "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
31738                           "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
31739                           "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
31740                           "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
31741                           "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
31742                           "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
31743                           "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
31744                           "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
31745                           "\x76\xca\x9f\x56\xae\x04\x2e\x75"
31746                           "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
31747                           "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
31748                           "\x08\x67\x02\x01\xe3\x64\x82\xee"
31749                           "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
31750                           "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
31751                           "\x85\x48\xb6\x97\x97\x02\x43\x1f"
31752                           "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
31753                           "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
31754                           "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
31755                           "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
31756                           "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
31757                           "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
31758                           "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
31759                           "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
31760                           "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
31761                           "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
31762                           "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
31763                           "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
31764                           "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
31765                           "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
31766                           "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
31767                           "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
31768                           "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
31769                           "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
31770                           "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
31771                           "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
31772                           "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
31773                           "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
31774                           "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
31775                           "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
31776                           "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
31777                           "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
31778                           "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
31779                           "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
31780                           "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
31781                           "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
31782                           "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
31783                           "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
31784                           "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
31785                           "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
31786                           "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
31787                           "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
31788                           "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
31789                           "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
31790                           "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
31791                           "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
31792                           "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
31793                           "\x36\x12\x35\x28\x64\x12\xe7\xbb"
31794                           "\x50\xac\x45\x15\x7b\x16\x23\x5e"
31795                           "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
31796                           "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
31797                           "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
31798                           "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
31799                           "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
31800                           "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
31801                           "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
31802                           "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
31803                           "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
31804                           "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
31805                           "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
31806                           "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
31807                           "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
31808                           "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
31809                           "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
31810                           "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
31811                           "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
31812                           "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
31813                           "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
31814                           "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
31815                           "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
31816                           "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
31817                           "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
31818                           "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
31819                           "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
31820                           "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
31821                           "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
31822                           "\x7d\x65\x57\x65\x98\xff\x8b\x02"
31823                           "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
31824                           "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
31825                           "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
31826                           "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
31827                           "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
31828                           "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
31829                           "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
31830                           "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
31831                           "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
31832                           "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
31833                           "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
31834                           "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
31835                           "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
31836                           "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
31837                           "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
31838                           "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
31839                           "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
31840                           "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
31841                           "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
31842                           "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
31843                           "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
31844                           "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
31845                           "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
31846                           "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
31847                           "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
31848                           "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
31849                           "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
31850                           "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
31851                           "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
31852                           "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
31853                           "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
31854                           "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
31855                           "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
31856                           "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
31857                           "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
31858                           "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
31859                           "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
31860                           "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
31861                           "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
31862                           "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
31863                           "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
31864                           "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
31865                           "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
31866                           "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
31867                           "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
31868                           "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
31869                           "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
31870                           "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
31871                           "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
31872                           "\x53\xf1\x61\x97\x63\x52\x38\x86"
31873                           "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
31874                           "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
31875                           "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
31876                           "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
31877                           "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
31878                           "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
31879                           "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
31880                           "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
31881                           "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
31882                           "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
31883                           "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
31884                           "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
31885                           "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
31886                           "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
31887                           "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
31888                           "\x48\xb9\x27\x62\x00\x12\xc5\x03"
31889                           "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
31890                           "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
31891                           "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
31892                           "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
31893                           "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
31894                           "\x99\xd5\xff\x34\x93\x8f\x31\x45"
31895                           "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
31896                           "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
31897                           "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
31898                           "\x26\xec\x3a\x64\xc4\xab\x74\x97"
31899                           "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
31900                           "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
31901                           "\x68\x50\x22\x16\x96\x2f\xc4\x23"
31902                           "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
31903                           "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
31904                           "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
31905                           "\x20\x89\xef\x44\x22\x38\x3c\x14"
31906                           "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
31907                           "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
31908                           "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
31909                           "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
31910                           "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
31911                           "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
31912                           "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
31913                           "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
31914                           "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
31915                           "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
31916                           "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
31917                           "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
31918                           "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
31919                           "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
31920                           "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
31921                           "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
31922                           "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
31923                           "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
31924                           "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
31925                           "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
31926                           "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
31927                           "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
31928                           "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
31929                           "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
31930                           "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
31931                           "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
31932                           "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
31933                           "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
31934                           "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
31935                           "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
31936                           "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
31937                           "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
31938                           "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
31939                           "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
31940                           "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
31941                           "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
31942                           "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
31943                           "\x60\x81\x75\x29\x9e\xce\x2a\x70"
31944                           "\x28\x0c\x87\xe5\x46\x73\x76\x66"
31945                           "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
31946                           "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
31947                           "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
31948                           "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
31949                           "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
31950                           "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
31951                           "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
31952                           "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
31953                           "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
31954                           "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
31955                           "\xf1\x11\x02\x64\x09\x25\x7c\x26"
31956                           "\xee\xad\x50\x68\x31\x26\x16\x0f"
31957                           "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
31958                           "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
31959                           "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
31960                           "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
31961                           "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
31962                           "\x40\x12\x43\x31\xb8\x12\xe0\x95"
31963                           "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
31964                           "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
31965                           "\xab\x03\xda\x41\xab\xc5\x4e\x33"
31966                           "\x5a\x63\x94\x90\x22\x72\x54\x26"
31967                           "\x93\x65\x99\x45\x55\xd3\x55\x56"
31968                           "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
31969                           "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
31970                           "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
31971                           "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
31972                           "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
31973                           "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
31974                           "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
31975                           "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
31976                           "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
31977                           "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
31978                           "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
31979                           "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
31980                           "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
31981                           "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
31982                           "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
31983                           "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
31984                           "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
31985                           "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
31986                           "\xad\x6e\x83\x90\x21\x10\xb8\x07"
31987                           "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
31988                           "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
31989                           "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
31990                           "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
31991                           "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
31992                           "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
31993                           "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
31994                           "\x02\x5a\x20\x4d\x43\x08\x71\x49"
31995                           "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
31996                           "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
31997                           "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
31998                           "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
31999                           "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
32000                           "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
32001                           "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
32002                           "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
32003                           "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
32004                           "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
32005                           "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
32006                           "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
32007                           "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
32008                           "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
32009                           "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
32010                           "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
32011                           "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
32012                           "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
32013                           "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
32014                           "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
32015                           "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
32016                           "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
32017                           "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
32018                           "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
32019                           "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
32020                           "\x08\x48\xfd\x9b\x47\x41\x10\xae"
32021                           "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
32022                           "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
32023                           "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
32024                           "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
32025                           "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
32026                           "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
32027                           "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
32028                           "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
32029                           "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
32030                           "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
32031                           "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
32032                           "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
32033                           "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
32034                           "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
32035                           "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
32036                           "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
32037                           "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
32038                           "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
32039                           "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
32040                           "\x54\x14\x91\x12\x41\x41\x54\xa2"
32041                           "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
32042                           "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
32043                           "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
32044                           "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
32045                           "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
32046                           "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
32047                           "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
32048                           "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
32049                           "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
32050                           "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
32051                           "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
32052                           "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
32053                           "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
32054                           "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
32055                           "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
32056                           "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
32057                           "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
32058                           "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
32059                           "\x58\xec\x70\x4f\x40\x25\x2b\xba"
32060                           "\x96\x59\xac\x34\x45\x29\xc6\x57"
32061                           "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
32062                           "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
32063                           "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
32064                           "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
32065                           "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
32066                           "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
32067                           "\xea\xa5\x56\x02\x5b\x93\x13\x46"
32068                           "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
32069                           "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
32070                           "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
32071                           "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
32072                           "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
32073                           "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
32074                           "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
32075                           "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
32076                           "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
32077                           "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
32078                           "\xad\x57\xae\x98\x83\xd5\x92\x4e"
32079                           "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
32080                           "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
32081                           "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
32082                           "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
32083                           "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
32084                           "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
32085                           "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
32086                           "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
32087                           "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
32088                           "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
32089                           "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
32090                           "\x32\x06\x3f\x12\x23\x19\x22\x82"
32091                           "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
32092                           "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
32093                           "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
32094                           "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
32095                           "\x35\x79\x84\x78\x06\x68\x97\x30"
32096                           "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
32097                           "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
32098                           "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
32099                           "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
32100                           "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
32101                           "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
32102                           "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
32103                           "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
32104                           "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
32105                           "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
32106                           "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
32107                           "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
32108                           "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
32109                           "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
32110                           "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
32111                           "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
32112                           "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
32113                           "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
32114                           "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
32115                           "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
32116                           "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
32117                           "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
32118                           "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
32119                           "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
32120                           "\x13\xa7\x47\x89\x62\xa3\x03\x19"
32121                           "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
32122                           "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
32123                           "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
32124                           "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
32125                           "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
32126                           "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
32127                           "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
32128                           "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
32129                           "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
32130                           "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
32131                           "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
32132                           "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
32133                           "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
32134                           "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
32135                           "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
32136                           "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
32137                           "\x20\xa9\x37\x78\x32\x03\x60\xcc"
32138                           "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
32139                           "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
32140                           "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
32141                           "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
32142                           "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
32143                           "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
32144                           "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
32145                           "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
32146                           "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
32147                           "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
32148                           "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
32149                           "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
32150                           "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
32151                           "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
32152                           "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
32153                           "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
32154                           "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
32155                           "\x12\xab\x95\x66\xec\x09\x64\xea"
32156                           "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
32157                           "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
32158                           "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
32159                           "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
32160                           "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
32161                           "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
32162                           "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
32163                           "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
32164                           "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
32165                           "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
32166                           "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
32167                           "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
32168                           "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
32169                           "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
32170                           "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
32171                           "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
32172                           "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
32173                           "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
32174                 .ctext  = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
32175                           "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
32176                           "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
32177                           "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
32178                           "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
32179                           "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
32180                           "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
32181                           "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
32182                           "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
32183                           "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
32184                           "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
32185                           "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
32186                           "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
32187                           "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
32188                           "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
32189                           "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
32190                           "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
32191                           "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
32192                           "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
32193                           "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
32194                           "\xc5\x97\x18\x04\xab\x8c\x38\x56"
32195                           "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
32196                           "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
32197                           "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
32198                           "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
32199                           "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
32200                           "\x11\x35\xee\x29\xa4\x90\xfc\x46"
32201                           "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
32202                           "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
32203                           "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
32204                           "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
32205                           "\x42\x89\x28\x27\xe6\xec\x50\xb7"
32206                           "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
32207                           "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
32208                           "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
32209                           "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
32210                           "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
32211                           "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
32212                           "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
32213                           "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
32214                           "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
32215                           "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
32216                           "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
32217                           "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
32218                           "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
32219                           "\x1d\x1c\x08\x65\x80\x69\xae\x24"
32220                           "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
32221                           "\xce\x39\x07\xe6\x69\x94\x5a\x75"
32222                           "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
32223                           "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
32224                           "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
32225                           "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
32226                           "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
32227                           "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
32228                           "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
32229                           "\xae\x27\xbc\x93\x96\xab\xb6\x02"
32230                           "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
32231                           "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
32232                           "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
32233                           "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
32234                           "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
32235                           "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
32236                           "\x7d\x60\x87\x11\x06\x83\x25\xe3"
32237                           "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
32238                           "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
32239                           "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
32240                           "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
32241                           "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
32242                           "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
32243                           "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
32244                           "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
32245                           "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
32246                           "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
32247                           "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
32248                           "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
32249                           "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
32250                           "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
32251                           "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
32252                           "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
32253                           "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
32254                           "\xed\x73\xdb\xc1\x70\xda\xde\x67"
32255                           "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
32256                           "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
32257                           "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
32258                           "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
32259                           "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
32260                           "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
32261                           "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
32262                           "\xc4\x12\x70\x5a\x37\x83\x49\xac"
32263                           "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
32264                           "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
32265                           "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
32266                           "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
32267                           "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
32268                           "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
32269                           "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
32270                           "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
32271                           "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
32272                           "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
32273                           "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
32274                           "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
32275                           "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
32276                           "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
32277                           "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
32278                           "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
32279                           "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
32280                           "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
32281                           "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
32282                           "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
32283                           "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
32284                           "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
32285                           "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
32286                           "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
32287                           "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
32288                           "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
32289                           "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
32290                           "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
32291                           "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
32292                           "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
32293                           "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
32294                           "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
32295                           "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
32296                           "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
32297                           "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
32298                           "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
32299                           "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
32300                           "\x25\x87\x45\x4c\x07\xa7\x15\x99"
32301                           "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
32302                           "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
32303                           "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
32304                           "\x95\x25\x55\x33\x41\x5b\x8d\x75"
32305                           "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
32306                           "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
32307                           "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
32308                           "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
32309                           "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
32310                           "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
32311                           "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
32312                           "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
32313                           "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
32314                           "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
32315                           "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
32316                           "\x32\x78\xa9\xf6\x03\x98\x18\xed"
32317                           "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
32318                           "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
32319                           "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
32320                           "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
32321                           "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
32322                           "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
32323                           "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
32324                           "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
32325                           "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
32326                           "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
32327                           "\x54\x76\xaa\x58\xae\x87\x23\x93"
32328                           "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
32329                           "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
32330                           "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
32331                           "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
32332                           "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
32333                           "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
32334                           "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
32335                           "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
32336                           "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
32337                           "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
32338                           "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
32339                           "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
32340                           "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
32341                           "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
32342                           "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
32343                           "\x03\x01\xce\xbb\x58\xff\xee\x74"
32344                           "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
32345                           "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
32346                           "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
32347                           "\x27\xc3\x51\x50\xa0\x02\x73\x00"
32348                           "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
32349                           "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
32350                           "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
32351                           "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
32352                           "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
32353                           "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
32354                           "\xe9\x60\x82\x77\x44\x3f\x89\x23"
32355                           "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
32356                           "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
32357                           "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
32358                           "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
32359                           "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
32360                           "\x63\x36\xa8\x02\x54\x93\xb0\xba"
32361                           "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
32362                           "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
32363                           "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
32364                           "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
32365                           "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
32366                           "\x96\x94\xf2\x67\x57\x23\x9c\x29"
32367                           "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
32368                           "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
32369                           "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
32370                           "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
32371                           "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
32372                           "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
32373                           "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
32374                           "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
32375                           "\x02\xdc\x15\x87\x48\x16\x26\x18"
32376                           "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
32377                           "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
32378                           "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
32379                           "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
32380                           "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
32381                           "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
32382                           "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
32383                           "\x72\xee\x34\xbe\x41\x90\xd4\x07"
32384                           "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
32385                           "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
32386                           "\xe8\x71\xce\xa8\x73\x77\x82\x74"
32387                           "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
32388                           "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
32389                           "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
32390                           "\xae\x96\x09\xbf\x47\xae\x7d\x12"
32391                           "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
32392                           "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
32393                           "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
32394                           "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
32395                           "\x82\xef\x31\x85\x8e\x38\x56\xff"
32396                           "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
32397                           "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
32398                           "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
32399                           "\xdc\x83\x81\x3c\x24\x28\x87\x08"
32400                           "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
32401                           "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
32402                           "\x93\x45\x5d\x45\x64\x59\x16\x3f"
32403                           "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
32404                           "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
32405                           "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
32406                           "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
32407                           "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
32408                           "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
32409                           "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
32410                           "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
32411                           "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
32412                           "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
32413                           "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
32414                           "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
32415                           "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
32416                           "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
32417                           "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
32418                           "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
32419                           "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
32420                           "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
32421                           "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
32422                           "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
32423                           "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
32424                           "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
32425                           "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
32426                           "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
32427                           "\xed\x87\xb8\x74\x98\x0d\x16\x86"
32428                           "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
32429                           "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
32430                           "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
32431                           "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
32432                           "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
32433                           "\x61\x78\x60\xd5\x81\x70\xa4\x11"
32434                           "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
32435                           "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
32436                           "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
32437                           "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
32438                           "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
32439                           "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
32440                           "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
32441                           "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
32442                           "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
32443                           "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
32444                           "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
32445                           "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
32446                           "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
32447                           "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
32448                           "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
32449                           "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
32450                           "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
32451                           "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
32452                           "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
32453                           "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
32454                           "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
32455                           "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
32456                           "\x86\xda\x71\xfb\x72\xab\x87\x0f"
32457                           "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
32458                           "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
32459                           "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
32460                           "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
32461                           "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
32462                           "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
32463                           "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
32464                           "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
32465                           "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
32466                           "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
32467                           "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
32468                           "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
32469                           "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
32470                           "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
32471                           "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
32472                           "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
32473                           "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
32474                           "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
32475                           "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
32476                           "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
32477                           "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
32478                           "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
32479                           "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
32480                           "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
32481                           "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
32482                           "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
32483                           "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
32484                           "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
32485                           "\x70\x0c\x72\x80\x64\x94\x67\xad"
32486                           "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
32487                           "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
32488                           "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
32489                           "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
32490                           "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
32491                           "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
32492                           "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
32493                           "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
32494                           "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
32495                           "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
32496                           "\xa1\x6e\x73\x62\x96\x73\x56\x66"
32497                           "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
32498                           "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
32499                           "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
32500                           "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
32501                           "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
32502                           "\x03\x41\x19\x5b\x31\xf3\x48\x83"
32503                           "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
32504                           "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
32505                           "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
32506                           "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
32507                           "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
32508                           "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
32509                           "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
32510                           "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
32511                           "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
32512                           "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
32513                           "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
32514                           "\xed\x2a\x70\x79\x39\xcf\x36\x72"
32515                           "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
32516                           "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
32517                           "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
32518                           "\x3b\x74\x29\x63\xda\x23\xbc\x43"
32519                           "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
32520                           "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
32521                           "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
32522                           "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
32523                           "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
32524                           "\xa9\x13\x11\x60\x19\x23\xc7\x35"
32525                           "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
32526                           "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
32527                           "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
32528                           "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
32529                           "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
32530                           "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
32531                           "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
32532                           "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
32533                           "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
32534                           "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
32535                           "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
32536                           "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
32537                           "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
32538                           "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
32539                           "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
32540                           "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
32541                           "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
32542                           "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
32543                           "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
32544                           "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
32545                           "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
32546                           "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
32547                           "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
32548                           "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
32549                           "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
32550                           "\x87\x24\xa9\xe9\x87\xde\x75\x77"
32551                           "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
32552                           "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
32553                           "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
32554                           "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
32555                           "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
32556                           "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
32557                           "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
32558                           "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
32559                           "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
32560                           "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
32561                           "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
32562                           "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
32563                           "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
32564                           "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
32565                           "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
32566                           "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
32567                           "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
32568                           "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
32569                           "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
32570                           "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
32571                           "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
32572                           "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
32573                           "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
32574                           "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
32575                           "\xdc\x66\xad\xe4\x54\xff\x09\xef"
32576                           "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
32577                           "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
32578                           "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
32579                           "\x51\x0c\x0f\x84\x26\x75\x69\x23"
32580                           "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
32581                           "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
32582                           "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
32583                           "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
32584                           "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
32585                           "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
32586                           "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
32587                           "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
32588                           "\x6b\x55\x85\x47\xbb\x90\xba\x69"
32589                           "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
32590                           "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
32591                           "\x09\x76\x51\x83\x0a\x46\x19\x61"
32592                           "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
32593                           "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
32594                           "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
32595                           "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
32596                           "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
32597                           "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
32598                           "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
32599                           "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
32600                           "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
32601                           "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
32602                           "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
32603                           "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
32604                           "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
32605                           "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
32606                           "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
32607                           "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
32608                           "\x24\x24\x51\x22\x1e\xad\xef\x2f"
32609                           "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
32610                           "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
32611                           "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
32612                           "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
32613                           "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
32614                           "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
32615                           "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
32616                           "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
32617                           "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
32618                           "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
32619                           "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
32620                           "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
32621                           "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
32622                           "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
32623                           "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
32624                           "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
32625                           "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
32626                           "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
32627                           "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
32628                           "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
32629                           "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
32630                           "\x42\xff\x4e\x57\xde\x0c\x67\x45"
32631                           "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
32632                           "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
32633                           "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
32634                           "\xf8\x87\x0e\x14\x19\x81\x23\x53"
32635                           "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
32636                           "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
32637                           "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
32638                           "\x73\xde\x5e\x90\xce\x6c\x85\x43"
32639                           "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
32640                           "\xb8\x05\x80\x81\xf6\x22\x30\xad"
32641                           "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
32642                           "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
32643                           "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
32644                           "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
32645                           "\xb7\x73\x14\x69\xef\xf8\x28\x43"
32646                           "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
32647                           "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
32648                           "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
32649                           "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
32650                           "\x4d\xb1\x17\x40\x02\x84\xed\x53"
32651                           "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
32652                           "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
32653                           "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
32654                           "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
32655                           "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
32656                           "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
32657                           "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
32658                           "\x90\xe9\x60\x64\xfa\x52\x87\x37"
32659                           "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
32660                           "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
32661                           "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
32662                           "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
32663                           "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
32664                           "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
32665                           "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
32666                           "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
32667                           "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
32668                           "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
32669                           "\xb6\x86\x9e\x13\x78\x34\x36\x85"
32670                           "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
32671                           "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
32672                           "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
32673                           "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
32674                           "\x13\xdd\x9e\x20\x51\x18\x73\x37"
32675                           "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
32676                           "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
32677                           "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
32678                           "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
32679                           "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
32680                           "\x66\x2a\xac\x59\xb3\x73\x86\xae"
32681                           "\x6d\x85\x97\x37\x68\xef\xa7\x85"
32682                           "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
32683                           "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
32684                           "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
32685                           "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
32686                 .len    = 4096,
32687         }
32688 };
32689
32690 /* Adiantum with XChaCha20 instead of XChaCha12 */
32691 /* Test vectors from https://github.com/google/adiantum */
32692 static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
32693         {
32694                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
32695                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
32696                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
32697                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
32698                 .klen   = 32,
32699                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
32700                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
32701                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
32702                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
32703                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
32704                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
32705                 .ctext  = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
32706                           "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
32707                 .len    = 16,
32708         }, {
32709                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
32710                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
32711                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
32712                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
32713                 .klen   = 32,
32714                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
32715                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
32716                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
32717                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
32718                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
32719                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
32720                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
32721                           "\x43\x5a\x46\x06\x94\x2d\xf2",
32722                 .ctext  = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
32723                           "\x0e\x14\x42\x5f\x00\x74\x09\x36"
32724                           "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
32725                           "\x0c\x04\x91\x14\x91\xe9\x37",
32726                 .len    = 31,
32727         }, {
32728                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
32729                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
32730                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
32731                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
32732                 .klen   = 32,
32733                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
32734                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
32735                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
32736                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
32737                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
32738                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
32739                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
32740                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
32741                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
32742                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
32743                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
32744                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
32745                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
32746                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
32747                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
32748                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
32749                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
32750                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
32751                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
32752                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
32753                 .ctext  = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
32754                           "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
32755                           "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
32756                           "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
32757                           "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
32758                           "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
32759                           "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
32760                           "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
32761                           "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
32762                           "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
32763                           "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
32764                           "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
32765                           "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
32766                           "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
32767                           "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
32768                           "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
32769                 .len    = 128,
32770         }, {
32771                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
32772                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
32773                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
32774                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
32775                 .klen   = 32,
32776                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
32777                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
32778                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
32779                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
32780                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
32781                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
32782                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
32783                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
32784                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
32785                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
32786                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
32787                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
32788                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
32789                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
32790                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
32791                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
32792                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
32793                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
32794                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
32795                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
32796                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
32797                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
32798                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
32799                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
32800                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
32801                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
32802                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
32803                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
32804                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
32805                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
32806                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
32807                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
32808                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
32809                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
32810                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
32811                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
32812                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
32813                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
32814                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
32815                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
32816                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
32817                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
32818                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
32819                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
32820                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
32821                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
32822                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
32823                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
32824                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
32825                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
32826                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
32827                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
32828                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
32829                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
32830                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
32831                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
32832                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
32833                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
32834                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
32835                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
32836                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
32837                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
32838                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
32839                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
32840                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
32841                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
32842                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
32843                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
32844                 .ctext  = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
32845                           "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
32846                           "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
32847                           "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
32848                           "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
32849                           "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
32850                           "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
32851                           "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
32852                           "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
32853                           "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
32854                           "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
32855                           "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
32856                           "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
32857                           "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
32858                           "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
32859                           "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
32860                           "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
32861                           "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
32862                           "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
32863                           "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
32864                           "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
32865                           "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
32866                           "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
32867                           "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
32868                           "\x26\x39\x95\x07\xad\x7a\xc9\x69"
32869                           "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
32870                           "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
32871                           "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
32872                           "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
32873                           "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
32874                           "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
32875                           "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
32876                           "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
32877                           "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
32878                           "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
32879                           "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
32880                           "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
32881                           "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
32882                           "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
32883                           "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
32884                           "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
32885                           "\x34\x42\xe5\xae\x45\x13\x63\xfe"
32886                           "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
32887                           "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
32888                           "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
32889                           "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
32890                           "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
32891                           "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
32892                           "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
32893                           "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
32894                           "\x65\xa8\xac\xea\x8d\x68\x46\x34"
32895                           "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
32896                           "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
32897                           "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
32898                           "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
32899                           "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
32900                           "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
32901                           "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
32902                           "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
32903                           "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
32904                           "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
32905                           "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
32906                           "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
32907                           "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
32908                 .len    = 512,
32909         }, {
32910                 .key    = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
32911                           "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
32912                           "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
32913                           "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
32914                 .klen   = 32,
32915                 .iv     = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
32916                           "\x88\x76\x65\xb4\x1a\x29\x27\x12"
32917                           "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
32918                           "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
32919                 .ptext  = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
32920                           "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
32921                           "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
32922                           "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
32923                           "\x38\x24\x62\xdb\x65\x82\x10\x7f"
32924                           "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
32925                           "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
32926                           "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
32927                           "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
32928                           "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
32929                           "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
32930                           "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
32931                           "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
32932                           "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
32933                           "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
32934                           "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
32935                           "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
32936                           "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
32937                           "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
32938                           "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
32939                           "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
32940                           "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
32941                           "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
32942                           "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
32943                           "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
32944                           "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
32945                           "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
32946                           "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
32947                           "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
32948                           "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
32949                           "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
32950                           "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
32951                           "\x28\x04\x4c\xff\x98\x20\x08\x10"
32952                           "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
32953                           "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
32954                           "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
32955                           "\x24\x62\xcf\x17\x36\x84\xc0\x72"
32956                           "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
32957                           "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
32958                           "\x71\x73\x08\x4e\x22\x31\xfd\x88"
32959                           "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
32960                           "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
32961                           "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
32962                           "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
32963                           "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
32964                           "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
32965                           "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
32966                           "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
32967                           "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
32968                           "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
32969                           "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
32970                           "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
32971                           "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
32972                           "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
32973                           "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
32974                           "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
32975                           "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
32976                           "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
32977                           "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
32978                           "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
32979                           "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
32980                           "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
32981                           "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
32982                           "\x85\x12\xca\x61\x65\xd1\x66\xd8"
32983                           "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
32984                           "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
32985                           "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
32986                           "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
32987                           "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
32988                           "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
32989                           "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
32990                           "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
32991                           "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
32992                           "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
32993                           "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
32994                           "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
32995                           "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
32996                           "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
32997                           "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
32998                           "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
32999                           "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
33000                           "\x16\xcb\xae\x7d\x38\x21\x67\x74"
33001                           "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
33002                           "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
33003                           "\xa8\x88\x27\x86\x44\x75\x5b\x29"
33004                           "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
33005                           "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
33006                           "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
33007                           "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
33008                           "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
33009                           "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
33010                           "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
33011                           "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
33012                           "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
33013                           "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
33014                           "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
33015                           "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
33016                           "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
33017                           "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
33018                           "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
33019                           "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
33020                           "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
33021                           "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
33022                           "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
33023                           "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
33024                           "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
33025                           "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
33026                           "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
33027                           "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
33028                           "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
33029                           "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
33030                           "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
33031                           "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
33032                           "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
33033                           "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
33034                           "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
33035                           "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
33036                           "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
33037                           "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
33038                           "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
33039                           "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
33040                           "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
33041                           "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
33042                           "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
33043                           "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
33044                           "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
33045                           "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
33046                           "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
33047                           "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
33048                           "\x55\x9a\xe0\x09\x21\xac\x61\x85"
33049                           "\x4b\x20\x95\x73\x63\x26\xe3\x83"
33050                           "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
33051                           "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
33052                           "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
33053                           "\x98\x09\x11\xb7\x00\x06\x24\x5a"
33054                           "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
33055                           "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
33056                           "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
33057                           "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
33058                           "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
33059                           "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
33060                           "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
33061                           "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
33062                           "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
33063                           "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
33064                           "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
33065                           "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
33066                           "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
33067                           "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
33068                           "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
33069                           "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
33070                           "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
33071                           "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
33072                           "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
33073                           "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
33074                           "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
33075                           "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
33076                           "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
33077                           "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
33078                           "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
33079                           "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
33080                           "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
33081                           "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
33082                           "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
33083                           "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
33084                           "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
33085                           "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
33086                           "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
33087                           "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
33088                           "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
33089                           "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
33090                           "\x62\x96\x79\x0c\x81\x05\x41\xf2"
33091                           "\x07\x20\x26\xe5\x8e\x10\x54\x03"
33092                           "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
33093                           "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
33094                           "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
33095                           "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
33096                           "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
33097                           "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
33098                           "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
33099                           "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
33100                           "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
33101                           "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
33102                           "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
33103                           "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
33104                           "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
33105                           "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
33106                           "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
33107                           "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
33108                           "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
33109                           "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
33110                           "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
33111                 .ctext  = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
33112                           "\x71\x28\x98\x61\xe5\x2c\x45\x49"
33113                           "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
33114                           "\xbe\x05\x02\x35\xc1\x18\x61\x28"
33115                           "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
33116                           "\x14\x80\x88\x56\xcf\x98\x32\xcc"
33117                           "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
33118                           "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
33119                           "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
33120                           "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
33121                           "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
33122                           "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
33123                           "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
33124                           "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
33125                           "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
33126                           "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
33127                           "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
33128                           "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
33129                           "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
33130                           "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
33131                           "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
33132                           "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
33133                           "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
33134                           "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
33135                           "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
33136                           "\x35\x17\x51\x06\x19\x82\x9d\x44"
33137                           "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
33138                           "\x95\x63\xc3\xf0\x91\x73\x77\x44"
33139                           "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
33140                           "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
33141                           "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
33142                           "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
33143                           "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
33144                           "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
33145                           "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
33146                           "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
33147                           "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
33148                           "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
33149                           "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
33150                           "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
33151                           "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
33152                           "\x9a\x14\xab\x08\xc2\x67\x59\x30"
33153                           "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
33154                           "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
33155                           "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
33156                           "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
33157                           "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
33158                           "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
33159                           "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
33160                           "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
33161                           "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
33162                           "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
33163                           "\x73\x23\x27\x71\x85\x04\x07\x59"
33164                           "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
33165                           "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
33166                           "\x21\x5b\x22\x25\x61\x01\x96\xce"
33167                           "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
33168                           "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
33169                           "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
33170                           "\xae\x89\x30\xa3\xc1\x65\x41\x67"
33171                           "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
33172                           "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
33173                           "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
33174                           "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
33175                           "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
33176                           "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
33177                           "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
33178                           "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
33179                           "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
33180                           "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
33181                           "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
33182                           "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
33183                           "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
33184                           "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
33185                           "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
33186                           "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
33187                           "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
33188                           "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
33189                           "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
33190                           "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
33191                           "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
33192                           "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
33193                           "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
33194                           "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
33195                           "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
33196                           "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
33197                           "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
33198                           "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
33199                           "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
33200                           "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
33201                           "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
33202                           "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
33203                           "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
33204                           "\x90\xda\x98\x98\x81\x04\x1c\x4d"
33205                           "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
33206                           "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
33207                           "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
33208                           "\x04\x59\x51\xbb\x17\x03\xc0\x07"
33209                           "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
33210                           "\xbc\x60\x86\x3b\x68\x91\x67\x14"
33211                           "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
33212                           "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
33213                           "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
33214                           "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
33215                           "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
33216                           "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
33217                           "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
33218                           "\x02\x98\xee\x83\xca\x4c\x94\xa3"
33219                           "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
33220                           "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
33221                           "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
33222                           "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
33223                           "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
33224                           "\xad\xf0\x38\x49\x88\x78\x73\xcd"
33225                           "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
33226                           "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
33227                           "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
33228                           "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
33229                           "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
33230                           "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
33231                           "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
33232                           "\x08\x42\xef\x07\x03\xb7\xa3\xea"
33233                           "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
33234                           "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
33235                           "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
33236                           "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
33237                           "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
33238                           "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
33239                           "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
33240                           "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
33241                           "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
33242                           "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
33243                           "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
33244                           "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
33245                           "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
33246                           "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
33247                           "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
33248                           "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
33249                           "\x80\xae\x2d\xda\x85\x90\x69\x3c"
33250                           "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
33251                           "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
33252                           "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
33253                           "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
33254                           "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
33255                           "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
33256                           "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
33257                           "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
33258                           "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
33259                           "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
33260                           "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
33261                           "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
33262                           "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
33263                           "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
33264                           "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
33265                           "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
33266                           "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
33267                           "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
33268                           "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
33269                           "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
33270                           "\x67\x04\x70\x86\x0a\x71\x69\x34"
33271                           "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
33272                           "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
33273                           "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
33274                           "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
33275                           "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
33276                           "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
33277                           "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
33278                           "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
33279                           "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
33280                           "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
33281                           "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
33282                           "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
33283                           "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
33284                           "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
33285                           "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
33286                           "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
33287                           "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
33288                           "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
33289                           "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
33290                           "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
33291                           "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
33292                           "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
33293                           "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
33294                           "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
33295                           "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
33296                           "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
33297                           "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
33298                           "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
33299                           "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
33300                           "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
33301                           "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
33302                           "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
33303                 .len    = 1536,
33304         }, {
33305                 .key    = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
33306                           "\x70\x47\x8c\xea\x87\x30\x1d\x58"
33307                           "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
33308                           "\x56\x95\x83\x98\x38\x80\x84\x8a",
33309                 .klen   = 32,
33310                 .iv     = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
33311                           "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
33312                           "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
33313                           "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
33314                 .ptext  = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
33315                           "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
33316                           "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
33317                           "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
33318                           "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
33319                           "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
33320                           "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
33321                           "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
33322                           "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
33323                           "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
33324                           "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
33325                           "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
33326                           "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
33327                           "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
33328                           "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
33329                           "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
33330                           "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
33331                           "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
33332                           "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
33333                           "\x35\x21\x66\x78\x3d\xb6\x65\x83"
33334                           "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
33335                           "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
33336                           "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
33337                           "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
33338                           "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
33339                           "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
33340                           "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
33341                           "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
33342                           "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
33343                           "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
33344                           "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
33345                           "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
33346                           "\x96\x87\xc9\x34\x02\x26\xde\x20"
33347                           "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
33348                           "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
33349                           "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
33350                           "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
33351                           "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
33352                           "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
33353                           "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
33354                           "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
33355                           "\x85\xfd\x22\x08\x00\xae\x72\x10"
33356                           "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
33357                           "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
33358                           "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
33359                           "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
33360                           "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
33361                           "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
33362                           "\x93\x45\x38\x95\xb9\x69\xe9\x62"
33363                           "\x21\x73\xbd\x81\x73\xac\x15\x74"
33364                           "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
33365                           "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
33366                           "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
33367                           "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
33368                           "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
33369                           "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
33370                           "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
33371                           "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
33372                           "\x24\x43\xb3\x0e\xba\xad\x63\x63"
33373                           "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
33374                           "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
33375                           "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
33376                           "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
33377                           "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
33378                           "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
33379                           "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
33380                           "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
33381                           "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
33382                           "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
33383                           "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
33384                           "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
33385                           "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
33386                           "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
33387                           "\x9d\x46\xae\x67\x00\x3b\x40\x94"
33388                           "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
33389                           "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
33390                           "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
33391                           "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
33392                           "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
33393                           "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
33394                           "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
33395                           "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
33396                           "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
33397                           "\x76\xca\x9f\x56\xae\x04\x2e\x75"
33398                           "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
33399                           "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
33400                           "\x08\x67\x02\x01\xe3\x64\x82\xee"
33401                           "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
33402                           "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
33403                           "\x85\x48\xb6\x97\x97\x02\x43\x1f"
33404                           "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
33405                           "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
33406                           "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
33407                           "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
33408                           "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
33409                           "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
33410                           "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
33411                           "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
33412                           "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
33413                           "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
33414                           "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
33415                           "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
33416                           "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
33417                           "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
33418                           "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
33419                           "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
33420                           "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
33421                           "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
33422                           "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
33423                           "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
33424                           "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
33425                           "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
33426                           "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
33427                           "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
33428                           "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
33429                           "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
33430                           "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
33431                           "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
33432                           "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
33433                           "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
33434                           "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
33435                           "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
33436                           "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
33437                           "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
33438                           "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
33439                           "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
33440                           "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
33441                           "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
33442                           "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
33443                           "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
33444                           "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
33445                           "\x36\x12\x35\x28\x64\x12\xe7\xbb"
33446                           "\x50\xac\x45\x15\x7b\x16\x23\x5e"
33447                           "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
33448                           "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
33449                           "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
33450                           "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
33451                           "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
33452                           "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
33453                           "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
33454                           "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
33455                           "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
33456                           "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
33457                           "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
33458                           "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
33459                           "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
33460                           "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
33461                           "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
33462                           "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
33463                           "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
33464                           "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
33465                           "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
33466                           "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
33467                           "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
33468                           "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
33469                           "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
33470                           "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
33471                           "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
33472                           "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
33473                           "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
33474                           "\x7d\x65\x57\x65\x98\xff\x8b\x02"
33475                           "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
33476                           "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
33477                           "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
33478                           "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
33479                           "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
33480                           "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
33481                           "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
33482                           "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
33483                           "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
33484                           "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
33485                           "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
33486                           "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
33487                           "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
33488                           "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
33489                           "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
33490                           "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
33491                           "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
33492                           "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
33493                           "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
33494                           "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
33495                           "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
33496                           "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
33497                           "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
33498                           "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
33499                           "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
33500                           "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
33501                           "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
33502                           "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
33503                           "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
33504                           "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
33505                           "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
33506                           "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
33507                           "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
33508                           "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
33509                           "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
33510                           "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
33511                           "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
33512                           "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
33513                           "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
33514                           "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
33515                           "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
33516                           "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
33517                           "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
33518                           "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
33519                           "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
33520                           "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
33521                           "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
33522                           "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
33523                           "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
33524                           "\x53\xf1\x61\x97\x63\x52\x38\x86"
33525                           "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
33526                           "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
33527                           "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
33528                           "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
33529                           "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
33530                           "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
33531                           "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
33532                           "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
33533                           "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
33534                           "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
33535                           "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
33536                           "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
33537                           "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
33538                           "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
33539                           "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
33540                           "\x48\xb9\x27\x62\x00\x12\xc5\x03"
33541                           "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
33542                           "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
33543                           "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
33544                           "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
33545                           "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
33546                           "\x99\xd5\xff\x34\x93\x8f\x31\x45"
33547                           "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
33548                           "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
33549                           "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
33550                           "\x26\xec\x3a\x64\xc4\xab\x74\x97"
33551                           "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
33552                           "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
33553                           "\x68\x50\x22\x16\x96\x2f\xc4\x23"
33554                           "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
33555                           "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
33556                           "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
33557                           "\x20\x89\xef\x44\x22\x38\x3c\x14"
33558                           "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
33559                           "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
33560                           "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
33561                           "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
33562                           "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
33563                           "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
33564                           "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
33565                           "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
33566                           "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
33567                           "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
33568                           "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
33569                           "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
33570                           "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
33571                           "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
33572                           "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
33573                           "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
33574                           "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
33575                           "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
33576                           "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
33577                           "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
33578                           "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
33579                           "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
33580                           "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
33581                           "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
33582                           "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
33583                           "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
33584                           "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
33585                           "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
33586                           "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
33587                           "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
33588                           "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
33589                           "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
33590                           "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
33591                           "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
33592                           "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
33593                           "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
33594                           "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
33595                           "\x60\x81\x75\x29\x9e\xce\x2a\x70"
33596                           "\x28\x0c\x87\xe5\x46\x73\x76\x66"
33597                           "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
33598                           "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
33599                           "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
33600                           "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
33601                           "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
33602                           "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
33603                           "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
33604                           "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
33605                           "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
33606                           "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
33607                           "\xf1\x11\x02\x64\x09\x25\x7c\x26"
33608                           "\xee\xad\x50\x68\x31\x26\x16\x0f"
33609                           "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
33610                           "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
33611                           "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
33612                           "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
33613                           "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
33614                           "\x40\x12\x43\x31\xb8\x12\xe0\x95"
33615                           "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
33616                           "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
33617                           "\xab\x03\xda\x41\xab\xc5\x4e\x33"
33618                           "\x5a\x63\x94\x90\x22\x72\x54\x26"
33619                           "\x93\x65\x99\x45\x55\xd3\x55\x56"
33620                           "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
33621                           "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
33622                           "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
33623                           "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
33624                           "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
33625                           "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
33626                           "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
33627                           "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
33628                           "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
33629                           "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
33630                           "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
33631                           "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
33632                           "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
33633                           "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
33634                           "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
33635                           "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
33636                           "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
33637                           "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
33638                           "\xad\x6e\x83\x90\x21\x10\xb8\x07"
33639                           "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
33640                           "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
33641                           "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
33642                           "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
33643                           "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
33644                           "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
33645                           "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
33646                           "\x02\x5a\x20\x4d\x43\x08\x71\x49"
33647                           "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
33648                           "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
33649                           "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
33650                           "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
33651                           "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
33652                           "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
33653                           "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
33654                           "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
33655                           "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
33656                           "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
33657                           "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
33658                           "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
33659                           "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
33660                           "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
33661                           "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
33662                           "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
33663                           "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
33664                           "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
33665                           "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
33666                           "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
33667                           "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
33668                           "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
33669                           "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
33670                           "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
33671                           "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
33672                           "\x08\x48\xfd\x9b\x47\x41\x10\xae"
33673                           "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
33674                           "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
33675                           "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
33676                           "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
33677                           "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
33678                           "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
33679                           "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
33680                           "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
33681                           "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
33682                           "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
33683                           "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
33684                           "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
33685                           "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
33686                           "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
33687                           "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
33688                           "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
33689                           "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
33690                           "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
33691                           "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
33692                           "\x54\x14\x91\x12\x41\x41\x54\xa2"
33693                           "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
33694                           "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
33695                           "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
33696                           "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
33697                           "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
33698                           "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
33699                           "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
33700                           "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
33701                           "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
33702                           "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
33703                           "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
33704                           "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
33705                           "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
33706                           "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
33707                           "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
33708                           "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
33709                           "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
33710                           "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
33711                           "\x58\xec\x70\x4f\x40\x25\x2b\xba"
33712                           "\x96\x59\xac\x34\x45\x29\xc6\x57"
33713                           "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
33714                           "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
33715                           "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
33716                           "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
33717                           "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
33718                           "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
33719                           "\xea\xa5\x56\x02\x5b\x93\x13\x46"
33720                           "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
33721                           "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
33722                           "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
33723                           "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
33724                           "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
33725                           "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
33726                           "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
33727                           "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
33728                           "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
33729                           "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
33730                           "\xad\x57\xae\x98\x83\xd5\x92\x4e"
33731                           "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
33732                           "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
33733                           "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
33734                           "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
33735                           "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
33736                           "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
33737                           "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
33738                           "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
33739                           "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
33740                           "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
33741                           "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
33742                           "\x32\x06\x3f\x12\x23\x19\x22\x82"
33743                           "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
33744                           "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
33745                           "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
33746                           "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
33747                           "\x35\x79\x84\x78\x06\x68\x97\x30"
33748                           "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
33749                           "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
33750                           "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
33751                           "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
33752                           "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
33753                           "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
33754                           "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
33755                           "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
33756                           "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
33757                           "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
33758                           "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
33759                           "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
33760                           "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
33761                           "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
33762                           "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
33763                           "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
33764                           "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
33765                           "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
33766                           "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
33767                           "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
33768                           "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
33769                           "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
33770                           "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
33771                           "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
33772                           "\x13\xa7\x47\x89\x62\xa3\x03\x19"
33773                           "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
33774                           "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
33775                           "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
33776                           "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
33777                           "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
33778                           "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
33779                           "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
33780                           "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
33781                           "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
33782                           "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
33783                           "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
33784                           "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
33785                           "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
33786                           "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
33787                           "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
33788                           "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
33789                           "\x20\xa9\x37\x78\x32\x03\x60\xcc"
33790                           "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
33791                           "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
33792                           "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
33793                           "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
33794                           "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
33795                           "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
33796                           "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
33797                           "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
33798                           "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
33799                           "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
33800                           "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
33801                           "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
33802                           "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
33803                           "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
33804                           "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
33805                           "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
33806                           "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
33807                           "\x12\xab\x95\x66\xec\x09\x64\xea"
33808                           "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
33809                           "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
33810                           "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
33811                           "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
33812                           "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
33813                           "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
33814                           "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
33815                           "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
33816                           "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
33817                           "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
33818                           "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
33819                           "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
33820                           "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
33821                           "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
33822                           "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
33823                           "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
33824                           "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
33825                           "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
33826                 .ctext  = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
33827                           "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
33828                           "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
33829                           "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
33830                           "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
33831                           "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
33832                           "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
33833                           "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
33834                           "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
33835                           "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
33836                           "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
33837                           "\x86\xac\x06\x97\x70\x42\xec\x3a"
33838                           "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
33839                           "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
33840                           "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
33841                           "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
33842                           "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
33843                           "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
33844                           "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
33845                           "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
33846                           "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
33847                           "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
33848                           "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
33849                           "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
33850                           "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
33851                           "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
33852                           "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
33853                           "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
33854                           "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
33855                           "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
33856                           "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
33857                           "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
33858                           "\x78\x1e\x29\xef\x12\x54\x16\x28"
33859                           "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
33860                           "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
33861                           "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
33862                           "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
33863                           "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
33864                           "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
33865                           "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
33866                           "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
33867                           "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
33868                           "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
33869                           "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
33870                           "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
33871                           "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
33872                           "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
33873                           "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
33874                           "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
33875                           "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
33876                           "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
33877                           "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
33878                           "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
33879                           "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
33880                           "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
33881                           "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
33882                           "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
33883                           "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
33884                           "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
33885                           "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
33886                           "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
33887                           "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
33888                           "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
33889                           "\x38\x90\x06\x18\x84\xf2\xfa\x81"
33890                           "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
33891                           "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
33892                           "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
33893                           "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
33894                           "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
33895                           "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
33896                           "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
33897                           "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
33898                           "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
33899                           "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
33900                           "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
33901                           "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
33902                           "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
33903                           "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
33904                           "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
33905                           "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
33906                           "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
33907                           "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
33908                           "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
33909                           "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
33910                           "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
33911                           "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
33912                           "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
33913                           "\x65\x1a\x03\x48\x12\x66\x50\x3e"
33914                           "\x0e\x5d\x60\x29\x44\x69\x90\xee"
33915                           "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
33916                           "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
33917                           "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
33918                           "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
33919                           "\xb0\xab\x73\x61\x40\x39\xac\x11"
33920                           "\x55\x27\x51\x5f\x11\xef\xb1\x23"
33921                           "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
33922                           "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
33923                           "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
33924                           "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
33925                           "\x83\x40\x0c\x98\x67\xba\x7c\x93"
33926                           "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
33927                           "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
33928                           "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
33929                           "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
33930                           "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
33931                           "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
33932                           "\xdd\x37\x35\x78\x09\x28\x29\x4a"
33933                           "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
33934                           "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
33935                           "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
33936                           "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
33937                           "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
33938                           "\x64\x09\xf3\xee\x05\x42\x34\x93"
33939                           "\x38\xa8\x60\xea\x1d\x95\x90\x65"
33940                           "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
33941                           "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
33942                           "\x45\x73\xce\x54\x4e\xb1\x75\x26"
33943                           "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
33944                           "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
33945                           "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
33946                           "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
33947                           "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
33948                           "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
33949                           "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
33950                           "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
33951                           "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
33952                           "\x99\x40\x90\xd5\x7d\x73\x56\xef"
33953                           "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
33954                           "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
33955                           "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
33956                           "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
33957                           "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
33958                           "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
33959                           "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
33960                           "\x4e\x50\x97\xd4\x94\x58\x67\x57"
33961                           "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
33962                           "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
33963                           "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
33964                           "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
33965                           "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
33966                           "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
33967                           "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
33968                           "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
33969                           "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
33970                           "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
33971                           "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
33972                           "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
33973                           "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
33974                           "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
33975                           "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
33976                           "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
33977                           "\x5b\x94\x12\x33\x78\x85\x90\x84"
33978                           "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
33979                           "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
33980                           "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
33981                           "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
33982                           "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
33983                           "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
33984                           "\x55\x76\x09\xf5\x8a\x09\x91\x93"
33985                           "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
33986                           "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
33987                           "\x1e\x90\x74\x6d\x93\x52\x61\x81"
33988                           "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
33989                           "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
33990                           "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
33991                           "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
33992                           "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
33993                           "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
33994                           "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
33995                           "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
33996                           "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
33997                           "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
33998                           "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
33999                           "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
34000                           "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
34001                           "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
34002                           "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
34003                           "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
34004                           "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
34005                           "\x5f\x93\x83\x39\xda\xb4\x22\x17"
34006                           "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
34007                           "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
34008                           "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
34009                           "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
34010                           "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
34011                           "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
34012                           "\x97\x60\x54\xa3\x52\x31\x78\x57"
34013                           "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
34014                           "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
34015                           "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
34016                           "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
34017                           "\x92\x90\xde\x01\x97\x81\x46\x87"
34018                           "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
34019                           "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
34020                           "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
34021                           "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
34022                           "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
34023                           "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
34024                           "\x67\xe6\x32\xee\xad\xbf\x60\x07"
34025                           "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
34026                           "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
34027                           "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
34028                           "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
34029                           "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
34030                           "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
34031                           "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
34032                           "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
34033                           "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
34034                           "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
34035                           "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
34036                           "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
34037                           "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
34038                           "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
34039                           "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
34040                           "\xaf\x7e\x94\x57\x19\x07\x06\x74"
34041                           "\x57\x5b\x62\x61\x99\x20\xe7\x95"
34042                           "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
34043                           "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
34044                           "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
34045                           "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
34046                           "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
34047                           "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
34048                           "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
34049                           "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
34050                           "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
34051                           "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
34052                           "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
34053                           "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
34054                           "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
34055                           "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
34056                           "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
34057                           "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
34058                           "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
34059                           "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
34060                           "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
34061                           "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
34062                           "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
34063                           "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
34064                           "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
34065                           "\x49\x00\x00\x31\x0f\xa8\x24\x67"
34066                           "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
34067                           "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
34068                           "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
34069                           "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
34070                           "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
34071                           "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
34072                           "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
34073                           "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
34074                           "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
34075                           "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
34076                           "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
34077                           "\x23\x79\x99\x5f\x34\xad\x9f\x41"
34078                           "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
34079                           "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
34080                           "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
34081                           "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
34082                           "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
34083                           "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
34084                           "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
34085                           "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
34086                           "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
34087                           "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
34088                           "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
34089                           "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
34090                           "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
34091                           "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
34092                           "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
34093                           "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
34094                           "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
34095                           "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
34096                           "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
34097                           "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
34098                           "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
34099                           "\x91\x41\x48\xaa\x65\xdb\x34\x72"
34100                           "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
34101                           "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
34102                           "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
34103                           "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
34104                           "\x89\x8b\x27\x70\xae\xa1\x90\x28"
34105                           "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
34106                           "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
34107                           "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
34108                           "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
34109                           "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
34110                           "\xec\x10\x74\xc5\xb6\x53\x09\x93"
34111                           "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
34112                           "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
34113                           "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
34114                           "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
34115                           "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
34116                           "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
34117                           "\x27\x17\x78\x03\xd4\xda\xe4\x73"
34118                           "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
34119                           "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
34120                           "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
34121                           "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
34122                           "\x06\x03\xe0\x76\xff\x19\x1a\x16"
34123                           "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
34124                           "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
34125                           "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
34126                           "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
34127                           "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
34128                           "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
34129                           "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
34130                           "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
34131                           "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
34132                           "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
34133                           "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
34134                           "\x82\x10\xd6\x29\x58\x83\x50\x3c"
34135                           "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
34136                           "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
34137                           "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
34138                           "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
34139                           "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
34140                           "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
34141                           "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
34142                           "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
34143                           "\x66\x34\xb3\x9f\x52\x37\x98\x10"
34144                           "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
34145                           "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
34146                           "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
34147                           "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
34148                           "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
34149                           "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
34150                           "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
34151                           "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
34152                           "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
34153                           "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
34154                           "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
34155                           "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
34156                           "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
34157                           "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
34158                           "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
34159                           "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
34160                           "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
34161                           "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
34162                           "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
34163                           "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
34164                           "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
34165                           "\xa7\xff\x10\x19\x5e\xef\x46\x54"
34166                           "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
34167                           "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
34168                           "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
34169                           "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
34170                           "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
34171                           "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
34172                           "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
34173                           "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
34174                           "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
34175                           "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
34176                           "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
34177                           "\xb1\x03\x06\x23\x65\x37\x33\x92"
34178                           "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
34179                           "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
34180                           "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
34181                           "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
34182                           "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
34183                           "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
34184                           "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
34185                           "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
34186                           "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
34187                           "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
34188                           "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
34189                           "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
34190                           "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
34191                           "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
34192                           "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
34193                           "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
34194                           "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
34195                           "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
34196                           "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
34197                           "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
34198                           "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
34199                           "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
34200                           "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
34201                           "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
34202                           "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
34203                           "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
34204                           "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
34205                           "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
34206                           "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
34207                           "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
34208                           "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
34209                           "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
34210                           "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
34211                           "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
34212                           "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
34213                           "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
34214                           "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
34215                           "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
34216                           "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
34217                           "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
34218                           "\xa5\x45\x75\x12\x01\x40\xff\x3e"
34219                           "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
34220                           "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
34221                           "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
34222                           "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
34223                           "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
34224                           "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
34225                           "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
34226                           "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
34227                           "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
34228                           "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
34229                           "\x12\x26\x68\x12\x25\x0b\x08\x61"
34230                           "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
34231                           "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
34232                           "\x25\x06\xa2\x08\x69\x09\xd9\x09"
34233                           "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
34234                           "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
34235                           "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
34236                           "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
34237                           "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
34238                           "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
34239                           "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
34240                           "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
34241                           "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
34242                           "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
34243                           "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
34244                           "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
34245                           "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
34246                           "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
34247                           "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
34248                           "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
34249                           "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
34250                           "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
34251                           "\xc2\xde\x27\x58\x69\xf9\x07\xca"
34252                           "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
34253                           "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
34254                           "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
34255                           "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
34256                           "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
34257                           "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
34258                           "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
34259                           "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
34260                           "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
34261                           "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
34262                           "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
34263                           "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
34264                           "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
34265                           "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
34266                           "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
34267                           "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
34268                           "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
34269                           "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
34270                           "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
34271                           "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
34272                           "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
34273                           "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
34274                           "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
34275                           "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
34276                           "\xd9\x79\xde\x93\x37\x93\x92\x46"
34277                           "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
34278                           "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
34279                           "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
34280                           "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
34281                           "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
34282                           "\xc8\xae\x92\x29\xce\x71\xd0\xba"
34283                           "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
34284                           "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
34285                           "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
34286                           "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
34287                           "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
34288                           "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
34289                           "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
34290                           "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
34291                           "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
34292                           "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
34293                           "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
34294                           "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
34295                           "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
34296                           "\x93\x81\x38\x47\xc0\x83\x21\xa3"
34297                           "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
34298                           "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
34299                           "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
34300                           "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
34301                           "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
34302                           "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
34303                           "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
34304                           "\x01\xda\xfb\xc4\x85\x26\x85\x31"
34305                           "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
34306                           "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
34307                           "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
34308                           "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
34309                           "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
34310                           "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
34311                           "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
34312                           "\xd9\x27\x34\x53\x9c\x52\x00\x94"
34313                           "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
34314                           "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
34315                           "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
34316                           "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
34317                           "\x34\x97\x32\xd5\x11\x02\x06\x45"
34318                           "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
34319                           "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
34320                           "\x60\x50\x66\x79\xbb\x45\x21\xc4"
34321                           "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
34322                           "\x6b\x20\xef\xac\x16\x74\xe9\x23"
34323                           "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
34324                           "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
34325                           "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
34326                           "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
34327                           "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
34328                           "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
34329                           "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
34330                           "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
34331                           "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
34332                           "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
34333                           "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
34334                           "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
34335                           "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
34336                           "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
34337                           "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
34338                 .len    = 4096,
34339         }
34340 };
34341
34342 /*
34343  * CTS (Cipher Text Stealing) mode tests
34344  */
34345 static const struct cipher_testvec cts_mode_tv_template[] = {
34346         { /* from rfc3962 */
34347                 .klen   = 16,
34348                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34349                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34350                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34351                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34352                           "\x20",
34353                 .len    = 17,
34354                 .ctext  = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
34355                           "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
34356                           "\x97",
34357         }, {
34358                 .klen   = 16,
34359                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34360                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34361                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34362                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34363                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34364                           "\x20\x47\x61\x75\x27\x73\x20",
34365                 .len    = 31,
34366                 .ctext  = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
34367                           "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
34368                           "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34369                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
34370         }, {
34371                 .klen   = 16,
34372                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34373                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34374                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34375                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34376                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34377                           "\x20\x47\x61\x75\x27\x73\x20\x43",
34378                 .len    = 32,
34379                 .ctext  = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
34380                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
34381                           "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34382                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
34383         }, {
34384                 .klen   = 16,
34385                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34386                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34387                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34388                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34389                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34390                           "\x20\x47\x61\x75\x27\x73\x20\x43"
34391                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
34392                           "\x70\x6c\x65\x61\x73\x65\x2c",
34393                 .len    = 47,
34394                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34395                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
34396                           "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
34397                           "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
34398                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
34399                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
34400         }, {
34401                 .klen   = 16,
34402                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34403                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34404                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34405                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34406                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34407                           "\x20\x47\x61\x75\x27\x73\x20\x43"
34408                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
34409                           "\x70\x6c\x65\x61\x73\x65\x2c\x20",
34410                 .len    = 48,
34411                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34412                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
34413                           "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
34414                           "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
34415                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
34416                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
34417         }, {
34418                 .klen   = 16,
34419                 .key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
34420                           "\x74\x65\x72\x69\x79\x61\x6b\x69",
34421                 .ptext  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
34422                           "\x6c\x69\x6b\x65\x20\x74\x68\x65"
34423                           "\x20\x47\x65\x6e\x65\x72\x61\x6c"
34424                           "\x20\x47\x61\x75\x27\x73\x20\x43"
34425                           "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
34426                           "\x70\x6c\x65\x61\x73\x65\x2c\x20"
34427                           "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
34428                           "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
34429                 .len    = 64,
34430                 .ctext  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
34431                           "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
34432                           "\x39\x31\x25\x23\xa7\x86\x62\xd5"
34433                           "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
34434                           "\x48\x07\xef\xe8\x36\xee\x89\xa5"
34435                           "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
34436                           "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
34437                           "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
34438         }
34439 };
34440
34441 /*
34442  * Compression stuff.
34443  */
34444 #define COMP_BUF_SIZE           512
34445
34446 struct comp_testvec {
34447         int inlen, outlen;
34448         char input[COMP_BUF_SIZE];
34449         char output[COMP_BUF_SIZE];
34450 };
34451
34452 /*
34453  * Deflate test vectors (null-terminated strings).
34454  * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
34455  */
34456
34457 static const struct comp_testvec deflate_comp_tv_template[] = {
34458         {
34459                 .inlen  = 70,
34460                 .outlen = 38,
34461                 .input  = "Join us now and share the software "
34462                         "Join us now and share the software ",
34463                 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
34464                           "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
34465                           "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
34466                           "\x48\x55\x28\xce\x4f\x2b\x29\x07"
34467                           "\x71\xbc\x08\x2b\x01\x00",
34468         }, {
34469                 .inlen  = 191,
34470                 .outlen = 122,
34471                 .input  = "This document describes a compression method based on the DEFLATE"
34472                         "compression algorithm.  This document defines the application of "
34473                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
34474                 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
34475                           "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
34476                           "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
34477                           "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
34478                           "\x68\x12\x51\xae\x76\x67\xd6\x27"
34479                           "\x19\x88\x1a\xde\x85\xab\x21\xf2"
34480                           "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
34481                           "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
34482                           "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
34483                           "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
34484                           "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
34485                           "\x52\x37\xed\x0e\x52\x6b\x59\x02"
34486                           "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
34487                           "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
34488                           "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
34489                           "\xfa\x02",
34490         },
34491 };
34492
34493 static const struct comp_testvec deflate_decomp_tv_template[] = {
34494         {
34495                 .inlen  = 122,
34496                 .outlen = 191,
34497                 .input  = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
34498                           "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
34499                           "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
34500                           "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
34501                           "\x68\x12\x51\xae\x76\x67\xd6\x27"
34502                           "\x19\x88\x1a\xde\x85\xab\x21\xf2"
34503                           "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
34504                           "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
34505                           "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
34506                           "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
34507                           "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
34508                           "\x52\x37\xed\x0e\x52\x6b\x59\x02"
34509                           "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
34510                           "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
34511                           "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
34512                           "\xfa\x02",
34513                 .output = "This document describes a compression method based on the DEFLATE"
34514                         "compression algorithm.  This document defines the application of "
34515                         "the DEFLATE algorithm to the IP Payload Compression Protocol.",
34516         }, {
34517                 .inlen  = 38,
34518                 .outlen = 70,
34519                 .input  = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
34520                           "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
34521                           "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
34522                           "\x48\x55\x28\xce\x4f\x2b\x29\x07"
34523                           "\x71\xbc\x08\x2b\x01\x00",
34524                 .output = "Join us now and share the software "
34525                         "Join us now and share the software ",
34526         },
34527 };
34528
34529 /*
34530  * LZO test vectors (null-terminated strings).
34531  */
34532 static const struct comp_testvec lzo_comp_tv_template[] = {
34533         {
34534                 .inlen  = 70,
34535                 .outlen = 57,
34536                 .input  = "Join us now and share the software "
34537                         "Join us now and share the software ",
34538                 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
34539                           "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34540                           "\x64\x20\x73\x68\x61\x72\x65\x20"
34541                           "\x74\x68\x65\x20\x73\x6f\x66\x74"
34542                           "\x77\x70\x01\x32\x88\x00\x0c\x65"
34543                           "\x20\x74\x68\x65\x20\x73\x6f\x66"
34544                           "\x74\x77\x61\x72\x65\x20\x11\x00"
34545                           "\x00",
34546         }, {
34547                 .inlen  = 159,
34548                 .outlen = 131,
34549                 .input  = "This document describes a compression method based on the LZO "
34550                         "compression algorithm.  This document defines the application of "
34551                         "the LZO algorithm used in UBIFS.",
34552                 .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
34553                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
34554                           "\x64\x65\x73\x63\x72\x69\x62\x65"
34555                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
34556                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
34557                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
34558                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
34559                           "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
34560                           "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
34561                           "\x72\x69\x74\x68\x6d\x2e\x20\x20"
34562                           "\x2e\x54\x01\x03\x66\x69\x6e\x65"
34563                           "\x73\x20\x74\x06\x05\x61\x70\x70"
34564                           "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
34565                           "\x66\x88\x02\x60\x09\x27\xf0\x00"
34566                           "\x0c\x20\x75\x73\x65\x64\x20\x69"
34567                           "\x6e\x20\x55\x42\x49\x46\x53\x2e"
34568                           "\x11\x00\x00",
34569         },
34570 };
34571
34572 static const struct comp_testvec lzo_decomp_tv_template[] = {
34573         {
34574                 .inlen  = 133,
34575                 .outlen = 159,
34576                 .input  = "\x00\x2b\x54\x68\x69\x73\x20\x64"
34577                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
34578                           "\x64\x65\x73\x63\x72\x69\x62\x65"
34579                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
34580                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
34581                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
34582                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
34583                           "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
34584                           "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
34585                           "\x69\x74\x68\x6d\x2e\x20\x20\x54"
34586                           "\x68\x69\x73\x2a\x54\x01\x02\x66"
34587                           "\x69\x6e\x65\x73\x94\x06\x05\x61"
34588                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
34589                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
34590                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
34591                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
34592                           "\x53\x2e\x11\x00\x00",
34593                 .output = "This document describes a compression method based on the LZO "
34594                         "compression algorithm.  This document defines the application of "
34595                         "the LZO algorithm used in UBIFS.",
34596         }, {
34597                 .inlen  = 46,
34598                 .outlen = 70,
34599                 .input  = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
34600                           "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34601                           "\x64\x20\x73\x68\x61\x72\x65\x20"
34602                           "\x74\x68\x65\x20\x73\x6f\x66\x74"
34603                           "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
34604                           "\x3d\x88\x00\x11\x00\x00",
34605                 .output = "Join us now and share the software "
34606                         "Join us now and share the software ",
34607         },
34608 };
34609
34610 static const struct comp_testvec lzorle_comp_tv_template[] = {
34611         {
34612                 .inlen  = 70,
34613                 .outlen = 59,
34614                 .input  = "Join us now and share the software "
34615                         "Join us now and share the software ",
34616                 .output = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
34617                           "\x20\x75\x73\x20\x6e\x6f\x77\x20"
34618                           "\x61\x6e\x64\x20\x73\x68\x61\x72"
34619                           "\x65\x20\x74\x68\x65\x20\x73\x6f"
34620                           "\x66\x74\x77\x70\x01\x32\x88\x00"
34621                           "\x0c\x65\x20\x74\x68\x65\x20\x73"
34622                           "\x6f\x66\x74\x77\x61\x72\x65\x20"
34623                           "\x11\x00\x00",
34624         }, {
34625                 .inlen  = 159,
34626                 .outlen = 133,
34627                 .input  = "This document describes a compression method based on the LZO "
34628                         "compression algorithm.  This document defines the application of "
34629                         "the LZO algorithm used in UBIFS.",
34630                 .output = "\x11\x01\x00\x2c\x54\x68\x69\x73"
34631                           "\x20\x64\x6f\x63\x75\x6d\x65\x6e"
34632                           "\x74\x20\x64\x65\x73\x63\x72\x69"
34633                           "\x62\x65\x73\x20\x61\x20\x63\x6f"
34634                           "\x6d\x70\x72\x65\x73\x73\x69\x6f"
34635                           "\x6e\x20\x6d\x65\x74\x68\x6f\x64"
34636                           "\x20\x62\x61\x73\x65\x64\x20\x6f"
34637                           "\x6e\x20\x74\x68\x65\x20\x4c\x5a"
34638                           "\x4f\x20\x2a\x8c\x00\x09\x61\x6c"
34639                           "\x67\x6f\x72\x69\x74\x68\x6d\x2e"
34640                           "\x20\x20\x2e\x54\x01\x03\x66\x69"
34641                           "\x6e\x65\x73\x20\x74\x06\x05\x61"
34642                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
34643                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
34644                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
34645                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
34646                           "\x53\x2e\x11\x00\x00",
34647         },
34648 };
34649
34650 static const struct comp_testvec lzorle_decomp_tv_template[] = {
34651         {
34652                 .inlen  = 133,
34653                 .outlen = 159,
34654                 .input  = "\x00\x2b\x54\x68\x69\x73\x20\x64"
34655                           "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
34656                           "\x64\x65\x73\x63\x72\x69\x62\x65"
34657                           "\x73\x20\x61\x20\x63\x6f\x6d\x70"
34658                           "\x72\x65\x73\x73\x69\x6f\x6e\x20"
34659                           "\x6d\x65\x74\x68\x6f\x64\x20\x62"
34660                           "\x61\x73\x65\x64\x20\x6f\x6e\x20"
34661                           "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
34662                           "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
34663                           "\x69\x74\x68\x6d\x2e\x20\x20\x54"
34664                           "\x68\x69\x73\x2a\x54\x01\x02\x66"
34665                           "\x69\x6e\x65\x73\x94\x06\x05\x61"
34666                           "\x70\x70\x6c\x69\x63\x61\x74\x76"
34667                           "\x0a\x6f\x66\x88\x02\x60\x09\x27"
34668                           "\xf0\x00\x0c\x20\x75\x73\x65\x64"
34669                           "\x20\x69\x6e\x20\x55\x42\x49\x46"
34670                           "\x53\x2e\x11\x00\x00",
34671                 .output = "This document describes a compression method based on the LZO "
34672                         "compression algorithm.  This document defines the application of "
34673                         "the LZO algorithm used in UBIFS.",
34674         }, {
34675                 .inlen  = 59,
34676                 .outlen = 70,
34677                 .input  = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
34678                           "\x20\x75\x73\x20\x6e\x6f\x77\x20"
34679                           "\x61\x6e\x64\x20\x73\x68\x61\x72"
34680                           "\x65\x20\x74\x68\x65\x20\x73\x6f"
34681                           "\x66\x74\x77\x70\x01\x32\x88\x00"
34682                           "\x0c\x65\x20\x74\x68\x65\x20\x73"
34683                           "\x6f\x66\x74\x77\x61\x72\x65\x20"
34684                           "\x11\x00\x00",
34685                 .output = "Join us now and share the software "
34686                         "Join us now and share the software ",
34687         },
34688 };
34689
34690 /*
34691  * Michael MIC test vectors from IEEE 802.11i
34692  */
34693 #define MICHAEL_MIC_TEST_VECTORS 6
34694
34695 static const struct hash_testvec michael_mic_tv_template[] = {
34696         {
34697                 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
34698                 .ksize = 8,
34699                 .plaintext = zeroed_string,
34700                 .psize = 0,
34701                 .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
34702         },
34703         {
34704                 .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
34705                 .ksize = 8,
34706                 .plaintext = "M",
34707                 .psize = 1,
34708                 .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
34709         },
34710         {
34711                 .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
34712                 .ksize = 8,
34713                 .plaintext = "Mi",
34714                 .psize = 2,
34715                 .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
34716         },
34717         {
34718                 .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
34719                 .ksize = 8,
34720                 .plaintext = "Mic",
34721                 .psize = 3,
34722                 .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
34723         },
34724         {
34725                 .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
34726                 .ksize = 8,
34727                 .plaintext = "Mich",
34728                 .psize = 4,
34729                 .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
34730         },
34731         {
34732                 .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
34733                 .ksize = 8,
34734                 .plaintext = "Michael",
34735                 .psize = 7,
34736                 .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
34737         }
34738 };
34739
34740 /*
34741  * CRC32 test vectors
34742  */
34743 static const struct hash_testvec crc32_tv_template[] = {
34744         {
34745                 .psize = 0,
34746                 .digest = "\x00\x00\x00\x00",
34747         },
34748         {
34749                 .plaintext = "abcdefg",
34750                 .psize = 7,
34751                 .digest = "\xd8\xb5\x46\xac",
34752         },
34753         {
34754                 .key = "\x87\xa9\xcb\xed",
34755                 .ksize = 4,
34756                 .psize = 0,
34757                 .digest = "\x87\xa9\xcb\xed",
34758         },
34759         {
34760                 .key = "\xff\xff\xff\xff",
34761                 .ksize = 4,
34762                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34763                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34764                              "\x11\x12\x13\x14\x15\x16\x17\x18"
34765                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34766                              "\x21\x22\x23\x24\x25\x26\x27\x28",
34767                 .psize = 40,
34768                 .digest = "\x3a\xdf\x4b\xb0",
34769         },
34770         {
34771                 .key = "\xff\xff\xff\xff",
34772                 .ksize = 4,
34773                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34774                              "\x31\x32\x33\x34\x35\x36\x37\x38"
34775                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34776                              "\x41\x42\x43\x44\x45\x46\x47\x48"
34777                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34778                 .psize = 40,
34779                 .digest = "\xa9\x7a\x7f\x7b",
34780         },
34781         {
34782                 .key = "\xff\xff\xff\xff",
34783                 .ksize = 4,
34784                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34785                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34786                              "\x61\x62\x63\x64\x65\x66\x67\x68"
34787                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34788                              "\x71\x72\x73\x74\x75\x76\x77\x78",
34789                 .psize = 40,
34790                 .digest = "\xba\xd3\xf8\x1c",
34791         },
34792         {
34793                 .key = "\xff\xff\xff\xff",
34794                 .ksize = 4,
34795                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34796                              "\x81\x82\x83\x84\x85\x86\x87\x88"
34797                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34798                              "\x91\x92\x93\x94\x95\x96\x97\x98"
34799                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34800                 .psize = 40,
34801                 .digest = "\xa8\xa9\xc2\x02",
34802         },
34803         {
34804                 .key = "\xff\xff\xff\xff",
34805                 .ksize = 4,
34806                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34807                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34808                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34809                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34810                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34811                 .psize = 40,
34812                 .digest = "\x27\xf0\x57\xe2",
34813         },
34814         {
34815                 .key = "\xff\xff\xff\xff",
34816                 .ksize = 4,
34817                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34818                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34819                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34820                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34821                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34822                 .psize = 40,
34823                 .digest = "\x49\x78\x10\x08",
34824         },
34825         {
34826                 .key = "\x80\xea\xd3\xf1",
34827                 .ksize = 4,
34828                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34829                              "\x31\x32\x33\x34\x35\x36\x37\x38"
34830                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34831                              "\x41\x42\x43\x44\x45\x46\x47\x48"
34832                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34833                 .psize = 40,
34834                 .digest = "\x9a\xb1\xdc\xf0",
34835         },
34836         {
34837                 .key = "\xf3\x4a\x1d\x5d",
34838                 .ksize = 4,
34839                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34840                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34841                              "\x61\x62\x63\x64\x65\x66\x67\x68"
34842                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34843                              "\x71\x72\x73\x74\x75\x76\x77\x78",
34844                 .psize = 40,
34845                 .digest = "\xb4\x97\xcc\xd4",
34846         },
34847         {
34848                 .key = "\x2e\x80\x04\x59",
34849                 .ksize = 4,
34850                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34851                              "\x81\x82\x83\x84\x85\x86\x87\x88"
34852                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34853                              "\x91\x92\x93\x94\x95\x96\x97\x98"
34854                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34855                 .psize = 40,
34856                 .digest = "\x67\x9b\xfa\x79",
34857         },
34858         {
34859                 .key = "\xa6\xcc\x19\x85",
34860                 .ksize = 4,
34861                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34862                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34863                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34864                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34865                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34866                 .psize = 40,
34867                 .digest = "\x24\xb5\x16\xef",
34868         },
34869         {
34870                 .key = "\x41\xfc\xfe\x2d",
34871                 .ksize = 4,
34872                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34873                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34874                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34875                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34876                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34877                 .psize = 40,
34878                 .digest = "\x15\x94\x80\x39",
34879         },
34880         {
34881                 .key = "\xff\xff\xff\xff",
34882                 .ksize = 4,
34883                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34884                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34885                              "\x11\x12\x13\x14\x15\x16\x17\x18"
34886                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34887                              "\x21\x22\x23\x24\x25\x26\x27\x28"
34888                              "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34889                              "\x31\x32\x33\x34\x35\x36\x37\x38"
34890                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34891                              "\x41\x42\x43\x44\x45\x46\x47\x48"
34892                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34893                              "\x51\x52\x53\x54\x55\x56\x57\x58"
34894                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34895                              "\x61\x62\x63\x64\x65\x66\x67\x68"
34896                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34897                              "\x71\x72\x73\x74\x75\x76\x77\x78"
34898                              "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34899                              "\x81\x82\x83\x84\x85\x86\x87\x88"
34900                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34901                              "\x91\x92\x93\x94\x95\x96\x97\x98"
34902                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34903                              "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34904                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34905                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34906                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34907                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34908                              "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34909                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34910                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34911                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34912                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34913                 .psize = 240,
34914                 .digest = "\x6c\xc6\x56\xde",
34915         }, {
34916                 .key = "\xff\xff\xff\xff",
34917                 .ksize = 4,
34918                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
34919                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
34920                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
34921                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
34922                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
34923                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
34924                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
34925                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
34926                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
34927                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
34928                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
34929                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
34930                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
34931                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
34932                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
34933                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
34934                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
34935                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
34936                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
34937                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
34938                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
34939                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
34940                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
34941                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
34942                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
34943                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
34944                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
34945                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
34946                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
34947                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
34948                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
34949                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
34950                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
34951                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
34952                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
34953                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
34954                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
34955                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
34956                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
34957                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
34958                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
34959                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
34960                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
34961                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
34962                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
34963                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
34964                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
34965                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
34966                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
34967                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
34968                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
34969                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
34970                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
34971                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
34972                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
34973                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
34974                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
34975                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
34976                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
34977                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
34978                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
34979                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
34980                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
34981                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
34982                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
34983                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
34984                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
34985                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
34986                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
34987                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
34988                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
34989                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
34990                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
34991                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
34992                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34993                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34994                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34995                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34996                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34997                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34998                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34999                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
35000                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
35001                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
35002                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
35003                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
35004                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
35005                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
35006                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
35007                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
35008                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
35009                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
35010                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
35011                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
35012                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
35013                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
35014                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
35015                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
35016                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
35017                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
35018                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
35019                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
35020                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
35021                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
35022                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
35023                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
35024                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
35025                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
35026                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
35027                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
35028                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
35029                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
35030                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
35031                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
35032                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
35033                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
35034                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
35035                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
35036                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
35037                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
35038                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
35039                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
35040                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
35041                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
35042                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
35043                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
35044                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
35045                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
35046                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
35047                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
35048                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
35049                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
35050                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
35051                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
35052                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
35053                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
35054                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
35055                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
35056                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
35057                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
35058                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
35059                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
35060                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
35061                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
35062                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
35063                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
35064                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
35065                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
35066                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
35067                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
35068                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
35069                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
35070                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
35071                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
35072                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
35073                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
35074                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
35075                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
35076                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
35077                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
35078                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
35079                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
35080                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
35081                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
35082                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
35083                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
35084                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
35085                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
35086                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
35087                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
35088                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
35089                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
35090                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
35091                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
35092                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
35093                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
35094                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
35095                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
35096                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
35097                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
35098                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
35099                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
35100                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
35101                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
35102                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
35103                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
35104                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
35105                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
35106                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
35107                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
35108                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
35109                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
35110                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
35111                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
35112                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
35113                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
35114                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
35115                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
35116                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
35117                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
35118                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
35119                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
35120                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
35121                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
35122                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
35123                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
35124                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
35125                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
35126                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
35127                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
35128                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
35129                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
35130                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
35131                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
35132                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
35133                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
35134                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
35135                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
35136                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
35137                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
35138                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
35139                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
35140                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
35141                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
35142                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
35143                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
35144                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
35145                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
35146                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
35147                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
35148                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
35149                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
35150                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
35151                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
35152                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
35153                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
35154                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
35155                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
35156                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
35157                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
35158                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
35159                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
35160                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
35161                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
35162                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
35163                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
35164                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
35165                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
35166                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
35167                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
35168                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
35169                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
35170                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
35171                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
35172                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
35173                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
35174                 .psize = 2048,
35175                 .digest = "\xfb\x3a\x7a\xda",
35176         }
35177 };
35178
35179 /*
35180  * CRC32C test vectors
35181  */
35182 static const struct hash_testvec crc32c_tv_template[] = {
35183         {
35184                 .psize = 0,
35185                 .digest = "\x00\x00\x00\x00",
35186         },
35187         {
35188                 .plaintext = "abcdefg",
35189                 .psize = 7,
35190                 .digest = "\x41\xf4\x27\xe6",
35191         },
35192         {
35193                 .key = "\x87\xa9\xcb\xed",
35194                 .ksize = 4,
35195                 .psize = 0,
35196                 .digest = "\x78\x56\x34\x12",
35197         },
35198         {
35199                 .key = "\xff\xff\xff\xff",
35200                 .ksize = 4,
35201                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35202                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35203                              "\x11\x12\x13\x14\x15\x16\x17\x18"
35204                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35205                              "\x21\x22\x23\x24\x25\x26\x27\x28",
35206                 .psize = 40,
35207                 .digest = "\x7f\x15\x2c\x0e",
35208         },
35209         {
35210                 .key = "\xff\xff\xff\xff",
35211                 .ksize = 4,
35212                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35213                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35214                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35215                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35216                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
35217                 .psize = 40,
35218                 .digest = "\xf6\xeb\x80\xe9",
35219         },
35220         {
35221                 .key = "\xff\xff\xff\xff",
35222                 .ksize = 4,
35223                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
35224                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35225                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35226                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35227                              "\x71\x72\x73\x74\x75\x76\x77\x78",
35228                 .psize = 40,
35229                 .digest = "\xed\xbd\x74\xde",
35230         },
35231         {
35232                 .key = "\xff\xff\xff\xff",
35233                 .ksize = 4,
35234                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35235                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35236                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35237                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35238                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
35239                 .psize = 40,
35240                 .digest = "\x62\xc8\x79\xd5",
35241         },
35242         {
35243                 .key = "\xff\xff\xff\xff",
35244                 .ksize = 4,
35245                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35246                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35247                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35248                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35249                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
35250                 .psize = 40,
35251                 .digest = "\xd0\x9a\x97\xba",
35252         },
35253         {
35254                 .key = "\xff\xff\xff\xff",
35255                 .ksize = 4,
35256                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35257                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35258                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35259                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35260                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35261                 .psize = 40,
35262                 .digest = "\x13\xd9\x29\x2b",
35263         },
35264         {
35265                 .key = "\x80\xea\xd3\xf1",
35266                 .ksize = 4,
35267                 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35268                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35269                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35270                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35271                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
35272                 .psize = 40,
35273                 .digest = "\x0c\xb5\xe2\xa2",
35274         },
35275         {
35276                 .key = "\xf3\x4a\x1d\x5d",
35277                 .ksize = 4,
35278                 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
35279                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35280                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35281                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35282                              "\x71\x72\x73\x74\x75\x76\x77\x78",
35283                 .psize = 40,
35284                 .digest = "\xd1\x7f\xfb\xa6",
35285         },
35286         {
35287                 .key = "\x2e\x80\x04\x59",
35288                 .ksize = 4,
35289                 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35290                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35291                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35292                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35293                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
35294                 .psize = 40,
35295                 .digest = "\x59\x33\xe6\x7a",
35296         },
35297         {
35298                 .key = "\xa6\xcc\x19\x85",
35299                 .ksize = 4,
35300                 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35301                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35302                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35303                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35304                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
35305                 .psize = 40,
35306                 .digest = "\xbe\x03\x01\xd2",
35307         },
35308         {
35309                 .key = "\x41\xfc\xfe\x2d",
35310                 .ksize = 4,
35311                 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35312                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35313                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35314                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35315                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35316                 .psize = 40,
35317                 .digest = "\x75\xd3\xc5\x24",
35318         },
35319         {
35320                 .key = "\xff\xff\xff\xff",
35321                 .ksize = 4,
35322                 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35323                              "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35324                              "\x11\x12\x13\x14\x15\x16\x17\x18"
35325                              "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35326                              "\x21\x22\x23\x24\x25\x26\x27\x28"
35327                              "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35328                              "\x31\x32\x33\x34\x35\x36\x37\x38"
35329                              "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35330                              "\x41\x42\x43\x44\x45\x46\x47\x48"
35331                              "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
35332                              "\x51\x52\x53\x54\x55\x56\x57\x58"
35333                              "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35334                              "\x61\x62\x63\x64\x65\x66\x67\x68"
35335                              "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35336                              "\x71\x72\x73\x74\x75\x76\x77\x78"
35337                              "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35338                              "\x81\x82\x83\x84\x85\x86\x87\x88"
35339                              "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35340                              "\x91\x92\x93\x94\x95\x96\x97\x98"
35341                              "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
35342                              "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35343                              "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35344                              "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35345                              "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35346                              "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
35347                              "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35348                              "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35349                              "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35350                              "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35351                              "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35352                 .psize = 240,
35353                 .digest = "\x75\xd3\xc5\x24",
35354         }, {
35355                 .key = "\xff\xff\xff\xff",
35356                 .ksize = 4,
35357                 .plaintext =    "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
35358                                 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
35359                                 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
35360                                 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
35361                                 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
35362                                 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
35363                                 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
35364                                 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
35365                                 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
35366                                 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
35367                                 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
35368                                 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
35369                                 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
35370                                 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
35371                                 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
35372                                 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
35373                                 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
35374                                 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
35375                                 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
35376                                 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
35377                                 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
35378                                 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
35379                                 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
35380                                 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
35381                                 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
35382                                 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
35383                                 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
35384                                 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
35385                                 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
35386                                 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
35387                                 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
35388                                 "\x47\xde\x75\x0c\x80\x17\xae\x22"
35389                                 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
35390                                 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
35391                                 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
35392                                 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
35393                                 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
35394                                 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
35395                                 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
35396                                 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
35397                                 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
35398                                 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
35399                                 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
35400                                 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
35401                                 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
35402                                 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
35403                                 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
35404                                 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
35405                                 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
35406                                 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
35407                                 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
35408                                 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
35409                                 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
35410                                 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
35411                                 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
35412                                 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
35413                                 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
35414                                 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
35415                                 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
35416                                 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
35417                                 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
35418                                 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
35419                                 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
35420                                 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
35421                                 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
35422                                 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
35423                                 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
35424                                 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
35425                                 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
35426                                 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
35427                                 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
35428                                 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
35429                                 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
35430                                 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
35431                                 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
35432                                 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
35433                                 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
35434                                 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
35435                                 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
35436                                 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
35437                                 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
35438                                 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
35439                                 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
35440                                 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
35441                                 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
35442                                 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
35443                                 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
35444                                 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
35445                                 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
35446                                 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
35447                                 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
35448                                 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
35449                                 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
35450                                 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
35451                                 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
35452                                 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
35453                                 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
35454                                 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
35455                                 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
35456                                 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
35457                                 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
35458                                 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
35459                                 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
35460                                 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
35461                                 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
35462                                 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
35463                                 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
35464                                 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
35465                                 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
35466                                 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
35467                                 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
35468                                 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
35469                                 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
35470                                 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
35471                                 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
35472                                 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
35473                                 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
35474                                 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
35475                                 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
35476                                 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
35477                                 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
35478                                 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
35479                                 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
35480                                 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
35481                                 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
35482                                 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
35483                                 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
35484                                 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
35485                                 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
35486                                 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
35487                                 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
35488                                 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
35489                                 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
35490                                 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
35491                                 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
35492                                 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
35493                                 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
35494                                 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
35495                                 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
35496                                 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
35497                                 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
35498                                 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
35499                                 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
35500                                 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
35501                                 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
35502                                 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
35503                                 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
35504                                 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
35505                                 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
35506                                 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
35507                                 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
35508                                 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
35509                                 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
35510                                 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
35511                                 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
35512                                 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
35513                                 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
35514                                 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
35515                                 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
35516                                 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
35517                                 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
35518                                 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
35519                                 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
35520                                 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
35521                                 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
35522                                 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
35523                                 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
35524                                 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
35525                                 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
35526                                 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
35527                                 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
35528                                 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
35529                                 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
35530                                 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
35531                                 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
35532                                 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
35533                                 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
35534                                 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
35535                                 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
35536                                 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
35537                                 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
35538                                 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
35539                                 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
35540                                 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
35541                                 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
35542                                 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
35543                                 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
35544                                 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
35545                                 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
35546                                 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
35547                                 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
35548                                 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
35549                                 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
35550                                 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
35551                                 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
35552                                 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
35553                                 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
35554                                 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
35555                                 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
35556                                 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
35557                                 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
35558                                 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
35559                                 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
35560                                 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
35561                                 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
35562                                 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
35563                                 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
35564                                 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
35565                                 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
35566                                 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
35567                                 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
35568                                 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
35569                                 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
35570                                 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
35571                                 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
35572                                 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
35573                                 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
35574                                 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
35575                                 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
35576                                 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
35577                                 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
35578                                 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
35579                                 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
35580                                 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
35581                                 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
35582                                 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
35583                                 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
35584                                 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
35585                                 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
35586                                 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
35587                                 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
35588                                 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
35589                                 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
35590                                 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
35591                                 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
35592                                 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
35593                                 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
35594                                 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
35595                                 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
35596                                 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
35597                                 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
35598                                 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
35599                                 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
35600                                 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
35601                                 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
35602                                 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
35603                                 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
35604                                 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
35605                                 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
35606                                 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
35607                                 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
35608                                 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
35609                                 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
35610                                 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
35611                                 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
35612                                 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
35613                 .psize = 2048,
35614                 .digest = "\xec\x26\x4d\x95",
35615         }
35616 };
35617
35618 static const struct hash_testvec xxhash64_tv_template[] = {
35619         {
35620                 .psize = 0,
35621                 .digest = "\x99\xe9\xd8\x51\x37\xdb\x46\xef",
35622         },
35623         {
35624                 .plaintext = "\x40",
35625                 .psize = 1,
35626                 .digest = "\x20\x5c\x91\xaa\x88\xeb\x59\xd0",
35627         },
35628         {
35629                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
35630                              "\x88\xc7\x9a\x09\x1a\x9b",
35631                 .psize = 14,
35632                 .digest = "\xa8\xe8\x2b\xa9\x92\xa1\x37\x4a",
35633         },
35634         {
35635                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
35636                              "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
35637                              "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
35638                              "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
35639                              "\x31\x65\x05\xbb\x31\xae\x51\x11"
35640                              "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
35641                              "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
35642                              "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
35643                              "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
35644                              "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
35645                              "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
35646                              "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
35647                              "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
35648                              "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
35649                              "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
35650                              "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
35651                              "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
35652                              "\x43\x99\x4d\x81\x85\xae\x82\x00"
35653                              "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
35654                              "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
35655                              "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
35656                              "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
35657                              "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
35658                              "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
35659                              "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
35660                              "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
35661                              "\x12\x02\x0c\xdb\x94\x00\x38\x95"
35662                              "\xed\xfd\x08\xf7\xe8\x04",
35663                 .psize = 222,
35664                 .digest = "\x41\xfc\xd4\x29\xfe\xe7\x85\x17",
35665         },
35666         {
35667                 .psize = 0,
35668                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
35669                 .ksize = 8,
35670                 .digest = "\xef\x17\x9b\x92\xa2\xfd\x75\xac",
35671         },
35672
35673         {
35674                 .plaintext = "\x40",
35675                 .psize = 1,
35676                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
35677                 .ksize = 8,
35678                 .digest = "\xd1\x70\x4f\x14\x02\xc4\x9e\x71",
35679         },
35680         {
35681                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
35682                              "\x88\xc7\x9a\x09\x1a\x9b",
35683                 .psize = 14,
35684                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
35685                 .ksize = 8,
35686                 .digest = "\xa4\xcd\xfe\x8e\x37\xe2\x1c\x64"
35687         },
35688         {
35689                 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
35690                              "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
35691                              "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
35692                              "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
35693                              "\x31\x65\x05\xbb\x31\xae\x51\x11"
35694                              "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
35695                              "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
35696                              "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
35697                              "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
35698                              "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
35699                              "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
35700                              "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
35701                              "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
35702                              "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
35703                              "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
35704                              "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
35705                              "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
35706                              "\x43\x99\x4d\x81\x85\xae\x82\x00"
35707                              "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
35708                              "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
35709                              "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
35710                              "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
35711                              "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
35712                              "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
35713                              "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
35714                              "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
35715                              "\x12\x02\x0c\xdb\x94\x00\x38\x95"
35716                              "\xed\xfd\x08\xf7\xe8\x04",
35717                 .psize = 222,
35718                 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
35719                 .ksize = 8,
35720                 .digest = "\x58\xbc\x55\xf2\x42\x81\x5c\xf0"
35721         },
35722 };
35723
35724 static const struct comp_testvec lz4_comp_tv_template[] = {
35725         {
35726                 .inlen  = 255,
35727                 .outlen = 218,
35728                 .input  = "LZ4 is lossless compression algorithm, providing"
35729                          " compression speed at 400 MB/s per core, scalable "
35730                          "with multi-cores CPU. It features an extremely fast "
35731                          "decoder, with speed in multiple GB/s per core, "
35732                          "typically reaching RAM speed limits on multi-core "
35733                          "systems.",
35734                 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
35735                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
35736                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
35737                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
35738                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
35739                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
35740                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
35741                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
35742                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
35743                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
35744                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
35745                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
35746                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
35747                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
35748                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
35749                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
35750                           "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
35751
35752         },
35753 };
35754
35755 static const struct comp_testvec lz4_decomp_tv_template[] = {
35756         {
35757                 .inlen  = 218,
35758                 .outlen = 255,
35759                 .input  = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
35760                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
35761                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
35762                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
35763                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
35764                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
35765                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
35766                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
35767                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
35768                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
35769                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
35770                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
35771                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
35772                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
35773                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
35774                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
35775                           "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
35776                 .output = "LZ4 is lossless compression algorithm, providing"
35777                          " compression speed at 400 MB/s per core, scalable "
35778                          "with multi-cores CPU. It features an extremely fast "
35779                          "decoder, with speed in multiple GB/s per core, "
35780                          "typically reaching RAM speed limits on multi-core "
35781                          "systems.",
35782         },
35783 };
35784
35785 static const struct comp_testvec lz4hc_comp_tv_template[] = {
35786         {
35787                 .inlen  = 255,
35788                 .outlen = 216,
35789                 .input  = "LZ4 is lossless compression algorithm, providing"
35790                          " compression speed at 400 MB/s per core, scalable "
35791                          "with multi-cores CPU. It features an extremely fast "
35792                          "decoder, with speed in multiple GB/s per core, "
35793                          "typically reaching RAM speed limits on multi-core "
35794                          "systems.",
35795                 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
35796                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
35797                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
35798                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
35799                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
35800                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
35801                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
35802                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
35803                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
35804                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
35805                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
35806                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
35807                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
35808                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
35809                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
35810                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
35811                           "\x73\x79\x73\x74\x65\x6d\x73\x2e",
35812
35813         },
35814 };
35815
35816 static const struct comp_testvec lz4hc_decomp_tv_template[] = {
35817         {
35818                 .inlen  = 216,
35819                 .outlen = 255,
35820                 .input  = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
35821                           "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
35822                           "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
35823                           "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
35824                           "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
35825                           "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
35826                           "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
35827                           "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
35828                           "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
35829                           "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
35830                           "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
35831                           "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
35832                           "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
35833                           "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
35834                           "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
35835                           "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
35836                           "\x73\x79\x73\x74\x65\x6d\x73\x2e",
35837                 .output = "LZ4 is lossless compression algorithm, providing"
35838                          " compression speed at 400 MB/s per core, scalable "
35839                          "with multi-cores CPU. It features an extremely fast "
35840                          "decoder, with speed in multiple GB/s per core, "
35841                          "typically reaching RAM speed limits on multi-core "
35842                          "systems.",
35843         },
35844 };
35845
35846 static const struct comp_testvec zstd_comp_tv_template[] = {
35847         {
35848                 .inlen  = 68,
35849                 .outlen = 39,
35850                 .input  = "The algorithm is zstd. "
35851                           "The algorithm is zstd. "
35852                           "The algorithm is zstd.",
35853                 .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
35854                           "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
35855                           "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
35856                           ,
35857         },
35858         {
35859                 .inlen  = 244,
35860                 .outlen = 151,
35861                 .input  = "zstd, short for Zstandard, is a fast lossless "
35862                           "compression algorithm, targeting real-time "
35863                           "compression scenarios at zlib-level and better "
35864                           "compression ratios. The zstd compression library "
35865                           "provides in-memory compression and decompression "
35866                           "functions.",
35867                 .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
35868                           "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
35869                           "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
35870                           "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
35871                           "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
35872                           "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
35873                           "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
35874                           "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
35875                           "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
35876                           "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
35877                           "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
35878                           "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
35879         },
35880 };
35881
35882 static const struct comp_testvec zstd_decomp_tv_template[] = {
35883         {
35884                 .inlen  = 43,
35885                 .outlen = 68,
35886                 .input  = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
35887                           "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
35888                           "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
35889                           "\x6b\xf4\x13\x35",
35890                 .output = "The algorithm is zstd. "
35891                           "The algorithm is zstd. "
35892                           "The algorithm is zstd.",
35893         },
35894         {
35895                 .inlen  = 155,
35896                 .outlen = 244,
35897                 .input  = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
35898                           "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
35899                           "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
35900                           "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
35901                           "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
35902                           "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
35903                           "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
35904                           "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
35905                           "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
35906                           "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
35907                           "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
35908                           "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
35909                 .output = "zstd, short for Zstandard, is a fast lossless "
35910                           "compression algorithm, targeting real-time "
35911                           "compression scenarios at zlib-level and better "
35912                           "compression ratios. The zstd compression library "
35913                           "provides in-memory compression and decompression "
35914                           "functions.",
35915         },
35916 };
35917
35918 /* based on aes_cbc_tv_template */
35919 static const struct cipher_testvec essiv_aes_cbc_tv_template[] = {
35920         {
35921                 .key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
35922                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
35923                 .klen   = 16,
35924                 .iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
35925                           "\x00\x00\x00\x00\x00\x00\x00\x00",
35926                 .ptext  = "Single block msg",
35927                 .ctext  = "\xfa\x59\xe7\x5f\x41\x56\x65\xc3"
35928                           "\x36\xca\x6b\x72\x10\x9f\x8c\xd4",
35929                 .len    = 16,
35930         }, {
35931                 .key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
35932                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
35933                 .klen   = 16,
35934                 .iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
35935                           "\x00\x00\x00\x00\x00\x00\x00\x00",
35936                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
35937                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
35938                           "\x10\x11\x12\x13\x14\x15\x16\x17"
35939                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
35940                 .ctext  = "\xc8\x59\x9a\xfe\x79\xe6\x7b\x20"
35941                           "\x06\x7d\x55\x0a\x5e\xc7\xb5\xa7"
35942                           "\x0b\x9c\x80\xd2\x15\xa1\xb8\x6d"
35943                           "\xc6\xab\x7b\x65\xd9\xfd\x88\xeb",
35944                 .len    = 32,
35945         }, {
35946                 .key    = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
35947                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
35948                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
35949                 .klen   = 24,
35950                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
35951                           "\x00\x00\x00\x00\x00\x00\x00\x00",
35952                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
35953                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
35954                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
35955                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
35956                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
35957                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
35958                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
35959                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
35960                 .ctext  = "\x96\x6d\xa9\x7a\x42\xe6\x01\xc7"
35961                           "\x17\xfc\xa7\x41\xd3\x38\x0b\xe5"
35962                           "\x51\x48\xf7\x7e\x5e\x26\xa9\xfe"
35963                           "\x45\x72\x1c\xd9\xde\xab\xf3\x4d"
35964                           "\x39\x47\xc5\x4f\x97\x3a\x55\x63"
35965                           "\x80\x29\x64\x4c\x33\xe8\x21\x8a"
35966                           "\x6a\xef\x6b\x6a\x8f\x43\xc0\xcb"
35967                           "\xf0\xf3\x6e\x74\x54\x44\x92\x44",
35968                 .len    = 64,
35969         }, {
35970                 .key    = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
35971                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
35972                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
35973                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
35974                 .klen   = 32,
35975                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
35976                           "\x00\x00\x00\x00\x00\x00\x00\x00",
35977                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
35978                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
35979                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
35980                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
35981                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
35982                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
35983                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
35984                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
35985                 .ctext  = "\x24\x52\xf1\x48\x74\xd0\xa7\x93"
35986                           "\x75\x9b\x63\x46\xc0\x1c\x1e\x17"
35987                           "\x4d\xdc\x5b\x3a\x27\x93\x2a\x63"
35988                           "\xf7\xf1\xc7\xb3\x54\x56\x5b\x50"
35989                           "\xa3\x31\xa5\x8b\xd6\xfd\xb6\x3c"
35990                           "\x8b\xf6\xf2\x45\x05\x0c\xc8\xbb"
35991                           "\x32\x0b\x26\x1c\xe9\x8b\x02\xc0"
35992                           "\xb2\x6f\x37\xa7\x5b\xa8\xa9\x42",
35993                 .len    = 64,
35994         }, {
35995                 .key    = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
35996                           "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
35997                           "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
35998                           "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
35999                 .klen   = 32,
36000                 .iv     = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
36001                           "\x00\x00\x00\x00\x00\x00\x00\x00",
36002                 .ptext  = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
36003                           "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
36004                           "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
36005                           "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
36006                           "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
36007                           "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
36008                           "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
36009                           "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
36010                           "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
36011                           "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
36012                           "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
36013                           "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
36014                           "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
36015                           "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
36016                           "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
36017                           "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
36018                           "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
36019                           "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
36020                           "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
36021                           "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
36022                           "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
36023                           "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
36024                           "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
36025                           "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
36026                           "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
36027                           "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
36028                           "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
36029                           "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
36030                           "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
36031                           "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
36032                           "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
36033                           "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
36034                           "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
36035                           "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
36036                           "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
36037                           "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
36038                           "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
36039                           "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
36040                           "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
36041                           "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
36042                           "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
36043                           "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
36044                           "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
36045                           "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
36046                           "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
36047                           "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
36048                           "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
36049                           "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
36050                           "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
36051                           "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
36052                           "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
36053                           "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
36054                           "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
36055                           "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
36056                           "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
36057                           "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
36058                           "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
36059                           "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
36060                           "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
36061                           "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
36062                           "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
36063                           "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
36064                 .ctext  = "\x97\x7f\x69\x0f\x0f\x34\xa6\x33"
36065                           "\x66\x49\x7e\xd0\x4d\x1b\xc9\x64"
36066                           "\xf9\x61\x95\x98\x11\x00\x88\xf8"
36067                           "\x2e\x88\x01\x0f\x2b\xe1\xae\x3e"
36068                           "\xfe\xd6\x47\x30\x11\x68\x7d\x99"
36069                           "\xad\x69\x6a\xe8\x41\x5f\x1e\x16"
36070                           "\x00\x3a\x47\xdf\x8e\x7d\x23\x1c"
36071                           "\x19\x5b\x32\x76\x60\x03\x05\xc1"
36072                           "\xa0\xff\xcf\xcc\x74\x39\x46\x63"
36073                           "\xfe\x5f\xa6\x35\xa7\xb4\xc1\xf9"
36074                           "\x4b\x5e\x38\xcc\x8c\xc1\xa2\xcf"
36075                           "\x9a\xc3\xae\x55\x42\x46\x93\xd9"
36076                           "\xbd\x22\xd3\x8a\x19\x96\xc3\xb3"
36077                           "\x7d\x03\x18\xf9\x45\x09\x9c\xc8"
36078                           "\x90\xf3\x22\xb3\x25\x83\x9a\x75"
36079                           "\xbb\x04\x48\x97\x3a\x63\x08\x04"
36080                           "\xa0\x69\xf6\x52\xd4\x89\x93\x69"
36081                           "\xb4\x33\xa2\x16\x58\xec\x4b\x26"
36082                           "\x76\x54\x10\x0b\x6e\x53\x1e\xbc"
36083                           "\x16\x18\x42\xb1\xb1\xd3\x4b\xda"
36084                           "\x06\x9f\x8b\x77\xf7\xab\xd6\xed"
36085                           "\xa3\x1d\x90\xda\x49\x38\x20\xb8"
36086                           "\x6c\xee\xae\x3e\xae\x6c\x03\xb8"
36087                           "\x0b\xed\xc8\xaa\x0e\xc5\x1f\x90"
36088                           "\x60\xe2\xec\x1b\x76\xd0\xcf\xda"
36089                           "\x29\x1b\xb8\x5a\xbc\xf4\xba\x13"
36090                           "\x91\xa6\xcb\x83\x3f\xeb\xe9\x7b"
36091                           "\x03\xba\x40\x9e\xe6\x7a\xb2\x4a"
36092                           "\x73\x49\xfc\xed\xfb\x55\xa4\x24"
36093                           "\xc7\xa4\xd7\x4b\xf5\xf7\x16\x62"
36094                           "\x80\xd3\x19\x31\x52\x25\xa8\x69"
36095                           "\xda\x9a\x87\xf5\xf2\xee\x5d\x61"
36096                           "\xc1\x12\x72\x3e\x52\x26\x45\x3a"
36097                           "\xd8\x9d\x57\xfa\x14\xe2\x9b\x2f"
36098                           "\xd4\xaa\x5e\x31\xf4\x84\x89\xa4"
36099                           "\xe3\x0e\xb0\x58\x41\x75\x6a\xcb"
36100                           "\x30\x01\x98\x90\x15\x80\xf5\x27"
36101                           "\x92\x13\x81\xf0\x1c\x1e\xfc\xb1"
36102                           "\x33\xf7\x63\xb0\x67\xec\x2e\x5c"
36103                           "\x85\xe3\x5b\xd0\x43\x8a\xb8\x5f"
36104                           "\x44\x9f\xec\x19\xc9\x8f\xde\xdf"
36105                           "\x79\xef\xf8\xee\x14\x87\xb3\x34"
36106                           "\x76\x00\x3a\x9b\xc7\xed\xb1\x3d"
36107                           "\xef\x07\xb0\xe4\xfd\x68\x9e\xeb"
36108                           "\xc2\xb4\x1a\x85\x9a\x7d\x11\x88"
36109                           "\xf8\xab\x43\x55\x2b\x8a\x4f\x60"
36110                           "\x85\x9a\xf4\xba\xae\x48\x81\xeb"
36111                           "\x93\x07\x97\x9e\xde\x2a\xfc\x4e"
36112                           "\x31\xde\xaa\x44\xf7\x2a\xc3\xee"
36113                           "\x60\xa2\x98\x2c\x0a\x88\x50\xc5"
36114                           "\x6d\x89\xd3\xe4\xb6\xa7\xf4\xb0"
36115                           "\xcf\x0e\x89\xe3\x5e\x8f\x82\xf4"
36116                           "\x9d\xd1\xa9\x51\x50\x8a\xd2\x18"
36117                           "\x07\xb2\xaa\x3b\x7f\x58\x9b\xf4"
36118                           "\xb7\x24\x39\xd3\x66\x2f\x1e\xc0"
36119                           "\x11\xa3\x56\x56\x2a\x10\x73\xbc"
36120                           "\xe1\x23\xbf\xa9\x37\x07\x9c\xc3"
36121                           "\xb2\xc9\xa8\x1c\x5b\x5c\x58\xa4"
36122                           "\x77\x02\x26\xad\xc3\x40\x11\x53"
36123                           "\x93\x68\x72\xde\x05\x8b\x10\xbc"
36124                           "\xa6\xd4\x1b\xd9\x27\xd8\x16\x12"
36125                           "\x61\x2b\x31\x2a\x44\x87\x96\x58",
36126                 .len    = 496,
36127         },
36128 };
36129
36130 /* based on hmac_sha256_aes_cbc_tv_temp */
36131 static const struct aead_testvec essiv_hmac_sha256_aes_cbc_tv_temp[] = {
36132         {
36133 #ifdef __LITTLE_ENDIAN
36134                 .key    = "\x08\x00"            /* rta length */
36135                           "\x01\x00"            /* rta type */
36136 #else
36137                 .key    = "\x00\x08"            /* rta length */
36138                           "\x00\x01"            /* rta type */
36139 #endif
36140                           "\x00\x00\x00\x10"    /* enc key length */
36141                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36142                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36143                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36144                           "\x00\x00\x00\x00\x00\x00\x00\x00"
36145                           "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
36146                           "\x51\x2e\x03\xd5\x34\x12\x00\x06",
36147                 .klen   = 8 + 32 + 16,
36148                 .iv     = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04"
36149                           "\xbc\x1e\x7e\x35\xb0\x5d\x78\x29",
36150                 .assoc  = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
36151                           "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
36152                 .alen   = 16,
36153                 .ptext  = "Single block msg",
36154                 .plen   = 16,
36155                 .ctext  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
36156                           "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
36157                           "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
36158                           "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
36159                           "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
36160                           "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
36161                 .clen   = 16 + 32,
36162         }, {
36163 #ifdef __LITTLE_ENDIAN
36164                 .key    = "\x08\x00"            /* rta length */
36165                           "\x01\x00"            /* rta type */
36166 #else
36167                 .key    = "\x00\x08"            /* rta length */
36168                           "\x00\x01"            /* rta type */
36169 #endif
36170                           "\x00\x00\x00\x10"    /* enc key length */
36171                           "\x20\x21\x22\x23\x24\x25\x26\x27"
36172                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
36173                           "\x30\x31\x32\x33\x34\x35\x36\x37"
36174                           "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
36175                           "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
36176                           "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
36177                 .klen   = 8 + 32 + 16,
36178                 .iv     = "\x56\xe8\x14\xa5\x74\x18\x75\x13"
36179                           "\x2f\x79\xe7\xc8\x65\xe3\x48\x45",
36180                 .assoc  = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
36181                           "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
36182                 .alen   = 16,
36183                 .ptext  = "\x00\x01\x02\x03\x04\x05\x06\x07"
36184                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
36185                           "\x10\x11\x12\x13\x14\x15\x16\x17"
36186                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
36187                 .plen   = 32,
36188                 .ctext  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
36189                           "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
36190                           "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
36191                           "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
36192                           "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
36193                           "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
36194                           "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
36195                           "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
36196                 .clen   = 32 + 32,
36197         }, {
36198 #ifdef __LITTLE_ENDIAN
36199                 .key    = "\x08\x00"            /* rta length */
36200                           "\x01\x00"            /* rta type */
36201 #else
36202                 .key    = "\x00\x08"            /* rta length */
36203                           "\x00\x01"            /* rta type */
36204 #endif
36205                           "\x00\x00\x00\x10"    /* enc key length */
36206                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36207                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36208                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36209                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36210                           "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
36211                           "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
36212                 .klen   = 8 + 32 + 16,
36213                 .iv     = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9"
36214                           "\xb6\x9f\x8c\x10\xa8\x96\x15\x64",
36215                 .assoc  = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
36216                           "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
36217                 .alen   = 16,
36218                 .ptext  = "This is a 48-byte message (exactly 3 AES blocks)",
36219                 .plen   = 48,
36220                 .ctext  = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
36221                           "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
36222                           "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
36223                           "\x50\x69\x39\x27\x67\x72\xf8\xd5"
36224                           "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
36225                           "\x85\x79\x69\x5d\x83\xba\x26\x84"
36226                           "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
36227                           "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
36228                           "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
36229                           "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
36230                 .clen   = 48 + 32,
36231         }, {
36232 #ifdef __LITTLE_ENDIAN
36233                 .key    = "\x08\x00"            /* rta length */
36234                           "\x01\x00"            /* rta type */
36235 #else
36236                 .key    = "\x00\x08"            /* rta length */
36237                           "\x00\x01"            /* rta type */
36238 #endif
36239                           "\x00\x00\x00\x10"    /* enc key length */
36240                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36241                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36242                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36243                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36244                           "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
36245                           "\xbc\x46\x90\x3d\xba\x29\x03\x49",
36246                 .klen   = 8 + 32 + 16,
36247                 .iv     = "\x13\xe5\xf2\xef\x61\x97\x59\x35"
36248                           "\x9b\x36\x84\x46\x4e\x63\xd1\x41",
36249                 .assoc  = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
36250                           "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
36251                 .alen   = 16,
36252                 .ptext  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
36253                           "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
36254                           "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
36255                           "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
36256                           "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
36257                           "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
36258                           "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
36259                           "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
36260                 .plen   = 64,
36261                 .ctext  = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
36262                           "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
36263                           "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
36264                           "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
36265                           "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
36266                           "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
36267                           "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
36268                           "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
36269                           "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
36270                           "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
36271                           "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
36272                           "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
36273                 .clen   = 64 + 32,
36274         }, {
36275 #ifdef __LITTLE_ENDIAN
36276                 .key    = "\x08\x00"            /* rta length */
36277                           "\x01\x00"            /* rta type */
36278 #else
36279                 .key    = "\x00\x08"            /* rta length */
36280                           "\x00\x01"            /* rta type */
36281 #endif
36282                           "\x00\x00\x00\x10"    /* enc key length */
36283                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36284                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36285                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36286                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36287                           "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
36288                           "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
36289                 .klen   = 8 + 32 + 16,
36290                 .iv     = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23"
36291                           "\x81\x7a\x94\x29\xab\xfd\xd2\x2c",
36292                 .assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
36293                           "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
36294                           "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
36295                 .alen   = 24,
36296                 .ptext  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
36297                           "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
36298                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
36299                           "\x10\x11\x12\x13\x14\x15\x16\x17"
36300                           "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
36301                           "\x20\x21\x22\x23\x24\x25\x26\x27"
36302                           "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
36303                           "\x30\x31\x32\x33\x34\x35\x36\x37"
36304                           "\x01\x02\x03\x04\x05\x06\x07\x08"
36305                           "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
36306                 .plen   = 80,
36307                 .ctext  = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
36308                           "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
36309                           "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
36310                           "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
36311                           "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
36312                           "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
36313                           "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
36314                           "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
36315                           "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
36316                           "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
36317                           "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
36318                           "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
36319                           "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
36320                           "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
36321                 .clen   = 80 + 32,
36322        }, {
36323 #ifdef __LITTLE_ENDIAN
36324                 .key    = "\x08\x00"            /* rta length */
36325                           "\x01\x00"            /* rta type */
36326 #else
36327                 .key    = "\x00\x08"            /* rta length */
36328                           "\x00\x01"            /* rta type */
36329 #endif
36330                           "\x00\x00\x00\x18"    /* enc key length */
36331                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36332                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36333                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36334                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36335                           "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
36336                           "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
36337                           "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
36338                 .klen   = 8 + 32 + 24,
36339                 .iv     = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98"
36340                           "\x38\x2f\xa7\x3d\x4d\x80\x49\xb0",
36341                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
36342                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
36343                 .alen   = 16,
36344                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
36345                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
36346                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
36347                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
36348                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
36349                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
36350                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
36351                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
36352                 .plen   = 64,
36353                 .ctext  = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
36354                           "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
36355                           "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
36356                           "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
36357                           "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
36358                           "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
36359                           "\x08\xb0\xe2\x79\x88\x59\x88\x81"
36360                           "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
36361                           "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
36362                           "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
36363                           "\xca\x71\x85\x93\xf7\x85\x55\x8b"
36364                           "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
36365                 .clen   = 64 + 32,
36366         }, {
36367 #ifdef __LITTLE_ENDIAN
36368                 .key    = "\x08\x00"            /* rta length */
36369                           "\x01\x00"            /* rta type */
36370 #else
36371                 .key    = "\x00\x08"            /* rta length */
36372                           "\x00\x01"            /* rta type */
36373 #endif
36374                           "\x00\x00\x00\x20"    /* enc key length */
36375                           "\x11\x22\x33\x44\x55\x66\x77\x88"
36376                           "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
36377                           "\x22\x33\x44\x55\x66\x77\x88\x99"
36378                           "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
36379                           "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
36380                           "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
36381                           "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
36382                           "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
36383                 .klen   = 8 + 32 + 32,
36384                 .iv     = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c"
36385                           "\xf9\x75\xaf\xf9\x2f\x60\x3a\x9b",
36386                 .assoc  = "\x00\x01\x02\x03\x04\x05\x06\x07"
36387                           "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
36388                 .alen   = 16,
36389                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
36390                           "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
36391                           "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
36392                           "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
36393                           "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
36394                           "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
36395                           "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
36396                           "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
36397                 .plen   = 64,
36398                 .ctext  = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
36399                           "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
36400                           "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
36401                           "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
36402                           "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
36403                           "\xa5\x30\xe2\x63\x04\x23\x14\x61"
36404                           "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
36405                           "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
36406                           "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
36407                           "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
36408                           "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
36409                           "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
36410                 .clen   = 64 + 32,
36411         },
36412 };
36413
36414 static const char blake2_ordered_sequence[] =
36415         "\x00\x01\x02\x03\x04\x05\x06\x07"
36416         "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
36417         "\x10\x11\x12\x13\x14\x15\x16\x17"
36418         "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
36419         "\x20\x21\x22\x23\x24\x25\x26\x27"
36420         "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
36421         "\x30\x31\x32\x33\x34\x35\x36\x37"
36422         "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
36423         "\x40\x41\x42\x43\x44\x45\x46\x47"
36424         "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
36425         "\x50\x51\x52\x53\x54\x55\x56\x57"
36426         "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
36427         "\x60\x61\x62\x63\x64\x65\x66\x67"
36428         "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
36429         "\x70\x71\x72\x73\x74\x75\x76\x77"
36430         "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
36431         "\x80\x81\x82\x83\x84\x85\x86\x87"
36432         "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
36433         "\x90\x91\x92\x93\x94\x95\x96\x97"
36434         "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
36435         "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
36436         "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
36437         "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
36438         "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
36439         "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
36440         "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
36441         "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
36442         "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
36443         "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
36444         "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
36445         "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
36446         "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
36447
36448 static const struct hash_testvec blake2b_160_tv_template[] = {{
36449         .digest = (u8[]){ 0x33, 0x45, 0x52, 0x4a, 0xbf, 0x6b, 0xbe, 0x18,
36450                           0x09, 0x44, 0x92, 0x24, 0xb5, 0x97, 0x2c, 0x41,
36451                           0x79, 0x0b, 0x6c, 0xf2, },
36452 }, {
36453         .plaintext = blake2_ordered_sequence,
36454         .psize = 64,
36455         .digest = (u8[]){ 0x11, 0xcc, 0x66, 0x61, 0xe9, 0x22, 0xb0, 0xe4,
36456                           0x07, 0xe0, 0xa5, 0x72, 0x49, 0xc3, 0x8d, 0x4f,
36457                           0xf7, 0x6d, 0x8e, 0xc8, },
36458 }, {
36459         .ksize = 32,
36460         .key = blake2_ordered_sequence,
36461         .plaintext = blake2_ordered_sequence,
36462         .psize = 1,
36463         .digest = (u8[]){ 0x31, 0xe3, 0xd9, 0xd5, 0x4e, 0x72, 0xd8, 0x0b,
36464                           0x2b, 0x3b, 0xd7, 0x6b, 0x82, 0x7a, 0x1d, 0xfb,
36465                           0x56, 0x2f, 0x79, 0x4c, },
36466 }, {
36467         .ksize = 64,
36468         .key = blake2_ordered_sequence,
36469         .plaintext = blake2_ordered_sequence,
36470         .psize = 7,
36471         .digest = (u8[]){ 0x28, 0x20, 0xd1, 0xbe, 0x7f, 0xcc, 0xc1, 0x62,
36472                           0xd9, 0x0d, 0x9a, 0x4b, 0x47, 0xd1, 0x5e, 0x04,
36473                           0x74, 0x2a, 0x53, 0x17, },
36474 }, {
36475         .ksize = 1,
36476         .key = "B",
36477         .plaintext = blake2_ordered_sequence,
36478         .psize = 15,
36479         .digest = (u8[]){ 0x45, 0xe9, 0x95, 0xb6, 0xc4, 0xe8, 0x22, 0xea,
36480                           0xfe, 0xd2, 0x37, 0xdb, 0x46, 0xbf, 0xf1, 0x25,
36481                           0xd5, 0x03, 0x1d, 0x81, },
36482 }, {
36483         .ksize = 32,
36484         .key = blake2_ordered_sequence,
36485         .plaintext = blake2_ordered_sequence,
36486         .psize = 247,
36487         .digest = (u8[]){ 0x7e, 0xb9, 0xf2, 0x9b, 0x2f, 0xc2, 0x01, 0xd4,
36488                           0xb0, 0x4f, 0x08, 0x2b, 0x8e, 0xbd, 0x06, 0xef,
36489                           0x1c, 0xc4, 0x25, 0x95, },
36490 }, {
36491         .ksize = 64,
36492         .key = blake2_ordered_sequence,
36493         .plaintext = blake2_ordered_sequence,
36494         .psize = 256,
36495         .digest = (u8[]){ 0x6e, 0x35, 0x01, 0x70, 0xbf, 0xb6, 0xc4, 0xba,
36496                           0x33, 0x1b, 0xa6, 0xd3, 0xc2, 0x5d, 0xb4, 0x03,
36497                           0x95, 0xaf, 0x29, 0x16, },
36498 }};
36499
36500 static const struct hash_testvec blake2b_256_tv_template[] = {{
36501         .plaintext = blake2_ordered_sequence,
36502         .psize = 7,
36503         .digest = (u8[]){ 0x9d, 0xf1, 0x4b, 0x72, 0x48, 0x76, 0x4a, 0x86,
36504                           0x91, 0x97, 0xc3, 0x5e, 0x39, 0x2d, 0x2a, 0x6d,
36505                           0x6f, 0xdc, 0x5b, 0x79, 0xd5, 0x97, 0x29, 0x79,
36506                           0x20, 0xfd, 0x3f, 0x14, 0x91, 0xb4, 0x42, 0xd2, },
36507 }, {
36508         .plaintext = blake2_ordered_sequence,
36509         .psize = 256,
36510         .digest = (u8[]){ 0x39, 0xa7, 0xeb, 0x9f, 0xed, 0xc1, 0x9a, 0xab,
36511                           0xc8, 0x34, 0x25, 0xc6, 0x75, 0x5d, 0xd9, 0x0e,
36512                           0x6f, 0x9d, 0x0c, 0x80, 0x49, 0x64, 0xa1, 0xf4,
36513                           0xaa, 0xee, 0xa3, 0xb9, 0xfb, 0x59, 0x98, 0x35, },
36514 }, {
36515         .ksize = 1,
36516         .key = "B",
36517         .digest = (u8[]){ 0xc3, 0x08, 0xb1, 0xbf, 0xe4, 0xf9, 0xbc, 0xb4,
36518                           0x75, 0xaf, 0x3f, 0x59, 0x6e, 0xae, 0xde, 0x6a,
36519                           0xa3, 0x8e, 0xb5, 0x94, 0xad, 0x30, 0xf0, 0x17,
36520                           0x1c, 0xfb, 0xd8, 0x3e, 0x8a, 0xbe, 0xed, 0x9c, },
36521 }, {
36522         .ksize = 64,
36523         .key = blake2_ordered_sequence,
36524         .plaintext = blake2_ordered_sequence,
36525         .psize = 1,
36526         .digest = (u8[]){ 0x34, 0x75, 0x8b, 0x64, 0x71, 0x35, 0x62, 0x82,
36527                           0x97, 0xfb, 0x09, 0xc7, 0x93, 0x0c, 0xd0, 0x4e,
36528                           0x95, 0x28, 0xe5, 0x66, 0x91, 0x12, 0xf5, 0xb1,
36529                           0x31, 0x84, 0x93, 0xe1, 0x4d, 0xe7, 0x7e, 0x55, },
36530 }, {
36531         .ksize = 32,
36532         .key = blake2_ordered_sequence,
36533         .plaintext = blake2_ordered_sequence,
36534         .psize = 15,
36535         .digest = (u8[]){ 0xce, 0x74, 0xa9, 0x2e, 0xe9, 0x40, 0x3d, 0xa2,
36536                           0x11, 0x4a, 0x99, 0x25, 0x7a, 0x34, 0x5d, 0x35,
36537                           0xdf, 0x6a, 0x48, 0x79, 0x2a, 0x93, 0x93, 0xff,
36538                           0x1f, 0x3c, 0x39, 0xd0, 0x71, 0x1f, 0x20, 0x7b, },
36539 }, {
36540         .ksize = 1,
36541         .key = "B",
36542         .plaintext = blake2_ordered_sequence,
36543         .psize = 64,
36544         .digest = (u8[]){ 0x2e, 0x84, 0xdb, 0xa2, 0x5f, 0x0e, 0xe9, 0x52,
36545                           0x79, 0x50, 0x69, 0x9f, 0xf1, 0xfd, 0xfc, 0x9d,
36546                           0x89, 0x83, 0xa9, 0xb6, 0xa4, 0xd5, 0xfa, 0xb5,
36547                           0xbe, 0x35, 0x1a, 0x17, 0x8a, 0x2c, 0x7f, 0x7d, },
36548 }, {
36549         .ksize = 64,
36550         .key = blake2_ordered_sequence,
36551         .plaintext = blake2_ordered_sequence,
36552         .psize = 247,
36553         .digest = (u8[]){ 0x2e, 0x26, 0xf0, 0x09, 0x02, 0x65, 0x90, 0x09,
36554                           0xcc, 0xf5, 0x4c, 0x44, 0x74, 0x0e, 0xa0, 0xa8,
36555                           0x25, 0x4a, 0xda, 0x61, 0x56, 0x95, 0x7d, 0x3f,
36556                           0x6d, 0xc0, 0x43, 0x17, 0x95, 0x89, 0xcd, 0x9d, },
36557 }};
36558
36559 static const struct hash_testvec blake2b_384_tv_template[] = {{
36560         .plaintext = blake2_ordered_sequence,
36561         .psize = 1,
36562         .digest = (u8[]){ 0xcc, 0x01, 0x08, 0x85, 0x36, 0xf7, 0x84, 0xf0,
36563                           0xbb, 0x76, 0x9e, 0x41, 0xc4, 0x95, 0x7b, 0x6d,
36564                           0x0c, 0xde, 0x1f, 0xcc, 0x8c, 0xf1, 0xd9, 0x1f,
36565                           0xc4, 0x77, 0xd4, 0xdd, 0x6e, 0x3f, 0xbf, 0xcd,
36566                           0x43, 0xd1, 0x69, 0x8d, 0x14, 0x6f, 0x34, 0x8b,
36567                           0x2c, 0x36, 0xa3, 0x39, 0x68, 0x2b, 0xec, 0x3f, },
36568 }, {
36569         .plaintext = blake2_ordered_sequence,
36570         .psize = 247,
36571         .digest = (u8[]){ 0xc8, 0xf8, 0xf0, 0xa2, 0x69, 0xfa, 0xcc, 0x4d,
36572                           0x32, 0x5f, 0x13, 0x88, 0xca, 0x71, 0x99, 0x8f,
36573                           0xf7, 0x30, 0x41, 0x5d, 0x6e, 0x34, 0xb7, 0x6e,
36574                           0x3e, 0xd0, 0x46, 0xb6, 0xca, 0x30, 0x66, 0xb2,
36575                           0x6f, 0x0c, 0x35, 0x54, 0x17, 0xcd, 0x26, 0x1b,
36576                           0xef, 0x48, 0x98, 0xe0, 0x56, 0x7c, 0x05, 0xd2, },
36577 }, {
36578         .ksize = 32,
36579         .key = blake2_ordered_sequence,
36580         .digest = (u8[]){ 0x15, 0x09, 0x7a, 0x90, 0x13, 0x23, 0xab, 0x0c,
36581                           0x0b, 0x43, 0x21, 0x9a, 0xb5, 0xc6, 0x0c, 0x2e,
36582                           0x7c, 0x57, 0xfc, 0xcc, 0x4b, 0x0f, 0xf0, 0x57,
36583                           0xb7, 0x9c, 0xe7, 0x0f, 0xe1, 0x57, 0xac, 0x37,
36584                           0x77, 0xd4, 0xf4, 0x2f, 0x03, 0x3b, 0x64, 0x09,
36585                           0x84, 0xa0, 0xb3, 0x24, 0xb7, 0xae, 0x47, 0x5e, },
36586 }, {
36587         .ksize = 1,
36588         .key = "B",
36589         .plaintext = blake2_ordered_sequence,
36590         .psize = 7,
36591         .digest = (u8[]){ 0x0b, 0x82, 0x88, 0xca, 0x05, 0x2f, 0x1b, 0x15,
36592                           0xdc, 0xbb, 0x22, 0x27, 0x11, 0x6b, 0xf4, 0xd1,
36593                           0xe9, 0x8f, 0x1b, 0x0b, 0x58, 0x3f, 0x5e, 0x86,
36594                           0x80, 0x82, 0x6f, 0x8e, 0x54, 0xc1, 0x9f, 0x12,
36595                           0xcf, 0xe9, 0x56, 0xc1, 0xfc, 0x1a, 0x08, 0xb9,
36596                           0x4a, 0x57, 0x0a, 0x76, 0x3c, 0x15, 0x33, 0x18, },
36597 }, {
36598         .ksize = 64,
36599         .key = blake2_ordered_sequence,
36600         .plaintext = blake2_ordered_sequence,
36601         .psize = 15,
36602         .digest = (u8[]){ 0x4a, 0x81, 0x55, 0xb9, 0x79, 0x42, 0x8c, 0xc6,
36603                           0x4f, 0xfe, 0xca, 0x82, 0x3b, 0xb2, 0xf7, 0xbc,
36604                           0x5e, 0xfc, 0xab, 0x09, 0x1c, 0xd6, 0x3b, 0xe1,
36605                           0x50, 0x82, 0x3b, 0xde, 0xc7, 0x06, 0xee, 0x3b,
36606                           0x29, 0xce, 0xe5, 0x68, 0xe0, 0xff, 0xfa, 0xe1,
36607                           0x7a, 0xf1, 0xc0, 0xfe, 0x57, 0xf4, 0x60, 0x49, },
36608 }, {
36609         .ksize = 32,
36610         .key = blake2_ordered_sequence,
36611         .plaintext = blake2_ordered_sequence,
36612         .psize = 64,
36613         .digest = (u8[]){ 0x34, 0xbd, 0xe1, 0x99, 0x43, 0x9f, 0x82, 0x72,
36614                           0xe7, 0xed, 0x94, 0x9e, 0xe1, 0x84, 0xee, 0x82,
36615                           0xfd, 0x26, 0x23, 0xc4, 0x17, 0x8d, 0xf5, 0x04,
36616                           0xeb, 0xb7, 0xbc, 0xb8, 0xf3, 0x68, 0xb7, 0xad,
36617                           0x94, 0x8e, 0x05, 0x3f, 0x8a, 0x5d, 0x8d, 0x81,
36618                           0x3e, 0x88, 0xa7, 0x8c, 0xa2, 0xd5, 0xdc, 0x76, },
36619 }, {
36620         .ksize = 1,
36621         .key = "B",
36622         .plaintext = blake2_ordered_sequence,
36623         .psize = 256,
36624         .digest = (u8[]){ 0x22, 0x14, 0xf4, 0xb0, 0x4c, 0xa8, 0xb5, 0x7d,
36625                           0xa7, 0x5c, 0x04, 0xeb, 0xd8, 0x8d, 0x04, 0x71,
36626                           0xc7, 0x3c, 0xc7, 0x6e, 0x8b, 0x20, 0x36, 0x40,
36627                           0x9d, 0xd0, 0x60, 0xc6, 0xe3, 0x0b, 0x6e, 0x50,
36628                           0xf5, 0xaf, 0xf5, 0xc6, 0x3b, 0xe3, 0x84, 0x6a,
36629                           0x93, 0x1b, 0x12, 0xd6, 0x18, 0x27, 0xba, 0x36, },
36630 }};
36631
36632 static const struct hash_testvec blake2b_512_tv_template[] = {{
36633         .plaintext = blake2_ordered_sequence,
36634         .psize = 15,
36635         .digest = (u8[]){ 0x44, 0x4b, 0x24, 0x0f, 0xe3, 0xed, 0x86, 0xd0,
36636                           0xe2, 0xef, 0x4c, 0xe7, 0xd8, 0x51, 0xed, 0xde,
36637                           0x22, 0x15, 0x55, 0x82, 0xaa, 0x09, 0x14, 0x79,
36638                           0x7b, 0x72, 0x6c, 0xd0, 0x58, 0xb6, 0xf4, 0x59,
36639                           0x32, 0xe0, 0xe1, 0x29, 0x51, 0x68, 0x76, 0x52,
36640                           0x7b, 0x1d, 0xd8, 0x8f, 0xc6, 0x6d, 0x71, 0x19,
36641                           0xf4, 0xab, 0x3b, 0xed, 0x93, 0xa6, 0x1a, 0x0e,
36642                           0x2d, 0x2d, 0x2a, 0xea, 0xc3, 0x36, 0xd9, 0x58, },
36643 }, {
36644         .ksize = 64,
36645         .key = blake2_ordered_sequence,
36646         .digest = (u8[]){ 0x10, 0xeb, 0xb6, 0x77, 0x00, 0xb1, 0x86, 0x8e,
36647                           0xfb, 0x44, 0x17, 0x98, 0x7a, 0xcf, 0x46, 0x90,
36648                           0xae, 0x9d, 0x97, 0x2f, 0xb7, 0xa5, 0x90, 0xc2,
36649                           0xf0, 0x28, 0x71, 0x79, 0x9a, 0xaa, 0x47, 0x86,
36650                           0xb5, 0xe9, 0x96, 0xe8, 0xf0, 0xf4, 0xeb, 0x98,
36651                           0x1f, 0xc2, 0x14, 0xb0, 0x05, 0xf4, 0x2d, 0x2f,
36652                           0xf4, 0x23, 0x34, 0x99, 0x39, 0x16, 0x53, 0xdf,
36653                           0x7a, 0xef, 0xcb, 0xc1, 0x3f, 0xc5, 0x15, 0x68, },
36654 }, {
36655         .ksize = 1,
36656         .key = "B",
36657         .plaintext = blake2_ordered_sequence,
36658         .psize = 1,
36659         .digest = (u8[]){ 0xd2, 0x11, 0x31, 0x29, 0x3f, 0xea, 0xca, 0x72,
36660                           0x21, 0xe4, 0x06, 0x65, 0x05, 0x2a, 0xd1, 0x02,
36661                           0xc0, 0x8d, 0x7b, 0xf1, 0x09, 0x3c, 0xef, 0x88,
36662                           0xe1, 0x68, 0x0c, 0xf1, 0x3b, 0xa4, 0xe3, 0x03,
36663                           0xed, 0xa0, 0xe3, 0x60, 0x58, 0xa0, 0xdb, 0x52,
36664                           0x8a, 0x66, 0x43, 0x09, 0x60, 0x1a, 0xbb, 0x67,
36665                           0xc5, 0x84, 0x31, 0x40, 0xfa, 0xde, 0xc1, 0xd0,
36666                           0xff, 0x3f, 0x4a, 0x69, 0xd9, 0x92, 0x26, 0x86, },
36667 }, {
36668         .ksize = 32,
36669         .key = blake2_ordered_sequence,
36670         .plaintext = blake2_ordered_sequence,
36671         .psize = 7,
36672         .digest = (u8[]){ 0xa3, 0x3e, 0x50, 0xbc, 0xfb, 0xd9, 0xf0, 0x82,
36673                           0xa6, 0xd1, 0xdf, 0xaf, 0x82, 0xd0, 0xcf, 0x84,
36674                           0x9a, 0x25, 0x3c, 0xae, 0x6d, 0xb5, 0xaf, 0x01,
36675                           0xd7, 0xaf, 0xed, 0x50, 0xdc, 0xe2, 0xba, 0xcc,
36676                           0x8c, 0x38, 0xf5, 0x16, 0x89, 0x38, 0x86, 0xce,
36677                           0x68, 0x10, 0x63, 0x64, 0xa5, 0x79, 0x53, 0xb5,
36678                           0x2e, 0x8e, 0xbc, 0x0a, 0xce, 0x95, 0xc0, 0x1e,
36679                           0x69, 0x59, 0x1d, 0x3b, 0xd8, 0x19, 0x90, 0xd7, },
36680 }, {
36681         .ksize = 64,
36682         .key = blake2_ordered_sequence,
36683         .plaintext = blake2_ordered_sequence,
36684         .psize = 64,
36685         .digest = (u8[]){ 0x65, 0x67, 0x6d, 0x80, 0x06, 0x17, 0x97, 0x2f,
36686                           0xbd, 0x87, 0xe4, 0xb9, 0x51, 0x4e, 0x1c, 0x67,
36687                           0x40, 0x2b, 0x7a, 0x33, 0x10, 0x96, 0xd3, 0xbf,
36688                           0xac, 0x22, 0xf1, 0xab, 0xb9, 0x53, 0x74, 0xab,
36689                           0xc9, 0x42, 0xf1, 0x6e, 0x9a, 0xb0, 0xea, 0xd3,
36690                           0x3b, 0x87, 0xc9, 0x19, 0x68, 0xa6, 0xe5, 0x09,
36691                           0xe1, 0x19, 0xff, 0x07, 0x78, 0x7b, 0x3e, 0xf4,
36692                           0x83, 0xe1, 0xdc, 0xdc, 0xcf, 0x6e, 0x30, 0x22, },
36693 }, {
36694         .ksize = 1,
36695         .key = "B",
36696         .plaintext = blake2_ordered_sequence,
36697         .psize = 247,
36698         .digest = (u8[]){ 0xc2, 0x96, 0x2c, 0x6b, 0x84, 0xff, 0xee, 0xea,
36699                           0x9b, 0xb8, 0x55, 0x2d, 0x6b, 0xa5, 0xd5, 0xe5,
36700                           0xbd, 0xb1, 0x54, 0xb6, 0x1e, 0xfb, 0x63, 0x16,
36701                           0x6e, 0x22, 0x04, 0xf0, 0x82, 0x7a, 0xc6, 0x99,
36702                           0xf7, 0x4c, 0xff, 0x93, 0x71, 0x57, 0x64, 0xd0,
36703                           0x08, 0x60, 0x39, 0x98, 0xb8, 0xd2, 0x2b, 0x4e,
36704                           0x81, 0x8d, 0xe4, 0x8f, 0xb2, 0x1e, 0x8f, 0x99,
36705                           0x98, 0xf1, 0x02, 0x9b, 0x4c, 0x7c, 0x97, 0x1a, },
36706 }, {
36707         .ksize = 32,
36708         .key = blake2_ordered_sequence,
36709         .plaintext = blake2_ordered_sequence,
36710         .psize = 256,
36711         .digest = (u8[]){ 0x0f, 0x32, 0x05, 0x09, 0xad, 0x9f, 0x25, 0xf7,
36712                           0xf2, 0x00, 0x71, 0xc9, 0x9f, 0x08, 0x58, 0xd1,
36713                           0x67, 0xc3, 0xa6, 0x2c, 0x0d, 0xe5, 0x7c, 0x15,
36714                           0x35, 0x18, 0x5a, 0x68, 0xc1, 0xca, 0x1c, 0x6e,
36715                           0x0f, 0xc4, 0xf6, 0x0c, 0x43, 0xe1, 0xb4, 0x3d,
36716                           0x28, 0xe4, 0xc7, 0xa1, 0xcf, 0x6b, 0x17, 0x4e,
36717                           0xf1, 0x5b, 0xb5, 0x53, 0xd4, 0xa7, 0xd0, 0x5b,
36718                           0xae, 0x15, 0x81, 0x15, 0xd0, 0x88, 0xa0, 0x3c, },
36719 }};
36720
36721 /*
36722  * Test vectors generated using https://github.com/google/hctr2
36723  */
36724 static const struct cipher_testvec aes_xctr_tv_template[] = {
36725         {
36726                 .key    = "\x9c\x8d\xc4\xbd\x71\x36\xdc\x82"
36727                           "\x7c\xa1\xca\xa3\x23\x5a\xdb\xa4",
36728                 .iv     = "\x8d\xe7\xa5\x6a\x95\x86\x42\xde"
36729                           "\xba\xea\x6e\x69\x03\x33\x86\x0f",
36730                 .ptext  = "\xbd",
36731                 .ctext  = "\xb9",
36732                 .klen   = 16,
36733                 .len    = 1,
36734         },
36735         {
36736                 .key    = "\xbc\x1b\x12\x0c\x3f\x18\xcc\x1f"
36737                           "\x5a\x1d\xab\x81\xa8\x68\x7c\x63",
36738                 .iv     = "\x22\xc1\xdd\x25\x0b\x18\xcb\xa5"
36739                           "\x4a\xda\x15\x07\x73\xd9\x88\x10",
36740                 .ptext  = "\x24\x6e\x64\xc6\x15\x26\x9c\xda"
36741                           "\x2a\x4b\x57\x12\xff\x7c\xd6\xb5",
36742                 .ctext  = "\xd6\x47\x8d\x58\x92\xb2\x84\xf9"
36743                           "\xb7\xee\x0d\x98\xa1\x39\x4d\x8f",
36744                 .klen   = 16,
36745                 .len    = 16,
36746         },
36747         {
36748                 .key    = "\x44\x03\xbf\x4c\x30\xf0\xa7\xd6"
36749                           "\xbd\x54\xbb\x66\x8e\xa6\x0e\x8a",
36750                 .iv     = "\xe6\xf7\x26\xdf\x8c\x3c\xaa\x88"
36751                           "\xce\xc1\xbd\x43\x3b\x09\x62\xad",
36752                 .ptext  = "\x3c\xe3\x46\xb9\x8f\x9d\x3f\x8d"
36753                           "\xef\xf2\x53\xab\x24\xe2\x29\x08"
36754                           "\xf8\x7e\x1d\xa6\x6d\x86\x7d\x60"
36755                           "\x97\x63\x93\x29\x71\x94\xb4",
36756                 .ctext  = "\xd4\xa3\xc6\xb8\xc1\x6f\x70\x1a"
36757                           "\x52\x0c\xed\x4c\xaf\x51\x56\x23"
36758                           "\x48\x45\x07\x10\x34\xc5\xba\x71"
36759                           "\xe5\xf8\x1e\xd8\xcb\xa6\xe7",
36760                 .klen   = 16,
36761                 .len    = 31,
36762         },
36763         {
36764                 .key    = "\x5b\x17\x30\x94\x19\x31\xa1\xae"
36765                           "\x24\x8e\x42\x1e\x82\xe6\xec\xb8",
36766                 .iv     = "\xd1\x2e\xb9\xb8\xf8\x49\xeb\x68"
36767                           "\x06\xeb\x65\x33\x34\xa2\xeb\xf0",
36768                 .ptext  = "\x19\x75\xec\x59\x60\x1b\x7a\x3e"
36769                           "\x62\x46\x87\xf0\xde\xab\x81\x36"
36770                           "\x63\x53\x11\xa0\x1f\xce\x25\x85"
36771                           "\x49\x6b\x28\xfa\x1c\x92\xe5\x18"
36772                           "\x38\x14\x00\x79\xf2\x9e\xeb\xfc"
36773                           "\x36\xa7\x6b\xe1\xe5\xcf\x04\x48"
36774                           "\x44\x6d\xbd\x64\xb3\xcb\x78\x05"
36775                           "\x8d\x7f\x9a\xaf\x3c\xcf\x6c\x45"
36776                           "\x6c\x7c\x46\x4c\xa8\xc0\x1e\xe4"
36777                           "\x33\xa5\x7b\xbb\x26\xd9\xc0\x32"
36778                           "\x9d\x8a\xb3\xf3\x3d\x52\xe6\x48"
36779                           "\x4c\x9b\x4c\x6e\xa4\xa3\xad\x66"
36780                           "\x56\x48\xd5\x98\x3a\x93\xc4\x85"
36781                           "\xe9\x89\xca\xa6\xc1\xc8\xe7\xf8"
36782                           "\xc3\xe9\xef\xbe\x77\xe6\xd1\x3a"
36783                           "\xa6\x99\xc8\x2d\xdf\x40\x0f\x44",
36784                 .ctext  = "\xc6\x1a\x01\x1a\x00\xba\x04\xff"
36785                           "\x10\xd1\x7e\x5d\xad\x91\xde\x8c"
36786                           "\x08\x55\x95\xae\xd7\x22\x77\x40"
36787                           "\xf0\x33\x1b\x51\xef\xfe\x3d\x67"
36788                           "\xdf\xc4\x9f\x39\x47\x67\x93\xab"
36789                           "\xaa\x37\x55\xfe\x41\xe0\xba\xcd"
36790                           "\x25\x02\x7c\x61\x51\xa1\xcc\x72"
36791                           "\x7a\x20\x26\xb9\x06\x68\xbd\x19"
36792                           "\xc5\x2e\x1b\x75\x4a\x40\xb2\xd2"
36793                           "\xc4\xee\xd8\x5b\xa4\x55\x7d\x25"
36794                           "\xfc\x01\x4d\x6f\x0a\xfd\x37\x5d"
36795                           "\x3e\x67\xc0\x35\x72\x53\x7b\xe2"
36796                           "\xd6\x19\x5b\x92\x6c\x3a\x8c\x2a"
36797                           "\xe2\xc2\xa2\x4f\x2a\xf2\xb5\x15"
36798                           "\x65\xc5\x8d\x97\xf9\xbf\x8c\x98"
36799                           "\xe4\x50\x1a\xf2\x76\x55\x07\x49",
36800                 .klen   = 16,
36801                 .len    = 128,
36802         },
36803         {
36804                 .key    = "\x17\xa6\x01\x3d\x5d\xd6\xef\x2d"
36805                           "\x69\x8f\x4c\x54\x5b\xae\x43\xf0",
36806                 .iv     = "\xa9\x1b\x47\x60\x26\x82\xf7\x1c"
36807                           "\x80\xf8\x88\xdd\xfb\x44\xd9\xda",
36808                 .ptext  = "\xf7\x67\xcd\xa6\x04\x65\x53\x99"
36809                           "\x90\x5c\xa2\x56\x74\xd7\x9d\xf2"
36810                           "\x0b\x03\x7f\x4e\xa7\x84\x72\x2b"
36811                           "\xf0\xa5\xbf\xe6\x9a\x62\x3a\xfe"
36812                           "\x69\x5c\x93\x79\x23\x86\x64\x85"
36813                           "\xeb\x13\xb1\x5a\xd5\x48\x39\xa0"
36814                           "\x70\xfb\x06\x9a\xd7\x12\x5a\xb9"
36815                           "\xbe\xed\x2c\x81\x64\xf7\xcf\x80"
36816                           "\xee\xe6\x28\x32\x2d\x37\x4c\x32"
36817                           "\xf4\x1f\x23\x21\xe9\xc8\xc9\xbf"
36818                           "\x54\xbc\xcf\xb4\xc2\x65\x39\xdf"
36819                           "\xa5\xfb\x14\x11\xed\x62\x38\xcf"
36820                           "\x9b\x58\x11\xdd\xe9\xbd\x37\x57"
36821                           "\x75\x4c\x9e\xd5\x67\x0a\x48\xc6"
36822                           "\x0d\x05\x4e\xb1\x06\xd7\xec\x2e"
36823                           "\x9e\x59\xde\x4f\xab\x38\xbb\xe5"
36824                           "\x87\x04\x5a\x2c\x2a\xa2\x8f\x3c"
36825                           "\xe7\xe1\x46\xa9\x49\x9f\x24\xad"
36826                           "\x2d\xb0\x55\x40\x64\xd5\xda\x7e"
36827                           "\x1e\x77\xb8\x29\x72\x73\xc3\x84"
36828                           "\xcd\xf3\x94\x90\x58\x76\xc9\x2c"
36829                           "\x2a\xad\x56\xde\x33\x18\xb6\x3b"
36830                           "\x10\xe9\xe9\x8d\xf0\xa9\x7f\x05"
36831                           "\xf7\xb5\x8c\x13\x7e\x11\x3d\x1e"
36832                           "\x02\xbb\x5b\xea\x69\xff\x85\xcf"
36833                           "\x6a\x18\x97\x45\xe3\x96\xba\x4d"
36834                           "\x2d\x7a\x70\x78\x15\x2c\xe9\xdc"
36835                           "\x4e\x09\x92\x57\x04\xd8\x0b\xa6"
36836                           "\x20\x71\x76\x47\x76\x96\x89\xa0"
36837                           "\xd9\x29\xa2\x5a\x06\xdb\x56\x39"
36838                           "\x60\x33\x59\x04\x95\x89\xf6\x18"
36839                           "\x1d\x70\x75\x85\x3a\xb7\x6e",
36840                 .ctext  = "\xe1\xe7\x3f\xd3\x6a\xb9\x2f\x64"
36841                           "\x37\xc5\xa4\xe9\xca\x0a\xa1\xd6"
36842                           "\xea\x7d\x39\xe5\xe6\xcc\x80\x54"
36843                           "\x74\x31\x2a\x04\x33\x79\x8c\x8e"
36844                           "\x4d\x47\x84\x28\x27\x9b\x3c\x58"
36845                           "\x54\x58\x20\x4f\x70\x01\x52\x5b"
36846                           "\xac\x95\x61\x49\x5f\xef\xba\xce"
36847                           "\xd7\x74\x56\xe7\xbb\xe0\x3c\xd0"
36848                           "\x7f\xa9\x23\x57\x33\x2a\xf6\xcb"
36849                           "\xbe\x42\x14\x95\xa8\xf9\x7a\x7e"
36850                           "\x12\x53\x3a\xe2\x13\xfe\x2d\x89"
36851                           "\xeb\xac\xd7\xa8\xa5\xf8\x27\xf3"
36852                           "\x74\x9a\x65\x63\xd1\x98\x3a\x7e"
36853                           "\x27\x7b\xc0\x20\x00\x4d\xf4\xe5"
36854                           "\x7b\x69\xa6\xa8\x06\x50\x85\xb6"
36855                           "\x7f\xac\x7f\xda\x1f\xf5\x37\x56"
36856                           "\x9b\x2f\xd3\x86\x6b\x70\xbd\x0e"
36857                           "\x55\x9a\x9d\x4b\x08\xb5\x5b\x7b"
36858                           "\xd4\x7c\xb4\x71\x49\x92\x4a\x1e"
36859                           "\xed\x6d\x11\x09\x47\x72\x32\x6a"
36860                           "\x97\x53\x36\xaf\xf3\x06\x06\x2c"
36861                           "\x69\xf1\x59\x00\x36\x95\x28\x2a"
36862                           "\xb6\xcd\x10\x21\x84\x73\x5c\x96"
36863                           "\x86\x14\x2c\x3d\x02\xdb\x53\x9a"
36864                           "\x61\xde\xea\x99\x84\x7a\x27\xf6"
36865                           "\xf7\xc8\x49\x73\x4b\xb8\xeb\xd3"
36866                           "\x41\x33\xdd\x09\x68\xe2\x64\xb8"
36867                           "\x5f\x75\x74\x97\x91\x54\xda\xc2"
36868                           "\x73\x2c\x1e\x5a\x84\x48\x01\x1a"
36869                           "\x0d\x8b\x0a\xdf\x07\x2e\xee\x77"
36870                           "\x1d\x17\x41\x7a\xc9\x33\x63\xfa"
36871                           "\x9f\xc3\x74\x57\x5f\x03\x4c",
36872                 .klen   = 16,
36873                 .len    = 255,
36874         },
36875         {
36876                 .key    = "\xe5\xf1\x48\x2e\x88\xdb\xc7\x28"
36877                           "\xa2\x55\x5d\x2f\x90\x02\xdc\xd3"
36878                           "\xf5\xd3\x9e\x87\xd5\x58\x30\x4a",
36879                 .iv     = "\xa6\x40\x39\xf9\x63\x6c\x2d\xd4"
36880                           "\x1b\x71\x05\xa4\x88\x86\x11\xd3",
36881                 .ptext  = "\xb6\x06\xae\x15\x11\x96\xc1\x44"
36882                           "\x44\xc2\x98\xf9\xa8\x0a\x0b",
36883                 .ctext  = "\x27\x3b\x68\x40\xa9\x5e\x74\x6b"
36884                           "\x74\x67\x18\xf9\x37\xed\xed",
36885                 .klen   = 24,
36886                 .len    = 15,
36887         },
36888         {
36889                 .key    = "\xc8\xa0\x27\x67\x04\x3f\xed\xa5"
36890                           "\xb4\x0c\x51\x91\x2d\x27\x77\x33"
36891                           "\xa5\xfc\x2a\x9f\x78\xd8\x1c\x68",
36892                 .iv     = "\x83\x99\x1a\xe2\x84\xca\xa9\x16"
36893                           "\x8d\xc4\x2d\x1b\x67\xc8\x86\x21",
36894                 .ptext  = "\xd6\x22\x85\xb8\x5d\x7e\x26\x2e"
36895                           "\xbe\x04\x9d\x0c\x03\x91\x45\x4a"
36896                           "\x36",
36897                 .ctext  = "\x0f\x44\xa9\x62\x72\xec\x12\x26"
36898                           "\x3a\xc6\x83\x26\x62\x5e\xb7\x13"
36899                           "\x05",
36900                 .klen   = 24,
36901                 .len    = 17,
36902         },
36903         {
36904                 .key    = "\xc5\x87\x18\x09\x0a\x4e\x66\x3e"
36905                           "\x50\x90\x19\x93\xc0\x33\xcf\x80"
36906                           "\x3a\x36\x6b\x6c\x43\xd7\xe4\x93",
36907                 .iv     = "\xdd\x0b\x75\x1f\xee\x2f\xb4\x52"
36908                           "\x10\x82\x1f\x79\x8a\xa4\x9b\x87",
36909                 .ptext  = "\x56\xf9\x13\xce\x9f\x30\x10\x11"
36910                           "\x1b\x59\xfd\x39\x5a\x29\xa3\x44"
36911                           "\x78\x97\x8c\xf6\x99\x6d\x26\xf1"
36912                           "\x32\x60\x6a\xeb\x04\x47\x29\x4c"
36913                           "\x7e\x14\xef\x4d\x55\x29\xfe\x36"
36914                           "\x37\xcf\x0b\x6e\xf3\xce\x15\xd2",
36915                 .ctext  = "\x8f\x98\xe1\x5a\x7f\xfe\xc7\x05"
36916                           "\x76\xb0\xd5\xde\x90\x52\x2b\xa8"
36917                           "\xf3\x6e\x3c\x77\xa5\x33\x63\xdd"
36918                           "\x6f\x62\x12\xb0\x80\x10\xc1\x28"
36919                           "\x58\xe5\xd6\x24\x44\x04\x55\xf3"
36920                           "\x6d\x94\xcb\x2c\x7e\x7a\x85\x79",
36921                 .klen   = 24,
36922                 .len    = 48,
36923         },
36924         {
36925                 .key    = "\x84\x9b\xe8\x10\x4c\xb3\xd1\x7a"
36926                           "\xb3\xab\x4e\x6f\x90\x12\x07\xf8"
36927                           "\xef\xde\x42\x09\xbf\x34\x95\xb2",
36928                 .iv     = "\x66\x62\xf9\x48\x9d\x17\xf7\xdf"
36929                           "\x06\x67\xf4\x6d\xf2\xbc\xa2\xe5",
36930                 .ptext  = "\x2f\xd6\x16\x6b\xf9\x4b\x44\x14"
36931                           "\x90\x93\xe5\xfd\x05\xaa\x00\x26"
36932                           "\xbd\xab\x11\xb8\xf0\xcb\x11\x72"
36933                           "\xdd\xc5\x15\x4f\x4e\x1b\xf8\xc9"
36934                           "\x8f\x4a\xd5\x69\xf8\x9e\xfb\x05"
36935                           "\x8a\x37\x46\xfe\xfa\x58\x9b\x0e"
36936                           "\x72\x90\x9a\x06\xa5\x42\xf4\x7c"
36937                           "\x35\xd5\x64\x70\x72\x67\xfc\x8b"
36938                           "\xab\x5a\x2f\x64\x9b\xa1\xec\xe7"
36939                           "\xe6\x92\x69\xdb\x62\xa4\xe7\x44"
36940                           "\x88\x28\xd4\x52\x64\x19\xa9\xd7"
36941                           "\x0c\x00\xe6\xe7\xc1\x28\xc1\xf5"
36942                           "\x72\xc5\xfa\x09\x22\x2e\xf4\x82"
36943                           "\xa3\xdc\xc1\x68\xf9\x29\x55\x8d"
36944                           "\x04\x67\x13\xa6\x52\x04\x3c\x0c"
36945                           "\x14\xf2\x87\x23\x61\xab\x82\xcb"
36946                           "\x49\x5b\x6b\xd4\x4f\x0d\xd4\x95"
36947                           "\x82\xcd\xe3\x69\x47\x1b\x31\x73"
36948                           "\x73\x77\xc1\x53\x7d\x43\x5e\x4a"
36949                           "\x80\x3a\xca\x9c\xc7\x04\x1a\x31"
36950                           "\x8e\xe6\x76\x7f\xe1\xb3\xd0\x57"
36951                           "\xa2\xb2\xf6\x09\x51\xc9\x6d\xbc"
36952                           "\x79\xed\x57\x50\x36\xd2\x93\xa4"
36953                           "\x40\x5d\xac\x3a\x3b\xb6\x2d\x89"
36954                           "\x78\xa2\xbd\x23\xec\x35\x06\xf0"
36955                           "\xa8\xc8\xc9\xb0\xe3\x28\x2b\xba"
36956                           "\x70\xa0\xfe\xed\x13\xc4\xd7\x90"
36957                           "\xb1\x6a\xe0\xe1\x30\x71\x15\xd0"
36958                           "\xe2\xb3\xa6\x4e\xb0\x01\xf9\xe7"
36959                           "\x59\xc6\x1e\xed\x46\x2b\xe3\xa8"
36960                           "\x22\xeb\x7f\x1c\xd9\xcd\xe0\xa6"
36961                           "\x72\x42\x2c\x06\x75\xbb\xb7\x6b"
36962                           "\xca\x49\x5e\xa1\x47\x8d\x9e\xfe"
36963                           "\x60\xcc\x34\x95\x8e\xfa\x1e\x3e"
36964                           "\x85\x4b\x03\x54\xea\x34\x1c\x41"
36965                           "\x90\x45\xa6\xbe\xcf\x58\x4f\xca"
36966                           "\x2c\x79\xc0\x3e\x8f\xd7\x3b\xd4"
36967                           "\x55\x74\xa8\xe1\x57\x09\xbf\xab"
36968                           "\x2c\xf9\xe4\xdd\x17\x99\x57\x60"
36969                           "\x4b\x88\x2a\x7f\x43\x86\xb9\x9a"
36970                           "\x60\xbf\x4c\xcf\x9b\x41\xb8\x99"
36971                           "\x69\x15\x4f\x91\x4d\xeb\xdf\x6f"
36972                           "\xcc\x4c\xf9\x6f\xf2\x33\x23\xe7"
36973                           "\x02\x44\xaa\xa2\xfa\xb1\x39\xa5"
36974                           "\xff\x88\xf5\x37\x02\x33\x24\xfc"
36975                           "\x79\x11\x4c\x94\xc2\x31\x87\x9c"
36976                           "\x53\x19\x99\x32\xe4\xde\x18\xf4"
36977                           "\x8f\xe2\xe8\xa3\xfb\x0b\xaa\x7c"
36978                           "\xdb\x83\x0f\xf6\xc0\x8a\x9b\xcd"
36979                           "\x7b\x16\x05\x5b\xe4\xb4\x34\x03"
36980                           "\xe3\x8f\xc9\x4b\x56\x84\x2a\x4c"
36981                           "\x36\x72\x3c\x84\x4f\xba\xa2\x7f"
36982                           "\xf7\x1b\xba\x4d\x8a\xb8\x5d\x51"
36983                           "\x36\xfb\xef\x23\x18\x6f\x33\x2d"
36984                           "\xbb\x06\x24\x8e\x33\x98\x6e\xcd"
36985                           "\x63\x11\x18\x6b\xcc\x1b\x66\xb9"
36986                           "\x38\x8d\x06\x8d\x98\x1a\xef\xaa"
36987                           "\x35\x4a\x90\xfa\xb1\xd3\xcc\x11"
36988                           "\x50\x4c\x54\x18\x60\x5d\xe4\x11"
36989                           "\xfc\x19\xe1\x53\x20\x5c\xe7\xef"
36990                           "\x8a\x2b\xa8\x82\x51\x5f\x5d\x43"
36991                           "\x34\xe5\xcf\x7b\x1b\x6f\x81\x19"
36992                           "\xb7\xdf\xa8\x9e\x81\x89\x5f\x33"
36993                           "\x69\xaf\xde\x89\x68\x88\xf0\x71",
36994                 .ctext  = "\xab\x15\x46\x5b\xed\x4f\xa8\xac"
36995                           "\xbf\x31\x30\x84\x55\xa4\xb8\x98"
36996                           "\x79\xba\xa0\x15\xa4\x55\x20\xec"
36997                           "\xf9\x94\x71\xe6\x6a\x6f\xee\x87"
36998                           "\x2e\x3a\xa2\x95\xae\x6e\x56\x09"
36999                           "\xe9\xc0\x0f\xe2\xc6\xb7\x30\xa9"
37000                           "\x73\x8e\x59\x7c\xfd\xe3\x71\xf7"
37001                           "\xae\x8b\x91\xab\x5e\x36\xe9\xa8"
37002                           "\xff\x17\xfa\xa2\x94\x93\x11\x42"
37003                           "\x67\x96\x99\xc5\xf0\xad\x2a\x57"
37004                           "\xf9\xa6\x70\x4a\xdf\x71\xff\xc0"
37005                           "\xe2\xaf\x9a\xae\x57\x58\x13\x3b"
37006                           "\x2d\xf1\xc7\x8f\xdb\x8a\xcc\xce"
37007                           "\x53\x1a\x69\x55\x39\xc8\xbe\xc3"
37008                           "\x2d\xb1\x03\xd9\xa3\x99\xf4\x8d"
37009                           "\xd9\x2d\x27\xae\xa5\xe7\x77\x7f"
37010                           "\xbb\x88\x84\xea\xfa\x19\x3f\x44"
37011                           "\x61\x21\x8a\x1f\xbe\xac\x60\xb4"
37012                           "\xaf\xe9\x00\xab\xef\x3c\x53\x56"
37013                           "\xcd\x4b\x53\xd8\x9b\xfe\x88\x23"
37014                           "\x5b\x85\x76\x08\xec\xd1\x6e\x4a"
37015                           "\x87\xa4\x7d\x29\x4e\x4f\x3f\xc9"
37016                           "\xa4\xab\x63\xea\xdd\xef\x9f\x79"
37017                           "\x38\x18\x7d\x90\x90\xf9\x12\x57"
37018                           "\x1d\x89\xea\xfe\xd4\x47\x45\x32"
37019                           "\x6a\xf6\xe7\xde\x22\x7e\xee\xc1"
37020                           "\xbc\x2d\xc3\xbb\xe5\xd4\x13\xac"
37021                           "\x63\xff\x5b\xb1\x05\x96\xd5\xf3"
37022                           "\x07\x9a\x62\xb6\x30\xea\x7d\x1e"
37023                           "\xee\x75\x0a\x1b\xcc\x6e\x4d\xa7"
37024                           "\xf7\x4d\x74\xd8\x60\x32\x5e\xd0"
37025                           "\x93\xd7\x19\x90\x4e\x26\xdb\xe4"
37026                           "\x5e\xd4\xa8\xb9\x76\xba\x56\x91"
37027                           "\xc4\x75\x04\x1e\xc2\x77\x24\x6f"
37028                           "\xf9\xe8\x4a\xec\x7f\x86\x95\xb3"
37029                           "\x5c\x2c\x97\xab\xf0\xf7\x74\x5b"
37030                           "\x0b\xc2\xda\x42\x40\x34\x16\xed"
37031                           "\x06\xc1\x25\x53\x17\x0d\x81\x4e"
37032                           "\xe6\xf2\x0f\x6d\x94\x3c\x90\x7a"
37033                           "\xae\x20\xe9\x3f\xf8\x18\x67\x6a"
37034                           "\x49\x1e\x41\xb6\x46\xab\xc8\xa7"
37035                           "\xcb\x19\x96\xf5\x99\xc0\x66\x3e"
37036                           "\x77\xcf\x73\x52\x83\x2a\xe2\x48"
37037                           "\x27\x6c\xeb\xe7\xe7\xc4\xd5\x6a"
37038                           "\x40\x67\xbc\xbf\x6b\x3c\xf3\xbb"
37039                           "\x51\x5e\x31\xac\x03\x81\xab\x61"
37040                           "\xfa\xa5\xa6\x7d\x8b\xc3\x8a\x75"
37041                           "\x28\x7a\x71\x9c\xac\x8f\x76\xfc"
37042                           "\xf9\x6c\x5d\x9b\xd7\xf6\x36\x2d"
37043                           "\x61\xd5\x61\xaa\xdd\x01\xfc\x57"
37044                           "\x91\x10\xcd\xcd\x6d\x27\x63\x24"
37045                           "\x67\x46\x7a\xbb\x61\x56\x39\xb1"
37046                           "\xd6\x79\xfe\x77\xca\xd6\x73\x59"
37047                           "\x6e\x58\x11\x90\x03\x26\x74\x2a"
37048                           "\xfa\x52\x12\x47\xfb\x12\xeb\x3e"
37049                           "\x88\xf0\x52\x6c\xc0\x54\x7a\x88"
37050                           "\x8c\xe5\xde\x9e\xba\xb9\xf2\xe1"
37051                           "\x97\x2e\x5c\xbd\xf4\x13\x7e\xf3"
37052                           "\xc4\xe1\x87\xa5\x35\xfa\x7c\x71"
37053                           "\x1a\xc9\xf4\xa8\x57\xe2\x5a\x6b"
37054                           "\x14\xe0\x73\xaf\x56\x6b\xa0\x00"
37055                           "\x9e\x5f\x64\xac\x00\xfb\xc4\x92"
37056                           "\xe5\xe2\x8a\xb2\x9e\x75\x49\x85"
37057                           "\x25\x66\xa5\x1a\xf9\x7d\x1d\x60",
37058                 .klen   = 24,
37059                 .len    = 512,
37060         },
37061         {
37062                 .key    = "\x05\x60\x3a\x7e\x60\x90\x46\x18"
37063                           "\x6c\x60\xba\xeb\x12\xd7\xbe\xd1"
37064                           "\xd3\xf6\x10\x46\x9d\xf1\x0c\xb4"
37065                           "\x73\xe3\x93\x27\xa8\x2c\x13\xaa",
37066                 .iv     = "\xf5\x96\xd1\xb6\xcb\x44\xd8\xd0"
37067                           "\x3e\xdb\x92\x80\x08\x94\xcd\xd3",
37068                 .ptext  = "\x78",
37069                 .ctext  = "\xc5",
37070                 .klen   = 32,
37071                 .len    = 1,
37072         },
37073         {
37074                 .key    = "\x35\xca\x38\xf3\xd9\xd6\x34\xef"
37075                           "\xcd\xee\xa3\x26\x86\xba\xfb\x45"
37076                           "\x01\xfa\x52\x67\xff\xc5\x9d\xaa"
37077                           "\x64\x9a\x05\xbb\x85\x20\xa7\xf2",
37078                 .iv     = "\xe3\xda\xf5\xff\x42\x59\x87\x86"
37079                           "\xee\x7b\xd6\xb4\x6a\x25\x44\xff",
37080                 .ptext  = "\x44\x67\x1e\x04\x53\xd2\x4b\xd9"
37081                           "\x96\x33\x07\x54\xe4\x8e\x20",
37082                 .ctext  = "\xcc\x55\x40\x79\x47\x5c\x8b\xa6"
37083                           "\xca\x7b\x9f\x50\xe3\x21\xea",
37084                 .klen   = 32,
37085                 .len    = 15,
37086         },
37087         {
37088                 .key    = "\xaf\xd9\x14\x14\xd5\xdb\xc9\xce"
37089                           "\x76\x5c\x5a\xbf\x43\x05\x29\x24"
37090                           "\xc4\x13\x68\xcc\xe8\x37\xbd\xb9"
37091                           "\x41\x20\xf5\x53\x48\xd0\xa2\xd6",
37092                 .iv     = "\xa7\xb4\x00\x08\x79\x10\xae\xf5"
37093                           "\x02\xbf\x85\xb2\x69\x4c\xc6\x04",
37094                 .ptext  = "\xac\x6a\xa8\x0c\xb0\x84\xbf\x4c"
37095                           "\xae\x94\x20\x58\x7e\x00\x93\x89",
37096                 .ctext  = "\xd5\xaa\xe2\xe9\x86\x4c\x95\x4e"
37097                           "\xde\xb6\x15\xcb\xdc\x1f\x13\x38",
37098                 .klen   = 32,
37099                 .len    = 16,
37100         },
37101         {
37102                 .key    = "\xed\xe3\x8b\xe7\x1c\x17\xbf\x4a"
37103                           "\x02\xe2\xfc\x76\xac\xf5\x3c\x00"
37104                           "\x5d\xdc\xfc\x83\xeb\x45\xb4\xcb"
37105                           "\x59\x62\x60\xec\x69\x9c\x16\x45",
37106                 .iv     = "\xe4\x0e\x2b\x90\xd2\xfa\x94\x2e"
37107                           "\x10\xe5\x64\x2b\x97\x28\x15\xc7",
37108                 .ptext  = "\xe6\x53\xff\x60\x0e\xc4\x51\xe4"
37109                           "\x93\x4d\xe5\x55\xc5\xd9\xad\x48"
37110                           "\x52",
37111                 .ctext  = "\xba\x25\x28\xf5\xcf\x31\x91\x80"
37112                           "\xda\x2b\x95\x5f\x20\xcb\xfb\x9f"
37113                           "\xc6",
37114                 .klen   = 32,
37115                 .len    = 17,
37116         },
37117         {
37118                 .key    = "\x77\x5c\xc0\x73\x9a\x64\x97\x91"
37119                           "\x2f\xee\xe0\x20\xc2\x04\x59\x2e"
37120                           "\x97\xd2\xa7\x70\xb3\xb0\x21\x6b"
37121                           "\x8f\xbf\xb8\x51\xa8\xea\x0f\x62",
37122                 .iv     = "\x31\x8e\x1f\xcd\xfd\x23\xeb\x7f"
37123                           "\x8a\x1f\x1b\x23\x53\x27\x44\xe5",
37124                 .ptext  = "\xcd\xff\x8c\x9b\x94\x5a\x51\x3f"
37125                           "\x40\x93\x56\x93\x66\x39\x63\x1f"
37126                           "\xbf\xe6\xa4\xfa\xbe\x79\x93\x03"
37127                           "\xf5\x66\x74\x16\xfc\xe4\xce",
37128                 .ctext  = "\x8b\xd3\xc3\xce\x66\xf8\x66\x4c"
37129                           "\xad\xd6\xf5\x0f\xd8\x99\x5a\x75"
37130                           "\xa1\x3c\xab\x0b\x21\x36\x57\x72"
37131                           "\x88\x29\xe9\xea\x4a\x8d\xe9",
37132                 .klen   = 32,
37133                 .len    = 31,
37134         },
37135         {
37136                 .key    = "\xa1\x2f\x4d\xde\xfe\xa1\xff\xa8"
37137                           "\x73\xdd\xe3\xe2\x95\xfc\xea\x9c"
37138                           "\xd0\x80\x42\x0c\xb8\x43\x3e\x99"
37139                           "\x39\x38\x0a\x8c\xe8\x45\x3a\x7b",
37140                 .iv     = "\x32\xc4\x6f\xb1\x14\x43\xd1\x87"
37141                           "\xe2\x6f\x5a\x58\x02\x36\x7e\x2a",
37142                 .ptext  = "\x9e\x5c\x1e\xf1\xd6\x7d\x09\x57"
37143                           "\x18\x48\x55\xda\x7d\x44\xf9\x6d"
37144                           "\xac\xcd\x59\xbb\x10\xa2\x94\x67"
37145                           "\xd1\x6f\xfe\x6b\x4a\x11\xe8\x04"
37146                           "\x09\x26\x4f\x8d\x5d\xa1\x7b\x42"
37147                           "\xf9\x4b\x66\x76\x38\x12\xfe\xfe",
37148                 .ctext  = "\x42\xbc\xa7\x64\x15\x9a\x04\x71"
37149                           "\x2c\x5f\x94\xba\x89\x3a\xad\xbc"
37150                           "\x87\xb3\xf4\x09\x4f\x57\x06\x18"
37151                           "\xdc\x84\x20\xf7\x64\x85\xca\x3b"
37152                           "\xab\xe6\x33\x56\x34\x60\x5d\x4b"
37153                           "\x2e\x16\x13\xd4\x77\xde\x2d\x2b",
37154                 .klen   = 32,
37155                 .len    = 48,
37156         },
37157         {
37158                 .key    = "\xfb\xf5\xb7\x3d\xa6\x95\x42\xbf"
37159                           "\xd2\x94\x6c\x74\x0f\xbc\x5a\x28"
37160                           "\x35\x3c\x51\x58\x84\xfb\x7d\x11"
37161                           "\x16\x1e\x00\x97\x37\x08\xb7\x16",
37162                 .iv     = "\x9b\x53\x57\x40\xe6\xd9\xa7\x27"
37163                           "\x78\xd4\x9b\xd2\x29\x1d\x24\xa9",
37164                 .ptext  = "\x8b\x02\x60\x0a\x3e\xb7\x10\x59"
37165                           "\xc3\xac\xd5\x2a\x75\x81\xf2\xdb"
37166                           "\x55\xca\x65\x86\x44\xfb\xfe\x91"
37167                           "\x26\xbb\x45\xb2\x46\x22\x3e\x08"
37168                           "\xa2\xbf\x46\xcb\x68\x7d\x45\x7b"
37169                           "\xa1\x6a\x3c\x6e\x25\xeb\xed\x31"
37170                           "\x7a\x8b\x47\xf9\xde\xec\x3d\x87"
37171                           "\x09\x20\x2e\xfa\xba\x8b\x9b\xc5"
37172                           "\x6c\x25\x9c\x9d\x2a\xe8\xab\x90"
37173                           "\x3f\x86\xee\x61\x13\x21\xd4\xde"
37174                           "\xe1\x0c\x95\xfc\x5c\x8a\x6e\x0a"
37175                           "\x73\xcf\x08\x69\x44\x4e\xde\x25"
37176                           "\xaf\xaa\x56\x04\xc4\xb3\x60\x44"
37177                           "\x3b\x8b\x3d\xee\xae\x42\x4b\xd2"
37178                           "\x9a\x6c\xa0\x8e\x52\x06\xb2\xd1"
37179                           "\x5d\x38\x30\x6d\x27\x9b\x1a\xd8",
37180                 .ctext  = "\xa3\x78\x33\x78\x95\x95\x97\x07"
37181                           "\x53\xa3\xa1\x5b\x18\x32\x27\xf7"
37182                           "\x09\x12\x53\x70\x83\xb5\x6a\x9f"
37183                           "\x26\x6d\x10\x0d\xe0\x1c\xe6\x2b"
37184                           "\x70\x00\xdc\xa1\x60\xef\x1b\xee"
37185                           "\xc5\xa5\x51\x17\xae\xcc\xf2\xed"
37186                           "\xc4\x60\x07\xdf\xd5\x7a\xe9\x90"
37187                           "\x3c\x9f\x96\x5d\x72\x65\x5d\xef"
37188                           "\xd0\x94\x32\xc4\x85\x90\x78\xa1"
37189                           "\x2e\x64\xf6\xee\x8e\x74\x3f\x20"
37190                           "\x2f\x12\x3b\x3d\xd5\x39\x8e\x5a"
37191                           "\xf9\x8f\xce\x94\x5d\x82\x18\x66"
37192                           "\x14\xaf\x4c\xfe\xe0\x91\xc3\x4a"
37193                           "\x85\xcf\xe7\xe8\xf7\xcb\xf0\x31"
37194                           "\x88\x7d\xc9\x5b\x71\x9d\x5f\xd2"
37195                           "\xfa\xed\xa6\x24\xda\xbb\xb1\x84",
37196                 .klen   = 32,
37197                 .len    = 128,
37198         },
37199         {
37200                 .key    = "\x32\x37\x2b\x8f\x7b\xb1\x23\x79"
37201                           "\x05\x52\xde\x05\xf1\x68\x3f\x6c"
37202                           "\xa4\xae\xbc\x21\xc2\xc6\xf0\xbd"
37203                           "\x0f\x20\xb7\xa4\xc5\x05\x7b\x64",
37204                 .iv     = "\xff\x26\x4e\x67\x48\xdd\xcf\xfe"
37205                           "\x42\x09\x04\x98\x5f\x1e\xfa\x80",
37206                 .ptext  = "\x99\xdc\x3b\x19\x41\xf9\xff\x6e"
37207                           "\x76\xb5\x03\xfa\x61\xed\xf8\x44"
37208                           "\x70\xb9\xf0\x83\x80\x6e\x31\x77"
37209                           "\x77\xe4\xc7\xb4\x77\x02\xab\x91"
37210                           "\x82\xc6\xf8\x7c\x46\x61\x03\x69"
37211                           "\x09\xa0\xf7\x12\xb7\x81\x6c\xa9"
37212                           "\x10\x5c\xbb\x55\xb3\x44\xed\xb5"
37213                           "\xa2\x52\x48\x71\x90\x5d\xda\x40"
37214                           "\x0b\x7f\x4a\x11\x6d\xa7\x3d\x8e"
37215                           "\x1b\xcd\x9d\x4e\x75\x8b\x7d\x87"
37216                           "\xe5\x39\x34\x32\x1e\xe6\x8d\x51"
37217                           "\xd4\x1f\xe3\x1d\x50\xa0\x22\x37"
37218                           "\x7c\xb0\xd9\xfb\xb6\xb2\x16\xf6"
37219                           "\x6d\x26\xa0\x4e\x8c\x6a\xe6\xb6"
37220                           "\xbe\x4c\x7c\xe3\x88\x10\x18\x90"
37221                           "\x11\x50\x19\x90\xe7\x19\x3f\xd0"
37222                           "\x31\x15\x0f\x06\x96\xfe\xa7\x7b"
37223                           "\xc3\x32\x88\x69\xa4\x12\xe3\x64"
37224                           "\x02\x30\x17\x74\x6c\x88\x7c\x9b"
37225                           "\xd6\x6d\x75\xdf\x11\x86\x70\x79"
37226                           "\x48\x7d\x34\x3e\x33\x58\x07\x8b"
37227                           "\xd2\x50\xac\x35\x15\x45\x05\xb4"
37228                           "\x4d\x31\x97\x19\x87\x23\x4b\x87"
37229                           "\x53\xdc\xa9\x19\x78\xf1\xbf\x35"
37230                           "\x30\x04\x14\xd4\xcf\xb2\x8c\x87"
37231                           "\x7d\xdb\x69\xc9\xcd\xfe\x40\x3e"
37232                           "\x8d\x66\x5b\x61\xe5\xf0\x2d\x87"
37233                           "\x93\x3a\x0c\x2b\x04\x98\x05\xc2"
37234                           "\x56\x4d\xc4\x6c\xcd\x7a\x98\x7e"
37235                           "\xe2\x2d\x79\x07\x91\x9f\xdf\x2f"
37236                           "\x72\xc9\x8f\xcb\x0b\x87\x1b\xb7"
37237                           "\x04\x86\xcb\x47\xfa\x5d\x03",
37238                 .ctext  = "\x0b\x00\xf7\xf2\xc8\x6a\xba\x9a"
37239                           "\x0a\x97\x18\x7a\x00\xa0\xdb\xf4"
37240                           "\x5e\x8e\x4a\xb7\xe0\x51\xf1\x75"
37241                           "\x17\x8b\xb4\xf1\x56\x11\x05\x9f"
37242                           "\x2f\x2e\xba\x67\x04\xe1\xb4\xa5"
37243                           "\xfc\x7c\x8c\xad\xc6\xb9\xd1\x64"
37244                           "\xca\xbd\x5d\xaf\xdb\x65\x48\x4f"
37245                           "\x1b\xb3\x94\x5c\x0b\xd0\xee\xcd"
37246                           "\xb5\x7f\x43\x8a\xd8\x8b\x66\xde"
37247                           "\xd2\x9c\x13\x65\xa4\x47\xa7\x03"
37248                           "\xc5\xa1\x46\x8f\x2f\x84\xbc\xef"
37249                           "\x48\x9d\x9d\xb5\xbd\x43\xff\xd2"
37250                           "\xd2\x7a\x5a\x13\xbf\xb4\xf6\x05"
37251                           "\x17\xcd\x01\x12\xf0\x35\x27\x96"
37252                           "\xf4\xc1\x65\xf7\x69\xef\x64\x1b"
37253                           "\x6e\x4a\xe8\x77\xce\x83\x01\xb7"
37254                           "\x60\xe6\x45\x2a\xcd\x41\x4a\xb5"
37255                           "\x8e\xcc\x45\x93\xf1\xd6\x64\x5f"
37256                           "\x32\x60\xe4\x29\x4a\x82\x6c\x86"
37257                           "\x16\xe4\xcc\xdb\x5f\xc8\x11\xa6"
37258                           "\xfe\x88\xd6\xc3\xe5\x5c\xbb\x67"
37259                           "\xec\xa5\x7b\xf5\xa8\x4f\x77\x25"
37260                           "\x5d\x0c\x2a\x99\xf9\xb9\xd1\xae"
37261                           "\x3c\x83\x2a\x93\x9b\x66\xec\x68"
37262                           "\x2c\x93\x02\x8a\x8a\x1e\x2f\x50"
37263                           "\x09\x37\x19\x5c\x2a\x3a\xc2\xcb"
37264                           "\xcb\x89\x82\x81\xb7\xbb\xef\x73"
37265                           "\x8b\xc9\xae\x42\x96\xef\x70\xc0"
37266                           "\x89\xc7\x3e\x6a\x26\xc3\xe4\x39"
37267                           "\x53\xa9\xcf\x63\x7d\x05\xf3\xff"
37268                           "\x52\x04\xf6\x7f\x23\x96\xe9\xf7"
37269                           "\xff\xd6\x50\xa3\x0e\x20\x71",
37270                 .klen   = 32,
37271                 .len    = 255,
37272         },
37273         {
37274                 .key    = "\x39\x5f\xf4\x9c\x90\x3a\x9a\x25"
37275                           "\x15\x11\x79\x39\xed\x26\x5e\xf6"
37276                           "\xda\xcf\x33\x4f\x82\x97\xab\x10"
37277                           "\xc1\x55\x48\x82\x80\xa8\x02\xb2",
37278                 .iv     = "\x82\x60\xd9\x06\xeb\x40\x99\x76"
37279                           "\x08\xc5\xa4\x83\x45\xb8\x38\x5a",
37280                 .ptext  = "\xa1\xa8\xac\xac\x08\xaf\x8f\x84"
37281                           "\xbf\xcc\x79\x31\x5e\x61\x01\xd1"
37282                           "\x4d\x5f\x9b\xcd\x91\x92\x9a\xa1"
37283                           "\x99\x0d\x49\xb2\xd7\xfd\x25\x93"
37284                           "\x51\x96\xbd\x91\x8b\x08\xf1\xc6"
37285                           "\x0d\x17\xf6\xef\xfd\xd2\x78\x16"
37286                           "\xc8\x08\x27\x7b\xca\x98\xc6\x12"
37287                           "\x86\x11\xdb\xd5\x08\x3d\x5a\x2c"
37288                           "\xcf\x15\x0e\x9b\x42\x78\xeb\x1f"
37289                           "\x52\xbc\xd7\x5a\x8a\x33\x6c\x14"
37290                           "\xfc\x61\xad\x2e\x1e\x03\x66\xea"
37291                           "\x79\x0e\x88\x88\xde\x93\xe3\x81"
37292                           "\xb5\xc4\x1c\xe6\x9c\x08\x18\x8e"
37293                           "\xa0\x87\xda\xe6\xf8\xcb\x30\x44"
37294                           "\x2d\x4e\xc0\xa3\x60\xf9\x62\x7b"
37295                           "\x4b\xd5\x61\x6d\xe2\x67\x95\x54"
37296                           "\x10\xd1\xca\x22\xe8\xb6\xb1\x3a"
37297                           "\x2d\xd7\x35\x5b\x22\x88\x55\x67"
37298                           "\x3d\x83\x8f\x07\x98\xa8\xf2\xcf"
37299                           "\x04\xb7\x9e\x52\xca\xe0\x98\x72"
37300                           "\x5c\xc1\x00\xd4\x1f\x2c\x61\xf3"
37301                           "\xe8\x40\xaf\x4a\xee\x66\x41\xa0"
37302                           "\x02\x77\x29\x30\x65\x59\x4b\x20"
37303                           "\x7b\x0d\x80\x97\x27\x7f\xd5\x90"
37304                           "\xbb\x9d\x76\x90\xe5\x43\x43\x72"
37305                           "\xd0\xd4\x14\x75\x66\xb3\xb6\xaf"
37306                           "\x09\xe4\x23\xb0\x62\xad\x17\x28"
37307                           "\x39\x26\xab\xf5\xf7\x5c\xb6\x33"
37308                           "\xbd\x27\x09\x5b\x29\xe4\x40\x0b"
37309                           "\xc1\x26\x32\xdb\x9a\xdf\xf9\x5a"
37310                           "\xae\x03\x2c\xa4\x40\x84\x9a\xb7"
37311                           "\x4e\x47\xa8\x0f\x23\xc7\xbb\xcf"
37312                           "\x2b\xf2\x32\x6c\x35\x6a\x91\xba"
37313                           "\x0e\xea\xa2\x8b\x2f\xbd\xb5\xea"
37314                           "\x6e\xbc\xb5\x4b\x03\xb3\x86\xe0"
37315                           "\x86\xcf\xba\xcb\x38\x2c\x32\xa6"
37316                           "\x6d\xe5\x28\xa6\xad\xd2\x7f\x73"
37317                           "\x43\x14\xf8\xb1\x99\x12\x2d\x2b"
37318                           "\xdf\xcd\xf2\x81\x43\x94\xdf\xb1"
37319                           "\x17\xc9\x33\xa6\x3d\xef\x96\xb8"
37320                           "\xd6\x0d\x00\xec\x49\x66\x85\x5d"
37321                           "\x44\x62\x12\x04\x55\x5c\x48\xd3"
37322                           "\xbd\x73\xac\x54\x8f\xbf\x97\x8e"
37323                           "\x85\xfd\xc2\xa1\x25\x32\x38\x6a"
37324                           "\x1f\xac\x57\x3c\x4f\x56\x73\xf2"
37325                           "\x1d\xb6\x48\x68\xc7\x0c\xe7\x60"
37326                           "\xd2\x8e\x4d\xfb\xc7\x20\x7b\xb7"
37327                           "\x45\x28\x12\xc6\x26\xae\xea\x7c"
37328                           "\x5d\xe2\x46\xb5\xae\xe1\xc3\x98"
37329                           "\x6f\x72\xd5\xa2\xfd\xed\x40\xfd"
37330                           "\xf9\xdf\x61\xec\x45\x2c\x15\xe0"
37331                           "\x1e\xbb\xde\x71\x37\x5f\x73\xc2"
37332                           "\x11\xcc\x6e\x6d\xe1\xb5\x1b\xd2"
37333                           "\x2a\xdd\x19\x8a\xc2\xe1\xa0\xa4"
37334                           "\x26\xeb\xb2\x2c\x4f\x77\x52\xf1"
37335                           "\x42\x72\x6c\xad\xd7\x78\x5d\x72"
37336                           "\xc9\x16\x26\x25\x1b\x4c\xe6\x58"
37337                           "\x79\x57\xb5\x06\x15\x4f\xe5\xba"
37338                           "\xa2\x7f\x2d\x5b\x87\x8a\x44\x70"
37339                           "\xec\xc7\xef\x84\xae\x60\xa2\x61"
37340                           "\x86\xe9\x18\xcd\x28\xc4\xa4\xf5"
37341                           "\xbc\x84\xb8\x86\xa0\xba\xf1\xf1"
37342                           "\x08\x3b\x32\x75\x35\x22\x7a\x65"
37343                           "\xca\x48\xe8\xef\x6e\xe2\x8e\x00",
37344                 .ctext  = "\x2f\xae\xd8\x67\xeb\x15\xde\x75"
37345                           "\x53\xa3\x0e\x5a\xcf\x1c\xbe\xea"
37346                           "\xde\xf9\xcf\xc2\x9f\xfd\x0f\x44"
37347                           "\xc0\xe0\x7a\x76\x1d\xcb\x4a\xf8"
37348                           "\x35\xd6\xe3\x95\x98\x6b\x3f\x89"
37349                           "\xc4\xe6\xb6\x6f\xe1\x8b\x39\x4b"
37350                           "\x1c\x6c\x77\xe4\xe1\x8a\xbc\x61"
37351                           "\x00\x6a\xb1\x37\x2f\x45\xe6\x04"
37352                           "\x52\x0b\xfc\x1e\x32\xc1\xd8\x9d"
37353                           "\xfa\xdd\x67\x5c\xe0\x75\x83\xd0"
37354                           "\x21\x9e\x02\xea\xc0\x7f\xc0\x29"
37355                           "\xb3\x6c\xa5\x97\xb3\x29\x82\x1a"
37356                           "\x94\xa5\xb4\xb6\x49\xe5\xa5\xad"
37357                           "\x95\x40\x52\x7c\x84\x88\xa4\xa8"
37358                           "\x26\xe4\xd9\x5d\x41\xf2\x93\x7b"
37359                           "\xa4\x48\x1b\x66\x91\xb9\x7c\xc2"
37360                           "\x99\x29\xdf\xd8\x30\xac\xd4\x47"
37361                           "\x42\xa0\x14\x87\x67\xb8\xfd\x0b"
37362                           "\x1e\xcb\x5e\x5c\x9a\xc2\x04\x8b"
37363                           "\x17\x29\x9d\x99\x7f\x86\x4c\xe2"
37364                           "\x5c\x96\xa6\x0f\xb6\x47\x33\x5c"
37365                           "\xe4\x50\x49\xd5\x4f\x92\x0b\x9a"
37366                           "\xbc\x52\x4c\x41\xf5\xc9\x3e\x76"
37367                           "\x55\x55\xd4\xdc\x71\x14\x23\xfc"
37368                           "\x5f\xd5\x08\xde\xa0\xf7\x28\xc0"
37369                           "\xe1\x61\xac\x64\x66\xf6\xd1\x31"
37370                           "\xe4\xa4\xa9\xed\xbc\xad\x4f\x3b"
37371                           "\x59\xb9\x48\x1b\xe7\xb1\x6f\xc6"
37372                           "\xba\x40\x1c\x0b\xe7\x2f\x31\x65"
37373                           "\x85\xf5\xe9\x14\x0a\x31\xf5\xf3"
37374                           "\xc0\x1c\x20\x35\x73\x38\x0f\x8e"
37375                           "\x39\xf0\x68\xae\x08\x9c\x87\x4b"
37376                           "\x42\xfc\x22\x17\xee\x96\x51\x2a"
37377                           "\xd8\x57\x5a\x35\xea\x72\x74\xfc"
37378                           "\xb3\x0e\x69\x9a\xe1\x4f\x24\x90"
37379                           "\xc5\x4b\xe5\xd7\xe3\x82\x2f\xc5"
37380                           "\x62\x46\x3e\xab\x72\x4e\xe0\xf3"
37381                           "\x90\x09\x4c\xb2\xe1\xe8\xa0\xf5"
37382                           "\x46\x40\x2b\x47\x85\x3c\x21\x90"
37383                           "\x3d\xad\x25\x5a\x36\xdf\xe5\xbc"
37384                           "\x7e\x80\x4d\x53\x77\xf1\x79\xa6"
37385                           "\xec\x22\x80\x88\x68\xd6\x2d\x8b"
37386                           "\x3e\xf7\x52\xc7\x2a\x20\x42\x5c"
37387                           "\xed\x99\x4f\x32\x80\x00\x7e\x73"
37388                           "\xd7\x6d\x7f\x7d\x42\x54\x4a\xfe"
37389                           "\xff\x6f\x61\xca\x2a\xbb\x4f\xeb"
37390                           "\x4f\xe4\x4e\xaf\x2c\x4f\x82\xcd"
37391                           "\xa1\xa7\x11\xb3\x34\x33\xcf\x32"
37392                           "\x63\x0e\x24\x3a\x35\xbe\x06\xd5"
37393                           "\x17\xcb\x02\x30\x33\x6e\x8c\x49"
37394                           "\x40\x6e\x34\x8c\x07\xd4\x3e\xe6"
37395                           "\xaf\x78\x6d\x8c\x10\x5f\x21\x58"
37396                           "\x49\x26\xc5\xaf\x0d\x7d\xd4\xaf"
37397                           "\xcd\x5b\xa1\xe3\xf6\x39\x1c\x9b"
37398                           "\x8e\x00\xa1\xa7\x9e\x17\x4a\xc0"
37399                           "\x54\x56\x9e\xcf\xcf\x88\x79\x8d"
37400                           "\x50\xf7\x56\x8e\x0a\x73\x46\x6b"
37401                           "\xc3\xb9\x9b\x6c\x7d\xc4\xc8\xb6"
37402                           "\x03\x5f\x30\x62\x7d\xe6\xdb\x15"
37403                           "\xe1\x39\x02\x8c\xff\xda\xc8\x43"
37404                           "\xf2\xa9\xbf\x00\xe7\x3a\x61\x89"
37405                           "\xdf\xb0\xca\x7d\x8c\x8a\x6a\x9f"
37406                           "\x18\x89\x3d\x39\xac\x36\x6f\x05"
37407                           "\x1f\xb5\xda\x00\xea\xe1\x51\x21",
37408                 .klen   = 32,
37409                 .len    = 512,
37410         },
37411
37412 };
37413
37414 /*
37415  * Test vectors generated using https://github.com/google/hctr2
37416  *
37417  * To ensure compatibility with RFC 8452, some tests were sourced from
37418  * https://datatracker.ietf.org/doc/html/rfc8452
37419  */
37420 static const struct hash_testvec polyval_tv_template[] = {
37421         { // From RFC 8452
37422                 .key    = "\x31\x07\x28\xd9\x91\x1f\x1f\x38"
37423                           "\x37\xb2\x43\x16\xc3\xfa\xb9\xa0",
37424                 .plaintext      = "\x65\x78\x61\x6d\x70\x6c\x65\x00"
37425                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37426                           "\x48\x65\x6c\x6c\x6f\x20\x77\x6f"
37427                           "\x72\x6c\x64\x00\x00\x00\x00\x00"
37428                           "\x38\x00\x00\x00\x00\x00\x00\x00"
37429                           "\x58\x00\x00\x00\x00\x00\x00\x00",
37430                 .digest = "\xad\x7f\xcf\x0b\x51\x69\x85\x16"
37431                           "\x62\x67\x2f\x3c\x5f\x95\x13\x8f",
37432                 .psize  = 48,
37433                 .ksize  = 16,
37434         },
37435         { // From RFC 8452
37436                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37437                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37438                 .plaintext      = "\x00\x00\x00\x00\x00\x00\x00\x00"
37439                           "\x00\x00\x00\x00\x00\x00\x00\x00",
37440                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
37441                           "\x00\x00\x00\x00\x00\x00\x00\x00",
37442                 .psize  = 16,
37443                 .ksize  = 16,
37444         },
37445         { // From RFC 8452
37446                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37447                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37448                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
37449                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37450                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37451                           "\x40\x00\x00\x00\x00\x00\x00\x00",
37452                 .digest = "\xeb\x93\xb7\x74\x09\x62\xc5\xe4"
37453                           "\x9d\x2a\x90\xa7\xdc\x5c\xec\x74",
37454                 .psize  = 32,
37455                 .ksize  = 16,
37456         },
37457         { // From RFC 8452
37458                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37459                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37460                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
37461                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37462                           "\x02\x00\x00\x00\x00\x00\x00\x00"
37463                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37464                           "\x03\x00\x00\x00\x00\x00\x00\x00"
37465                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37466                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37467                           "\x80\x01\x00\x00\x00\x00\x00\x00",
37468                 .digest = "\x81\x38\x87\x46\xbc\x22\xd2\x6b"
37469                           "\x2a\xbc\x3d\xcb\x15\x75\x42\x22",
37470                 .psize  = 64,
37471                 .ksize  = 16,
37472         },
37473         { // From RFC 8452
37474                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37475                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37476                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
37477                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37478                           "\x02\x00\x00\x00\x00\x00\x00\x00"
37479                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37480                           "\x03\x00\x00\x00\x00\x00\x00\x00"
37481                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37482                           "\x04\x00\x00\x00\x00\x00\x00\x00"
37483                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37484                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37485                           "\x00\x02\x00\x00\x00\x00\x00\x00",
37486                 .digest = "\x1e\x39\xb6\xd3\x34\x4d\x34\x8f"
37487                           "\x60\x44\xf8\x99\x35\xd1\xcf\x78",
37488                 .psize  = 80,
37489                 .ksize  = 16,
37490         },
37491         { // From RFC 8452
37492                 .key    = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
37493                           "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
37494                 .plaintext      = "\x01\x00\x00\x00\x00\x00\x00\x00"
37495                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37496                           "\x02\x00\x00\x00\x00\x00\x00\x00"
37497                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37498                           "\x03\x00\x00\x00\x00\x00\x00\x00"
37499                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37500                           "\x04\x00\x00\x00\x00\x00\x00\x00"
37501                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37502                           "\x05\x00\x00\x00\x00\x00\x00\x00"
37503                           "\x00\x00\x00\x00\x00\x00\x00\x00"
37504                           "\x08\x00\x00\x00\x00\x00\x00\x00"
37505                           "\x00\x02\x00\x00\x00\x00\x00\x00",
37506                 .digest = "\xff\xcd\x05\xd5\x77\x0f\x34\xad"
37507                           "\x92\x67\xf0\xa5\x99\x94\xb1\x5a",
37508                 .psize  = 96,
37509                 .ksize  = 16,
37510         },
37511         { // Random ( 1)
37512                 .key    = "\x90\xcc\xac\xee\xba\xd7\xd4\x68"
37513                           "\x98\xa6\x79\x70\xdf\x66\x15\x6c",
37514                 .plaintext      = "",
37515                 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
37516                           "\x00\x00\x00\x00\x00\x00\x00\x00",
37517                 .psize  = 0,
37518                 .ksize  = 16,
37519         },
37520         { // Random ( 1)
37521                 .key    = "\xc1\x45\x71\xf0\x30\x07\x94\xe7"
37522                           "\x3a\xdd\xe4\xc6\x19\x2d\x02\xa2",
37523                 .plaintext      = "\xc1\x5d\x47\xc7\x4c\x7c\x5e\x07"
37524                           "\x85\x14\x8f\x79\xcc\x73\x83\xf7"
37525                           "\x35\xb8\xcb\x73\x61\xf0\x53\x31"
37526                           "\xbf\x84\xde\xb6\xde\xaf\xb0\xb8"
37527                           "\xb7\xd9\x11\x91\x89\xfd\x1e\x4c"
37528                           "\x84\x4a\x1f\x2a\x87\xa4\xaf\x62"
37529                           "\x8d\x7d\x58\xf6\x43\x35\xfc\x53"
37530                           "\x8f\x1a\xf6\x12\xe1\x13\x3f\x66"
37531                           "\x91\x4b\x13\xd6\x45\xfb\xb0\x7a"
37532                           "\xe0\x8b\x8e\x99\xf7\x86\x46\x37"
37533                           "\xd1\x22\x9e\x52\xf3\x3f\xd9\x75"
37534                           "\x2c\x2c\xc6\xbb\x0e\x08\x14\x29"
37535                           "\xe8\x50\x2f\xd8\xbe\xf4\xe9\x69"
37536                           "\x4a\xee\xf7\xae\x15\x65\x35\x1e",
37537                 .digest = "\x00\x4f\x5d\xe9\x3b\xc0\xd6\x50"
37538                           "\x3e\x38\x73\x86\xc6\xda\xca\x7f",
37539                 .psize  = 112,
37540                 .ksize  = 16,
37541         },
37542         { // Random ( 1)
37543                 .key    = "\x37\xbe\x68\x16\x50\xb9\x4e\xb0"
37544                           "\x47\xde\xe2\xbd\xde\xe4\x48\x09",
37545                 .plaintext      = "\x87\xfc\x68\x9f\xff\xf2\x4a\x1e"
37546                           "\x82\x3b\x73\x8f\xc1\xb2\x1b\x7a"
37547                           "\x6c\x4f\x81\xbc\x88\x9b\x6c\xa3"
37548                           "\x9c\xc2\xa5\xbc\x14\x70\x4c\x9b"
37549                           "\x0c\x9f\x59\x92\x16\x4b\x91\x3d"
37550                           "\x18\x55\x22\x68\x12\x8c\x63\xb2"
37551                           "\x51\xcb\x85\x4b\xd2\xae\x0b\x1c"
37552                           "\x5d\x28\x9d\x1d\xb1\xc8\xf0\x77"
37553                           "\xe9\xb5\x07\x4e\x06\xc8\xee\xf8"
37554                           "\x1b\xed\x72\x2a\x55\x7d\x16\xc9"
37555                           "\xf2\x54\xe7\xe9\xe0\x44\x5b\x33"
37556                           "\xb1\x49\xee\xff\x43\xfb\x82\xcd"
37557                           "\x4a\x70\x78\x81\xa4\x34\x36\xe8"
37558                           "\x4c\x28\x54\xa6\x6c\xc3\x6b\x78"
37559                           "\xe7\xc0\x5d\xc6\x5d\x81\xab\x70"
37560                           "\x08\x86\xa1\xfd\xf4\x77\x55\xfd"
37561                           "\xa3\xe9\xe2\x1b\xdf\x99\xb7\x80"
37562                           "\xf9\x0a\x4f\x72\x4a\xd3\xaf\xbb"
37563                           "\xb3\x3b\xeb\x08\x58\x0f\x79\xce"
37564                           "\xa5\x99\x05\x12\x34\xd4\xf4\x86"
37565                           "\x37\x23\x1d\xc8\x49\xc0\x92\xae"
37566                           "\xa6\xac\x9b\x31\x55\xed\x15\xc6"
37567                           "\x05\x17\x37\x8d\x90\x42\xe4\x87"
37568                           "\x89\x62\x88\x69\x1c\x6a\xfd\xe3"
37569                           "\x00\x2b\x47\x1a\x73\xc1\x51\xc2"
37570                           "\xc0\x62\x74\x6a\x9e\xb2\xe5\x21"
37571                           "\xbe\x90\xb5\xb0\x50\xca\x88\x68"
37572                           "\xe1\x9d\x7a\xdf\x6c\xb7\xb9\x98"
37573                           "\xee\x28\x62\x61\x8b\xd1\x47\xf9"
37574                           "\x04\x7a\x0b\x5d\xcd\x2b\x65\xf5"
37575                           "\x12\xa3\xfe\x1a\xaa\x2c\x78\x42"
37576                           "\xb8\xbe\x7d\x74\xeb\x59\xba\xba",
37577                 .digest = "\xae\x11\xd4\x60\x2a\x5f\x9e\x42"
37578                           "\x89\x04\xc2\x34\x8d\x55\x94\x0a",
37579                 .psize  = 256,
37580                 .ksize  = 16,
37581         },
37582
37583 };
37584
37585 /*
37586  * Test vectors generated using https://github.com/google/hctr2
37587  */
37588 static const struct cipher_testvec aes_hctr2_tv_template[] = {
37589         {
37590                 .key    = "\xe1\x15\x66\x3c\x8d\xc6\x3a\xff"
37591                           "\xef\x41\xd7\x47\xa2\xcc\x8a\xba",
37592                 .iv     = "\xc3\xbe\x2a\xcb\xb5\x39\x86\xf1"
37593                           "\x91\xad\x6c\xf4\xde\x74\x45\x63"
37594                           "\x5c\x7a\xd5\xcc\x8b\x76\xef\x0e"
37595                           "\xcf\x2c\x60\x69\x37\xfd\x07\x96",
37596                 .ptext  = "\x65\x75\xae\xd3\xe2\xbc\x43\x5c"
37597                           "\xb3\x1a\xd8\x05\xc3\xd0\x56\x29",
37598                 .ctext  = "\x11\x91\xea\x74\x58\xcc\xd5\xa2"
37599                           "\xd0\x55\x9e\x3d\xfe\x7f\xc8\xfe",
37600                 .klen   = 16,
37601                 .len    = 16,
37602         },
37603         {
37604                 .key    = "\xe7\xd1\x77\x48\x76\x0b\xcd\x34"
37605                           "\x2a\x2d\xe7\x74\xca\x11\x9c\xae",
37606                 .iv     = "\x71\x1c\x49\x62\xd9\x5b\x50\x5e"
37607                           "\x68\x87\xbc\xf6\x89\xff\xed\x30"
37608                           "\xe4\xe5\xbd\xb6\x10\x4f\x9f\x66"
37609                           "\x28\x06\x5a\xf4\x27\x35\xcd\xe5",
37610                 .ptext  = "\x87\x03\x8f\x06\xa8\x61\x54\xda"
37611                           "\x01\x45\xd4\x01\xef\x4a\x22\xcf"
37612                           "\x78\x15\x9f\xbd\x64\xbd\x2c\xb9"
37613                           "\x40\x1d\x72\xae\x53\x63\xa5",
37614                 .ctext  = "\x4e\xa1\x05\x27\xb8\x45\xe4\xa1"
37615                           "\xbb\x30\xb4\xa6\x12\x74\x63\xd6"
37616                           "\x17\xc9\xcc\x2f\x18\x64\xe0\x06"
37617                           "\x0a\xa0\xff\x72\x10\x7b\x22",
37618                 .klen   = 16,
37619                 .len    = 31,
37620         },
37621         {
37622                 .key    = "\x59\x65\x3b\x1d\x43\x5e\xc0\xae"
37623                           "\xb8\x9d\x9b\xdd\x22\x03\xbf\xca",
37624                 .iv     = "\xec\x95\xfa\x5a\xcf\x5e\xd2\x93"
37625                           "\xa3\xb5\xe5\xbe\xf3\x01\x7b\x01"
37626                           "\xd1\xca\x6c\x06\x82\xf0\xbd\x67"
37627                           "\xd9\x6c\xa4\xdc\xb4\x38\x0f\x74",
37628                 .ptext  = "\x45\xdf\x75\x87\xbc\x72\xce\x55"
37629                           "\xc9\xfa\xcb\xfc\x9f\x40\x82\x2b"
37630                           "\xc6\x4f\x4f\x5b\x8b\x3b\x6d\x67"
37631                           "\xa6\x93\x62\x89\x8c\x19\xf4\xe3"
37632                           "\x08\x92\x9c\xc9\x47\x2c\x6e\xd0"
37633                           "\xa3\x02\x2b\xdb\x2c\xf2\x8d\x46"
37634                           "\xcd\xb0\x9d\x26\x63\x4c\x40\x6b"
37635                           "\x79\x43\xe5\xce\x42\xa8\xec\x3b"
37636                           "\x5b\xd0\xea\xa4\xe6\xdb\x66\x55"
37637                           "\x7a\x76\xec\xab\x7d\x2a\x2b\xbd"
37638                           "\xa9\xab\x22\x64\x1a\xa1\xae\x84"
37639                           "\x86\x79\x67\xe9\xb2\x50\xbe\x12"
37640                           "\x2f\xb2\x14\xf0\xdb\x71\xd8\xa7"
37641                           "\x41\x8a\x88\xa0\x6a\x6e\x9d\x2a"
37642                           "\xfa\x11\x37\x40\x32\x09\x4c\x47"
37643                           "\x41\x07\x31\x85\x3d\xa8\xf7\x64",
37644                 .ctext  = "\x2d\x4b\x9f\x93\xca\x5a\x48\x26"
37645                           "\x01\xcc\x54\xe4\x31\x50\x12\xf0"
37646                           "\x49\xff\x59\x42\x68\xbd\x87\x8f"
37647                           "\x9e\x62\x96\xcd\xb9\x24\x57\xa4"
37648                           "\x0b\x7b\xf5\x2e\x0e\xa8\x65\x07"
37649                           "\xab\x05\xd5\xca\xe7\x9c\x6c\x34"
37650                           "\x5d\x42\x34\xa4\x62\xe9\x75\x48"
37651                           "\x3d\x9e\x8f\xfa\x42\xe9\x75\x08"
37652                           "\x4e\x54\x91\x2b\xbd\x11\x0f\x8e"
37653                           "\xf0\x82\xf5\x24\xf1\xc4\xfc\xae"
37654                           "\x42\x54\x7f\xce\x15\xa8\xb2\x33"
37655                           "\xc0\x86\xb6\x2b\xe8\x44\xce\x1f"
37656                           "\x68\x57\x66\x94\x6e\xad\xeb\xf3"
37657                           "\x30\xf8\x11\xbd\x60\x00\xc6\xd5"
37658                           "\x4c\x81\xf1\x20\x2b\x4a\x5b\x99"
37659                           "\x79\x3b\xc9\x5c\x74\x23\xe6\x5d",
37660                 .klen   = 16,
37661                 .len    = 128,
37662         },
37663         {
37664                 .key    = "\x3e\x08\x5d\x64\x6c\x98\xec\xec"
37665                           "\x70\x0e\x0d\xa1\x41\x20\x99\x82",
37666                 .iv     = "\x11\xb7\x77\x91\x0d\x99\xd9\x8d"
37667                           "\x35\x3a\xf7\x14\x6b\x09\x37\xe5"
37668                           "\xad\x51\xf6\xc3\x96\x4b\x64\x56"
37669                           "\xa8\xbd\x81\xcc\xbe\x94\xaf\xe4",
37670                 .ptext  = "\xff\x8d\xb9\xc0\xe3\x69\xb3\xb2"
37671                           "\x8b\x11\x26\xb3\x11\xec\xfb\xb9"
37672                           "\x9c\xc1\x71\xd6\xe3\x26\x0e\xe0"
37673                           "\x68\x40\x60\xb9\x3a\x63\x56\x8a"
37674                           "\x9e\xc1\xf0\x10\xb1\x64\x32\x70"
37675                           "\xf8\xcd\xc6\xc4\x49\x4c\xe1\xce"
37676                           "\xf3\xe1\x03\xf8\x35\xae\xe0\x5e"
37677                           "\xef\x5f\xbc\x41\x75\x26\x13\xcc"
37678                           "\x37\x85\xdf\xc0\x5d\xa6\x47\x98"
37679                           "\xf1\x97\x52\x58\x04\xe6\xb5\x01"
37680                           "\xc0\xb8\x17\x6d\x74\xbd\x9a\xdf"
37681                           "\xa4\x37\x94\x86\xb0\x13\x83\x28"
37682                           "\xc9\xa2\x07\x3f\xb5\xb2\x72\x40"
37683                           "\x0e\x60\xdf\x57\x07\xb7\x2c\x66"
37684                           "\x10\x3f\x8d\xdd\x30\x0a\x47\xd5"
37685                           "\xe8\x9d\xfb\xa1\xaf\x53\xd7\x05"
37686                           "\xc7\xd2\xba\xe7\x2c\xa0\xbf\xb8"
37687                           "\xd1\x93\xe7\x41\x82\xa3\x41\x3a"
37688                           "\xaf\x12\xd6\xf8\x34\xda\x92\x46"
37689                           "\xad\xa2\x2f\xf6\x7e\x46\x96\xd8"
37690                           "\x03\xf3\x49\x64\xde\xd8\x06\x8b"
37691                           "\xa0\xbc\x63\x35\x38\xb6\x6b\xda"
37692                           "\x5b\x50\x3f\x13\xa5\x84\x1b\x1b"
37693                           "\x66\x89\x95\xb7\xc2\x16\x3c\xe9"
37694                           "\x24\xb0\x8c\x6f\x49\xef\xf7\x28"
37695                           "\x6a\x24\xfd\xbe\x25\xe2\xb4\x90"
37696                           "\x77\x44\x08\xb8\xda\xd2\xde\x2c"
37697                           "\xa0\x57\x45\x57\x29\x47\x6b\x89"
37698                           "\x4a\xf6\xa7\x2a\xc3\x9e\x7b\xc8"
37699                           "\xfd\x9f\x89\xab\xee\x6d\xa3\xb4"
37700                           "\x23\x90\x7a\xe9\x89\xa0\xc7\xb3"
37701                           "\x17\x41\x87\x91\xfc\x97\x42",
37702                 .ctext  = "\xfc\x9b\x96\x66\xc4\x82\x2a\x4a"
37703                           "\xb1\x24\xba\xc7\x78\x5f\x79\xc1"
37704                           "\x57\x2e\x47\x29\x4d\x7b\xd2\x9a"
37705                           "\xbd\xc6\xc1\x26\x7b\x8e\x3f\x5d"
37706                           "\xd4\xb4\x9f\x6a\x02\x24\x4a\xad"
37707                           "\x0c\x00\x1b\xdf\x92\xc5\x8a\xe1"
37708                           "\x77\x79\xcc\xd5\x20\xbf\x83\xf4"
37709                           "\x4b\xad\x11\xbf\xdb\x47\x65\x70"
37710                           "\x43\xf3\x65\xdf\xb7\xdc\xb2\xb9"
37711                           "\xaa\x3f\xb3\xdf\x79\x69\x0d\xa0"
37712                           "\x86\x1c\xba\x48\x0b\x01\xc1\x88"
37713                           "\xdf\x03\xb1\x06\x3c\x1d\x56\xa1"
37714                           "\x8e\x98\xc1\xa6\x95\xa2\x5b\x72"
37715                           "\x76\x59\xd2\x26\x25\xcd\xef\x7c"
37716                           "\xc9\x60\xea\x43\xd1\x12\x8a\x8a"
37717                           "\x63\x12\x78\xcb\x2f\x88\x1e\x88"
37718                           "\x78\x59\xde\xba\x4d\x2c\x78\x61"
37719                           "\x75\x37\x54\xfd\x80\xc7\x5e\x98"
37720                           "\xcf\x14\x62\x8e\xfb\x72\xee\x4d"
37721                           "\x9f\xaf\x8b\x09\xe5\x21\x0a\x91"
37722                           "\x8f\x88\x87\xd5\xb1\x84\xab\x18"
37723                           "\x08\x57\xed\x72\x35\xa6\x0e\xc6"
37724                           "\xff\xcb\xfe\x2c\x48\x39\x14\x44"
37725                           "\xba\x59\x32\x3a\x2d\xc4\x5f\xcb"
37726                           "\xbe\x68\x8e\x7b\xee\x21\xa4\x32"
37727                           "\x11\xa0\x99\xfd\x90\xde\x59\x43"
37728                           "\xeb\xed\xd5\x87\x68\x46\xc6\xde"
37729                           "\x0b\x07\x17\x59\x6a\xab\xca\x15"
37730                           "\x65\x02\x01\xb6\x71\x8c\x3b\xaa"
37731                           "\x18\x3b\x30\xae\x38\x5b\x2c\x74"
37732                           "\xd4\xee\x4a\xfc\xf7\x1b\x09\xd4"
37733                           "\xda\x8b\x1d\x5d\x6f\x21\x6c",
37734                 .klen   = 16,
37735                 .len    = 255,
37736         },
37737         {
37738                 .key    = "\x24\xf6\xe1\x62\xe5\xaf\x99\xda"
37739                           "\x84\xec\x41\xb0\xa3\x0b\xd5\xa8"
37740                           "\xa0\x3e\x7b\xa6\xdd\x6c\x8f\xa8",
37741                 .iv     = "\x7f\x80\x24\x62\x32\xdd\xab\x66"
37742                           "\xf2\x87\x29\x24\xec\xd2\x4b\x9f"
37743                           "\x0c\x33\x52\xd9\xe0\xcc\x6e\xe4"
37744                           "\x90\x85\x43\x97\xc4\x62\x14\x33",
37745                 .ptext  = "\xef\x58\xe7\x7f\xa9\xd9\xb8\xd7"
37746                           "\xa2\x91\x97\x07\x27\x9e\xba\xe8"
37747                           "\xaa",
37748                 .ctext  = "\xd7\xc3\x81\x91\xf2\x40\x17\x73"
37749                           "\x3e\x3b\x1c\x2a\x8e\x11\x9c\x17"
37750                           "\xf1",
37751                 .klen   = 24,
37752                 .len    = 17,
37753         },
37754         {
37755                 .key    = "\xbf\xaf\xd7\x67\x8c\x47\xcf\x21"
37756                           "\x8a\xa5\xdd\x32\x25\x47\xbe\x4f"
37757                           "\xf1\x3a\x0b\xa6\xaa\x2d\xcf\x09",
37758                 .iv     = "\xd9\xe8\xf0\x92\x4e\xfc\x1d\xf2"
37759                           "\x81\x37\x7c\x8f\xf1\x59\x09\x20"
37760                           "\xf4\x46\x51\x86\x4f\x54\x8b\x32"
37761                           "\x58\xd1\x99\x8b\x8c\x03\xeb\x5d",
37762                 .ptext  = "\xcd\x64\x90\xf9\x7c\xe5\x0e\x5a"
37763                           "\x75\xe7\x8e\x39\x86\xec\x20\x43"
37764                           "\x8a\x49\x09\x15\x47\xf4\x3c\x89"
37765                           "\x21\xeb\xcf\x4e\xcf\x91\xb5\x40"
37766                           "\xcd\xe5\x4d\x5c\x6f\xf2\xd2\x80"
37767                           "\xfa\xab\xb3\x76\x9f\x7f\x84\x0a",
37768                 .ctext  = "\x44\x98\x64\x15\xb7\x0b\x80\xa3"
37769                           "\xb9\xca\x23\xff\x3b\x0b\x68\x74"
37770                           "\xbb\x3e\x20\x19\x9f\x28\x71\x2a"
37771                           "\x48\x3c\x7c\xe2\xef\xb5\x10\xac"
37772                           "\x82\x9f\xcd\x08\x8f\x6b\x16\x6f"
37773                           "\xc3\xbb\x07\xfb\x3c\xb0\x1b\x27",
37774                 .klen   = 24,
37775                 .len    = 48,
37776         },
37777         {
37778                 .key    = "\xb8\x35\xa2\x5f\x86\xbb\x82\x99"
37779                           "\x27\xeb\x01\x3f\x92\xaf\x80\x24"
37780                           "\x4c\x66\xa2\x89\xff\x2e\xa2\x25",
37781                 .iv     = "\x0a\x1d\x96\xd3\xe0\xe8\x0c\x9b"
37782                           "\x9d\x6f\x21\x97\xc2\x17\xdb\x39"
37783                           "\x3f\xd8\x64\x48\x80\x04\xee\x43"
37784                           "\x02\xce\x88\xe2\x81\x81\x5f\x81",
37785                 .ptext  = "\xb8\xf9\x16\x8b\x25\x68\xd0\x9c"
37786                           "\xd2\x28\xac\xa8\x79\xc2\x30\xc1"
37787                           "\x31\xde\x1c\x37\x1b\xa2\xb5\xe6"
37788                           "\xf0\xd0\xf8\x9c\x7f\xc6\x46\x07"
37789                           "\x5c\xc3\x06\xe4\xf0\x02\xec\xf8"
37790                           "\x59\x7c\xc2\x5d\xf8\x0c\x21\xae"
37791                           "\x9e\x82\xb1\x1a\x5f\x78\x44\x15"
37792                           "\x00\xa7\x2e\x52\xc5\x98\x98\x35"
37793                           "\x03\xae\xd0\x8e\x07\x57\xe2\x5a"
37794                           "\x17\xbf\x52\x40\x54\x5b\x74\xe5"
37795                           "\x2d\x35\xaf\x9e\x37\xf7\x7e\x4a"
37796                           "\x8c\x9e\xa1\xdc\x40\xb4\x5b\x36"
37797                           "\xdc\x3a\x68\xe6\xb7\x35\x0b\x8a"
37798                           "\x90\xec\x74\x8f\x09\x9a\x7f\x02"
37799                           "\x4d\x03\x46\x35\x62\xb1\xbd\x08"
37800                           "\x3f\x54\x2a\x10\x0b\xdc\x69\xaf"
37801                           "\x25\x3a\x0c\x5f\xe0\x51\xe7\x11"
37802                           "\xb7\x00\xab\xbb\x9a\xb0\xdc\x4d"
37803                           "\xc3\x7d\x1a\x6e\xd1\x09\x52\xbd"
37804                           "\x6b\x43\x55\x22\x3a\x78\x14\x7d"
37805                           "\x79\xfd\x8d\xfc\x9b\x1d\x0f\xa2"
37806                           "\xc7\xb9\xf8\x87\xd5\x96\x50\x61"
37807                           "\xa7\x5e\x1e\x57\x97\xe0\xad\x2f"
37808                           "\x93\xe6\xe8\x83\xec\x85\x26\x5e"
37809                           "\xd9\x2a\x15\xe0\xe9\x09\x25\xa1"
37810                           "\x77\x2b\x88\xdc\xa4\xa5\x48\xb6"
37811                           "\xf7\xcc\xa6\xa9\xba\xf3\x42\x5c"
37812                           "\x70\x9d\xe9\x29\xc1\xf1\x33\xdd"
37813                           "\x56\x48\x17\x86\x14\x51\x5c\x10"
37814                           "\xab\xfd\xd3\x26\x8c\x21\xf5\x93"
37815                           "\x1b\xeb\x47\x97\x73\xbb\x88\x10"
37816                           "\xf3\xfe\xf5\xde\xf3\x2e\x05\x46"
37817                           "\x1c\x0d\xa3\x10\x48\x9c\x71\x16"
37818                           "\x78\x33\x4d\x0a\x74\x3b\xe9\x34"
37819                           "\x0b\xa7\x0e\x9e\x61\xe9\xe9\xfd"
37820                           "\x85\xa0\xcb\x19\xfd\x7c\x33\xe3"
37821                           "\x0e\xce\xc2\x6f\x9d\xa4\x2d\x77"
37822                           "\xfd\xad\xee\x5e\x08\x3e\xd7\xf5"
37823                           "\xfb\xc3\xd7\x93\x96\x08\x96\xca"
37824                           "\x58\x81\x16\x9b\x98\x0a\xe2\xef"
37825                           "\x7f\xda\x40\xe4\x1f\x46\x9e\x67"
37826                           "\x2b\x84\xcb\x42\xc4\xd6\x6a\xcf"
37827                           "\x2d\xb2\x33\xc0\x56\xb3\x35\x6f"
37828                           "\x29\x36\x8f\x6a\x5b\xec\xd5\x4f"
37829                           "\xa0\x70\xff\xb6\x5b\xde\x6a\x93"
37830                           "\x20\x3c\xe2\x76\x7a\xef\x3c\x79"
37831                           "\x31\x65\xce\x3a\x0e\xd0\xbe\xa8"
37832                           "\x21\x95\xc7\x2b\x62\x8e\x67\xdd"
37833                           "\x20\x79\xe4\xe5\x01\x15\xc0\xec"
37834                           "\x0f\xd9\x23\xc8\xca\xdf\xd4\x7d"
37835                           "\x1d\xf8\x64\x4f\x56\xb1\x83\xa7"
37836                           "\x43\xbe\xfc\xcf\xc2\x8c\x33\xda"
37837                           "\x36\xd0\x52\xef\x9e\x9e\x88\xf4"
37838                           "\xa8\x21\x0f\xaa\xee\x8d\xa0\x24"
37839                           "\x4d\xcb\xb1\x72\x07\xf0\xc2\x06"
37840                           "\x60\x65\x85\x84\x2c\x60\xcf\x61"
37841                           "\xe7\x56\x43\x5b\x2b\x50\x74\xfa"
37842                           "\xdb\x4e\xea\x88\xd4\xb3\x83\x8f"
37843                           "\x6f\x97\x4b\x57\x7a\x64\x64\xae"
37844                           "\x0a\x37\x66\xc5\x03\xad\xb5\xf9"
37845                           "\x08\xb0\x3a\x74\xde\x97\x51\xff"
37846                           "\x48\x4f\x5c\xa4\xf8\x7a\xb4\x05"
37847                           "\x27\x70\x52\x86\x1b\x78\xfc\x18"
37848                           "\x06\x27\xa9\x62\xf7\xda\xd2\x8e",
37849                 .ctext  = "\x3b\xe1\xdb\xb3\xc5\x9a\xde\x69"
37850                           "\x58\x05\xcc\xeb\x02\x51\x78\x4a"
37851                           "\xac\x28\xe9\xed\xd1\xc9\x15\x7d"
37852                           "\x33\x7d\xc1\x47\x12\x41\x11\xf8"
37853                           "\x4a\x2c\xb7\xa3\x41\xbe\x59\xf7"
37854                           "\x22\xdb\x2c\xda\x9c\x00\x61\x9b"
37855                           "\x73\xb3\x0b\x84\x2b\xc1\xf3\x80"
37856                           "\x84\xeb\x19\x60\x80\x09\xe1\xcd"
37857                           "\x16\x3a\x20\x23\xc4\x82\x4f\xba"
37858                           "\x3b\x8e\x55\xd7\xa9\x0b\x75\xd0"
37859                           "\xda\xce\xd2\xee\x7e\x4b\x7f\x65"
37860                           "\x4d\x28\xc5\xd3\x15\x2c\x40\x96"
37861                           "\x52\xd4\x18\x61\x2b\xe7\x83\xec"
37862                           "\x89\x62\x9c\x4c\x50\xe6\xe2\xbb"
37863                           "\x25\xa1\x0f\xa7\xb0\xb4\xb2\xde"
37864                           "\x54\x20\xae\xa3\x56\xa5\x26\x4c"
37865                           "\xd5\xcc\xe5\xcb\x28\x44\xb1\xef"
37866                           "\x67\x2e\x93\x6d\x00\x88\x83\x9a"
37867                           "\xf2\x1c\x48\x38\xec\x1a\x24\x90"
37868                           "\x73\x0a\xdb\xe8\xce\x95\x7a\x2c"
37869                           "\x8c\xe9\xb7\x07\x1d\xb3\xa3\x20"
37870                           "\xbe\xad\x61\x84\xac\xde\x76\xb5"
37871                           "\xa6\x28\x29\x47\x63\xc4\xfc\x13"
37872                           "\x3f\x71\xfb\x58\x37\x34\x82\xed"
37873                           "\x9e\x05\x19\x1f\xc1\x67\xc1\xab"
37874                           "\xf5\xfd\x7c\xea\xfa\xa4\xf8\x0a"
37875                           "\xac\x4c\x92\xdf\x65\x73\xd7\xdb"
37876                           "\xed\x2c\xe0\x84\x5f\x57\x8c\x76"
37877                           "\x3e\x05\xc0\xc3\x68\x96\x95\x0b"
37878                           "\x88\x97\xfe\x2e\x99\xd5\xc2\xb9"
37879                           "\x53\x9f\xf3\x32\x10\x1f\x1f\x5d"
37880                           "\xdf\x21\x95\x70\x91\xe8\xa1\x3e"
37881                           "\x19\x3e\xb6\x0b\xa8\xdb\xf8\xd4"
37882                           "\x54\x27\xb8\xab\x5d\x78\x0c\xe6"
37883                           "\xb7\x08\xee\xa4\xb6\x6b\xeb\x5a"
37884                           "\x89\x69\x2b\xbd\xd4\x21\x5b\xbf"
37885                           "\x79\xbb\x0f\xff\xdb\x23\x9a\xeb"
37886                           "\x8d\xf2\xc4\x39\xb4\x90\x77\x6f"
37887                           "\x68\xe2\xb8\xf3\xf1\x65\x4f\xd5"
37888                           "\x24\x80\x06\xaf\x7c\x8d\x15\x0c"
37889                           "\xfd\x56\xe5\xe3\x01\xa5\xf7\x1c"
37890                           "\x31\xd6\xa2\x01\x1e\x59\xf9\xa9"
37891                           "\x42\xd5\xc2\x34\xda\x25\xde\xc6"
37892                           "\x5d\x38\xef\xd1\x4c\xc1\xd9\x1b"
37893                           "\x98\xfd\xcd\x57\x6f\xfd\x46\x91"
37894                           "\x90\x3d\x52\x2b\x2c\x7d\xcf\x71"
37895                           "\xcf\xd1\x77\x23\x71\x36\xb1\xce"
37896                           "\xc7\x5d\xf0\x5b\x44\x3d\x43\x71"
37897                           "\xac\xb8\xa0\x6a\xea\x89\x5c\xff"
37898                           "\x81\x73\xd4\x83\xd1\xc9\xe9\xe2"
37899                           "\xa8\xa6\x0f\x36\xe6\xaa\x57\xd4"
37900                           "\x27\xd2\xc9\xda\x94\x02\x1f\xfb"
37901                           "\xe1\xa1\x07\xbe\xe1\x1b\x15\x94"
37902                           "\x1e\xac\x2f\x57\xbb\x41\x22\xaf"
37903                           "\x60\x5e\xcc\x66\xcb\x16\x62\xab"
37904                           "\xb8\x7c\x99\xf4\x84\x93\x0c\xc2"
37905                           "\xa2\x49\xe4\xfd\x17\x55\xe1\xa6"
37906                           "\x8d\x5b\xc6\x1b\xc8\xac\xec\x11"
37907                           "\x33\xcf\xb0\xe8\xc7\x28\x4f\xb2"
37908                           "\x5c\xa6\xe2\x71\xab\x80\x0a\xa7"
37909                           "\x5c\x59\x50\x9f\x7a\x32\xb7\xe5"
37910                           "\x24\x9a\x8e\x25\x21\x2e\xb7\x18"
37911                           "\xd0\xf2\xe7\x27\x6f\xda\xc1\x00"
37912                           "\xd9\xa6\x03\x59\xac\x4b\xcb\xba",
37913                 .klen   = 24,
37914                 .len    = 512,
37915         },
37916         {
37917                 .key    = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
37918                           "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
37919                           "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
37920                           "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
37921                 .iv     = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
37922                           "\x33\x81\x37\x60\x7d\xfa\x73\x08"
37923                           "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
37924                           "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
37925                 .ptext  = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
37926                           "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
37927                 .ctext  = "\x27\x38\x78\x47\x16\xd9\x71\x35"
37928                           "\x2e\x7e\xdd\x7e\x43\x3c\xb8\x40",
37929                 .klen   = 32,
37930                 .len    = 16,
37931         },
37932         {
37933                 .key    = "\x93\xfa\x7e\xe2\x0e\x67\xc4\x39"
37934                           "\xe7\xca\x47\x95\x68\x9d\x5e\x5a"
37935                           "\x7c\x26\x19\xab\xc6\xca\x6a\x4c"
37936                           "\x45\xa6\x96\x42\xae\x6c\xff\xe7",
37937                 .iv     = "\xea\x82\x47\x95\x3b\x22\xa1\x3a"
37938                           "\x6a\xca\x24\x4c\x50\x7e\x23\xcd"
37939                           "\x0e\x50\xe5\x41\xb6\x65\x29\xd8"
37940                           "\x30\x23\x00\xd2\x54\xa7\xd6\x56",
37941                 .ptext  = "\xdb\x1f\x1f\xec\xad\x83\x6e\x5d"
37942                           "\x19\xa5\xf6\x3b\xb4\x93\x5a\x57"
37943                           "\x6f",
37944                 .ctext  = "\xf1\x46\x6e\x9d\xb3\x01\xf0\x6b"
37945                           "\xc2\xac\x57\x88\x48\x6d\x40\x72"
37946                           "\x68",
37947                 .klen   = 32,
37948                 .len    = 17,
37949         },
37950         {
37951                 .key    = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
37952                           "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
37953                           "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
37954                           "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
37955                 .iv     = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
37956                           "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
37957                           "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
37958                           "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
37959                 .ptext  = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
37960                           "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
37961                           "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
37962                           "\x43\x5a\x46\x06\x94\x2d\xf2",
37963                 .ctext  = "\xdb\xfd\xc8\x03\xd0\xec\xc1\xfe"
37964                           "\xbd\x64\x37\xb8\x82\x43\x62\x4e"
37965                           "\x7e\x54\xa3\xe2\x24\xa7\x27\xe8"
37966                           "\xa4\xd5\xb3\x6c\xb2\x26\xb4",
37967                 .klen   = 32,
37968                 .len    = 31,
37969         },
37970         {
37971                 .key    = "\x03\x65\x03\x6e\x4d\xe6\xe8\x4e"
37972                           "\x8b\xbe\x22\x19\x48\x31\xee\xd9"
37973                           "\xa0\x91\x21\xbe\x62\x89\xde\x78"
37974                           "\xd9\xb0\x36\xa3\x3c\xce\x43\xd5",
37975                 .iv     = "\xa9\xc3\x4b\xe7\x0f\xfc\x6d\xbf"
37976                           "\x56\x27\x21\x1c\xfc\xd6\x04\x10"
37977                           "\x5f\x43\xe2\x30\x35\x29\x6c\x10"
37978                           "\x90\xf1\xbf\x61\xed\x0f\x8a\x91",
37979                 .ptext  = "\x07\xaa\x02\x26\xb4\x98\x11\x5e"
37980                           "\x33\x41\x21\x51\x51\x63\x2c\x72"
37981                           "\x00\xab\x32\xa7\x1c\xc8\x3c\x9c"
37982                           "\x25\x0e\x8b\x9a\xdf\x85\xed\x2d"
37983                           "\xf4\xf2\xbc\x55\xca\x92\x6d\x22"
37984                           "\xfd\x22\x3b\x42\x4c\x0b\x74\xec",
37985                 .ctext  = "\x7b\xb1\x43\x6d\xd8\x72\x6c\xf6"
37986                           "\x67\x6a\x00\xc4\xf1\xf0\xf5\xa4"
37987                           "\xfc\x60\x91\xab\x46\x0b\x15\xfc"
37988                           "\xd7\xc1\x28\x15\xa1\xfc\xf7\x68"
37989                           "\x8e\xcc\x27\x62\x00\x64\x56\x72"
37990                           "\xa6\x17\xd7\x3f\x67\x80\x10\x58",
37991                 .klen   = 32,
37992                 .len    = 48,
37993         },
37994         {
37995                 .key    = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
37996                           "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
37997                           "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
37998                           "\x19\x09\x00\xa9\x04\x31\x4f\x11",
37999                 .iv     = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
38000                           "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
38001                           "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
38002                           "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
38003                 .ptext  = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
38004                           "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
38005                           "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
38006                           "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
38007                           "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
38008                           "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
38009                           "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
38010                           "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
38011                           "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
38012                           "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
38013                           "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
38014                           "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
38015                           "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
38016                           "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
38017                           "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
38018                           "\x56\x65\xc5\x54\x23\x28\xb0\x03",
38019                 .ctext  = "\xeb\xf9\x98\x86\x3c\x40\x9f\x16"
38020                           "\x84\x01\xf9\x06\x0f\xeb\x3c\xa9"
38021                           "\x4c\xa4\x8e\x5d\xc3\x8d\xe5\xd3"
38022                           "\xae\xa6\xe6\xcc\xd6\x2d\x37\x4f"
38023                           "\x99\xc8\xa3\x21\x46\xb8\x69\xf2"
38024                           "\xe3\x14\x89\xd7\xb9\xf5\x9e\x4e"
38025                           "\x07\x93\x6f\x78\x8e\x6b\xea\x8f"
38026                           "\xfb\x43\xb8\x3e\x9b\x4c\x1d\x7e"
38027                           "\x20\x9a\xc5\x87\xee\xaf\xf6\xf9"
38028                           "\x46\xc5\x18\x8a\xe8\x69\xe7\x96"
38029                           "\x52\x55\x5f\x00\x1e\x1a\xdc\xcc"
38030                           "\x13\xa5\xee\xff\x4b\x27\xca\xdc"
38031                           "\x10\xa6\x48\x76\x98\x43\x94\xa3"
38032                           "\xc7\xe2\xc9\x65\x9b\x08\x14\x26"
38033                           "\x1d\x68\xfb\x15\x0a\x33\x49\x84"
38034                           "\x84\x33\x5a\x1b\x24\x46\x31\x92",
38035                 .klen   = 32,
38036                 .len    = 128,
38037         },
38038         {
38039                 .key    = "\x36\x45\x11\xa2\x98\x5f\x96\x7c"
38040                           "\xc6\xb4\x94\x31\x0a\x67\x09\x32"
38041                           "\x6c\x6f\x6f\x00\xf0\x17\xcb\xac"
38042                           "\xa5\xa9\x47\x9e\x2e\x85\x2f\xfa",
38043                 .iv     = "\x28\x88\xaa\x9b\x59\x3b\x1e\x97"
38044                           "\x82\xe5\x5c\x9e\x6d\x14\x11\x19"
38045                           "\x6e\x38\x8f\xd5\x40\x2b\xca\xf9"
38046                           "\x7b\x4c\xe4\xa3\xd0\xd2\x8a\x13",
38047                 .ptext  = "\x95\xd2\xf7\x71\x1b\xca\xa5\x86"
38048                           "\xd9\x48\x01\x93\x2f\x79\x55\x29"
38049                           "\x71\x13\x15\x0e\xe6\x12\xbc\x4d"
38050                           "\x8a\x31\xe3\x40\x2a\xc6\x5e\x0d"
38051                           "\x68\xbb\x4a\x62\x8d\xc7\x45\x77"
38052                           "\xd2\xb8\xc7\x1d\xf1\xd2\x5d\x97"
38053                           "\xcf\xac\x52\xe5\x32\x77\xb6\xda"
38054                           "\x30\x85\xcf\x2b\x98\xe9\xaa\x34"
38055                           "\x62\xb5\x23\x9e\xb7\xa6\xd4\xe0"
38056                           "\xb4\x58\x18\x8c\x4d\xde\x4d\x01"
38057                           "\x83\x89\x24\xca\xfb\x11\xd4\x82"
38058                           "\x30\x7a\x81\x35\xa0\xb4\xd4\xb6"
38059                           "\x84\xea\x47\x91\x8c\x19\x86\x25"
38060                           "\xa6\x06\x8d\x78\xe6\xed\x87\xeb"
38061                           "\xda\xea\x73\x7c\xbf\x66\xb8\x72"
38062                           "\xe3\x0a\xb8\x0c\xcb\x1a\x73\xf1"
38063                           "\xa7\xca\x0a\xde\x57\x2b\xbd\x2b"
38064                           "\xeb\x8b\x24\x38\x22\xd3\x0e\x1f"
38065                           "\x17\xa0\x84\x98\x31\x77\xfd\x34"
38066                           "\x6a\x4e\x3d\x84\x4c\x0e\xfb\xed"
38067                           "\xc8\x2a\x51\xfa\xd8\x73\x21\x8a"
38068                           "\xdb\xb5\xfe\x1f\xee\xc4\xe8\x65"
38069                           "\x54\x84\xdd\x96\x6d\xfd\xd3\x31"
38070                           "\x77\x36\x52\x6b\x80\x4f\x9e\xb4"
38071                           "\xa2\x55\xbf\x66\x41\x49\x4e\x87"
38072                           "\xa7\x0c\xca\xe7\xa5\xc5\xf6\x6f"
38073                           "\x27\x56\xe2\x48\x22\xdd\x5f\x59"
38074                           "\x3c\xf1\x9f\x83\xe5\x2d\xfb\x71"
38075                           "\xad\xd1\xae\x1b\x20\x5c\x47\xb7"
38076                           "\x3b\xd3\x14\xce\x81\x42\xb1\x0a"
38077                           "\xf0\x49\xfa\xc2\xe7\x86\xbf\xcd"
38078                           "\xb0\x95\x9f\x8f\x79\x41\x54",
38079                 .ctext  = "\xf6\x57\x51\xc4\x25\x61\x2d\xfa"
38080                           "\xd6\xd9\x3f\x9a\x81\x51\xdd\x8e"
38081                           "\x3d\xe7\xaa\x2d\xb1\xda\xc8\xa6"
38082                           "\x9d\xaa\x3c\xab\x62\xf2\x80\xc3"
38083                           "\x2c\xe7\x58\x72\x1d\x44\xc5\x28"
38084                           "\x7f\xb4\xf9\xbc\x9c\xb2\xab\x8e"
38085                           "\xfa\xd1\x4d\x72\xd9\x79\xf5\xa0"
38086                           "\x24\x3e\x90\x25\x31\x14\x38\x45"
38087                           "\x59\xc8\xf6\xe2\xc6\xf6\xc1\xa7"
38088                           "\xb2\xf8\xa7\xa9\x2b\x6f\x12\x3a"
38089                           "\xb0\x81\xa4\x08\x57\x59\xb1\x56"
38090                           "\x4c\x8f\x18\x55\x33\x5f\xd6\x6a"
38091                           "\xc6\xa0\x4b\xd6\x6b\x64\x3e\x9e"
38092                           "\xfd\x66\x16\xe2\xdb\xeb\x5f\xb3"
38093                           "\x50\x50\x3e\xde\x8d\x72\x76\x01"
38094                           "\xbe\xcc\xc9\x52\x09\x2d\x8d\xe7"
38095                           "\xd6\xc3\x66\xdb\x36\x08\xd1\x77"
38096                           "\xc8\x73\x46\x26\x24\x29\xbf\x68"
38097                           "\x2d\x2a\x99\x43\x56\x55\xe4\x93"
38098                           "\xaf\xae\x4d\xe7\x55\x4a\xc0\x45"
38099                           "\x26\xeb\x3b\x12\x90\x7c\xdc\xd1"
38100                           "\xd5\x6f\x0a\xd0\xa9\xd7\x4b\x89"
38101                           "\x0b\x07\xd8\x86\xad\xa1\xc4\x69"
38102                           "\x1f\x5e\x8b\xc4\x9e\x91\x41\x25"
38103                           "\x56\x98\x69\x78\x3a\x9e\xae\x91"
38104                           "\xd8\xd9\xfa\xfb\xff\x81\x25\x09"
38105                           "\xfc\xed\x2d\x87\xbc\x04\x62\x97"
38106                           "\x35\xe1\x26\xc2\x46\x1c\xcf\xd7"
38107                           "\x14\xed\x02\x09\xa5\xb2\xb6\xaa"
38108                           "\x27\x4e\x61\xb3\x71\x6b\x47\x16"
38109                           "\xb7\xe8\xd4\xaf\x52\xeb\x6a\x6b"
38110                           "\xdb\x4c\x65\x21\x9e\x1c\x36",
38111                 .klen   = 32,
38112                 .len    = 255,
38113         },
38114         {
38115                 .key    = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
38116                           "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
38117                           "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
38118                           "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
38119                 .iv     = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
38120                           "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
38121                           "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
38122                           "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
38123                 .ptext  = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
38124                           "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
38125                           "\x05\xa3\x69\x60\x91\x36\x98\x57"
38126                           "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
38127                           "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
38128                           "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
38129                           "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
38130                           "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
38131                           "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
38132                           "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
38133                           "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
38134                           "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
38135                           "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
38136                           "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
38137                           "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
38138                           "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
38139                           "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
38140                           "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
38141                           "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
38142                           "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
38143                           "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
38144                           "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
38145                           "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
38146                           "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
38147                           "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
38148                           "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
38149                           "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
38150                           "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
38151                           "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
38152                           "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
38153                           "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
38154                           "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
38155                           "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
38156                           "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
38157                           "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
38158                           "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
38159                           "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
38160                           "\xd7\x31\x87\x89\x09\xab\xd5\x96"
38161                           "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
38162                           "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
38163                           "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
38164                           "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
38165                           "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
38166                           "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
38167                           "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
38168                           "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
38169                           "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
38170                           "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
38171                           "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
38172                           "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
38173                           "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
38174                           "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
38175                           "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
38176                           "\x17\x7c\x25\x48\x52\x67\x11\x27"
38177                           "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
38178                           "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
38179                           "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
38180                           "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
38181                           "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
38182                           "\x79\x50\x33\xca\xd0\xd7\x42\x55"
38183                           "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
38184                           "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
38185                           "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
38186                           "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
38187                 .ctext  = "\x9f\x72\x87\xc7\x17\xfb\x20\x15"
38188                           "\x65\xb3\x55\xa8\x1c\x8e\x52\x32"
38189                           "\xb1\x82\x8d\xbf\xb5\x9f\x10\x0a"
38190                           "\xe8\x0c\x70\x62\xef\x89\xb6\x1f"
38191                           "\x73\xcc\xe4\xcc\x7a\x3a\x75\x4a"
38192                           "\x26\xe7\xf5\xd7\x7b\x17\x39\x2d"
38193                           "\xd2\x27\x6e\xf9\x2f\x9e\xe2\xf6"
38194                           "\xfa\x16\xc2\xf2\x49\x26\xa7\x5b"
38195                           "\xe7\xca\x25\x0e\x45\xa0\x34\xc2"
38196                           "\x9a\x37\x79\x7e\x7c\x58\x18\x94"
38197                           "\x10\xa8\x7c\x48\xa9\xd7\x63\x89"
38198                           "\x9e\x61\x4d\x26\x34\xd9\xf0\xb1"
38199                           "\x2d\x17\x2c\x6f\x7c\x35\x0e\xbe"
38200                           "\x77\x71\x7c\x17\x5b\xab\x70\xdb"
38201                           "\x2f\x54\x0f\xa9\xc8\xf4\xf5\xab"
38202                           "\x52\x04\x3a\xb8\x03\xa7\xfd\x57"
38203                           "\x45\x5e\xbc\x77\xe1\xee\x79\x8c"
38204                           "\x58\x7b\x1f\xf7\x75\xde\x68\x17"
38205                           "\x98\x85\x8a\x18\x5c\xd2\x39\x78"
38206                           "\x7a\x6f\x26\x6e\xe1\x13\x91\xdd"
38207                           "\xdf\x0e\x6e\x67\xcc\x51\x53\xd8"
38208                           "\x17\x5e\xce\xa7\xe4\xaf\xfa\xf3"
38209                           "\x4f\x9f\x01\x9b\x04\xe7\xfc\xf9"
38210                           "\x6a\xdc\x1d\x0c\x9a\xaa\x3a\x7a"
38211                           "\x73\x03\xdf\xbf\x3b\x82\xbe\xb0"
38212                           "\xb4\xa4\xcf\x07\xd7\xde\x71\x25"
38213                           "\xc5\x10\xee\x0a\x15\x96\x8b\x4f"
38214                           "\xfe\xb8\x28\xbd\x4a\xcd\xeb\x9f"
38215                           "\x5d\x00\xc1\xee\xe8\x16\x44\xec"
38216                           "\xe9\x7b\xd6\x85\x17\x29\xcf\x58"
38217                           "\x20\xab\xf7\xce\x6b\xe7\x71\x7d"
38218                           "\x4f\xa8\xb0\xe9\x7d\x70\xd6\x0b"
38219                           "\x2e\x20\xb1\x1a\x63\x37\xaa\x2c"
38220                           "\x94\xee\xd5\xf6\x58\x2a\xf4\x7a"
38221                           "\x4c\xba\xf5\xe9\x3c\x6f\x95\x13"
38222                           "\x5f\x96\x81\x5b\xb5\x62\xf2\xd7"
38223                           "\x8d\xbe\xa1\x31\x51\xe6\xfe\xc9"
38224                           "\x07\x7d\x0f\x00\x3a\x66\x8c\x4b"
38225                           "\x94\xaa\xe5\x56\xde\xcd\x74\xa7"
38226                           "\x48\x67\x6f\xed\xc9\x6a\xef\xaf"
38227                           "\x9a\xb7\xae\x60\xfa\xc0\x37\x39"
38228                           "\xa5\x25\xe5\x22\xea\x82\x55\x68"
38229                           "\x3e\x30\xc3\x5a\xb6\x29\x73\x7a"
38230                           "\xb6\xfb\x34\xee\x51\x7c\x54\xe5"
38231                           "\x01\x4d\x72\x25\x32\x4a\xa3\x68"
38232                           "\x80\x9a\x89\xc5\x11\x66\x4c\x8c"
38233                           "\x44\x50\xbe\xd7\xa0\xee\xa6\xbb"
38234                           "\x92\x0c\xe6\xd7\x83\x51\xb1\x69"
38235                           "\x63\x40\xf3\xf4\x92\x84\xc4\x38"
38236                           "\x29\xfb\xb4\x84\xa0\x19\x75\x16"
38237                           "\x60\xbf\x0a\x9c\x89\xee\xad\xb4"
38238                           "\x43\xf9\x71\x39\x45\x7c\x24\x83"
38239                           "\x30\xbb\xee\x28\xb0\x86\x7b\xec"
38240                           "\x93\xc1\xbf\xb9\x97\x1b\x96\xef"
38241                           "\xee\x58\x35\x61\x12\x19\xda\x25"
38242                           "\x77\xe5\x80\x1a\x31\x27\x9b\xe4"
38243                           "\xda\x8b\x7e\x51\x4d\xcb\x01\x19"
38244                           "\x4f\xdc\x92\x1a\x17\xd5\x6b\xf4"
38245                           "\x50\xe3\x06\xe4\x76\x9f\x65\x00"
38246                           "\xbd\x7a\xe2\x64\x26\xf2\xe4\x7e"
38247                           "\x40\xf2\x80\xab\x62\xd5\xef\x23"
38248                           "\x8b\xfb\x6f\x24\x6e\x9b\x66\x0e"
38249                           "\xf4\x1c\x24\x1e\x1d\x26\x95\x09"
38250                           "\x94\x3c\xb2\xb6\x02\xa7\xd9\x9a",
38251                 .klen   = 32,
38252                 .len    = 512,
38253         },
38254
38255 };
38256
38257 #endif  /* _CRYPTO_TESTMGR_H */